Hi,
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.
$result = $ldap2->add( 'CN=TestUser,OU=Test,DC=Test',
attr => [
'cn' => 'TestUser',
'msDS-UserAccountDisabled' => 'FALSE',
'userPrincipalName' => 'TestUser',
'objectclass' => ['top', 'person',
'organizationalPerson',
'user' ],
]
);
best regards,
Lars