Inhaltsverzeichnis

Konfigurationsdateien von s4e2010

/etc/dhcpd.conf

authoritative;
ddns-update-style none;
default-lease-time 14400;
subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.100 192.168.1.200;
  default-lease-time 14400;
  max-lease-time 172800;
  option domain-name "network";
  option domain-name-servers 192.168.1.1;
  option routers 192.168.1.1;
  option ntp-servers 192.168.1.1;
  option netbios-name-servers 192.168.1.1;
}

/etc/samba/smb.conf

# Samba Konfigurationsdatei - server4education
# support@d4e.at
# 2008-09-11

[global]
        workgroup = NETWORK
        netbios name = server
        security = user
        enable privileges = yes
        interfaces = eth0
        server string = server4education
        encrypt passwords = Yes
        unix password sync = no

        log level = 2
        syslog = 1
        log file = /var/log/samba/log.%U
        max log size = 100000

        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        Dos charset = 850
        Unix charset = ISO8859-1
        domain logons = Yes
        domain master = Yes
        os level = 65
        preferred master = Yes
        wins support = yes
        wins server = 127.0.0.1
        admin users = sambakeeper
        obey pam restrictions = yes

        passdb backend = ldapsam:ldap://127.0.0.1/
        ldap admin dn = cn=Administrator,dc=network
        ldap suffix = dc=network
        ldap group suffix = ou=groups
        ldap user suffix = ou=users
        ldap machine suffix = ou=computers
        ldap delete dn = no
        ldap ssl = no
        ldap passwd sync = no
        add machine script = /var/lib/s4e/bin/ldap_computeradd "%u"

        server signing = no
        client signing = no
        server schannel = no
        client schannel = no

        logon script = %G.bat
#        logon path = \\%L\Profiles\%U
        logon drive = N:
        logon home = \\%L\%U

[homes]
        path = /home/%U
        valid users = %U
        read only = no
        browsable = yes

[netlogon]
        path = /etc/samba/netlogon
        guest ok = yes
        browseable = no

[profiles]
        path = /etc/samba/profiles
        browseable = yes
        force create mode = 0755
        directory mask = 0755
        write list = sambakeeper

[gemeinsam]
        path = /gemeinsam
        browseable = yes
        force create mode = 0775
        directory mask = 0775
        write list = @wartung,@lehrer