Problems with smbpasswd

Doll, Margaret Ann margaret_doll at brown.edu
Fri Jul 18 20:56:54 UTC 2014


Found the problem.


On Fri, Jul 18, 2014 at 4:26 PM, Doll, Margaret Ann <margaret_doll at brown.edu
> wrote:

> When I run
>
> smbclient -L //rask -N
> Anonymous login successful
> Domain=[GEOLOGY] OS=[Unix] Server=[Samba 3.6.9-168.el6_5]
>
>     Sharename       Type      Comment
>     ---------       ----      -------
> Error returning browse list: NT_STATUS_ACCESS_DENIED
> Anonymous login successful
> Domain=[GEOLOGY] OS=[Unix] Server=[Samba 3.6.9-168.el6_5]
>
>     Server               Comment
>     ---------            -------
>
> My server doesn't show up.
>
>     Workgroup            Master
>     ---------            -------
>
>
>
> On Fri, Jul 18, 2014 at 2:29 PM, Doll, Margaret Ann <
> margaret_doll at brown.edu> wrote:
>
>> The mistake was mine.
>>
>> However, after correcting the file name and restarting smb, the addition
>> of accounts still does not work.
>>
>> Thanks for spotting the typo.
>>
>>
>> On Fri, Jul 18, 2014 at 1:35 PM, Harris, Don <don.harris at unf.edu> wrote:
>>
>>> 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
>>>
>>> --
>>> 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