Ah, exactly. This 'ignore' parameter is required of every AD LDAP connection setup for it to work properly.
On Jul 7, 2010, at 2:41 AM, Andy Cowling wrote: > ... which is I guess why we now have the new property in the latest cas: > > ignorePartialResultException - This property informs LdapTemplate to ignore > PartialResultExceptions that may get thrown when connecting to an Active > Directory. > > I suppose we should upgrade then! > > > On 07/07/2010 10:30, Andy Cowling wrote: >> Yep, sure enough, if my ldap lookup yields no hits, an error is thrown by >> JNDI "NameNotFoundException". Yet this is normally the error that is thrown >> at the binding stage when the DN of the user could not be resolved. So >> yesterday I was probably overlooking that login had succeeded - just my ldap >> search was failing. >> >> On 07/07/2010 08:35, Andy Cowling wrote: >>> On 06/07/2010 16:21, Marvin Addison wrote: >>>>> Originally I started with the full DN, but was getting >>>>> NameNotFoundExceptions. I then found this article: >>>>> >>>>> >>>>> http://forums.sun.com/thread.jspa?threadID=5191879 >>>>> >>>>> >>>>> >>>> Learned something from that, thanks. I have never specified a base DN >>>> as part of the LDAP URL in any JNDI configuration I've used. Have you >>>> tried omitting the base DN from the URL >>>> >>> Yes, I tried that yesterday (numerous times) - but our AD was not allowing >>> me to connect without a base yesterday (same is true in LDAP Admin) >>> >>> Today however, when I re-tried this approach (just so I could reproduce >>> yesterday's error message for you), I found it now works(!) >>> >>> So either I must have been doing something else wrong yesterday - or the AD >>> end has changed (this would not be the first time!). It seems I can't >>> reproduce the errors I had yesterday. And strangely, all I had to do to >>> test this today was uncomment my test code from yesterday. Here's hoping >>> the AD end of this link doesn't change as often once our CAS installation >>> is productive! >>> >>> Cheers >>> Andy >>> >>> >>> -- >>> >>> Andy Cowling | UK Core IT >>> Interactive Data Managed Solutions Ltd >>> ------------------------------------------------------------------------------------------------------------------------------- >>> Suite 1101, Eagle Tower | Montpellier Drive | Cheltenham GL50 1TA | UK >>> Tel: +44 (0)1242 6941 15 | Fax: +44 (0)1242 6941 01 >>> [email protected] >>> http://www.interactivedata-ms.com >>> >>> This message (including any files transmitted with it) may contain >>> confidential >>> and/or proprietary information, is the property of Interactive Data >>> Corporation >>> and/or its subsidiaries, and is directed only to the addressee(s). If you >>> are not >>> the designated recipient or have reason to believe you received this >>> message in >>> error, please delete this message from your system and notify the sender >>> immediately. An unintended recipient's disclosure, copying, distribution, >>> or >>> use of this message or any attachments is prohibited and may be unlawful. >>> Interactive Data (Europe) Ltd Registered No. 949387 England Registered >>> Office: >>> Fitzroy House 13-17 Epworth Street. London. EC2A 4DL >> >> >> -- >> >> Andy Cowling | UK Core IT >> Interactive Data Managed Solutions Ltd >> ------------------------------------------------------------------------------------------------------------------------------- >> Suite 1101, Eagle Tower | Montpellier Drive | Cheltenham GL50 1TA | UK >> Tel: +44 (0)1242 6941 15 | Fax: +44 (0)1242 6941 01 >> [email protected] >> http://www.interactivedata-ms.com >> >> This message (including any files transmitted with it) may contain >> confidential >> and/or proprietary information, is the property of Interactive Data >> Corporation >> and/or its subsidiaries, and is directed only to the addressee(s). If you >> are not >> the designated recipient or have reason to believe you received this message >> in >> error, please delete this message from your system and notify the sender >> immediately. An unintended recipient's disclosure, copying, distribution, or >> use of this message or any attachments is prohibited and may be unlawful. >> Interactive Data (Europe) Ltd Registered No. 949387 England Registered >> Office: >> Fitzroy House 13-17 Epworth Street. London. EC2A 4DL > > > -- > > Andy Cowling | UK Core IT > Interactive Data Managed Solutions Ltd > ------------------------------------------------------------------------------------------------------------------------------- > Suite 1101, Eagle Tower | Montpellier Drive | Cheltenham GL50 1TA | UK > Tel: +44 (0)1242 6941 15 | Fax: +44 (0)1242 6941 01 > [email protected] > http://www.interactivedata-ms.com > > This message (including any files transmitted with it) may contain > confidential > and/or proprietary information, is the property of Interactive Data > Corporation > and/or its subsidiaries, and is directed only to the addressee(s). If you are > not > the designated recipient or have reason to believe you received this message > in > error, please delete this message from your system and notify the sender > immediately. An unintended recipient's disclosure, copying, distribution, or > use of this message or any attachments is prohibited and may be unlawful. > Interactive Data (Europe) Ltd Registered No. 949387 England Registered > Office: > Fitzroy House 13-17 Epworth Street. London. EC2A 4DL -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
