Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Sample Configuration Files
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Sample Configuration Files Copies of commonly used configuration files in SUSE Linux
(Moderated - Please do not post questions here)

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-Apr-2004, 17:55
storm
Guest
 
Posts: n/a
Default

Quote:

BASIC SERVER SETTINGS
workgroup = SOME_DOMAIN <===change this to match your config
netbios name = some_name <===change this to match your config
announce as = NT Workstation
server string = PDC <===change this to match your config
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY

; PDC AND MASTER BROWSER SETTINGS
os level = 65
preferred master = True
domain master = True
local master = Yes
time server = yes <====set up ntp to synch from a public time server
wins support = Yes
interfaces = 192.168.1.77/255.255.255.0 <===make sure you add the right ip
client code page = 850
character set = ISO8859-15
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
printing = CUPS <====make sure you are using CUPS
printcap name = CUPS


;SECURITY AND LOGGING SETTINGS
unix extensions = yes
security = user
encrypt passwords = yes
map to guest = Bad User
domain logons = Yes
null passwords = Yes
unix password sync = True

;USER PROFILES AND HOME DIRECTORY
logon home = \\%L\%U <==\\linuxservername\username
logon drive = Z: <===windows drive letter to use
logon path = \\%L\profiles\%U <====here is where all the user windows profile go.
logon script = logon-%U.bat <== this executes the proper user batch script
add user script = /usr/bin/useradd \ <== this is for the Administrator to add users from MS Win
-d /dev/null \
-g nogroup \
-s /bin/false \
-M %u
[profiles]
username = user1 user2 <==i guess you can use %U intead of listing lall users
path = /home/samba/profiles <== win profiles are kept here
writeable = yes
create mask = 0600
directory mask = 0700
browseable = no

[netlogon]
path = /home/netlogon <== Admin drive invisible to users
read only = Yes
write list = admin
guest ok = yes


[homes]
comment = %U's Home Directories <===this is the users dir
valid users = %S
browseable = no
writeable = yes
create mask = 0640
directory mask = 0750
[printers] <===the rest you should know what they are
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
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2