Problems with smbpasswd

Harris, Don don.harris at unf.edu
Fri Jul 18 17:35:26 UTC 2014


I'm not a heavy samba user but this excerpt from your smb.conf looks like a typo:

    smb passwd file = /etc/smaba/smbpasswd

R/Don

-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of Doll, Margaret Ann
Sent: Friday, July 18, 2014 1:16 PM
To: General Red Hat Linux discussion list
Subject: Problems with smbpasswd

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?
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list