[Samba] Re: Samba + OpenLDAP: LDAP server is running but could not respond to a search request

paul kölle paul at subsignal.org
Sat Sep 10 09:56:33 GMT 2005


Steven Truong wrote:
> ldapsearch -x -b "dc=sample,dc=com" "(ObjectClass=*)"
> # extended LDIF
> #
> # LDAPv3
> # base <dc=sample,dc=com> with scope sub
> # filter: (objectClass=*)
> # requesting: ALL
> #
> 
> # search result
> search: 2
> result: 0 Success
> 
> # numResponses: 1
> ----------------------------------------------------------------
> Here is the log for this request from /var/log/ldaplogs
> Sep 9 04:32:51 Ns02 slapd[10449]: conn=52 fd=18 ACCEPT from IP=
> 127.0.0.1:1510 <http://127.0.0.1:1510> (IP=0.0.0.0:389 <http://0.0.0.0:389>)
> Sep 9 04:32:51 Ns02 slapd[10449]: conn=52 op=0 BIND dn="" method=128
> Sep 9 04:32:51 Ns02 slapd[10449]: conn=52 op=0 RESULT tag=97 err=0 text=
> Sep 9 04:32:51 Ns02 slapd[10449]: conn=52 op=1 SRCH 
> base="dc=nanostellar,dc=com" scope=2 deref=0 filter="(objectClass=*)"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
that's not dc=sample,dc=com
[snip]

> However, 
> net groupmap list
> [2005/09/09 04:39:30, 0] passdb/pdb_ldap.c:ldapsam_setsamgrent(2763)
> ldapsam_setsamgrent: LDAP search failed: No such object
> [2005/09/09 04:39:30, 0] passdb/pdb_ldap.c:ldapsam_enum_group_mapping(2828)
> ldapsam_enum_group_mapping: Unable to open passdb
[snip]

> filter="(&(objectClass=sambaDomain)(sambaDomainName=sample))"
> Sep 9 04:39:52 Ns02 slapd[10449]: conn=61 op=2 SRCH attr=sambaDomainName 
> sambaNextRid sambaNextUserRid sambaNextGroupRid sambaSID 
> sambaAlgorithmicRidBase objectClass
> Sep 9 04:39:52 Ns02 slapd[10449]: conn=61 op=2 SEARCH RESULT tag=101 err=0 
> nentries=1 text=
> Sep 9 04:39:52 Ns02 slapd[10449]: conn=61 op=3 SRCH 
> base="ou=Goups,dc=sample,dc=com" scope=2 deref=0 
           ^^^^^^typo?

cheers
 Paul




More information about the samba mailing list