Finally i have done it. I used checkpasswordk-pam module. also i created one new service "ldapserv" in /etc/pam.d/ and mentiond ldap_pam.so module in that and mentioned the .. /usr/local/bin/checkpassword-pam -s ldapserv ..etc, in /var/qmail/supervise/qmail-pop3d/run file. it is working fine. now i don't need to create any user for qmail. my ldap user is a qmail users. in this case i never applied any patch for qmail. (qmail-ldap.x.x.x.patch). Enjoy..
--- santosh jambhlikar <[EMAIL PROTECTED]> wrote: > hi all, > > i have configured ldap server on one machine(ldap > server) and on another machine i configured > qmail(mail > server.) i mentioned ldap server as second > authentication server in my mail server by using > /etc/nsswitch.conf. > user1 can login into mail server by using port 22. > but > user1 is not a real user on mail server. > > # id user1 > uid=509(user1) gid=510(user1) groups=513(Domain > Users) > > can this ldap user act as a mail user like > [EMAIL PROTECTED] > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com
