Ldap-thunderbird
shinigami
-
shinigami69 Messages postés 1 Statut Membre -
shinigami69 Messages postés 1 Statut Membre -
Bonjour,
Je suis actuellement en stage en entreprise, et etudiant en BTS Iris.
Je doit realiser un annuaire LDAP, pour y stocker tout les contacts de l'entreprise, et que tout le monde y ai acces.
Il sera exploité avec Thunderbird(Mozilla).
Lorsque j'essai de charger mon "init.ldif", j'obtiens l'erreur suivante :
sudo slapadd -l init.ldif
/etc/ldap/slapd.conf: line 65: <suffix> invalid DN 21 (Invalid syntax)
slapadd: bad configuration file!
Voici mon slapd.conf :
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
ucdata-path /etc/ldap/ucdata
#include /etc/ldap/schema/core.schema
#include /etc/ldap/schema/cosine.schema
#include /etc/ldap/schema/nis.schema
#include /etc/ldap/schema/inetorgperson.schema
#include /etc/ldap/schema/extension.schema
#include /etc/ldap/schema/openos.schema
#include /etc/ldap/schema/AbzillaPerson.schema
#include /etc/ldap/schema/thunderbird2.schema
# Mon propre schema a moi, fait en piocant dans un peu tous.
include /etc/ldap/schema/monschema.schema
# Define global ACLs to disable default read access.
allow bind_v2
# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap:/root.openldap.org
pidfile /etc/ldap/run/slapd.pid
argsfile /etc/ldap/run/slapd.args
# Load dynamic backend modules:
# modulepath ./libexec/openldap
moduleload back_bdb.la
# moduleload back_ldap.la
# moduleload back_ldbm.la
# moduleload back_passwd.la
# moduleload back_shell.la
# Sample security restrictions
# Require integrity protection (prevent hijacking)
# Require 112-bit (3DES or better) encryption for updates
# Require 63-bit encryption for simple bind
# security ssf=1 update_ssf=112 simple_bind=64
# Sample access control policy:
# Root DSE: allow anyone to read it
# Subschema (sub)entry DSE: allow anyone to read it
# Other DSEs:
# Allow self write access
# Allow authenticated users read access
# Allow anonymous users to authenticate
# Directives needed to implement policy:
# access to dn.base="" by * read
# access to dn.base="cn=Subschema" by * read
# access to *
# by self write
# by users read
# by anonymous auth
#
# if no access controls are present, the default policy
# allows anyone and everyone to read anything but restricts
# updates to rootdn. (e.g., "access to * by * read")
#
# rootdn can always read and write EVERYTHING!
#######################################################################
# BDB database definitions
#######################################################################
database bdb
suffix "dc=annuaire,dc=com
rootdn "cn=Manager,dc=annuaire, dc=com"
rootpw secret
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /etc/ldap/data
# Indices to maintain
index objectClass eq,pres
index ou,cn,mail,surname,ivenname eq,pres,sub
Et voici mon init.ldif :
dn: dc=annuaire,dc=com
objectClass: top
objectClass: dcObject
objectClass: organizationalUnit
dc: annuaire
ou: annuaire
dn: ou=personal,dc=annuaire,dc=com
objectClass: organizationalUnit
ou: personal
Je ne comprend pas cette erreur, un coup de main de votre part serai le bienvenue :D
Merci a tous d'avoir lu mon probleme, et, si possible de m'aider.
Je suis actuellement en stage en entreprise, et etudiant en BTS Iris.
Je doit realiser un annuaire LDAP, pour y stocker tout les contacts de l'entreprise, et que tout le monde y ai acces.
Il sera exploité avec Thunderbird(Mozilla).
Lorsque j'essai de charger mon "init.ldif", j'obtiens l'erreur suivante :
sudo slapadd -l init.ldif
/etc/ldap/slapd.conf: line 65: <suffix> invalid DN 21 (Invalid syntax)
slapadd: bad configuration file!
Voici mon slapd.conf :
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
ucdata-path /etc/ldap/ucdata
#include /etc/ldap/schema/core.schema
#include /etc/ldap/schema/cosine.schema
#include /etc/ldap/schema/nis.schema
#include /etc/ldap/schema/inetorgperson.schema
#include /etc/ldap/schema/extension.schema
#include /etc/ldap/schema/openos.schema
#include /etc/ldap/schema/AbzillaPerson.schema
#include /etc/ldap/schema/thunderbird2.schema
# Mon propre schema a moi, fait en piocant dans un peu tous.
include /etc/ldap/schema/monschema.schema
# Define global ACLs to disable default read access.
allow bind_v2
# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap:/root.openldap.org
pidfile /etc/ldap/run/slapd.pid
argsfile /etc/ldap/run/slapd.args
# Load dynamic backend modules:
# modulepath ./libexec/openldap
moduleload back_bdb.la
# moduleload back_ldap.la
# moduleload back_ldbm.la
# moduleload back_passwd.la
# moduleload back_shell.la
# Sample security restrictions
# Require integrity protection (prevent hijacking)
# Require 112-bit (3DES or better) encryption for updates
# Require 63-bit encryption for simple bind
# security ssf=1 update_ssf=112 simple_bind=64
# Sample access control policy:
# Root DSE: allow anyone to read it
# Subschema (sub)entry DSE: allow anyone to read it
# Other DSEs:
# Allow self write access
# Allow authenticated users read access
# Allow anonymous users to authenticate
# Directives needed to implement policy:
# access to dn.base="" by * read
# access to dn.base="cn=Subschema" by * read
# access to *
# by self write
# by users read
# by anonymous auth
#
# if no access controls are present, the default policy
# allows anyone and everyone to read anything but restricts
# updates to rootdn. (e.g., "access to * by * read")
#
# rootdn can always read and write EVERYTHING!
#######################################################################
# BDB database definitions
#######################################################################
database bdb
suffix "dc=annuaire,dc=com
rootdn "cn=Manager,dc=annuaire, dc=com"
rootpw secret
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /etc/ldap/data
# Indices to maintain
index objectClass eq,pres
index ou,cn,mail,surname,ivenname eq,pres,sub
Et voici mon init.ldif :
dn: dc=annuaire,dc=com
objectClass: top
objectClass: dcObject
objectClass: organizationalUnit
dc: annuaire
ou: annuaire
dn: ou=personal,dc=annuaire,dc=com
objectClass: organizationalUnit
ou: personal
Je ne comprend pas cette erreur, un coup de main de votre part serai le bienvenue :D
Merci a tous d'avoir lu mon probleme, et, si possible de m'aider.
A voir également:
- Ldap-thunderbird
- Réponse automatique thunderbird - Guide
- Telecharger thunderbird - Télécharger - Mail
- Client ldap windows - Télécharger - Édition & Programmation
- Rappeler un mail thunderbird ✓ - Forum Thunderbird
- Thunderbird problème affichage message - Forum Thunderbird
4 réponses
Salut,
tu as cherché sur le forum de geckozone ?
https://www.hugedomains.com/domain_profile.cfm?d=geckozone&e=org
tu as cherché sur le forum de geckozone ?
https://www.hugedomains.com/domain_profile.cfm?d=geckozone&e=org
Bonjour,
Merci de vos réponses.
Mon problème devais venir d'un caractère de controle qui se baladais dans mon fichier car, j'ai tout re-ecris a la main et ça marche^^..Bizar...
Enfin, sa marche pas tout a fait, j'ai une erreur, a laquelle je ne trouve pas de solution :
sudo slapadd -l petit_carnet.ldif
slapadd: line 1: database (dc=annuaire,dc=com) not configured to hold "cn=bouh@laposte.net,mail=bouh@laposte.net"
slapadd: line 1: database (dc=annuaire,dc=com) not configured to hold "cn=bouh@laposte.net,mail=bouh@laposte.net"
Merci pour votre aitre precieuse.
Merci de vos réponses.
Mon problème devais venir d'un caractère de controle qui se baladais dans mon fichier car, j'ai tout re-ecris a la main et ça marche^^..Bizar...
Enfin, sa marche pas tout a fait, j'ai une erreur, a laquelle je ne trouve pas de solution :
sudo slapadd -l petit_carnet.ldif
slapadd: line 1: database (dc=annuaire,dc=com) not configured to hold "cn=bouh@laposte.net,mail=bouh@laposte.net"
slapadd: line 1: database (dc=annuaire,dc=com) not configured to hold "cn=bouh@laposte.net,mail=bouh@laposte.net"
Merci pour votre aitre precieuse.