I setted chmod 755 to *gdbm files in my openldap-data directory, so it seems that everybody can access. after qmail-ldaplookup the ldap server writes down ths log
Jul 25 15:08:34 aleppe slapd[30273]: daemon: conn=30 fd=9 connection from IP=195.103.200.28:1378 (=0.0.0.0:34049) accepted. IP=0.0.0.0:34049) accepted. Jul 25 15:08:34 aleppe slapd[30273]: daemon: conn=30 fd=9 connection from IP=195.103.200.28:13(IP=0.0.0.0:34049) accepted. 78 (IP=0.0.0.0:34049) accepted. Jul 25 15:08:34 aleppe slapd[30273]: daemon: conn=30 fd=9 connection from IP=195.103.200.28:hl 25 15:08:34 aleppe slapd[30274]: conn=30 op=0 RESULT tag=97 err=0 text= 1378 (IP=0.0.0.0:34049) accepted. Jul 25 15:08:34 aleppe slapd[30273]: daemon: conn=30 fd=9 connection from IP=195.1030.28:1378 (IP=0.0.0.0:34049) accepted. Jul 25 15:08:34 aleppe slapd[30273]: daemon: conn=30 fd=9 connection from IP=195.103.200.28:1378 (IP=0.0.0.0:34049) accepted. Jul 25 15:08:34 aleppe slapd[30274]: conn=30 op=0 BIND dn="CN=DAVIDE,DC=TEST.SISPI,DC=IT" method=128 Jul 25 15:08:34 aleppe slapd[30274]: conn=30 op=0 RESULT tag=97 err=0 text= Jul 25 15:08:34 aleppe slapd[30274]: conn=30 op=1 SRCH base="dc=test.sispi,dc=it" scope=2 filter="(uid=davide)" Jul 25 15:08:34 aleppe slapd[30274]: conn=30 op=1 SEARCH RESULT tag=101 err=0 text= Jul 25 15:08:34 aleppe slapd[30274]: conn=30 op=2 UNBIND Jul 25 15:08:34 aleppe slapd[30274]: conn=-1 fd=9 closed Any Ideas??? Regards davide -----Messaggio originale----- Da: F�bio Gomes [mailto:[EMAIL PROTECTED]] Inviato: mercoled� 24 luglio 2002 13.54 A: [EMAIL PROTECTED] Oggetto: Re: R: R: R: R: R: R: R: h_e_l_p Davide Salerno wrote: > I am using lifewithqmail... but some things are missing... > what do you think about this output? > > [root@test bin]# ./qmail-ldaplookup -u davide -p davide > > > init_ldap: passwords are not compared via rebind > localdelivery: off > clustering: off > ldapobjectclass: > homedirmaker: /var/qmail/bin/custom_dirmaker > defaultDotMode: ldaponly > defaultQuota: 1000000S, 1000C > QuotaWarning: > ------ > You are about to be over your quota. Clean your mailbox. > > ------ > qldap_lookup: searching with (uid=davide) > qldap_lookup: succeeded, found: > uid: davide > qmailUID: 600 > qmailGID: 600 > accountStatus: undefined > mailMessageStore: /var/qmail/maildirs/davide > homeDirectory: (null pointer) > mailHost: 195.103.200.28 > mail: [EMAIL PROTECTED] > mailAlternateAddress: no entry in the database > mailQuota: no entry in the database > mailForwardingAddress: no entry in the database > deliveryProgramPath: no entry in the database > qmailDotMode: no entry in the database > deliveryMode: no entry in the database > mailReplyText: no entry in the database > userPassword: davide > qldap_lookup: password compare was not successful > Maybe the user that qmail is binding to LDAP haven't permission to read passwords. The best way to find out, is looking the OpenLDAP logs at the moment of qmail-ldaplookup. Try it out, F�bio Gomes -- @_{2**2..6*6}=split//,"�iGsDDbooe eoin m-IsvveoF Tenlmt";print values%_,"\n"
