Member server not accessing Samba PDC
Joe Orchard
jorchard at pdx.datalex.com
Thu Apr 5 16:59:17 GMT 2001
Here is my situation. I have a Samba server 2.2.0alpha2 running on
Redhat 7.0. I have set it up to be a PDCsamba server. I have a
NT4.0-SP5 workstation added to its domain and am able to get login
services and share access on the PDC without issue. I even have login
scripts running at login. I also have a Samba server 2.2.0alpha2 running
on a Solaris 2.7 box. I am trying to set it up as a member server. I
have added in the machine account to the PDC (in both the etc/passwd
and the smbpasswd files) and did a smbpasswd j DOMAIN on the member
server. I got a Joined the domain message. I enter all of the user
accounts to the member servers /etc/passwd file. However, when I try
to access the shares on the member server from the NT4.0 workstation,
no matter what username and password I try I can not gain access to
them. I get the following error in the samba log on the member server.
Log.member server
[2001/04/05 09:26:02, 0] smbd/password.c:domain_client_validate(1507)
domain_client_validate: could not fetch trust account password for
domain DATALEXTEST
[2001/04/05 09:26:02, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
startsmbfilepwent_internal: unable to open file
/usr/local/samba/private/smbpasswd. Error was No such file or directory
[2001/04/05 09:26:02, 0] passdb/passdb.c:iterate_getsmbpwnam(150)
unable to open smb password database.
[2001/04/05 09:26:02, 1] smbd/password.c:pass_check_smb(542)
Couldn't find user 'jorchard' in smb_passwd file.
[2001/04/05 09:26:02, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
startsmbfilepwent_internal: unable to open file
/usr/local/samba/private/smbpasswd. Error was No such file or directory
[2001/04/05 09:26:02, 0] passdb/passdb.c:iterate_getsmbpwnam(150)
unable to open smb password database.
[2001/04/05 09:26:02, 1] smbd/password.c:pass_check_smb(542)
Couldn't find user 'jorchard' in smb_passwd file.
[2001/04/05 09:26:02, 1] smbd/reply.c:reply_sesssetup_and_X(966)
Rejecting user 'jorchard': authentication failed
I am at a lose as to what to do next to resolve this. I have read the
Howto and FAQ numerous times and have not found anything to change.
Any help would be greatly appreciated.
Thanks
Joe Orchard
Smb.conf for member server.
[global]
workgroup = datalextest
server string = Samba 2.2.0a
password server = 198.107.31.119
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
security = domain
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
domain logons = yes
dns proxy = no
#============================ Share Definitions
==============================
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[share]
comment = /share
valid users = jorchard root
path = /opt3
public = no
writable = yes
create mask = 0710
Smb.conf for PDC samba server
[global]
workgroup = datalextest
domain admin group = @adm
server string = Samba 2.2.0a
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
security = domain
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
domain logons = yes
logon script = scripts\home.bat
logon path =
dns proxy = no
#============================ Share Definitions
==============================
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[web1]
comment = web server
path = /home/httpd/html
valid user = jorchard
public = no
writable = yes
create mask = 0710
[netlogon]
path = /usr/local/samba/netlogon
writeable = no
guest ok = no
More information about the samba-ntdom
mailing list