LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Where is PDC??? (https://www.linuxquestions.org/questions/linux-networking-3/where-is-pdc-435200/)

CM019 04-14-2006 03:48 PM

Where is PDC???
 
First of all, sorry i'm still a linux noob. I've set up a linux(debian sarge) pdc. I'm trying to join the pdc domain from winxp box. I'm getting these error on winxp:

Note: This information is intended for a network administrator. If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\WINDOWS\debug\dcdiag.txt.



An error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain xxxxxxxx.net.

The error was: "No records found for given DNS query."
(error code 0x0000251D DNS_INFO_NO_RECORDS)

The query was for the SRV record for _ldap._tcp.dc._msdcs.xxxxxxxxx.net


Did I set up pdc properly? log.smbd, log.nmbd and smb.conf are:


Also log.smbd is:


[2006/04/14 15:54:09, 0] smbd/server.c:main(798)
smbd version 3.0.14a-Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2006/04/14 15:54:09, 2] param/loadparm.c:do_section(3434)
Processing section "[timsdir]"
[2006/04/14 15:54:09, 2] param/loadparm.c:do_section(3434)
Processing section "[homes]"
[2006/04/14 15:54:09, 2] param/loadparm.c:do_section(3434)
Processing section "[netlogon]"
[2006/04/14 15:54:09, 2] param/loadparm.c:do_section(3434)
Processing section "[profiles]"
[2006/04/14 15:54:09, 2] param/loadparm.c:do_section(3434)
Processing section "[printers]"
[2006/04/14 16:15:14, 0] smbd/server.c:main(798)
smbd version 3.0.14a-Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2006/04/14 16:17:08, 1] smbd/service.c:make_connection_snum(642)
ll (192.168.1.104) connect to service ad initially as user xxxxxxxx (uid=1000, gid=1000) (pid 5541)
[2006/04/14 16:17:25, 1] smbd/service.c:close_cnum(830)
ll (192.168.1.104) closed connection to service ad
[2006/04/14 16:33:48, 1] smbd/service.c:make_connection_snum(642)
ll (192.168.1.104) connect to service ad initially as user xxxxxxxx (uid=1000, gid=1000) (pid 5541)
[2006/04/14 16:34:07, 1] smbd/service.c:close_cnum(830)
ll (192.168.1.104) closed connection to service xxxxxxxxxxx


log.nmbd is:



[2006/04/14 16:09:53, 2] nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browser(110)
announce_local_master_browser_to_domain_master_browser:
We are both a domain and a local master browser for workgroup XXXXXXXXX. Do not announce to ourselves.
[2006/04/14 16:09:53, 2] nmbd/nmbd_browsesync.c:sync_with_dmb(154)
sync_with_dmb:
Initiating sync with domain master browser XXXXXX<20> at IP 192.168.1.103 for workgroup XXXXXXXXC
[2006/04/14 16:15:14, 0] nmbd/nmbd.c:terminate(56)
Got SIGTERM: going down...
[2006/04/14 16:15:14, 0] nmbd/nmbd.c:main(668)
Netbios nameserver version 3.0.14a-Debian started.
Copyright Andrew Tridgell and the Samba Team 1994-2004
[2006/04/14 16:15:14, 0] nmbd/nmbd_logonnames.c:add_logon_names(163)
add_domain_logon_names:
Attempting to become logon server for workgroup XXXXXXXX on subnet 192.168.1.103
[2006/04/14 16:15:14, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282)
become_domain_master_browser_bcast:
Attempting to become domain master browser on workgroup XXXXXXXX on subnet 192.168.1.103
[2006/04/14 16:15:14, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295)
become_domain_master_browser_bcast: querying subnet 192.168.1.103 for domain master browser on workgroup XXXXXXX
[2006/04/14 16:15:19, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124) become_logon_server_success: Samba is now a logon server for workgroup XXXXXXXX on subnet 192.168.1.103
[2006/04/14 16:15:23, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113) *****

Samba server XXXXXX is now a domain master browser for workgroup XXXXXXXXX on subnet 192.168.1.103

*****
[2006/04/14 16:15:37, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
*****

Samba name server XXXXXXX is now a local master browser for workgroup XXXXXXXX on subnet 192.168.1.103

*****


smb.conf file:


[global]
workgroup = XXXXXXXX
time server = Yes
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
ldap ssl = no

[homes]
read only = No
create mask = 0644
browseable = No

[netlogon]
path = /home/samba/netlogon
guest ok = Yes

[profiles]
path = /home/samba/profiles
read only = No
create mask = 0600
directory mask = 0700

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No


Any help will be appreciated.

Thanks.

musicman_ace 04-15-2006 12:26 AM

1. Your smb.conf should need these two entries.
security = user
encrypt passwords = yes
(i think I used AD instead of user)


2. The error is a DNS error about the SRV records not being available. Do you have DNS up and running for this domain?

CM019 04-15-2006 01:11 PM

Fixed the problem. Made a spelling mistake for workgroup name....lol. After hours of scrutiny found the problem. Thanks for your help.


All times are GMT -5. The time now is 09:44 AM.