After I read the source you given adn played a bit with configuration, I
was able to Login.

Many Thanks to you: My problem is now solved;

Key configuration line for fixing issue: <property name="filter"
value="cn=%u,dc=localhost" />

plus above in context source:
.
 <property name="pooled" value="false"/>
 <property name="url" value="ldap://localhost:389"; />
 <property name="base" value="dc=localhost" />
 <property name="userDn" value="cn=admin,o=Zepto" />
 <property name="password" value="*****" />
 .


Best Regards,
Khurram Shahzad,
Snr. PHP Developer,
Zepto Systems,
Islamabad, Pakistan.

On 27 February 2012 19:37, Marvin S. Addison <[email protected]>wrote:

> Mine ldap is setup like du=localhost, o=Zepto, cn=admin and password =
>> "my password"
>>
>
> Sounds like a manager account used to bind in order to perform a search.
>  Before we continue the discussion, you should be familiar with the
> mechanics of how the BindLdapAuthenticationHandler works.  I believe
> https://wiki.jasig.org/**display/CASUM/LDAP<https://wiki.jasig.org/display/CASUM/LDAP>has
>  a good comparison of Bind vs FastBind, which helps to underscore the
> 2-phase search/bind mechanics I'm referring to.  Please read that page
> carefully then come back and we'll go from there.
>
> M
>
> --
> You are currently subscribed to [email protected] as:
> khurram.shahzad@zeptosystems.**com <[email protected]>
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/**display/JSG/cas-user<http://www.ja-sig.org/wiki/display/JSG/cas-user>
>

-- 
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

Reply via email to