TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
crmraj
NA
12
0
Not able to read values from LDAP
Sep 13 2004 5:57 PM
Dear friends, I want to read values from LDAP server . I am using DirectoryEntry object in C# to connect. Below is the my example code try { DirectoryEntry de = new DirectoryEntry("LDAP://x.x.x.x/o=xyz","cn=admin","122222",AuthenticationTypes.Secure) ; DirectorySearcher src = new DirectorySearcher("(&(objectclass=*))"); src.SearchRoot = de; src.SearchScope = SearchScope.Subtree; foreach(SearchResult res in src.FindAll()) { MessageBox.Show(res.Properties["Name"][0].ToString()); } } catch (System.NullReferenceException ex) { MessageBox.Show(ex.Message.ToString()); } Note :x.x.x.x is LDAP IP address . When I Execute the program I getting following error Logon failure: unknown user name or bad password but same user id and password we use for some other third party tool to connect LDAP system ,it works fine .Our LDAP server is IBM Tivoli server . Can you please some one help me on this .. Thanks, crm
Reply
Answers (
1
)
NOT ABLE TO CREATE SET UP
Customize MSI Installation - User Interface Dialog