Fw: About passwd changin
Andrew Bartlett
abartlet at samba.org
Mon Dec 30 02:43:01 GMT 2002
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 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20021230/7fb2bc35/attachment.bin
More information about the samba-technical
mailing list