Vartak, Yash V a écrit : > Dist, > > While working with Net::LDAP and AD I noticed that wild card > > filter > > ((objectclass=user)(l=yokohama)(deptment=marketing)(c=jp)(!(memberOF: > CN=JAP_EMP_Mktg_SEC,OU=Users&Groups,OU=JAP,DC=ALNIPPOE,DC=com))) > > returns me right results > > how ever below filter fails > > ((objectclass=user)(l=yokohama)(deptment=marketing)(c=jp)(!(memberOF: > *JAP_EMP_Mktg*))) > > Fails > > The wild cards work well with other directories , except for Active > Directory , have others noticed this? >
Filter rules are schema dependent. To use wildcard, you shoud have a substring matching rule for your attribute. Maybe Active Directory does not have it on 'memberOf'. -- Clément OUDOT http://coudot.blogs.linagora.com/