[Samba] SMB Help

Christopher M Bailey Chris at ChrisBailey.au.com
Sat Jul 23 01:06:30 MDT 2011

Hi All,

I'm trying to configure a Samba PDC, and for some reason I can not get
any windows PC to join the domain, however they can see the shares.
Strange thing is that under Webmin I can not see root as a smb user and
when I try a smbpasswd -a root I can enter the password, but it still
wont add a smb user.  

Samba version 3.5.4-0.70.el5_6.1
smb.conf below


	;Genreic Domain Info
	netbios name = server
	server string = DOMAIN Server running Samba %v
	workgroup = DOMAIN
	;Domain Controller Stuff
	os level = 65
	prefered master = yes
	domain master = yes
	local master = yes
	domain logons = yes
	add machine script = /usr/sbin/useradd -d /dev/null -g 100
-s /bin/false -M %u

	;Misc Options
	time server = yes
	;Hide Linux hidden files
	hide dot files = yes

	;User access
	security = user
	guest ok = no
	invalid users = bin daemon sys man postfix mail ftp webmin mailscanner
	admin users = @wheel
	;Domain Admins
	domain admin group = @wheel
	domain admin users = root

	;Use encrypted passwords
	encrypt passwords = yes
	passdb backend = tdbsam

	;Logging options, sizes in KB
	log level = 2
	log file = /var/log/samba/log.%L
	max log size = 1000 
	debug timestamp = yes
	syslog = 1

	;Enable Profiles
	logon path = \\%N\profiles\%u

	;Logon Script
	;logon script = logon.bat

#-==========Shares Here=========-
	;Share for DC
	path = /home/samba/netlogon
;	public = no
;	writable = no
	browsable = no
	valid users = root @smbusers

        ;User profile share
	writable = yes
	path = /home/samba/profiles
	;force directory mode = 775
	;force create mode = 775
	valid users = root @smbusers @Domain
	browsable = no
	create mode = 0664
	directory mode = 0775
	guest ok = yes

        force create mode = 777
        browseable = no
        comment = Home Directories
        writeable = yes
        force directory mode = 777
        comment = Shared Data
        path = /home/samba/shared
        writeable = yes
        guest ok = yes
        force group = root
        force user = root
        create mask = 777
        directory mask = 777

More information about the samba mailing list