[Samba] HELP!!

chris reyes cd72886 at yahoo.com
Sun May 6 11:29:21 GMT 2007

Can anyone help me out with my SAMBA PDC creation?

I followed all the sample lab/setups but still i receive message such
as the one below...


The domain name TESTDOMAIN might be a NetBIOS domain name.  If this is
the case, verify that the domain name is properly registered with WINS.

If you are certain that the name is not a NetBIOS domain name, then the
following information can help you troubleshoot your DNS configuration.

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

The error was: "No DNS servers configured for local system."
(error code 0x0000267C DNS_ERROR_NO_DNS_SERVERS)

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

For more information, click Help.


My smb.conf looks like this:

# /etc/samba/smb.conf
# samba configuration file
# last updated: 06/06/2007 by chldr

;basic server settings
	workgroup = TESTDOMAIN
	netbios name = phoenix
	server string = Samba PDC running %v

;PDC and Master Browser settings
	os level = 65
	preferred master = yes
	local master = yes
	dns proxy = no
	wins support = yes
	domain master = yes

;security and logging settings
	domain logons = yes
	log file = /var/log/samba/log.%m
	log level = 2
	max log size = 50
	hosts allow =

;user profiles and home directory
	logon home = \\%L\%U\.profile
	logon drive = H:
	logon path = \\%L\profiles\%U
	username map = /etc/samba/smbusers
	logon script = netlogon.bat
	add machine script = /usr/sbin/adduser -n -g machines -c phoenix -d
/dev/null -s /bin/false %u

;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:


	comment = Home Directories
	browseable = no
	writeable = yes
	valid users = root, chris

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

	comment = Network Logon Service
	path = /home/netlogon
	browseable = no


I've been trying this out since last week and can't seem to make it
work!  I'm using 1 laptop and a PC, with RedHat Enterprise 4.0

I've got Samba version 3.0.10-1.4E.2

Does this mean that i still need WINS or DNS for this?

PLEASE HELP!  I'm realy at lost!


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the samba mailing list