[Samba] Is there any way to talk to a preferred PDC IP address?

Arvind Deshpande pilyad at gmail.com
Wed Oct 3 07:03:47 GMT 2007


Hello,
I am trying to join a domain. Using net host lookup I've found the IP
Address of LDAP and KDC server as well.
Now my question is is it possible to join a particular PDC ( even though
there are multiple PDC's in case of AD or PDC/BDC in case of NT-4 )

It seems that -I option to the "net" command does not work as intended. In
case of NT -I parameter gives out an error as follows

2007/10/01 17:40:01, 0] utils/net_rpc_join.c:net_rpc_join_ok(70)
net_rpc_join_ok: failed to get schannel session key from server
10.52.11.20 for domain LABNTDOM. Error was NT_STATUS_INVALID_COMPUTER_NAME
Join to domain 'LABNTDOM' is not valid

Even though the domain join was successful little earlier. smb.conf for
above is as follows

security = DOMAIN
workgroup = LABNTDOM
netbios name = snap69
timestamp logs = no
debug level = 0
disable netbios = no

In case of AD however -I option does not produce any error, but does not
seem to be talking to the IP address provided as an option -I, to the net
command.

Any clues how to join and confirm the join against the same PDC, IP?

-- 
Arvind Deshpande


More information about the samba mailing list