Hi all,
I am using samba 3.5.8 on a linux machine.
I am not able to join the domain of a windows 2003 server in ADS mode.
I am getting the following error message:
# /usr/local/samba/bin/net ads join -U Administrator%password -I 10.25.66.71
Failed to join domain: failed to find DC for domain ABCDOM.PQR.COM
#
I am not sure what the issue here.
It works absolutely fine when I try to join the domain in rpc mode.
# /usr/local/samba/bin/net rpc join -U Administrator%password
Joined domain ABCDOM.
#
The smb.conf used is:
# /usr/local/samba/bin/testparm
Load smb config files from /usr/local/samba/lib/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[Linux]"
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions
[global]
workgroup = ABCDOM
realm = ABCDOM.PQR.COM
server string = Samba Server - Research
security = ADS
password server = 10.25.66.71
log level = 10
log file = /var/log/samba/%m.log
max log size = 50
add user script = /usr/sbin/useradd %u
delete user script = /usr/sbin/userdel %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -a -G %g %u
delete user from group script = /usr/sbin/deluser %u %g
add machine script = /usr/sbin/adduser -n -g machines -c Machine -d
/dev/null -s /bin/false %u
domain master = No
dns proxy = No
wins server = 10.25.66.71
idmap uid = 200-120000
idmap gid = 200-120000
admin users = root
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No
[Linux]
comment = Share on this linux machine
path = /tmp/linux
read only = No
#
NOTE: 10.25.66.71 is the IP of my 2003 windows server.
My lmhosts file is:
# cat lmhosts.
10.25.66.71 ABC3
10.25.66.71 ABCDOM#1b
10.25.66.71 ABCDOM#1c
#
It would be great, if any one can tell me if there is anything wrong here
and probably help me sort out this issue.
Thanks in advance!!
Thanks,
Rick
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba