Hi Martin! Thanks for the advice & code snippet. For now I'm able to work around without altering the code, as I discovered our users all have an attribute available that does contain the DN. I think what I'll do is open a Bug and maybe try and supply a patch if I have time.
Thanks! David Day "Martin Geissler" <[EMAIL PROTECTED]> 02/13/2004 03:47 AM Please respond to users T To: <[EMAIL PROTECTED]> cc: bcc: Subject: Antw: LDAPTransformer & DN (Distinguished Name) Hello David, we had a similar problem. We needed the DN Name URL Encoded to enter this value as Form / link attribute value. We modified the Transformer a little bit. See the attachement at line 94 - 103 I think, this is the point where you have to appent the searchbase to the "si.getName()" -variable. Hth. Martin >>> [EMAIL PROTECTED] Donnerstag, 12. Februar 2004 19:52:22 >>> I've been trying unsuccessfully to get the LDAPTransformer to return the Distinguished Name of the entries it finds. I'm using this for User Authentication, so I first do a lookup via anonymous bind, and then once I've found the users DN (which I'm having to manually fudge right now), I rebind using the DN and the user supplied password. I'm not at a point where the DN no longer matches my search base exactly, so I can't fudge it anymore. Has anyone successfully modified the LDAPTransformer to make it return the DN for each entry? Thanks! David Day --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Attachment(s) have been removed: LDAPTransformer.java --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]