Editors

From openSUSE

This article is in need of attention!

This article currently does not meet the standard expected on the OpenSUSE Wiki.
You are welcome to help improve this article. For more information see the Wiki Team

  1. smb.conf is the main Samba configuration file. You find a full commented
  2. version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
  3. samba-doc package is installed.
  4. Date: 2007-09-22

[global] workgroup = castdesign printing = cups printcap name = cups printcap cache time = 750 cups options = raw map to guest = Bad User obey pam restrictions = Yes logon script = scripts\logon.bat logon path = \\%L\Profiles\%U logon drive = H: logon home = \\%L\%U usershare allow guests = No add machine script = /usr/sbin/useradd -c [homes] comment = Home Directories valid users = %S read only = No browseable = No

Machine -d /var/lib/nobody -s /bin/false %m$

domain logons = Yes domain master = Yes local master = Yes os level = 44 preferred master = Yes dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd show add printer wizard = yes security = user netbios name = cd1 passdb backend = ldapsam:ldap://127.0.0.1 username map = /etc/samba/smbusers server string = Castdesign server ldap delete dn = No ldap passwd sync = Yes ldap replication sleep = 1000 ldap timeout = 5 ldap server = castdesign00 ldap suffix = dc=foobar,dc=tld ldap machine suffix = ou=Computers ldap user suffix = ou=Users ldap group suffix = ou=Groups ldap idmap suffix = ou=Users ldap admin dn = cn=Manager,dc=foobar,dc=tld ldap ssl = no ldap passwd sync = Yes idmap uid = 15000-20000 idmap gid = 15000-20000

[homes] comment = Home Directories valid users = %S, %D%w%S browseable = No read only = No inherit acls = Yes [profiles] comment = Network Profiles Service path = /var/lib/samba/profiles guest ok = Yes force user = %U valid users = %U "Domain Admins" read only = No profile acls = Yes read only = No store dos attributes = Yes create mask = 0600 directory mask = 0700 [users] comment = All users path = /home read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ [groups] comment = All groups path = /home/groups read only = No inherit acls = Yes [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

[netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon write list = root