[mdlug] SAMBA as a PDC

Mathew Enders mat.enders at gmail.com
Wed Jul 4 02:02:20 EDT 2007


I have been working on getting a SAMBA server set up as a PDC at the
charter schoolwere we hold our meetings.  Well after several reinstalls,
due to borking it so bad it was just easier to start fresh, I have the
server up and running.  I am able to join machines to the domain.  Users
then also have the ability to log in from any joined machine and have
thier files and settings follow them (no easy task).  I however have one
problem left I am unable to solve.  When a user first logs onto the
server everything goes well the profile is created and all is good.
That is until they log out then log back in either from the same machine
or a different one.  Whith the second and all subsequent logons note pad
opens on the desktop with Desktop in the title bar and this in the body:

[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21787

There is no Dektop.ini file in the desktop but there is one in My
Documents (as windows uses the for folder settings all over the place I
do not believe that it is for the desk top) it is the only other
Desktop.ini file I can find.  Here is what it contains:

[DeleteOnCopy]
Owner=cgurne00
Personalized=5
PersonalizedName=My Documents

Any suggestions to help this will be greatly appreciated.  Also here is
a copy of my smc.conf file:

# Basic smb.conf for working PDC

[global]
	netbios name = ARDVARC
	workgroup = GAUACA
	server string = Gaudior's PDC SAMBA server %v %h
	add machine script = /usr/sbin/useradd -s /bin/false \-d /dev/null %u
	security = user
	encrypt passwords = yes
	smb passwd file = /etc/samba/smbpasswd
	local master = yes
	OS level = 64
	domain master = yes
	preferred master = yes
	domain logons = yes
	enable privileges = yes
	logon drive = H

[public]
	comment = For Testing Only Please Do Not Save Here
	path = /home/public
	read only = no

[netlogon]
	comment = Net Logon Service
	path = /home/netlogon
	read only = yes
	write list = +ntadmin

[homes]
	comment = Home
	valid users = %S
	read only = no
	browsable = no

[profile]
	comment = User Profiles
	path = /profiles
	valid users = %U
	create mode = 0600
	directory mode = 0700
	writable = yes
	browsable = no





More information about the mdlug mailing list