Re: How Change Boolean Attribute LDAP
Peter Marschall <[email protected]> Sun, 3 Jun 2012 18:27:09 +0200
| Newsgroups | gmane.comp.lang.perl.modules.ldap |
|---|---|
| Organization | ADPM |
| Message-ID | <[email protected]> |
Hi, On Thursday, 31. May 2012, Lars Reidelbach wrote: > I create User accounts in our LDAP. For this I must change the attribute > msDS-UserAccountDisabled from "TRUE" to "FALSE". This is a boolean > attribute with "False" and " True". I can't do this always error that the > user could not create. I had tryed "FALSE", "1" and "0". Nothing works. Can > anyone help how I change a boolean attribute. general answer for those cases: Check how the attribute in question looks in other user objects where it may be set, and then use this value. As a side note: If I remember the RFC correctly, Boolen attributes are a bit special, as the false value is given implicitly, i.e. by the absence of the attribute. [might not apply to ADAM & Co - I've seen other LDAP servers that allowed booeanAttribute=FALSE too] Best PEter -- Peter Marschall [email protected]