Could not find any domain controllers for domain

Justin Weissig JWeissig at ACDSystems.com
Mon Jan 14 12:12:05 GMT 2002


Hi,

Can someone please help me out? I have finally been able to join my samba
2.2.2 box to a Windows NT domain. My domain controllers are running sp6a. I
am able to see the computer through "my network places" and see the shares.

But when I attempt to connect to a share I get access denied because winbind
can't find the domain controllers. I can't seem to find what the problem is,
I have added entries to my lmhosts file and hosts plus specially stated the
PDC and BDC in the smb.conf file.

I have pasted my configuration files below as well as the output from
"winbindd -d100 -i".

Smb.conf

<snip>
[global]
	
	netbios name = kdssamba
	server string = Samba 2.2.2
	security = DOMAIN
	workgroup = KDS
	encrypt passwords = Yes
	allow trusted domains = No
	null passwords = No
	password server = 192.168.0.1 192.168.0.15
	restrict anonymous = Yes
	log level = 3
	log file = /var/log/samba.log
	max log size = 500000
	min passwd length = 7
	announce version = 4.5
	announce as = NT
	load printers = No
	lm announce = No
	domain master = No
	preferred master = No
	domain logons = No
	local master = No
	os level = 0
	browse list = Yes
	enhanced browsing = No
	dns proxy = No
	wins proxy = No
	wins support = No
	template homedir = /home/%D/%U
	template shell = /bin/bash
	winbind uid = 10000-20000
	winbind gid = 10000-20000
	winbind separator = +
	winbind cache time = 10
	winbind enum users = Yes
	winbind enum groups = Yes
	browseable = Yes
	name resolve order = hosts lmhosts bcast

[tmp]
	comment = tmp file location
	path = /tmp
	read only = No
</snip>

/etc/samba/lmhosts

<snip>
192.168.0.1 server#20
192.168.0.1 server#1b
192.168.0.15 fileserver#20
</snip>

/etc/hosts

<snip>
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1	localhost.localdomain	localhost
192.168.0.1	server
192.168.0.15	fileserver
192.168.1.206	kdssamba
</snip>

Output from winbindd -d100 -i

<snip>
[root at kdssamba /root]# winbindd -d100 -i
INFO: Debug class all level = 3   (pid 816 from pid 816)
Processing section "[tmp]"
adding IPC service IPC$
adding IPC service ADMIN$
added interface ip=192.168.1.206 bcast=192.168.255.255 nmask=255.255.0.0
codepage_initialise: client code page = 850
load_client_codepage: loading codepage 850.
Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
Adding chars 0xa0 0xb5 (l->u = True) (u->l = True)
Adding chars 0x83 0xb6 (l->u = True) (u->l = True)
Adding chars 0xc6 0xc7 (l->u = True) (u->l = True)
Adding chars 0x84 0x8e (l->u = True) (u->l = True)
Adding chars 0x86 0x8f (l->u = True) (u->l = True)
Adding chars 0x91 0x92 (l->u = True) (u->l = True)
Adding chars 0x87 0x80 (l->u = True) (u->l = True)
Adding chars 0x8a 0xd4 (l->u = True) (u->l = True)
Adding chars 0x82 0x90 (l->u = True) (u->l = True)
Adding chars 0x88 0xd2 (l->u = True) (u->l = True)
Adding chars 0x89 0xd3 (l->u = True) (u->l = True)
Adding chars 0x8d 0xde (l->u = True) (u->l = True)
Adding chars 0xa1 0xd6 (l->u = True) (u->l = True)
Adding chars 0x8c 0xd7 (l->u = True) (u->l = True)
Adding chars 0x8b 0xd8 (l->u = True) (u->l = True)
Adding chars 0xd0 0xd1 (l->u = True) (u->l = True)
Adding chars 0xa4 0xa5 (l->u = True) (u->l = True)
Adding chars 0x95 0xe3 (l->u = True) (u->l = True)
Adding chars 0xa2 0xe0 (l->u = True) (u->l = True)
Adding chars 0x93 0xe2 (l->u = True) (u->l = True)
Adding chars 0xe4 0xe5 (l->u = True) (u->l = True)
Adding chars 0x94 0x99 (l->u = True) (u->l = True)
Adding chars 0x9b 0x9d (l->u = True) (u->l = True)
Adding chars 0x97 0xeb (l->u = True) (u->l = True)
Adding chars 0xa3 0xe9 (l->u = True) (u->l = True)
Adding chars 0x96 0xea (l->u = True) (u->l = True)
Adding chars 0x81 0x9a (l->u = True) (u->l = True)
Adding chars 0xec 0xed (l->u = True) (u->l = True)
Adding chars 0xe7 0xe8 (l->u = True) (u->l = True)
Adding chars 0x9c 0x0 (l->u = False) (u->l = False)
load_unicode_map: loading unicode map for codepage 850.
added interface ip=192.168.1.206 bcast=192.168.255.255 nmask=255.255.0.0
establishing connections
server: dc=, pwdb_init=0, lsa_hnd=0
resolve_lmhosts: Attempting lmhosts lookup for name KDS<0x1c>
getlmhostsent: lmhost entry: 192.168.0.1 server#20 
getlmhostsent: lmhost entry: 192.168.0.1 server#1b 
getlmhostsent: lmhost entry: 192.168.0.15 fileserver#20 
name_resolve_bcast: Attempting broadcast lookup for name KDS<0x1c>
bind succeeded on port 0
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 1
socket option SO_BROADCAST = 1
Could not test socket option TCP_NODELAY.
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 65535
socket option SO_RCVBUF = 65535
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
Sending a packet of len 50 to (192.168.255.255) on port 137
read_udp_socket: lastip 192.168.0.1 lastport 137 read: 62
parse_nmb: packet id = 19788
Received a packet of len 62 from (192.168.0.1) port 137
nmb packet from 192.168.0.1(137) header: id=19788 opcode=Query(0)
response=Yes
    header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=KDS<1c> rr_type=32 rr_class=1 ttl=300000
    answers   0 char ......   hex 8000C0A80001
