[Samba] LDAP problem

Tanguy Léost tanguy.leost at free.fr
Mon Jan 7 00:58:04 GMT 2008


le 07.01.2008 01:44  Quinn Fissler ecrivait :
> The account which you use to bind can be defined in the database or the 
> rootdn in the slapd.conf
> 

yes, that's "cn=Manager,dc=company,dc=fr"


> There is also the option for anonymous binding - that's why I say use 
> slapcat as it sidesteps the binding issue but has the limitation that it 
> must be done on the ldap server (or its shared data area).
> 
> You can leave slapd running when you do slapcat for diags (you may wish 
> to stop ldap if you wanted to use slapcat to do a full backup of the 
> directory, but for these diags, its just a quick way of sanity checking 
> the data)
>

ok. I read that slapd should be stopped before running
a slap* command, that's why i did that.


> I asked why you needed to restore as it's very unusual to lose data in 
> this way.

It was broken, so there was no other choice.
A colleague tried to put back the files as he found them,
but slpad wouldn't run, so we had to restore a backup


> 
> Was ldap reinstalled?
> 
> How about samba?
>

none of them was touched.

> (Has some other thing changed after this power failure - like the 
> smb.conf , smbldap confs, ldap.conf or slapd.conf)
> 

As far as I know these files were not modified.
We just restored the ldif.

> I take it that you're getting this running for Monday morning.
> 
> Q
> 

I wish it was true ;)
it's just within 6 hours :(

Thanks a lot for your help
Do you have any idea how to have this PDC working again?
...I'm starting to consider the possibility of bypassing the ldap
and use another way of authenticating the clients.

Tanguy

ps: sorry for my mistakes in english.


More information about the samba mailing list