Following the steps provided in the Ubuntu Server Guide, the newly created users with the smbldaptools will expire after one month. Of course, windows won't say anything else as "access denied".
I found the problem with smbclient -U, but the solution not yet. The smbldappasswd utility reset the expiration date to "setdate+30days" (even if the user was set to no expiry at all). I don't have the solution yet except using smbldap-usermod -B 0 afterwards.
Update: Solved the problem ! i missed a setting in /etc/smbldap-tools/smbldap.conf :
# Default password validation time (time in days) Comment the next line if
# you don't want password to be enable for defaultMaxPasswordAge days (be
# careful to the sambaPwdMustChange attribute's value)
defaultMaxPasswordAge="45"
It adds an shadowMax attribute in the LDAP server (45). This must be commented out to prevent the password from aging.
No comments:
Post a Comment