Entwicklungsumgebung/Dateiliste/smb.conf: Unterschied zwischen den Versionen
(smb.conf) |
(Entwicklungsumgebung/Dateiliste/smb.conf) |
||
Zeile 14: | Zeile 14: | ||
---- | ---- | ||
<source highlight="1" lang="text"> | <source highlight="1-140" lang="text"> | ||
# Global parameters | |||
[global] | |||
server string = Schulserver %h | |||
workgroup = SCHULE | |||
interfaces = lo 10.100.0.1/255.255.0.0 | |||
bind interfaces only = Yes | |||
hosts allow = 127. 10.100. | |||
unix extensions = yes | |||
time server = yes | |||
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE | |||
case sensitive = no | |||
preserve case = yes | |||
short preserve case = yes | |||
logon script = %a.bat | |||
logon path = \\%L\profile\%G\%U\%a | |||
logon drive = L: | |||
logon home = \\%L\profile\%G\%U\%a | |||
domain logons = yes | |||
domain master = yes | |||
os level = 255 | |||
preferred master = yes | |||
passdb backend = ldapsam:ldap://localhost | |||
ldapsam:trusted = yes | |||
ldap passwd sync = yes | |||
pam password change = Yes | |||
ldap suffix = dc=delixs-schule,dc=de | |||
ldap admin dn = cn=admin,dc=delixs-schule,dc=de | |||
ldap group suffix = ou=delixs,ou=groups | |||
ldap user suffix = ou=people,ou=accounts | |||
ldap machine suffix = ou=machines,ou=accounts | |||
passwd program = /usr/sbin/smbldap-passwd %u | |||
add machine script = /usr/sbin/smbldap-useradd -w "%u" | |||
add user script = /usr/sbin/smbldap-useradd -m -a -A 1 "%u" | |||
delete user script = /usr/sbin/smbldap-userdel "%u" | |||
ldap delete dn = yes | |||
unix passwd sync = yes | |||
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* | |||
encrypt passwords = yes | |||
dns proxy = no | |||
wins support = yes | |||
admin users = adm, root, administrator | |||
guest account = nobody | |||
mangled names = no | |||
log level = 1 | |||
veto files = /*.eml/*.nws/riched20.dll/*.{*}/ | |||
[netlogon] | |||
comment = Anmeldeverzeichnis | |||
browsable = yes | |||
path = /etc/samba/scripts | |||
public = yes | |||
write list = adm, root | |||
share modes = no | |||
guest ok = yes | |||
locking = no | |||
[homes] | |||
comment = Stammverzeichnis | |||
browseable = no | |||
read only = no | |||
inherit permissions = yes | |||
create mask = 0755 | |||
map hidden = yes | |||
map system = yes | |||
hide dot files = yes | |||
wide links = no | |||
[change] | |||
comment = Datenaustausch | |||
path = /home/all | |||
read only = no | |||
public = yes | |||
create mode = 0666 | |||
directory mode = 0777 | |||
wide links = no | |||
[groups] | |||
comment = Gruppen und Projekte | |||
path = /home/groups | |||
read only = no | |||
public = yes | |||
create mode = 0666 | |||
directory mode = 0777 | |||
wide links = no | |||
[pub] | |||
comment = Unterrichtsmaterial | |||
path = /home/software | |||
write list = adm, root | |||
public = yes | |||
wide links = yes | |||
[profile] | |||
comment = Windows Profile | |||
path = /home/profile | |||
public = no | |||
read only = no | |||
browseable = no | |||
create mode = 0755 | |||
directory mode = 0775 | |||
wide links = no | |||
profile acls = yes | |||
preserve case = no | |||
case sensitive = no | |||
[intranet] | |||
comment = Intranet-Seiten | |||
path = /home/www | |||
valid users = @www | |||
guest ok = no | |||
writeable = yes | |||
create mode = 0664 | |||
directory mode = 0775 | |||
force group = www | |||
[fachl] | |||
comment = Fachlehrer-Zugang | |||
path = /home/classes | |||
valid users = @fachl | |||
guest ok = no | |||
writeable = yes | |||
create mode = 0777 | |||
force group = fachl | |||
[admins] | |||
comment = Admin-Freigabe | |||
path = /home/students | |||
valid users = @admins | |||
guest ok = no | |||
writeable = yes | |||
create mode = 0666 | |||
directory mode = 0777 | |||
force group = admins | |||
</source> | </source> | ||
Version vom 10. Juli 2009, 15:01 Uhr
Diese Seite sollte nochmals überarbeitet werden. Eine Begründung befindet sich in der Regel unter Diskussion (oben). |
/etc/samba/smb.conf
Achtung: Bitte achten Sie unbedingt darauf, beim Kopieren und Einfügen einen Editor mit UNIX-Zeilenumbrüchen zu verwenden!
Hinweis: Die im delixs-Schulserver geänderten Zeilen sind gelb unterlegt.
<source highlight="1-140" lang="text">
- Global parameters
[global] server string = Schulserver %h workgroup = SCHULE interfaces = lo 10.100.0.1/255.255.0.0 bind interfaces only = Yes hosts allow = 127. 10.100. unix extensions = yes time server = yes socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE case sensitive = no preserve case = yes short preserve case = yes
logon script = %a.bat logon path = \\%L\profile\%G\%U\%a
logon drive = L:
logon home = \\%L\profile\%G\%U\%a domain logons = yes domain master = yes os level = 255 preferred master = yes
passdb backend = ldapsam:ldap://localhost ldapsam:trusted = yes ldap passwd sync = yes pam password change = Yes
ldap suffix = dc=delixs-schule,dc=de ldap admin dn = cn=admin,dc=delixs-schule,dc=de ldap group suffix = ou=delixs,ou=groups ldap user suffix = ou=people,ou=accounts ldap machine suffix = ou=machines,ou=accounts passwd program = /usr/sbin/smbldap-passwd %u add machine script = /usr/sbin/smbldap-useradd -w "%u" add user script = /usr/sbin/smbldap-useradd -m -a -A 1 "%u" delete user script = /usr/sbin/smbldap-userdel "%u" ldap delete dn = yes
unix passwd sync = yes
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully*
encrypt passwords = yes
dns proxy = no wins support = yes admin users = adm, root, administrator guest account = nobody mangled names = no log level = 1 veto files = /*.eml/*.nws/riched20.dll/*.{*}/
[netlogon] comment = Anmeldeverzeichnis browsable = yes path = /etc/samba/scripts public = yes write list = adm, root share modes = no guest ok = yes locking = no
[homes] comment = Stammverzeichnis browseable = no read only = no inherit permissions = yes create mask = 0755 map hidden = yes map system = yes hide dot files = yes wide links = no
[change] comment = Datenaustausch path = /home/all read only = no public = yes create mode = 0666 directory mode = 0777 wide links = no
[groups] comment = Gruppen und Projekte path = /home/groups read only = no public = yes create mode = 0666 directory mode = 0777 wide links = no
[pub] comment = Unterrichtsmaterial path = /home/software write list = adm, root public = yes wide links = yes
[profile]
comment = Windows Profile path = /home/profile public = no read only = no browseable = no
create mode = 0755 directory mode = 0775 wide links = no
profile acls = yes preserve case = no case sensitive = no
[intranet] comment = Intranet-Seiten path = /home/www valid users = @www guest ok = no writeable = yes create mode = 0664 directory mode = 0775 force group = www
[fachl] comment = Fachlehrer-Zugang path = /home/classes valid users = @fachl guest ok = no writeable = yes create mode = 0777 force group = fachl
[admins] comment = Admin-Freigabe path = /home/students valid users = @admins guest ok = no writeable = yes create mode = 0666 directory mode = 0777 force group = admins </source>