LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2003, 09:09 AM   #1
goochster
LQ Newbie
 
Registered: Sep 2003
Posts: 8

Rep: Reputation: 0
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??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba pdc problems jedimastermopar Linux - General 1 05-11-2005 03:41 PM
Samba problems XP Client cant find PDC 3333 Linux - Software 4 01-28-2005 04:31 PM
Problems with Samba as a PDC; non-root logins denied Mr.47 Linux - Networking 0 07-11-2004 01:18 PM
Samba 3.01rc2 acting as a PDC goochster Linux - Networking 7 12-15-2003 03:40 PM
XP problems with Samba PDC rleusen Linux - Networking 3 12-12-2002 02:50 PM


All times are GMT -5. The time now is 06:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration