i got the folowin different result!. [root@ldap bin]# ./qmail-ldaplookup -u allen dick init_ldap: passwords are not compared via rebind localdelivery: on clustering: off homedirmaker: defaultDotMode: ldaponly defaultQuota: QuotaWarning: ------ undefined ------ ldap_lookup: searching with (uid=allen) ERROR: ldap_lookup not successful: Will try a local password lookup local_lookup: user allen not found in passwd db [root@ldap bin]# ./qmail-ldaplookup -u dick dick init_ldap: passwords are not compared via rebind localdelivery: on clustering: off homedirmaker: defaultDotMode: ldaponly defaultQuota: QuotaWarning: ------ undefined ------ ldap_lookup: searching with (uid=dick) ERROR: ldap_lookup not successful: Will try a local password lookup local_lookup: succeeded user dick found in passwd database uid: 500 gid: 500 home: /home/dick maildir: (null pointer) (from ~/.qmail) crypted passwd: x local_lookup: password compare was not successful allen and dick is the maildomain user,their passwd also is dick but the different is allen is not system account but dick is when i vadduser dick or alen ,there no mistake occured any help is welcomed