2
我的DIT:LDAP查詢
- DC = mucompany,DC = com的
- OU = moodlegroups
- OU = moodleusers
- OU =學生
- 郵件= [email protected]
- courseCertificate = Type1
- courseCertificate =第二類型
- courseCertificate =的Type3
- [email protected]
- courseCertificate =類型1
- courseCertificate =第二類型
- courseCertificate =的Type3
[email protected]條目具有郵件作爲RDN和一堆其他屬性(cn,sn ...還有自定義屬性),並具有像childrens的CourseCertificate =值entres還包含一堆其他屬性(courseCertificateRunning = TRUE,courseCertificateEnding = 20120210,...)
我需要進行一個查詢(&(sn = Brad)(courseRunning = TRUE)),該查詢返回父條目的所有屬性以及滿足過濾條件的子條目... 這是可能的一個ldapsearch?
任何幫助它將意味着很多給我,在此先感謝。
P.S.我正在使用openldap 2.4,我嘗試使用AD Studio來執行排隊功能。
謝謝Ludovic,你有一些建議如何解決我的問題?有可能做兩次搜索嗎?可以使用一些特殊的ldap屬性來完成嗎?我真的需要找到一些解決方案。再次感謝:) – 2012-02-10 12:11:56