All pastes #509186 Raw Edit

smb.conf

public text v1 · immutable
·published 2007-05-25 10:16 UTC
rendered paste body

[global]
; Basic server settings
	netbios name = phoenix
	workgroup = rplus

; we should act as the domain and local master browser
	os level = 64
	preferred master = yes
	domain master = yes
	local master = yes
	wins support = yes

; security settings (must user security = user)

; encrypted passwords are a requirement for a PDC

; support domain logons
	domain logons = yes

; where to store user profiles?
	logon path = \\%N\profiles\%u

; where is a user's home directory and where should it
; be mounted at?
	logon drive = H:
	logon home = \\homeserver\%u

; specify a generic logon script for all users
; this is a relative **DOS** path to the [netlogon] share
	username map = /etc/samba/smbusers
	logon script = logon.cmd

; necessary share for domain controller
[netlogon]
	path = /usr/local/samba/lib/netlogon
	write list = ntadmin

; share for storing user profiles
[profiles]
	path = /export/smb/ntprofile
	writeable = yes
	create mask = 0600
	directory mask = 0700

[homes]
	browseable = no
	writeable = yes

[testshare]
	path = /testshare
	writeable = yes
	guest ok = yes