Problems with smbpasswd

m.roth at 5-cent.us m.roth at 5-cent.us
Fri Jul 18 17:28:42 UTC 2014


Doll, Margaret Ann wrote:
> 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.
>
Not the answer you're looking for, but don't you have version control of
some sort, or at least backups of the system configuration?

We make that, nightly, from all 170 or so of our servers and workstations,
and keep it for 5 weeks, for disaster recovery.

       mark

> 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