[Samba] UPDATE: syncing unix passwords

Christian Barth barth at cck.uni-kl.de
Wed Jun 19 09:36:07 GMT 2002


> I have some new information concerning this issue. I am now able to
> change both the samba and unix passwords as anyone but root. 

This is by design. 

Christian


> If I try
> as root I only am able to change the samba password but not the unix
> password. I can do this at the unix prompt as well as in swat. So it
> works but why root can't change both of them makes no sense to me.
> root can't even change both for root, although for security root
> shouldn't have a samba account but for testing purposes I set one up.
> I even commented out the, invalid users = root, line in the smb.conf
> with no success.
> 
> Any ideas?
> 
> Original question:
>  >I give up. I had this working and now it isn't and I don't know why.
>  I 
> was able to >sync unix password using smbpasswd but now it won't work.
> When I run >smbpasswd it changes the samba password but acts like it
> doesn't even see >the parameters in the smb.conf to change the unix
> password.
>  >
>  >Here is a sample changing session:
>  >
>  >as400:# ./smbpasswd xxxxxx
>  >New SMB password:
>  >Retype new SMB password:
>  >Password changed for user xxxxxx.
>  >as400:#
>  >
>  >Nothing is logged in any logs so I can't tell what is going on. Here
>  is 
> my >smb.conf. Any help would be appreciated.
>  >
>  ># Global parameters
>  >[global]
>  >        interfaces = xxx.xxx.xxx.xxx/255.255.255.0
>  >        security = SHARE
>  >        encrypt passwords = yes
>  >        unix password sync = yes
>  >        passwd program = /bin/passwd %u
>  >        passwd chat debug = yes
>  >        passwd chat = *New* %n\n *Retype* %n\n
>  >        password level = 8
>  >        log file = /usr/local/samba/logs/log.%m
>  >        max log size = 500
>  >        time server = Yes
>  >        printcap name = /etc/printcap
>  >        guest account = guest
>  >        invalid users = root
>  >        hosts allow = xxx.xxx.xxx.0/255.255.255.0
>  >        printing = bsd
>  >
>  >[homes]
>  >        comment = Home Directories
>  >        read only = No
>  >        create mask = 0755
>  >        browseable = No
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> 


               _(_)_                          wWWWw   _
   @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
  @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
   @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
    /      Y       \|    \|/    /(_)    \|      |/      |
 \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|// 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^





More information about the samba mailing list