On Mon, 2007-05-07 at 17:38 -0600, Daniel wrote:
> May 7 09:23:56 ubuntu-server slapd[23014]: conn=1 op=0 BIND
> dn="cn=admin,dc=ubuntu-server,dc=alpinedistrict,dc=org" mech=SIMPLE
> ssf=0
Here's where you bound as cn=admin.
> May 7 09:23:56 ubuntu-server slapd[23014]: SRCH
> "uid=*,ou=People,dc=ubuntu-server,dc=alpinedistrict,dc=org" 2 0
Your search base is uid=*,ou=People.
> May 7 09:23:56 ubuntu-server slapd[23014]: filter: (objectClass=*)
Filter is objectClass=*. That's good. I believe it's the default search
filter if none is specified. Since every object has to have a structural
objectClass, every object will match that filter.
> May 7 09:23:56 ubuntu-server slapd[23014]: =>
> bdb_dn2id("uid=*,ou=people,dc=ubuntu-server,dc=alpinedistrict,dc=org")
> May 7 09:23:56 ubuntu-server slapd[23014]: <= bdb_dn2id: get failed:
> DB_NOTFOUND: No matching key/data pair found (-30990)
But your search base does not exist, just as I suspected.
"uid=*,ou=People" is taken as a literal string. Wildcards are only valid
in the search filter. It is proper to do a search "ou=People". The
default search is subtree (aka "sub") so any objects beneath ou=People
should be found.
Can I see the access rules from your slapd.conf? Can you try your
original query again and send that debugging output?
Corey
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/