[Samba] OpenLDAP: index generation failed

Andrew Bartlett abartlet at samba.org
Mon Feb 23 07:19:14 GMT 2004


On Mon, 2004-02-23 at 11:31, Gregory Chagnon wrote:
> Hi-
> Whenever I try to do anything with Samba (LDAP backend) I get this error:
> 
> [2004/02/18 15:39:11, 0] lib/smbldap.c:smbldap_search_domain_info(1314)
>   Adding domain info for TEST failed with NT_STATUS_UNSUCCESSFUL
> 
> 
> I also get this error in /var/log/samba/smb.log
> 
> [2004/02/17 21:34:52, 0] lib/smbldap.c:smbldap_search_domain_info(1314)
>   Adding domain info for TEST failed with NT_STATUS_UNSUCCESSFUL
> [2004/02/18 15:38:52, 0] smbd/server.c:main(747)
>   smbd version 3.0.0-15 started.
>   Copyright Andrew Tridgell and the Samba Team 1992-2003
> [2004/02/18 15:39:11, 1] lib/smbldap.c:add_new_domain_info(1265)
>   failed to add domain dn=
> sambaDomainName=TESTDOMAIN,dc=pangeasystems,dc=net with: Internal
> (implementation specific) error
>         index generation failed
> [2004/02/18 15:39:11, 0] lib/smbldap.c:smbldap_search_domain_info(1314)
>   Adding domain info for TESTDOMAIN failed with NT_STATUS_UNSUCCESSFUL

Sounds like you need to run slapindex on your databases - the indexes
may be corrupt.  Also check that your slapd.conf makes sense.  This is
an OpenLDAP, rather than a Samba issue.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040223/4fafe453/attachment.bin


More information about the samba mailing list