LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba 3.01rc2 PDC problems (https://www.linuxquestions.org/questions/linux-newbie-8/samba-3-01rc2-pdc-problems-126019/)

goochster 12-15-2003 09:09 AM

Samba 3.01rc2 PDC problems
 
Hello all I am trying to join a Windows 2000 machine to a Linux Redhat 8.0 server Using Samba 3.01rc2 as a Domain. I created a small network with them two computers on the network. Currently I used this tutuorial
www-1.ibm.com/servers/esdd/t...amba/index.html

Which I have done to a tea. I have manually created the user accounts and machine accounts and passwords on the LInux box. When I switch over to my 2k box...I can ping the Linux box by netbois name. Problem is when I try to Join the Domain. It says Domain does not exist or could not be contacted. and also says this condition may be caused by a DNS Lookup problem. Wierd Wierd. So here is a more wierder situation. If I type the workgroup name down on my W2k box and login with same credentials as I created on my Linux Box. When I browse Network Neighborhood I can see the Linux Box and when I open it up...I can see my home directory I created. Then I can even go into the home directory and add files to it. Just whenever I try to join the Domain keeps giving me the same error message. Here is my smb.conf file.

#/etc/samba/smb.conf
#samba configuration file
#last updated: 12/12/03 by BSS

[global]
;basic server settings
workgroup = testing
wins support = yes
netbios name = dapdc
server string = Samba PDC running %v
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192

;sync UNIX passwords
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd: *all* authentication*tokens*updated*successfully*

;PDC and master browser settings
os level = 64
preferred master = yes
local master = yes
domain master = yes

;secrity and logging settings
security = user
encrypt passwords = yes
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
hosts allow = 127.0.0.1 192.168.111.0/255.255.255.0

;user profiles and home directory
logon home = \\%L\%U\
logon drive = M:
logon path = \\%L\profiles\%U
logon script = netlogon.bat

# ==========shares===========

[homes]
comment = Home Directories
browseable = no
writeable = yes

[profiles]
path = /home/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700

[netlogon]
comment = Network Logon Service
path = /home/netlogon
read only = yes
browseable = no
write list = bscarlett

Here is my log file as well

03/11/04 09:30:59, 2] nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browser(109)
announce_local_master_browser_to_domain_master_browser:
We are both a domain and a local master browser for workgroup TESTING. Do not announce to ourselves.
[2003/11/04 09:30:59, 2] nmbd/nmbd_browsesync.c:sync_with_dmb(151)
sync_with_dmb:
Initiating sync with domain master browser DAPDC<20> at IP 192.168.111.11 for workgroup TESTING
[2003/11/04 09:46:05, 2] nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browser(109)
announce_local_master_browser_to_domain_master_browser:
We are both a domain and a local master browser for workgroup TESTING. Do not announce to ourselves.
[2003/11/04 09:46:05, 2] nmbd/nmbd_browsesync.c:sync_with_dmb(151)
sync_with_dmb:
Initiating sync with domain master browser DAPDC<20> at IP 192.168.111.11 for workgroup TESTING
[2003/11/04 10:01:11, 2] nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browser(109)
announce_local_master_browser_to_domain_master_browser:
We are both a domain and a local master browser for workgroup TESTING. Do not announce to ourselves.
[2003/11/04 10:01:11, 2] nmbd/nmbd_browsesync.c:sync_with_dmb(151)
sync_with_dmb:
Initiating sync with domain master browser DAPDC<20> at IP 192.168.111.11 for workgroup TESTING
[2003/11/04 10:15:12, 2] smbd/server.c:exit_server(558)
Closing connections
[2003/11/04 10:15:12, 0] nmbd/asyncdns.c:start_async_dns(150)
started asyncdns process 29651
[2003/11/04 10:15:17, 0] nmbd/nmbd.c:terminate(54)
Got SIGTERM: going down...
[2003/11/04 10:15:17, 0] libsmb/nmblib.c:send_udp(758)
Packet send failed to 127.0.0.1(137) ERRNO=Invalid argument
[2003/11/04 10:15:17, 0] nmbd/nmbd_packets.c:send_netbios_packet(163)
send_netbios_packet: send_packet() to IP 127.0.0.1 port 137 failed
[2003/11/04 10:15:17, 0] nmbd/nmbd_namerelease.c:wins_release_name(166)
release_name: Failed to send packet trying to release name DAPDC<00> IP 192.168.111.11
[2003/11/04 10:15:17, 0] libsmb/nmblib.c:send_udp(758)
Packet send failed to 127.0.0.1(137) ERRNO=Invalid argument
[2003/11/04 10:15:17, 0] nmbd/nmbd_packets.c:send_netbios_packet(163)
send_netbios_packet: send_packet() to IP 127.0.0.1 port 137 failed
[2003/11/04 10:15:17, 0] nmbd/nmbd_namerelease.c:wins_release_name(166)
release_name: Failed to send packet trying to release name DAPDC<03> IP 192.168.111.11
[2003/11/04 10:15:17, 0] libsmb/nmblib.c:send_udp(758)
Packet send failed to 127.0.0.1(137) ERRNO=Invalid argument
[2003/11/04 10:15:17, 0] nmbd/nmbd_packets.c:send_netbios_packet(163)
send_netbios_packet: send_packet() to IP 127.0.0.1 port 137 failed
[2003/11/04 10:15:17, 0] nmbd/nmbd_namerelease.c:wins_release_name(166)
release_name: Failed to send packet trying to release name DAPDC<20> IP 192.168.111.11
[2003/11/04 10:15:17, 0] libsmb/nmblib.c:send_udp(758)
Packet send failed to 127.0.0.1(137) ERRNO=Invalid argument
[2003/11/04 10:15:17, 0] nmbd/nmbd_packets.c:send_netbios_packet(163)
send_netbios_packet: send_packet() to IP 127.0.0.1 port 137 failed
[2003/11/04 10:15:17, 0] nmbd/nmbd_namerelease.c:wins_release_name(166)
release_name: Failed to send packet trying to release name TESTING<00> IP 192.168.111.11
[2003/11/04 10:15:17, 0] libsmb/nmblib.c:send_udp(758)
Packet send failed to 127.0.0.1(137) ERRNO=Invalid argument
[2003/11/04 10:15:17, 0] nmbd/nmbd_packets.c:send_netbios_packet(163)
send_netbios_packet: send_packet() to IP 127.0.0.1 port 137 failed
[2003/11/04 10:15:17, 0] nmbd/nmbd_namerelease.c:wins_release_name(166)
release_name: Failed to send packet trying to release name TESTING<1b> IP 192.168.111.11
[2003/11/04 10:15:17, 0] libsmb/nmblib.c:send_udp(758)
Packet send failed to 127.0.0.1(137) ERRNO=Invalid argument
[2003/11/04 10:15:17, 0] nmbd/nmbd_packets.c:send_netbios_packet(163)
send_netbios_packet: send_packet() to IP 127.0.0.1 port 137 failed
[2003/11/04 10:15:17, 0] nmbd/nmbd_namerelease.c:wins_release_name(166)
release_name: Failed to send packet trying to release name TESTING<1c> IP 192.168.111.11
[2003/11/04 10:15:17, 0] libsmb/nmblib.c:send_udp(758)
Packet send failed to 127.0.0.1(137) ERRNO=Invalid argument
[2003/11/04 10:15:17, 0] nmbd/nmbd_packets.c:send_netbios_packet(163)
send_netbios_packet: send_packet() to IP 127.0.0.1 port 137 failed
[2003/11/04 10:15:17, 0] nmbd/nmbd_namerelease.c:wins_release_name(166)
release_name: Failed to send packet trying to release name TESTING<1e> IP 192.168.111.11
[2003/11/04 10:15:17, 0] libsmb/nmblib.c:send_udp(758)
Packet send failed to 192.168.111.255(138) ERRNO=Invalid argument
[2003/11/04 10:15:17, 0] libsmb/nmblib.c:send_udp(758)
Packet send failed to 192.168.111.255(138) ERRNO=Invalid argument
[2003/11/04 10:16:34, 2] lib/interface.c:add_interface(79)
added interface ip=192.168.111.11 bcast=192.168.111.255 nmask=255.255.255.0
[2003/11/04 10:16:35, 2] lib/tallocmsg.c:register_msg_pool_usage(57)
Registered MSG_REQ_POOL_USAGE
[2003/11/04 10:16:35, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2003/11/04 10:16:35, 2] smbd/server.cpen_sockets_smbd(318)
waiting for a connection
[2003/12/12 09:43:27, 2] lib/interface.c:add_interface(79)
added interface ip=192.168.111.11 bcast=192.168.111.255 nmask=255.255.255.0
[2003/12/12 09:43:27, 2] lib/tallocmsg.c:register_msg_pool_usage(57)
Registered MSG_REQ_POOL_USAGE
[2003/12/12 09:43:27, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2003/12/12 09:43:27, 2] smbd/server.cpen_sockets_smbd(318)
waiting for a connection
[2003/12/12 10:48:31, 1] smbd/server.cpen_sockets_smbd(342)
Reloading services after SIGHUP


If anyone could please shoot me some help on this I would appreciate it...Do I need to put a DNS server on my small network i created as well with entries pointing to the PDC?? Or will just a W2k box and my linux box work??


All times are GMT -5. The time now is 01:50 AM.