Hello,
RamakrishnaDeepak Battu wrote:
Can any one point me to how u can disable/enable an ldap user account.Thanks in advance.
I use an attribute from the "shadowAccount" Object-Class:
To disable a user I add
shadowexpire: 0
To enable the user I remove that attribute.
Unixoid Systems with "shadow"-mechanisms honor that attribute and deny login with the message "Password expired". For other systems you have to be creative with either ACLs (remove the "auth" right for Entries with that attribute) or LDAP filters on the systems (if the System can't find the User, it won't allow him to log in).
bye Christian