Fw: About passwd changin

David churlliu at 163.com
Mon Dec 30 02:28:01 GMT 2002


>
> 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 =
> #       hosts deny = ALL
>         hosts allow = 172.16. 127.0.0.1
>         printing = lprng
>
> [homes]
>         comment = Home Directories
>         valid users = %S
>         read only = No
>         create mask = 0664
>         directory mask = 0775
>         browseable = No
>
> [printers]
>         comment = All Printers
>         path = /var/spool/samba
>         guest ok = Yes
>         printable = Yes
>         browseable = No
>
> [public]
>         comment = Public Stuff
>         path = /home/pub
>         write list = @staff
>         valid users = @staff
>         create mask = 0777
>         directory mask = 0777
> "
>
> Best regards,
> David Liu  (ÁõСÎÀ)
>
> Acenet Technology Inc.
>   web: http://www.acenettech.com
>   tel: 86-755-2699-4700 ext 807
>   fax: 86-755-2699-4701
>   mail: xwliu at acenettech.com or
>        churlliu at hotmail.com
>




More information about the samba-technical mailing list