On Mon, 2002-12-30 at 13:26, David wrote: > > > > Hi,All > > > > I configurured my Redhat7.2/PC as a > > samba server. It works where except > > that the non-root user could not change > > their password. Only root can change the > > samba password. Even, the samba password > > and the unix must be the same, otherwise > > that user will not be able to access samba > > service. > > > > The error message while using smbpasswd is: > > "machine 127.0.0.1 rejected the session setup. Error was : ERRSRV - > > ERRbadpw." > > -- I am sure I entered the correct passwords. > > > > My smb.conf: > > " > > # Global parameters > > [global] > > workgroup = Workgroup > > netbios name = FS > > server string = Samba Server > > encrypt passwords = Yes > > unix password sync = Yes > > passwd program = /usr/bin/passwd %u > > username map = /etc/samba/smbusers > > log file = /var/log/samba/%m.log > > max log size = 50 > > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > > domain logons = No > > dns proxy = No > > guest account =
Samba uses the 'guest' account for IPC$ operations like password changes. smbpasswd uses the local smb server (listening on 127.0.0.1) to perform this operation without having a setuid application. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net
signature.asc
Description: This is a digitally signed message part
