Another question ... When using the LDAP SAM, should smpasswd change the POSIX password? The reason I ask, is because when I do a change or add with smbpasswd, I see that the POSIX password does not change, but I throught that it should ... is there something wrong with my installation ... another reason I ask, is because I keep having little problems when changing passwords from Windows, things like the passwd will not let me change a passwd until I delete /etc/.pwd.lock ... this also causes problems when a few people are changing passwords in Windows ... like when we update to Samba 2.2.3a using LDAP ... Thanks for all the help. Mailed Lee
> Another question ... > > When using the LDAP SAM, should smpasswd change the POSIX password?no smbpasswd does not change the posix passwd. The windows password is changed. So you always have two "password databases" jan
Greetings Jan ... >> When using the LDAP SAM, should smpasswd change the POSIX password? > no smbpasswd does not change the posix passwd. The windows password is changed. So you always have two "password databases" Okay, when responding to your message, I decied to do a quick test. I thought that when you ran smbpasswd to change the ntPassword and lmPassword, I thought that is would also change the userPassword ... seeing that this would be a good way to debug password change problems ... but I don't know how Windows with change the password, or if smbpasswd would be able to simulate the change ... seeing that I have had problems changing passwords. Thanks for getting me to do this test, which means now that I have a problem with changing passwords. I am going to have to look into this. Mailed Lee
>If you use unix password sync and ldap as a PAM module,passwd should change the posix password from the password script. Okay, I have tested it and this does seem to work, but I seem to have a few question, because I seem to be having problems when users change their password. Let me explain ... We reset all passwords to a fixed password and told all the users to login and change them to what they wanted. The first user went fine, but then next user was told that they had enter the wrong password and could not change their password. So, I was on hand and reset both userPassword, and smbPasswords, at first, thinking that smbpasswd would change all three password I got confused. I then found that I could not set the users POSIX password using passwd, it just seemed to hang ... I found that if I deleted /etc/.pwd.lock it worked. So now I changed all the passwords with "passwd and smbpasswd" and then got the user to change it in Windows, but then the next user would coming into the same problem. So I deleted the pwd.lock again and so ... I then started looking at the parameters in smb.conf and start that I was missing a few things ... so I started playing with different options and now I am confused and would like a little help ... With out anybody telling me to look at the source to figure this out, does any know which is the correct ( best ) option that is need to set to get userPassword and ( ntPassword & lmPassword ) in sync when using Samba 2.2.3a with LDAP SAM ... Thanks for everybodies advice ... Mailed Lee