Here is some more debug info ... a ldapsearch and the output from slapd
config

I have no idea why its not returning the values.

ldapsearch -x -b 'dc=firestarter,dc=net' '(objectclass=*)'
version: 2

#
# filter: (objectclass=*)
# requesting: ALL
#

# firestarter, dc=net
dn: dc=firestarter, dc=net
objectClass: top

# accounts, dc=firestarter, dc=net
dn: ou=accounts, dc=firestarter, dc=net
objectClass: top
objectClass: organizationalUnit
ou: accounts

# wynand, accounts, dc=firestarter, dc=net
dn: uid=wynand, ou=accounts, dc=firestarter, dc=net
cn: Wynand Theunissen
sn: Wynand
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailUser
mail: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailHost: hell.firestarter.net
mailMessageStore: /var/qmail/maildirs/wynand
uid: wynand
userPassword:: e01ENX1BcHBnK3hGSGpJcjcwY3R2QmNMUUhRPT0=
accountStatus: active
mailQuota: 100000000S, 10000C
deliveryMode: normal

# QmailLDAP, dc=firestarter, dc=net
dn: ou=QmailLDAP, dc=firestarter, dc=net
objectClass: top
objectClass: organizationalUnit
ou: QmailLDAP

# hell.firestarter.net,QmailLDAP,dc=firestarter,dc=net
dn: cn=hell.firestarter.net,ou=QmailLDAP,dc=firestarter,dc=net
objectClass: top
objectClass: qmailControl
cn: hell.firestarter.net
locals: firestarter.net
locals: hell.firestarter.net
ldapBaseDN: dc=firestarter,dc=net
ldapUid: 11184
ldapGid: 2210
ldapDefaultQuota: 20000000S,1000C
quotaWarning: You are close to reaching your disk space quota for this
mailbox
dirMaker: /var/qmail/bin/dirmaker
ldapLogin: cn=Manager, dc=firestarter, dc=net
ldapServer: hell.firestarter.net
ldapPassword: {MD5}Xr4ilOzQ4PCOq3aQ0qbuaQ==
concurrencyLocal: 20
defaultDomain: firestarter.net
defaultHost: hell.firestarter.net
ldapMessageStore: /var/qmail/maildirs
plusDomain: firestarter.net

# search result
search: 2
result: 0 Success

# numResponses: 6
# numEntries: 5

and the slapd -d4 when starting up qmail:

SRCH "cn=hell.firestarter.net,ou=QmailLDAP,dc=firestarter,dc=net" 2 0    0 0
0
    filter: (&(cn=hell.firestarter.net)(objectClass=qmailControl))
    attrs: ldapdefaultdotmode
entry_rdwr_rtrylock: ID: 5
entry_rdwr_runlock: ID: 5
entry_rdwr_rtrylock: ID: 5
ber_flush: 69 bytes to sd 22
entry_rdwr_runlock: ID: 5
ber_flush: 14 bytes to sd 22
connection_get(36)
connection_get(40)
SRCH "cn=hell.firestarter.net,ou=QmailLDAP,dc=firestarter,dc=net" 2 0    0 0
0
    filter: (&(cn=hell.firestarter.net)(objectClass=qmailControl))
    attrs: quotawarning
entry_rdwr_rtrylock: ID: 5
entry_rdwr_runlock: ID: 5
entry_rdwr_rtrylock: ID: 5
ber_flush: 155 bytes to sd 40
entry_rdwr_runlock: ID: 5
ber_flush: 14 bytes to sd 40
connection_get(40)
connection_get(19)
SRCH "cn=hell.firestarter.net,ou=QmailLDAP,dc=firestarter,dc=net" 2 0    0 0
0
    filter: (&(cn=hell.firestarter.net)(objectClass=qmailControl))
    attrs: quotawarning
entry_rdwr_rtrylock: ID: 5
entry_rdwr_runlock: ID: 5
entry_rdwr_rtrylock: ID: 5
ber_flush: 155 bytes to sd 19
entry_rdwr_runlock: ID: 5
ber_flush: 14 bytes to sd 19
connection_get(19)
connection_get(22)
SRCH "cn=hell.firestarter.net,ou=QmailLDAP,dc=firestarter,dc=net" 2 0    0 0
0
    filter: (&(cn=hell.firestarter.net)(objectClass=qmailControl))
    attrs: ldapdefaultquota
entry_rdwr_rtrylock: ID: 5
entry_rdwr_runlock: ID: 5
entry_rdwr_rtrylock: ID: 5
ber_flush: 108 bytes to sd 22
entry_rdwr_runlock: ID: 5
ber_flush: 14 bytes to sd 22
connection_get(22)
SRCH "cn=hell.firestarter.net,ou=QmailLDAP,dc=firestarter,dc=net" 2 0    0 0
0
    filter: (&(cn=hell.firestarter.net)(objectClass=qmailControl))
    attrs: quotawarning
entry_rdwr_rtrylock: ID: 5
entry_rdwr_runlock: ID: 5
entry_rdwr_rtrylock: ID: 5
ber_flush: 155 bytes to sd 22
entry_rdwr_runlock: ID: 5
ber_flush: 14 bytes to sd 22
connection_get(22)

etc etc etc carries on forever

Wynand

Reply via email to