I have a domain named ADAMSTEST with the LDAP/PDC being
gomer.mdah.state.ms.us ip 10.8.3.37 and the BDC bldg2.mdah.state.ms.us
ip 10.8.7.2. nss_ldap is working, i can ssh in to both servers fine.
I'm trying to have a Windows XP named domain2 with ip 10.8.7.254 join
the domain using the WINS server of 10.8.7.2 in the network tcp/ip
settings. So it should be able to join the domain by authenticating
with the BDC, right? But when I go to my computer properties, computer
name, and put it in it in the domain ADAMSTEST, I get the error:
the following error occurred attempting to join the domain "ADAMSTEST":
the specified domain either does not exist or could not be contacted.
bldg2 is in the domain, net rpc join -U root%password succeeded, and net
rpc info works, and so does net getdomainsid:
[EMAIL PROTECTED] ~]# net rpc info
Password:
Domain Name: ADAMSTEST
Domain SID: S-1-5-21-2139886109-2393431639-217723040
Sequence number: 1202839145
Num users: 6
Num domain groups: 3
Num local groups: 0
[EMAIL PROTECTED] ~]# net getdomainsid
SID for domain BLDG2 is: S-1-5-21-2816586257-23495294-3091925226
SID for domain ADAMSTEST is: S-1-5-21-2139886109-2393431639-217723040
and domain2 has a machine account in ldap:
[EMAIL PROTECTED] ~]# ldapsearch -D
'cn=Manager,dc=gomer,dc=mdah,dc=state,dc=ms,dc=us' -b
"uid=domain2\$,ou=People,dc=gomer,dc=mdah,dc=state,dc=ms,dc=us" -w
xxxxxxx -x
# extended LDIF
#
# LDAPv3
# base <uid=domain2$,ou=People,dc=gomer,dc=mdah,dc=state,dc=ms,dc=us>
with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# domain2$, People, gomer.mdah.state.ms.us
dn: uid=domain2$,ou=People,dc=gomer,dc=mdah,dc=state,dc=ms,dc=us
objectClass: sambaSamAccount
objectClass: posixAccount
objectClass: account
objectClass: top
uid: domain2$
uidNumber: 2003
sambaSID: S-1-5-21-2139886109-2393431639-217723040-5006
gidNumber: 514
homeDirectory: /dev/null
cn: domain2$
sambaAcctFlags: [W]
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
from the logs of trying to join the domain:
[2008/02/12 12:06:42, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request(454)
process_name_query_request: Name query from 10.8.7.254 on subnet
UNICAST_SUBNET for name ADAMSTEST<1c>
[2008/02/12 12:06:42, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request(569)
OK
[2008/02/12 12:06:42, 3] nmbd/nmbd_processlogon.c:process_logon_packet(358)
process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2008/02/12 12:06:42, 3] nmbd/nmbd_processlogon.c:process_logon_packet(358)
process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2008/02/12 12:06:46, 3] nmbd/nmbd_processlogon.c:process_logon_packet(358)
process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2008/02/12 12:06:46, 3] nmbd/nmbd_processlogon.c:process_logon_packet(358)
process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2008/02/12 12:06:46, 3] nmbd/nmbd_processlogon.c:process_logon_packet(358)
process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2008/02/12 12:06:46, 3] nmbd/nmbd_processlogon.c:process_logon_packet(358)
process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2008/02/12 12:06:46, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request(454)
process_name_query_request: Name query from 10.8.7.254 on subnet
UNICAST_SUBNET for name ADAMSTEST<1b>
[2008/02/12 12:06:48, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request(454)
process_name_query_request: Name query from 10.8.7.254 on subnet
UNICAST_SUBNET for name ADAMSTEST<1b>
[2008/02/12 12:06:49, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request(454)
process_name_query_request: Name query from 10.8.7.254 on subnet
UNICAST_SUBNET for name ADAMSTEST<1b>
[2008/02/12 12:06:51, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request(454)
process_name_query_request: Name query from 10.8.7.254 on subnet
10.8.7.2 for name ADAMSTEST<1b>
[2008/02/12 12:06:52, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request(454)
process_name_query_request: Name query from 10.8.7.254 on subnet
10.8.7.2 for name ADAMSTEST<1b>
[2008/02/12 12:06:53, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request(454)
process_name_query_request: Name query from 10.8.7.254 on subnet
10.8.7.2 for name ADAMSTEST<1b>
[2008/02/12 12:06:53, 3] nmbd/nmbd_processlogon.c:process_logon_packet(358)
process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2008/02/12 12:06:53, 3] nmbd/nmbd_processlogon.c:process_logon_packet(358)
process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2008/02/12 12:06:54, 3] nmbd/nmbd_processlogon.c:process_logon_packet(358)
process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2008/02/12 12:06:54, 3] nmbd/nmbd_processlogon.c:process_logon_packet(358)
process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2008/02/12 12:06:54, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request(454)
process_name_query_request: Name query from 10.8.7.254 on subnet
10.8.7.2 for name ADAMSTEST<1b>
[2008/02/12 12:06:54, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request(454)
process_name_query_request: Name query from 10.8.7.254 on subnet
10.8.7.2 for name ADAMSTEST<1b>
[2008/02/12 12:06:55, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request(454)
process_name_query_request: Name query from 10.8.7.254 on subnet
10.8.7.2 for name ADAMSTEST<1b>
so why can't my XP computer join the domain using the BDC?
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba