Myroslav Rys wrote: > using ldap for storing 'real users' and 'virtual users'. > 'real users' have mail, db access (postgresql 8.2), windows domain, apple > MM/auth, and many others. > 'virtual users' only mail (multidomains config). > > real users stored like: > uid=username,ou=people,dc=domanin,dc=org > real users aliases: > mail=usernamealias,ou=people,dc=domanin,dc=org > > virtual users: > mail=username,dc=virtualdomain.org,ou=mail,ou=services,dc=domanin,dc=org > virtaul users aliases: > mail=usernamealias,dc=virtualdomain.org,ou=mail,ou=services,dc=domanin,dc=org > > how-to perform this complex search in ldap by courier-authlib? > tnx for any help! >
Configure PAM on the Linux server to allow authentication for the "real" users. Thus, they would be real Linux users with shell access, ftp, etc (though I believe you can configure PAM to limit those services if you wish). Now when you configure courier-authlib, set authmodulelist to be authpam and authldap. Go about configuring authldap for the virtual users like you normally do. Courier will be directly authenticating the virtual users to LDAP but for the "real" users, it will call PAM which in turn will check LDAP. Jay ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
