Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 18/08/2019, à 14:56

cdevl

LDAP : message d'erreur ?

Bonjour,

Je me connecte à mon phpldapadmin je reçois ce message d'erreur :

Deprecated: Function create_function() is deprecated in /usr/share/phpldapadmin/lib/functions.php on line 1083

Quel est la solution ?

merci de votre aide

Hors ligne

#2 Le 18/08/2019, à 16:06

cdevl

Re : LDAP : message d'erreur ?

cdevl a écrit :

Bonjour,

Je me connecte à mon phpldapadmin je reçois ce message d'erreur :

Deprecated: Function create_function() is deprecated in /usr/share/phpldapadmin/lib/functions.php on line 1083

Quel est la solution ?

merci de votre aide

j'ai réusssi en suivant ce lien :

https://stackoverflow.com/questions/50698477/cant-create-new-entry-phpldapadmin

Hors ligne

#3 Le 18/08/2019, à 16:17

cdevl

Re : LDAP : message d'erreur ?

J'ai suivi ce tuto : https://www.youtube.com/watch?v=6ls6kRvGkrU

ensuite j'ai télécharger le client pGina et installer et configurer et ma question est dans les lignes :

cn=admin.dc=vpsmail.dc=com

le =com c'est bien le .com ? car dans mon cas moi c'est .tech je dois le changer en tech je suppose ?

après avoir tout configurer dans pGina je rentre mon username et password et j'ai Authentification en rouge et Autorisation et gateway en vert et pourtant mon username et password sont bien ceux que j'ai indiquer dans phpldapadmin.

j'ai le log de pGina :

* Simulated login starting: dimanche 18 août 2019 17:12:23
**** pGina Version:  3.1.8.0
**** Enabled plugins: 
****     Authentication: LDAP, Local Machine
****     Authorization: LDAP
****     Gateway: LDAP, Local Machine
****     Notification: 
****
2019-08-18 17:12:23,316 [1|DEBUG] PluginDriver:f52d88c1-95b9-436b-9ea6-38fe2344c03a: New PluginDriver created
2019-08-18 17:12:23,338 [1|DEBUG] PluginDriver:f52d88c1-95b9-436b-9ea6-38fe2344c03a: Begin login chain, 1 stateful plugin(s).
2019-08-18 17:12:23,347 [1|DEBUG] LdapPlugin: BeginChain
2019-08-18 17:12:23,361 [1|DEBUG] LdapServer: Initializing LdapServer host(s): [51.77.245.214], port: 389, useSSL = False, verifyCert = False
2019-08-18 17:12:23,370 [1|DEBUG] LdapServer: Timeout set to 10 seconds.
2019-08-18 17:12:23,380 [1|DEBUG] PluginDriver:f52d88c1-95b9-436b-9ea6-38fe2344c03a: Performing login process
2019-08-18 17:12:23,398 [1|DEBUG] PluginDriver:f52d88c1-95b9-436b-9ea6-38fe2344c03a: Authenticating user cdevleeshouwer, 2 plugins available
2019-08-18 17:12:23,408 [1|DEBUG] PluginDriver:f52d88c1-95b9-436b-9ea6-38fe2344c03a: Calling 0f52390b-c781-43ae-bd62-553c77fa4cf7
2019-08-18 17:12:23,418 [1|DEBUG] LdapPlugin: AuthenticateUser(f52d88c1-95b9-436b-9ea6-38fe2344c03a)
2019-08-18 17:12:23,431 [1|DEBUG] LdapPlugin: Received username: cdevleeshouwer
2019-08-18 17:12:23,440 [1|DEBUG] LdapPlugin: Attempting authentication for cdevleeshouwer
2019-08-18 17:12:23,453 [1|DEBUG] LdapServer: Attempting bind as cn=admin.dc=vpsmail.dc=tech
2019-08-18 17:12:23,509 [1|ERROR] LdapServer: LdapException: Les informations d'identification fournies ne sont pas valides. 
2019-08-18 17:12:23,518 [1|DEBUG] LdapServer: Closing LDAP connection to 51.77.245.214.
2019-08-18 17:12:23,528 [1|ERROR] LdapPlugin: Exception in LDAP authentication: System.DirectoryServices.Protocols.LdapException: Les informations d'identification fournies ne sont pas valides.
   à pGina.Plugin.Ldap.LdapServer.Bind(NetworkCredential creds)
   à pGina.Plugin.Ldap.LdapServer.FindUserDN(String uname)
   à pGina.Plugin.Ldap.LdapServer.Authenticate(String uname, String password)
   à pGina.Plugin.Ldap.LdapPlugin.AuthenticateUser(SessionProperties properties)
2019-08-18 17:12:23,539 [1|ERROR] PluginDriver:f52d88c1-95b9-436b-9ea6-38fe2344c03a: 0f52390b-c781-43ae-bd62-553c77fa4cf7 Threw an unexpected exception, assuming failure: System.DirectoryServices.Protocols.LdapException: Les informations d'identification fournies ne sont pas valides.
   à pGina.Plugin.Ldap.LdapServer.Bind(NetworkCredential creds)
   à pGina.Plugin.Ldap.LdapServer.FindUserDN(String uname)
   à pGina.Plugin.Ldap.LdapServer.Authenticate(String uname, String password)
   à pGina.Plugin.Ldap.LdapPlugin.AuthenticateUser(SessionProperties properties)
   à pGina.Core.PluginDriver.AuthenticateUser()
2019-08-18 17:12:23,550 [1|DEBUG] PluginDriver:f52d88c1-95b9-436b-9ea6-38fe2344c03a: Calling 12fa152d-a2e3-4c8d-9535-5dcd49dfcb6d
2019-08-18 17:12:23,560 [1|DEBUG] LocalMachine: AuthenticateUser(f52d88c1-95b9-436b-9ea6-38fe2344c03a)
2019-08-18 17:12:23,569 [1|DEBUG] LocalMachine: Found username: cdevleeshouwer
2019-08-18 17:12:23,580 [1|INFO ] LocalMachine: User cdevleeshouwer does not exist on this machine.
2019-08-18 17:12:23,589 [1|ERROR] LocalMachine: Failed to authenticate user: cdevleeshouwer
2019-08-18 17:12:23,598 [1|WARN ] PluginDriver:f52d88c1-95b9-436b-9ea6-38fe2344c03a: 12fa152d-a2e3-4c8d-9535-5dcd49dfcb6d Failed without a message
2019-08-18 17:12:23,607 [1|ERROR] PluginDriver:f52d88c1-95b9-436b-9ea6-38fe2344c03a: Failed to authenticate cdevleeshouwer, Message: 
2019-08-18 17:12:23,627 [1|DEBUG] PluginDriver:f52d88c1-95b9-436b-9ea6-38fe2344c03a: End login chain, 1 stateful plugin(s).
2019-08-18 17:12:23,636 [1|DEBUG] LdapPlugin: EndChain

Avez vous une idée du problème ?

--
Modération : les doublons sont interdits par les règles du forum.
Doublon avec : ./viewtopic.php?pid=22139894#p22139894

Dernière modification par bruno (Le 22/08/2019, à 12:47)

Hors ligne

#4 Le 19/08/2019, à 22:00

cdevl

Re : LDAP : message d'erreur ?

Bonsoir,

J'ai installé sur mon vps de chez ovh ubuntu serveur 18.04 et LDAP et quand je me connecte à mon manager account LDAP monip//lam je reçois le message d'erreur suivant :

Wrong password/user name combination. Please try again.

alors que j'ai modifier dans le fichier /usr/share/ldap-account-manager/config/lam.conf la ligne passwd avec un nouveau mot de passe au lieux de lam et également la ligne :

 Admins: cn=admin,dc=monsite,dc=com

Pouvez vous m'aider ?

merci à vous

Hors ligne

#5 Le 21/08/2019, à 23:12

cdevl

Re : LDAP : message d'erreur ?

Bonsoir,

J'ai réussi à installer via ce guide LDAP Server - Ubuntu Server 18.04 : https://www.youtube.com/watch?v=7BoD1pC-_LM et j'ai télécharger pGina pour Windows 10 et j'ai bien configurer le tout et au moment ou je vais sur l'onglet SIMULATION et que je rentre mon login et password je reçois le message suivant : Authentification Locale machine FALSE et dans Autorization j'ai bien la coche verte ainsi que dans Gateway.

je ne comprend pas car au niveau de mon user il est bien créer et sont password.

Avez vous une idée car je suis bloqué ?

voici mon log :

**** Simulated login starting: jeudi 22 août 2019 00:08:50
**** pGina Version:  3.1.8.0
**** Enabled plugins: 
****     Authentication: LDAP, Local Machine
****     Authorization: LDAP
****     Gateway: LDAP, Local Machine
****     Notification: 
****
2019-08-22 00:08:50,900 [1|DEBUG] PluginDriver:6e7b9711-a38b-47c9-aa40-a93c49e0f6aa: New PluginDriver created
2019-08-22 00:08:50,923 [1|DEBUG] PluginDriver:6e7b9711-a38b-47c9-aa40-a93c49e0f6aa: Begin login chain, 1 stateful plugin(s).
2019-08-22 00:08:50,933 [1|DEBUG] LdapPlugin: BeginChain
2019-08-22 00:08:50,948 [1|DEBUG] LdapServer: Initializing LdapServer host(s): [51.77.245.214], port: 389, useSSL = False, verifyCert = False
2019-08-22 00:08:50,958 [1|DEBUG] LdapServer: Timeout set to 10 seconds.
2019-08-22 00:08:50,968 [1|DEBUG] PluginDriver:6e7b9711-a38b-47c9-aa40-a93c49e0f6aa: Performing login process
2019-08-22 00:08:50,986 [1|DEBUG] PluginDriver:6e7b9711-a38b-47c9-aa40-a93c49e0f6aa: Authenticating user dchristophe, 2 plugins available
2019-08-22 00:08:50,996 [1|DEBUG] PluginDriver:6e7b9711-a38b-47c9-aa40-a93c49e0f6aa: Calling 0f52390b-c781-43ae-bd62-553c77fa4cf7
2019-08-22 00:08:51,006 [1|DEBUG] LdapPlugin: AuthenticateUser(6e7b9711-a38b-47c9-aa40-a93c49e0f6aa)
2019-08-22 00:08:51,016 [1|DEBUG] LdapPlugin: Received username: dchristophe
2019-08-22 00:08:51,026 [1|DEBUG] LdapPlugin: Attempting authentication for dchristophe
2019-08-22 00:08:51,039 [1|DEBUG] LdapServer: Attempting bind as cn=admin.dc=vpsmail.dc=tech
2019-08-22 00:08:51,121 [1|ERROR] LdapServer: LdapException: Les informations d'identification fournies ne sont pas valides. 
2019-08-22 00:08:51,135 [1|DEBUG] LdapServer: Closing LDAP connection to 51.77.245.214.
2019-08-22 00:08:51,149 [1|ERROR] LdapPlugin: Exception in LDAP authentication: System.DirectoryServices.Protocols.LdapException: Les informations d'identification fournies ne sont pas valides.
   à pGina.Plugin.Ldap.LdapServer.Bind(NetworkCredential creds)
   à pGina.Plugin.Ldap.LdapServer.FindUserDN(String uname)
   à pGina.Plugin.Ldap.LdapServer.Authenticate(String uname, String password)
   à pGina.Plugin.Ldap.LdapPlugin.AuthenticateUser(SessionProperties properties)
2019-08-22 00:08:51,160 [1|ERROR] PluginDriver:6e7b9711-a38b-47c9-aa40-a93c49e0f6aa: 0f52390b-c781-43ae-bd62-553c77fa4cf7 Threw an unexpected exception, assuming failure: System.DirectoryServices.Protocols.LdapException: Les informations d'identification fournies ne sont pas valides.
   à pGina.Plugin.Ldap.LdapServer.Bind(NetworkCredential creds)
   à pGina.Plugin.Ldap.LdapServer.FindUserDN(String uname)
   à pGina.Plugin.Ldap.LdapServer.Authenticate(String uname, String password)
   à pGina.Plugin.Ldap.LdapPlugin.AuthenticateUser(SessionProperties properties)
   à pGina.Core.PluginDriver.AuthenticateUser()
2019-08-22 00:08:51,171 [1|DEBUG] PluginDriver:6e7b9711-a38b-47c9-aa40-a93c49e0f6aa: Calling 12fa152d-a2e3-4c8d-9535-5dcd49dfcb6d
2019-08-22 00:08:51,181 [1|DEBUG] LocalMachine: AuthenticateUser(6e7b9711-a38b-47c9-aa40-a93c49e0f6aa)
2019-08-22 00:08:51,191 [1|DEBUG] LocalMachine: Found username: dchristophe
2019-08-22 00:08:51,204 [1|INFO ] LocalMachine: User dchristophe does not exist on this machine.
2019-08-22 00:08:51,213 [1|ERROR] LocalMachine: Failed to authenticate user: dchristophe
2019-08-22 00:08:51,223 [1|WARN ] PluginDriver:6e7b9711-a38b-47c9-aa40-a93c49e0f6aa: 12fa152d-a2e3-4c8d-9535-5dcd49dfcb6d Failed without a message
2019-08-22 00:08:51,232 [1|ERROR] PluginDriver:6e7b9711-a38b-47c9-aa40-a93c49e0f6aa: Failed to authenticate dchristophe, Message: 
2019-08-22 00:08:51,253 [1|DEBUG] PluginDriver:6e7b9711-a38b-47c9-aa40-a93c49e0f6aa: End login chain, 1 stateful plugin(s).
2019-08-22 00:08:51,263 [1|DEBUG] LdapPlugin: EndChain

--
Modération : les doublons sont interdits par les règles du forum.
Doublon avec : https://forum.ubuntu-fr.org/viewtopic.php?id=2042859

Dernière modification par bruno (Le 22/08/2019, à 12:44)

Hors ligne

#6 Le 24/08/2019, à 00:17

cdevl

Re : LDAP : message d'erreur ?

Bonjour,

Mon server LDAP fonctionne sous Ubuntu server 18.04 et ma question est comment y accéder via Windows 10 pro et y créer des session ?

Pouvez vous m'aider ?

merci à vous

Hors ligne

#7 Le 30/08/2019, à 21:14

cdevl

Re : LDAP : message d'erreur ?

bonsoir,

j'ai ldap account manager qui fonctionne très bien avec Pgina sur Windows 10 et ma question est la suivante :

quand je me connecte avec Pgina avec mon user créer dans LDAP je voudrais pouvoir supprimer certain icône sans que il supprime tout les icônes de tout mes utilisateur ?

Merci à vous de votre aide.

Dernière modification par cdevl (Le 30/08/2019, à 21:14)

Hors ligne

#8 Le 30/08/2019, à 22:59

cqfd93

Re : LDAP : message d'erreur ?

Modération

5 fils sur le même sujet regroupés en 1 seul fil…


cqfd93

Hors ligne

#9 Le 31/08/2019, à 14:25

bruno

Re : LDAP : message d'erreur ?

Modération : je viens d'en rajouter un sixième
En outre les questions #6 et #7 concernent Windows et non Ubuntu…

Dernière modification par bruno (Le 31/08/2019, à 14:26)

Hors ligne