Discussion:
Problems with smbpasswd
Doll, Margaret Ann
2014-07-18 17:15:33 UTC
Permalink
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-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
m***@5-cent.us
2014-07-18 17:28:42 UTC
Permalink
This post might be inappropriate. Click to display it.
Harris, Don
2014-07-18 17:35:26 UTC
Permalink
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-***@redhat.com [mailto:redhat-list-***@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-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Doll, Margaret Ann
2014-07-18 18:29:53 UTC
Permalink
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.
Post by Doll, Margaret Ann
smb passwd file = /etc/smaba/smbpasswd
R/Don
-----Original Message-----
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
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Doll, Margaret Ann
2014-07-18 20:26:02 UTC
Permalink
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
--------- -------
Post by Doll, Margaret Ann
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.
Post by Doll, Margaret Ann
smb passwd file = /etc/smaba/smbpasswd
R/Don
-----Original Message-----
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
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
m***@5-cent.us
2014-07-18 20:34:52 UTC
Permalink
Post by Doll, Margaret Ann
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
--------- -------
Please don't top post.

And is there any chance that the firewall's been modified, and the samba
ports aren't open?

Or... *bleah* selinux issues?

mark
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Doll, Margaret Ann
2014-07-18 20:56:54 UTC
Permalink
Found the problem.
Post by Doll, Margaret Ann
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 <
Post by Doll, Margaret Ann
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.
Post by Doll, Margaret Ann
smb passwd file = /etc/smaba/smbpasswd
R/Don
-----Original Message-----
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
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Doll, Margaret Ann
2014-07-18 20:58:52 UTC
Permalink
No still not working.

smb and nmb are running.
Post by Doll, Margaret Ann
Found the problem.
On Fri, Jul 18, 2014 at 4:26 PM, Doll, Margaret Ann <
Post by Doll, Margaret Ann
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 <
Post by Doll, Margaret Ann
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.
Post by Doll, Margaret Ann
smb passwd file = /etc/smaba/smbpasswd
R/Don
-----Original Message-----
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
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Doll, Margaret Ann
2014-07-18 21:02:23 UTC
Permalink
Post by Doll, Margaret Ann
No still not working.
smb and nmb are running.
On Fri, Jul 18, 2014 at 4:56 PM, Doll, Margaret Ann <
Post by Doll, Margaret Ann
Found the problem.
On Fri, Jul 18, 2014 at 4:26 PM, Doll, Margaret Ann <
Post by Doll, Margaret Ann
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 <
Post by Doll, Margaret Ann
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.
Post by Doll, Margaret Ann
smb passwd file = /etc/smaba/smbpasswd
R/Don
-----Original Message-----
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
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
https://www.redhat.com/mailman/listinfo/redhat-list
I have selinux disabled. I have iptables allowing port 137-139 and 445
to be open.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Loading...