Centreon Forum  

Go Back   Centreon Forum > Centreon Use > Centreon Project

Centreon Project General informations about Centreon

Reply
 
Thread Tools Display Modes
  #1  
Old 22nd December 2009
bigoud bigoud is offline
Senior Member
Habituated
 
Join Date: Feb 2009
Location: Paris
Posts: 103
Default Problèmes d'import LDAP avec Centreon 2.1.4

Bonjour à tous,

voila je viens de passer à la version 2.1.4 de centreon et dans l'onglet utilisateur, l'import LDAP ne marche pas. Je lance la même recherche dans "Base LDAP DN" qu'avec la 2.1.3 et il ne me trouve pas le contact. Ca marchait en 2.1.3.
Est-ce que quelqu'un a le même problème?
Merci
Reply With Quote
  #2  
Old 22nd December 2009
AkHeNaToN AkHeNaToN is offline
Administrator
Gourou
 
Join Date: Jul 2008
Location: France - Val de Marne (94)
Posts: 2,443
Default

que disent les logs LDAP dans le répertoire "log" de Centreon
__________________
Syslog Module Team
Centreon E2S developper
App: Nagios 3.2.1 / NDO SVN / Centreon 2.1.8 / Centreon-Syslog 1.3.2 / Centreon E2S 1.1-RC2
OS: Ubuntu / Debian / CentOS
Reply With Quote
  #3  
Old 22nd December 2009
bigoud bigoud is offline
Senior Member
Habituated
 
Join Date: Feb 2009
Location: Paris
Posts: 103
Default

Dans /usr/local/centreon/log/ le seul log datant d'aujourd'hui est centstorage.log, rien d'anormal.
il y a aussi un error-sql-2009-12-22.log, OK aussi.
Sinon rien d'autre...
C'était bien là qu'il fallait regarder? (je ne sais pas quels sont les logs LDAP...)
Reply With Quote
  #4  
Old 23rd December 2009
bigoud bigoud is offline
Senior Member
Habituated
 
Join Date: Feb 2009
Location: Paris
Posts: 103
Default

Quelqu'un a une autre piste?
merci
Reply With Quote
  #5  
Old 23rd December 2009
bigoud bigoud is offline
Senior Member
Habituated
 
Join Date: Feb 2009
Location: Paris
Posts: 103
Default

J'ai activé le débug du ldap et le fichier ldapsearch donne :

[23/12/2009 09:42] LDAP Search : (objectClass=dominoperson)
[23/12/2009 09:42] LDAP Search : URI : ldap://10.56.**.**:38*
[23/12/2009 09:42] LDAP Search : Credentials : ******* :: *******
[23/12/2009 09:42] LDAP Search : Bind : 0
[23/12/2009 09:42] LDAP Search : Bind OK
[23/12/2009 09:42] LDAP Search : Base DN : CN=Franck,OU=CLE,O=ENTITE
[23/12/2009 09:42] LDAP Search : Filter : (objectClass=dominoperson)
[23/12/2009 09:42] LDAP Search : Size Limit : 60
[23/12/2009 09:42] LDAP Search : Timeout : 60
[23/12/2009 09:42] LDAP Search : Error : Unknown error
[23/12/2009 09:42] LDAP Search : 1 entries found
[23/12/2009 09:42] LDAP Search : 1
[23/12/2009 09:42] LDAP Search : XML Output :

Le problème c'est que Unknon error n'est pas très parlant...
Reply With Quote
  #6  
Old 23rd December 2009
bigoud bigoud is offline
Senior Member
Habituated
 
Join Date: Feb 2009
Location: Paris
Posts: 103
Default

Voici les parmètres du LDAP dans centreon

Activer l'authentification LDAP (x)Oui ( )Non
Adresse IP du serveur LDAP 10.56.**.**
Port LDAP 389
Base LDAP DN NULL
Attribut de Login LDAP
Activer LDAP par SSL ( )Oui (x)Non
Version du protocole 1
Informations de recherche LDAP
Utilisateur à rechercher (anonyme si vide) LDAP-Reader
Mot de passe **********
Filtre LDAP par défaut (objectClass=dominoperson)
Délai de dépassement de la recherche LDAP 60
Limite de taille pour la recherche LDAP 60

Je me suis peut être mal exprimé mais c'est pas l'import LDAP qui ne marche plus, c'est la fonction de recherche d'utilisateurs dans le répertoire LDAP.
Quand je lance une recherche avec Base LDAP DN : OU=***,O=*** il trouve des utilisateurs mais quand je prend un utilisateur et que je lance la recherche en prenant un utilisateur trouvé
Base LDAP DN : CN=Antoine,OU=***,O=*** il ne le trouve plus.....

merci
Reply With Quote
  #7  
Old 28th December 2009
bigoud bigoud is offline
Senior Member
Habituated
 
Join Date: Feb 2009
Location: Paris
Posts: 103
Default

un petit up...
personne ne peut m'aider svp?
merci
Reply With Quote
  #8  
Old 5th January 2010
centy centy is offline
Junior Member
Newbie
 
Join Date: Aug 2009
Location: Germany
Posts: 27
Default Probleme similaire !

Meme probleme en mettant a jour de 2.1.3 vers 2.1.4.

Authentification a centreon via comptes LDAP existant = ok, mais impossible d'importer de nouveaux utilisateurs via "LDAP Import".

Rien a changer au niveau de l'infrastructure, jai teste la connexion et le filtre LDAP a partir d'un Browser independant.

En activant le debug LDAP, le ldapsearch me donne le meme resultat que pour Bigoud.

Le problem est present lors d'une mise a jour vers 2.1.4 ainsi qu'avec une 2.1.4 fraichement installee.
__________________
Ubuntu 8.04 LTS
Nagios 3.2.0 / Centreon 2.1.5 / NDO SVN
Reply With Quote
  #9  
Old 11th January 2010
xoroz xoroz is offline
Senior Member
Habituated
 
Join Date: Mar 2008
Posts: 133
Default Confirm

Me too, I am unable to import via LDAP option.
Even if I have all fields filled. UID etc...
Thought 2.1.4 would fix that
__________________
________________________________________
CentOS 5.4 / Nagios 3.2.1 / Centreon 2.1.8
Monitoring: 408 Hosts / 1309Services 9th Server
NdoUtils 1.49,NagiosPlugins 1.4.14, NagVis 1.4.4,

Nagios/Centreon Custom Scripts / Troubleshooting
www.felipeferreira.net
Reply With Quote
  #10  
Old 12th January 2010
centy centy is offline
Junior Member
Newbie
 
Join Date: Aug 2009
Location: Germany
Posts: 27
Default It was fine..

xoroz, LDAP import was working perfectly in 2.1.3 version.
This problem only seems to happen in 2.1.4 version.
__________________
Ubuntu 8.04 LTS
Nagios 3.2.0 / Centreon 2.1.5 / NDO SVN
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:15.