Hi,

in the current state assp is useless for validation of local email 
adresses with Domino.
Reason is, Domino is very keen on delivering mail to its users if Domino 
is configured to do so.
All Domino Admins I know of use this setting... :)

So it does not only check against the complete 'Emailadress' but also 
matches the part before the @ sign in all user records like 'UserID', 
'User Name' and 'Alternate Name'.

I tweaked assp a little bit and invented a new LDAP filter variable 
EMAILNAME.
This is my LDAP Filter:
(|(cn=EMAILNAME)(cn=EMAILADDRESS)(mail=EMAILADDRESS)(uid=EMAILADDRESS)(uid=EMAILNAME))

This is a diff against 1.2.5 (38):

2531a2532,2536
 >
 > ### logging
 >  mlog($fh,"\$h = $h - \$1 = $1");
 > ###
 >
2533a2539,2543
 >
 > ### Username
 >  $current_user = $` if $1=~/\@/;
 > ###
 >
2535a2546,2550
 >
 > ###
 >  $ldapflt =~ s/EMAILNAME/$current_user/g;
 > ###
 >
2580a2596,2600
 >
 > ###
 >  mlog($fh,"LDAP Results: $entry_count : $retmsg : $ldapflt");
 > ###
 >

I have to say I'm no programmer but this works for me and may be useful 
for others.
So I hope this can be integrated somehow in the assp code.

Thx
Rainer


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to