Samba 2.2.2 fails DIAGNOSIS.txt step #3

Tadd Cameron Tadd at
Wed Nov 28 13:21:05 GMT 2001

was "Smbpasswd() fails to join NT Domain"

Hi I have been working on this for a while now and need a little more
assistance. I am having trouble getting a samba machine to join a NT
domain.  I
cannot seem get past test #3 in the DIAGNOSIS.txt file.

Red Hat 7.2
Samba-2.2.2-20011013 - (Have also tried from CVS source, source tarball
and lower version binaries)
PDC = NT 4.0 SP6a

Test #1 passes testparm smb.conf
Test #2 can ping REDHAT from PDC and can ping PDC from REDHAT (ip and
(host via hosts file))
Test #3 follows;
[root at redhat samba]# smbclient -L PDC
added interface ip= bcast= nmask=
session request to PDC failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
[root at redhat samba]#

When trying to join the domain I signed in as root and I made sure there
was no machine named REDHAT on the PDC in server manager.
I shut down the smbd, nmbd and winbind daemons
I deleted /etc/samba/secrets.tbf
Then issued the command; smbpasswd -j DOMAIN -r PDC -Dusername%password
-DOMAIN is our NT domain name
-PDC is the Primary Domain Controller
-username and password is an administrator account on the DOMAIN

[root at redhat samba]# smbpasswd -j DOMAIN -r PDC -Uusername%password
error connecting to PDC
Unable to join domain DOMAIN.
[root at redhat samba]#

here is my smb.conf file

workgroup = DOMAIN
netbios name = REDHAT
comment = Samba server (v%V)
security = domain
password server = PDC
encrypt passwords = yes
null passwords = no
hosts allow = 127. 10.0.
os level = 33
domain master = no
local master = no
preferred master = no
nt acl support = yes
nt pipe support = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins server =
name resolve order = lmhosts host wins bcast
log file = /var/log/samba/log.%m

comment = "home directories"
path = /samba/home/%S
writeable = yes

comment = "Public"
path = /samba/public
browseable = yes
writeable = yes

More information about the samba mailing list