Quoting "Raja T Nair" <[EMAIL PROTECTED]>:

> ldapsearch -LLL -x -D `cat ldaplogin` -w `cat ldappassword` -h
> docs.mydomain.com cn=`cat me`
>
> btw, -H does not work. I had to use ldapURI with -H.

I use LDAP URI's in _my_ 'ldapserver', but using '-h' with
hostname's is perfectly ok. And it does find the object and
the 'locals's and 'rcpthosts' is readable by 'ldaplogin'
so that part is ok...

What happens if you set LOGLEVEL=`expr 2 + 8 + 32 + 128` and then
run 'qmail-show' and 'qmail-ldaplookup -m <mailaddress>'? You might
also want to start qmail with that environment variable and check
your log files when a mail comes through.


  LOGLEVEL=1      -> Errors
  LOGLEVEL=2      -> Warnings
  LOGLEVEL=4      -> Info
  LOGLEVEL=8      -> Info^2
  LOGLEVEL=16     -> Debug
  LOGLEVEL=32     -> Debug^2
  LOGLEVEL=64     -> LDAP Debug
  LOGLEVEL=128    -> LDAP Debug^2
  LOGLEVEL=256    -> PASSWD, this level is normaly off because it shows
                     critical data (unencrypted and crypted passwords). To
                    turn it on edit checkpassword.c and increase the level
                    for init_debug().
-- 
Albanian cracking CIA SDI Serbian 747 Soviet Qaddafi radar Honduras
ammunition Uzi KGB cryptographic FSF
[See http://www.aclu.org/echelonwatch/index.html for more about this]
[Or http://www.europarl.eu.int/tempcom/echelon/pdf/rapport_echelon_en.pdf]
If neither of these works, try http://www.aclu.org and search for echelon.

Reply via email to