[Samba] Smb By Example is good stuff :-)

Dan Am samba at lonx.net
Fri Jul 2 08:26:01 GMT 2004


Hi,
Am Freitag, 2. Juli 2004 01:40 schrieb Jim C.:
> What do I need to establish profiles as a subdirectory of the user's
> home directory?
FWIW, I never bothered, because it defaults to that setting, at least on my 
SuSE machnies here. Check out the attached SuSe smb.conf.  It does not have a 
[profiles] share. Maybe "mkdir $HOME/profile is neccessary. 
HTH 
Dan
-------------- next part --------------

# smb.conf is the main samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2003-04-07

[global]

	workgroup = Trainer  
	os level = 99 
	
	security = user   
	encrypt passwords = yes	
	
	domain logons = yes 
	domain master = yes
	local master = yes
	preferred master = yes

	interfaces = eth0
	bind interfaces only = yes	
	
	logon script = logon.bat 

	add user script = /usr/sbin/useradd -d /dev/null -s /bin/false %m$ 
 
[netlogon]

	path = /var/logon 
 

[homes]
	comment = Home Directories
	valid users = %S , %D+%S
	browseable = No
	read only = No
	create mask = 0640
	directory mask = 0750

[printers]
	comment = All Printers
	path = /var/tmp
	printable = Yes
	create mask = 0600
	browseable = No
[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @ntadmin root
	force group = ntadmin
	create mask = 0664
	directory mask = 0775


[projekt]
	path = /data/projekt
	writeable = yes
	valid users = @projekt    
  	force group = projekt 
	directory mode = 0770
	create mode  = 0770 		



More information about the samba mailing list