Created
December 22, 2014 01:23
-
-
Save scottslowe/790ffff17a56e2d21189 to your computer and use it in GitHub Desktop.
This is a Samba configuration file (smb.conf) used to integrate SLED 10 into Active Directory.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############### | |
# /etc/samba/smb.conf file | |
############### | |
# smb.conf is the main Samba configuration file. You find a full | |
# commented version at /usr/share/doc/packages/samba/examples/ | |
# smb.conf.SUSE if the samba-doc package is installed. | |
# Date: 2007-02-07 | |
[global] | |
workgroup = DOMAIN-SHORTNAME | |
realm = DOMAIN.COM | |
security = ads | |
encrypt passwords = yes | |
use kerberos keytab = true | |
password server = windows-dc-hostname.domain.com | |
netbios name = client-hostname | |
winbind use default domain = yes | |
winbind separator = + | |
idmap uid = 1000-59999 | |
idmap gid = 1000-59999 | |
winbind enum users = yes | |
winbind enum groups = yes | |
deadtime = 10 | |
winbind cache time = 10 | |
winbind nested groups = yes | |
template homedir = /home/%U | |
template shell = /bin/bash | |
client use spnego = yes | |
socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384 | |
idmap backend = ad | |
ldap idmap suffix = dc=domain,dc=com | |
ldap admin dn = cn=Administrator,cn=Users,dc=domain,dc=com | |
ldap suffix = dc=domain,dc=com | |
dns proxy = no | |
domain master = no | |
preferred master = no | |
max log size = 100 | |
log file = /var/log/samba/%m.log | |
printing = cups | |
printcap name = cups | |
printcap cache time = 750 | |
cups options = raw | |
map to guest = Bad User | |
include = /etc/samba/dhcp.conf | |
logon path = \%L\profiles\.msprofile | |
logon home = \%L\%U\.9xprofile | |
logon drive = P: | |
usershare allow guests = no | |
[admin] | |
comment = Windows Admin Access | |
path = / | |
valid users = "@Domain_Admins" | |
admin users = "@Domain_Admins" | |
read only = No | |
create mask = 0664 | |
browseable = No | |
inherit permissions = 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment