[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

disk upgrade



Installation

Sur les serveurs Samba :
# aptitude install samba samba-doc libpam-smbpass smbclient smbldap-tools
Sur le serveur LDAP (pour les schémas Samba) :
# aptitude install samba-doc

Configuration du serveur LDAP pour Samba

Installation du schéma :
# zcat /usr/share/doc/samba-doc/examples/LDAP/samba.schema.gz > /etc/ldap/schema/samba.schema
## Ajouter à /etc/ldap/slapd.conf
include         /etc/ldap/schema/samba.schema
include         /etc/ldap/schema/collective.schema
include         /etc/ldap/schema/duaconf.schema
include         /etc/ldap/schema/dyngroup.schema
include         /etc/ldap/schema/java.schema
include         /etc/ldap/schema/misc.schema
include         /etc/ldap/schema/ppolicy.schema
include         /etc/ldap/schema/openldap.schema

Configuration du PDC

Configuration Samba

[global]

    workgroup = SMILECI
    netbios name = smileci-pdc
    server string = %h server (Samba, Ubuntu)
    # WINS Server !
    wins support = yes
    # I am a PDC !
    domain logons = yes
    domain master = yes
    obey pam restrictions = yes

    dns proxy = no

    log file = /var/log/samba/log.%m
    max log size = 1000
    syslog = 0
    panic action = "" id="DWT1306" class="ZmSearchResult">samba/panic-action %d
    pam password change = yes

    # Using LDAP only
    unix password sync = no
    ldap password sync = yes

    # LDAP config
    # cn=admin password MUST BE STORED in /var/lib/samba/secrets.tdb
    # Command : sudo smbpas


--
cordialement

KACOU Emmanuel
Administrateur Resaux/Systeme
Tel Ci: +225 42 20 23 16
Email:emmanuel kacou smile ci
www.smile.ci




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]