[Samba] problem joining the domain

Fred Blaise chapeaurouge at gmail.com
Thu Aug 11 07:00:46 GMT 2005


Hey all

I have installed a new Debian 3.1, with samba 3.0.14a-3 from apt-get.
I have configured samba to use the LDAP backend. I used the
smbldap-populate to get my directory going. No problem until then.

I currently only have 1 machine, which is also configured to be the PDC.

But, I can't join that PDC to the domain, damn it.

Here is what it says, debug level 2:

 pdc:~# net rpc join -U Administrator -d 2
[2005/08/11 07:50:26, 2] lib/interface.c:add_interface(81)
  added interface ip=192.168.0.100 bcast=192.168.0.255 nmask=255.255.255.0
[2005/08/11 07:50:26, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.100:445 (Connection refused)
[2005/08/11 07:50:26, 1] utils/net_rpc.c:run_rpc_command(138)
  rpc command function failed! (NT_STATUS_ACCESS_DENIED)
Password:
[2005/08/11 07:50:27, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.100:445 (Connection refused)
Creation of workstation account failed
Unable to join domain SMBPDC.
[2005/08/11 07:50:27, 2] utils/net.c:main(897)
  return code = 1

A netstat -an |grep 445 doesn't return anything... Any idea why it is
not listening?

Also, other commands are fine, such as:

pdc:~# net rpc info 
Domain Name: ILR
Domain SID: S-1-5-21-223096953-1148827292-541513073
Sequence number: 1123739472
Num users: 23
Num domain groups: 4
Num local groups: 0

That was a glimpse of the problem. Any suggestions most welcome.

Thanks for your time.

chap


More information about the samba mailing list