Menu

#1 -B and -P options conflicts

closed
nobody
None
5
2007-07-03
2006-10-03
No

In smbldap-tools if you use the -B 1 options to force users to change password at first logon, and you use also the -P option to setup a password, the second options override the first.

reading the code the problem arise from the call to smbldap-passwd inside the smbldap-useradd after the data are written to LDAP, so the call to smbldap-passwd reset password counters.

Discussion

  • Tournier

    Tournier - 2007-07-03

    Logged In: YES
    user_id=1522885
    Originator: NO

    updated.
    Now (part of the ChangeLog):
    * smbldap-passwd: new option -B to force user to change Samba password (and then also unix) at
    next connection

    * smbldap-useradd: if -B option is used, called smbldap-passwd with -B option (without -B option
    in smbldap-passwd, this command was overwritten sambaPwdMustChange sambaPwdLastSet and sambaAcctFlags
    just after being updated with smbldap-usermod)

    Thanks !

     
  • Tournier

    Tournier - 2007-07-03

    Logged In: YES
    user_id=1522885
    Originator: NO

    updated.
    Now (part of the ChangeLog):
    * smbldap-passwd: new option -B to force user to change Samba password (and then also unix) at
    next connection

    * smbldap-useradd: if -B option is used, called smbldap-passwd with -B option (without -B option
    in smbldap-passwd, this command was overwritten sambaPwdMustChange sambaPwdLastSet and sambaAcctFlags
    just after being updated with smbldap-usermod)

    Thanks !

     
  • Tournier

    Tournier - 2007-07-03
    • status: open --> closed
     

Log in to post a comment.