No need to reply to my previous post... I realize there are standard filter strings and it was just a matter of understanding the syntax. I found a reference on-line and am off and running. Thanks again for all the help!
-----Original Message----- From: Brad Back [mailto:[EMAIL PROTECTED] Sent: Friday, May 05, 2006 8:43 AM To: '[email protected]' Subject: RE: [Synalist] LDAP Thanks Peter and Alexander for the responses. I have it all working properly now. Although I do have one final question (hopefully!). In the search method how do you filter on multiple attributes? I can get it to work if I'm only filtering on one attribute. For example: ldap.Search('dc=OpenLDAP,dc=org', False, '(cn=john*)', l). However, if I want to filter on multiple attributes, I can't figure out the format. I'm assuming it's possible and that I just don't know the proper format for the filter string. -----Original Message----- From: Alexander Bauer [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 3:15 PM To: [email protected] Subject: Re: [Synalist] LDAP Hi Brad, LDAPSend.Logon does only connect the LDAP-Server. It don't need the username. For LDAPSend.Bind you need 3 things: The username, password and the ActiveDirectory Domainname. If the username is 'alex' and the ActiveDirectory Domainname is 'company.sample.ads' then use: LDAPSend.UserName := '[EMAIL PROTECTED]' That's all! Alex > Peter, > I did get the latest version if synapse to test my changes. No > matter what username I use, using the code block below, I'm always > able to logon (regardless if the username exists or not). However, > I'm still never able to bind (without using the DN as my username). > At this point I'm confused and probably don't understand some > fundamental aspects of LDAP. Like I said in a previous post, I was > envisioning a user providing his/her username and password on a web > page in my app. I'd then use that username and password to login/bind > to the ldap server. I have a config file to store the server, port, > userpath, ssl info, etc. In your example below, it doesn't look like > the userpath is even used. I'm just confused at this point on how I authenticate a user logging into my app using their ldap username/password. > Any help would be greatly appreciated. > > _____ > > ------------------------------------------------------- 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 _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public This message may contain privileged and/or confidential information. If you receive this message in error or are not the intended recipient, you may not disseminate this message and you are requested to erase all copies of this message and attachments. ------------------------------------------------------- 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 _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public This message may contain privileged and/or confidential information. If you receive this message in error or are not the intended recipient, you may not disseminate this message and you are requested to erase all copies of this message and attachments. ------------------------------------------------------- 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 _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
