HI,
We currently have all our user details in ldap and use the following
plain mechanism for authentication. This requires a full email address
so that the domain can be worked out for the ldap.
Can anyone suggest how I can modify it so that if just an userid is
entered then a default domain will be appended eg user "me" would be
come me@???.
Regards,
Pat
plain_server:
driver = plaintext
public_name = PLAIN
server_condition = ${if ldapauth \
{user="mail=${quote_ldap:$2},o=${extract{2}{@}{$2}},LDAPBASE" \
pass="$3" \
ldap://LDAPSERVER/}{yes}{no}}
server_set_id = $2
server_prompts = :
________________________________________________________________________
__________________
Pat Hastings
Accessible Technologies Ltd
Tel: 0870 760 6304
Fax: 0870 762 2774
Mob: 0785 550 9294
<
http://www.accesst.com/>
www.accesst.com
Accessible Technologies Ltd
Lloyds Court,
1 Goodmans Yard,
London
E1 8AT
Your workspace on the web
________________________________________________________________________
__________________
This email and any files transmitted with it are confidential and
intended solely for the
use of the individual or entity to which they are addressed. Please note
that any views or
opinions presented in this email are solely those of the author and do
not necessarily represent
those of the company. All emails are virus checked and the company
accepts no liability for any
damage caused by any virus transmitted by this email.
________________________________________________________________________
__________________