Samba, Vista, Mapped Drives, and change password prompt
The issue is that users are not always prompted to change password.If Vista is setup to join a domain at logon, mapped drives work fine.If the user logs into Vista as a local user, the user can map drives that they have rights to.However, if "net sam set pwdmustchangenow [username] yes" is used the behaviour changes.When the user who joins the domain logs on types their username and password at the logon prompt, they are immediately asked to change the password. That's expected.But, when the user who logs in locally tries to access a mapped drive, they are prompted for a user name and password and then receive an authentication failure. They are not prompted to change the password.The samba log for that user contains the following:auth/auth_sam.cam_account_ok(172)sam_account_ok: Account for user '[username]' password must change!.This seems to indicate that the correct password was used and accepted by samba and that samba is requesting that Vista ask the user to change the password. Which does not happen.Finally, if "smbpasswd [username]" is used to change the password on the server, the local Vista user is prompted for a user name and password and can access the shares.This issue does not occur with XP.Does anyone know of a solution to this or know if the change password request works for users that are not logged into a domain when the PDC is running Windows' server software?
September 30th, 2008 6:47pm


