mac_shinobi Posted September 27, 2005 Posted September 27, 2005 Any one out there who can post tutorials on LDAP , how to use it , Especially in visual basic 2005. Would be appreicted. Thanks
kingswood Posted October 1, 2005 Posted October 1, 2005 Shouldn't you learn visual basic first? Aherm, anyway: http://support.microsoft.com/kb/q187529/ http://www.ldapguru.org/ Lots to read there. Have you noticed any big difference between VB 2003 .NET and 2005 Express yet? Paul :-)
mac_shinobi Posted October 1, 2005 Author Posted October 1, 2005 I only used vb.NET once and after that I didnt really touch it again so I cant really give a decent comparison unfortunatly. I will be taking a look into that LDAP and vb 2005 stuff tommorow though.
kingswood Posted October 1, 2005 Posted October 1, 2005 You might find that because you have concentrated on VB6 and haven't gone much into .NET that the jump straight into VB 2005 Express and LDAP interaction will be a huge leap! Then again, the principles are the same. What are you planning on doing with LDAP and VB 2005? Paul
mac_shinobi Posted October 1, 2005 Author Posted October 1, 2005 I will tell you when I look at it tommorow cos I gotta look to see what sorts of things it can do. Im sure I could find examples on http://www.pscode.com and other places if I really come un glued aka stuck
kingswood Posted October 1, 2005 Posted October 1, 2005 Should be interesting to see what you come up with... Paul
uk101man Posted January 10, 2006 Posted January 10, 2006 What would you like to know, i've written a web based infterface to AD using vb 2005?
mac_shinobi Posted January 10, 2006 Author Posted January 10, 2006 Anything and everything, maybe you can upload it or email me it or something if thats ok. Most important things would be how to do a logon for users that would compare what they type in for the logon versus there true logon that they use in AD so in effect the users have one logon to remember ie one username and one password. Also how to attain the username so when they are logged in on there session it displays the username and other info. We will be doing an intranet as a project soon so any help you could give us would be much appreicated, obviously !! Thanks
E1uSiV3 Posted January 10, 2006 Posted January 10, 2006 Most important things would be how to do a logon for users that would compare what they type in for the logon versus there true logon that they use in AD so in effect the users have one logon to remember ie one username and one password. Use windows authenticated logon if its an intranet... saves coding forms based logons and messing with ad integration + IE will automatically pass authentication from its current windows session so they wont even have to log on to the website.
uk101man Posted January 10, 2006 Posted January 10, 2006 First of all add a referance to system.directory.services. Once this is done add the following to a form: Command button 3 text boxs' use this code for the command button: ValidateActiveDirectoryLogin(text3.text, text1.text, text2.text) add this function Dim Success As Boolean = False Dim Entry As New System.DirectoryServices.DirectoryEntry("LDAP://" & Domain, Username, Password) Dim Searcher As New System.DirectoryServices.DirectorySearcher(Entry) Searcher.SearchScope = DirectoryServices.SearchScope.OneLevel Try Dim Results As System.DirectoryServices.SearchResult = Searcher.FindOne Success = Not (Results Is Nothing) Catch Success = False End Try MsgBox(Success)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now