![]() |
cp /usr/share/doc/samba-*/LDAP/samba.schema /etc/openldap/schema/
/etc/openldap/slapd.conf
(package
openldap-servers):
include /etc/openldap/schema/misc.schema include /usr/openldap/schema/samba.schema
TLSCACertificateFile /usr/share/ssl/certs/slapd.pem TLSCertificateFile /usr/share/ssl/certs/slapd.pem TLSCertificateKeyFile /usr/share/ssl/certs/slapd.pem
access to attrs=userPassword by dn="cn=Manager,dc=dg,dc=creatis,dc=insa-lyon,dc=fr" write by anonymous auth by self write by * none access to * by dn="cn=Manager,dc=dg,dc=creatis,dc=insa-lyon,dc=fr" write by * read
suffix "dc=dg,dc=creatis,dc=insa-lyon,dc=fr" rootdn "cn=Manager,dc=dg,dc=creatis,dc=insa-lyon,dc=fr" rootpw {crypt}rX46UYqLZuJiILe mot de passe est obtenu par la commande htpasswd:
$ htpasswd -n xxx New password: Re-type new password: xxx:rX46UYqLZuJiI
4 of 16 |