[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fehlerhafte Übertragung der LDAP-Datenbank! Wo ist der Fehler ?



On Sat, Feb 11, 2006 at 12:41:41AM +0100, Geert Stappers wrote:
Also fast nachts um eins

> On Fri, Feb 10, 2006 at 05:15:21PM +0100, Markus Coners wrote:
> > Hallo zusammen,
> >  
> >  das einspielen der bruker.ldif hat größere Folgen
> >   als gewünscht.  Das ldap funktioniert nicht 
> >  mehr einwandfrei. Was mach ich falsch ?
> >  
> >  In der log.smbd finde ich folgende Einträge

Log file von Samba

> >  [2006/02/10 16:40:42, 1] lib/smbldap.c:another_ldap_try(1011)
> >    Connection to LDAP server failed for the 15 try!
> >  [2006/02/10 16:40:43, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1971)
> >    ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (unknown) (Timed out)
>     <snip/>  
> >  tjener:~# smbpasswd -a root

Ein samba command

> >  failed to bind to server
> > ldap://ldap with dn="cn=smbadmin,ou=People,dc=skole,dc=skolelinux,dc=no" Error: Invalidcredentials

 "samba" fragt an "LDAP" und kriegt "wrong password (Invalid credentials)" als antwort.

> >  
> >  
> >  Für Anregungen zur Fehlersuche würde 
> >  ich mich sehr freuen.
> 
> $ smbpasswd --help
> smbpasswd: invalid option -- -
> When run by root:
>     smbpasswd [options] [username]
> otherwise:
>     smbpasswd [options]
> 
> options:
>  <snip/>
>   -w PASSWORD          ldap admin password
>  <snip/>

Ein stuck aus `man smbpasswd`

   -w password
          This  parameter  is  only  available if Samba has been compiled
          with LDAP support. The -w switch is used to specify  the pass-
          word  to  be used with theldap admin dn. Note that the password
          is stored in the secrets.tdb and is keyed off  of  the admin's
          DN. This means that if the value of ldap admin dn ever changes,
          the password will need to be manually updated as well.


ware besser gewezen.

> 
> >  Mit freundlichen Grüßen
> >  
> >  Markus Coners
> 
> Gute nacht
> GSt

nochmal
> >  Für Anregungen zur Fehlersuche würde 
> >  ich mich sehr freuen.

spiel doch mal mit `smbpasswd -W  geheim`

Und was mir jetzt einfaellt:

 Was steht bei 'ldap admin dn' in /etc/samba/smb.conf ?



Geert Stappers


Reply to: