extendedAttributeInfo (working code!)

2006-12-06 Thread Eric Nichols
Excuse all of my past ramblings about schema... Active Directory (and possibly ADAM) stores extended attribute schema information in extendedAttributeInfo. I wrote a function which merges this information with attributeTypes. Each extended attribute will be prefixed with an 'x-' in keeping with

filter syntax with userAccountControl

2006-12-06 Thread Lyndley Nygel
Hi, I'm having an issue list disabled computer accounts on an LDAP query though Net::LDAP to active directory, a cut down query as example : (&(sAMAccountType=805306369)(userAccountControl:1.2.840.113556.1.4.803:=2)) Should locate server accounts which have the disabled flag set.

Re: filter syntax with userAccountControl

2006-12-06 Thread Eric Nichols
Something changed in Net::LDAP a couple of years ago.. try the following syntax: (useraccountcontrol:dn:1.2.840.113556.1.4.803:=2) Note the :dn: On Wed, December 6, 2006 11:28 am, Lyndley Nygel wrote: > > > Hi, > > > > I'm having an issue list disabled computer accounts on an LDAP query though >