LDAP problemz...

Tadej Slemc tadej at security.eu.org
Wed Oct 9 12:26:19 CEST 2002


Zivjo

Imam ene probleme z dostopom do ldap baze:

izvlecek iz slapd.conf:

database        ldbm
suffix          "ou=Visitors, o=domena.si"
rootdn          "cn=Manager, ou=Visitors, o=domena.si"
rootpw          secret
directory       /var/lib/ldap
index   mknickname,objectClass  eq
#access to dn="o=domena.si"
#       by dn="uid=userread,ou=admin,o=isp"  read
#       by dn="uid=userwrite,ou=admin,o=isp"  write
#       by dn="uid=useradmin,ou=admin,o=isp" write
#       by * none
access to * by * write

database        ldbm
suffix          "ou=admin, o=isp"
rootdn          "cn=Manager, ou=admin, o=isp"
rootpw          secret
directory       /var/lib/ldap/isp
index   objectClass     eq


v bazi iamm priblizno 21.000 zapisov

ce poizkusam z
ldapsearch -x -u -b "ou=visitors,o=domena.si" "objectclass=*" -D
"cn=Manager,ou=visitors,o=domena.si" -w secret

dobim popolnoma vse rezultate in na koncu 
# search result
search: 2
result: 0 Success

ce pa poizkusim npr z:
ldapsearch -x -u -b "ou=visitors,o=domena.si"
"objectclass=*" -D "uid=useradmin,ou=admin,o=isp" -w secret

pa dobim 501 zapis (isto ce te zapise nadomestim s popolnoma novimi) in na
oncu se:
# search result
search: 2
result: 4 Size limit exceeded

Isto ce to naredim s katerimkoli userjem ki ni Manager v
ou=visitors,o=domena.si.

Kaj naj naredim da ne bom dobival 'result: 4 Size limit exceeded'

Uporabljam pa OpenLDAP 2.0.23-4

LP

Tadej Slemc





More information about the lugos-list mailing list