Problems with smbpasswd

Doll, Margaret Ann margaret_doll at brown.edu
Fri Jul 18 17:15:33 UTC 2014


Red Hat Enterprise Linux Server release 6.5 (Santiago)

Yesterday I had samba running well with four users.  The smb.conf was
changed early this morning and the samba users are no longer defined.

smbpasswd no longer adds users to /etc/samba/smbpasswd.

outtakes from my smb.conf file

# use either tdbsam or ldapsam. smbpasswd is available for backwards
#    passdb backend = tdbsam
    smb passwd file = /etc/smaba/smbpasswd
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# Use password server option only with security = server or if you can't
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
#   password server = *
;    passdb backend = tdbsam
;    password server = <NT-Server-Name>
# use either tdbsam or ldapsam. smbpasswd is available for backwards
;    passdb backend = tdbsam
# Cups Options let you pass the cups libs custom options, setting it to raw

No smbpasswd is in /etc/samba.

If I touch /etc/samba/smbpasswd and try to add an account again, nothing is
written to smbpasswd.   The account I am trying to add worked yesterday and
is contained in /etc/passwd.

I have reinstalled samba and samba-common.

What should I try next?



More information about the redhat-list mailing list