Got a positive name query response from 192.168.0.1 ( 192.168.0.1 )
read_udp_socket: lastip 192.168.0.15 lastport 137 read: 62
parse_nmb: packet id = 19788
Received a packet of len 62 from (192.168.0.15) port 137
nmb packet from 192.168.0.15(137) header: id=19788 opcode=Query(0)
response=Yes
    header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=KDS<1c> rr_type=32 rr_class=1 ttl=300000
    answers   0 char ......   hex 8000C0A8000F
Got a positive name query response from 192.168.0.15 ( 192.168.0.15 )
bind succeeded on port 0
Sending a packet of len 50 to (192.168.0.1) on port 137
Sending a packet of len 50 to (192.168.0.1) on port 137
could not find any domain controllers for domain KDS
establishing connections
server: dc=, pwdb_init=0, lsa_hnd=0
resolve_lmhosts: Attempting lmhosts lookup for name KDS<0x1c>
getlmhostsent: lmhost entry: 192.168.0.1 server#20 
getlmhostsent: lmhost entry: 192.168.0.1 server#1b 
getlmhostsent: lmhost entry: 192.168.0.15 fileserver#20 
name_resolve_bcast: Attempting broadcast lookup for name KDS<0x1c>
bind succeeded on port 0
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 1
socket option SO_BROADCAST = 1
Could not test socket option TCP_NODELAY.
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 65535
socket option SO_RCVBUF = 65535
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
Sending a packet of len 50 to (192.168.255.255) on port 137
read_udp_socket: lastip 192.168.0.1 lastport 137 read: 62
parse_nmb: packet id = 22543
Received a packet of len 62 from (192.168.0.1) port 137
nmb packet from 192.168.0.1(137) header: id=22543 opcode=Query(0)
response=Yes
    header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=KDS<1c> rr_type=32 rr_class=1 ttl=300000
    answers   0 char ......   hex 8000C0A80001
Got a positive name query response from 192.168.0.1 ( 192.168.0.1 )
read_udp_socket: lastip 192.168.0.15 lastport 137 read: 62
parse_nmb: packet id = 22543
Received a packet of len 62 from (192.168.0.15) port 137
nmb packet from 192.168.0.15(137) header: id=22543 opcode=Query(0)
response=Yes
    header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=KDS<1c> rr_type=32 rr_class=1 ttl=300000
    answers   0 char ......   hex 8000C0A8000F
Got a positive name query response from 192.168.0.15 ( 192.168.0.15 )
bind succeeded on port 0
Sending a packet of len 50 to (192.168.0.15) on port 137
Sending a packet of len 50 to (192.168.0.15) on port 137
could not find any domain controllers for domain KDS
[root at kdssamba /root]# exit
</snip>

Thanks
- Justin
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list