Roland Gruber schrieb: > Hi Michael, > > Michael Biebl schrieb: >> Warning: getdate(): Cannot perform date calculation in >> /usr/share/ldap-account-manager/lib/modules/sambaSamAccount.inc on line >> 825 > > what value does this account have in the LDAP attribute > "sambaPwdMustChange"? Could be that it includes some bogus value. >
I use smbldap-tools_0.9.2-3 because it allows users to change their password from within windows, add workstations to the domain on the fly, and more. The config in smb.conf looks like this: --------------------------------------------------------------------- ldap passwd sync = yes passwd program = /usr/sbin/smbldap-passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *all*authentication*tokens*updated* ldap delete dn = yes add user script = /usr/sbin/smbldap-useradd -m "%u" delete user script = /usr/sbin/smbldap-userdel "%u" add machine script = /usr/sbin/smbldap-useradd -w "%u" add group script = /usr/sbin/smbldap-groupadd -p "%g" delete group script = /usr/sbin/smbldap-groupdel "%g" add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g" set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u" --------------------------------------------------------------------- smbldap-tools sets sambaPwdMustChange to 9223372036854775807 , when it creates an user or host account. Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature