Léa-Linux & amis :   LinuxFR   GCU-Squad   GNU
Samba + ldap
Envoyé par: Draconis

Bonsoir a tous

je suis entrain de configure unserveur samba en controleur de domaine avec un annuaire ldap (openldap)

le probleme vien lors de la création des comptes je fais "smbpasswd -a compte" et il me sort le message d'erreure suivant
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb


pourquoi il n'arrive pas a joindre l'annuaire ldap ?

merci

Poste le Wednesday 20 September 2006 16:48:32
Répondre     Citer    
Re: Samba + ldap
Envoyé par: danielh

Je pense qu'il te faut préciser à Samba le mot de passe d'administration LDAP :

smbpasswd -w motdepasse

Poste le Friday 22 September 2006 10:07:39
Répondre     Citer    
Re: Samba + ldap
Envoyé par: Draconis

Merci cela a marcher super !

mais un autre problème vien de sugir apres avoir cree les comptes j'ai voulu redemarrer le serveur ldap et voila ce que j'ai eu :

axurit:/home/admin# /etc/init.d/slapd restart
Starting OpenLDAP: running BDB recovery, slapd - failed.
The operation failed but no output was produced. For hints on what went
wrong please refer to the system's logfiles (e.g. /var/log/syslog) or
try running the daemon in Debug mode like via "slapd -d 16383" (warning:
this will create copious output).

je suis complètement perdu la (?)(?)(?)

Poste le Friday 22 September 2006 14:45:16
Répondre     Citer    
Re: Samba + ldap
Envoyé par: Draconis

personne ne voit d'ou cela vient ??

Poste le Monday 25 September 2006 10:42:20
Répondre     Citer    
Re: Samba + ldap
Envoyé par: danielh

Bonjour,

que dit le /var/log/syslog

Poste le Tuesday 26 September 2006 10:19:19
Répondre     Citer    
Re: Samba + ldap
Envoyé par: Draconis

il me dit

Sep 29 06:25:38 axurit syslogd 1.4.1#17: restart.
Sep 29 06:26:01 axurit CRON[14076]: pam_ldap: ldap_simple_bind Can't contact LDAP server
Sep 29 06:26:02 axurit /USR/SBIN/CRON[14077]: (root) CMD (/home/admin/)
Sep 29 06:26:02 axurit CRON[14077]: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
Sep 29 06:26:02 axurit CRON[14079]: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
Sep 29 06:27:01 axurit CRON[14082]: pam_ldap: ldap_simple_bind Can't contact LDAP server
Sep 29 06:27:01 axurit /USR/SBIN/CRON[14083]: (root) CMD (/home/admin/)
Sep 29 06:27:01 axurit CRON[14083]: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
Sep 29 06:27:01 axurit CRON[14085]: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
Sep 29 06:28:01 axurit CRON[14088]: pam_ldap: ldap_simple_bind Can't contact LDAP server
Sep 29 06:28:01 axurit /USR/SBIN/CRON[14089]: (root) CMD (/home/admin/)
Sep 29 06:28:01 axurit CRON[14089]: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
Sep 29 06:28:01 axurit CRON[14091]: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
Sep 29 06:29:01 axurit CRON[14094]: pam_ldap: ldap_simple_bind Can't contact LDAP server
Sep 29 06:29:01 axurit /USR/SBIN/CRON[14095]: (root) CMD (/home/admin/)
Sep 29 06:29:01 axurit CRON[14095]: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
Sep 29 06:29:01 axurit CRON[14097]: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
Sep 29 06:30:01 axurit CRON[14100]: pam_ldap: ldap_simple_bind Can't contact LDAP server

Poste le Friday 29 September 2006 11:27:25
Répondre     Citer    
Re: Samba + ldap
Envoyé par: Draconis

personne ne voit ?

Poste le Tuesday 3 October 2006 11:39:07
Répondre     Citer    
Re: Samba + ldap
Envoyé par: Peter

Tu devrais regarder dans les fichiers de configuration de PAM et NSS si tu as bien précisé les infos de ton serveur LDAP.

Poste le Thursday 12 October 2006 17:46:04
Répondre     Citer    

Veuillez vous authentifier auparavant pour commenter.

 

Ce forum !
Samba + ldap
Aide sur les distributions Debian, Ubuntu et leurs dérivées : Mepis, Mint, Knoppix, Kubuntu, Lubuntu, Xandros

Sauf mention contraire, les documentations publiées sont sous licence Creative-Commons