The best possible thing for real Windows/Active Directory users is to create your own custom derived UserNameTokenManager class that uses the LogonUser API or...
Thanks Joe for this email For some reasons and these messages dont show up for long in your mail boxes and hence I have been continuing to post messages to all...
Hi Joe, I wanted to update you with the latest that I have accomplished following your email. I have implemented the following- I am able to enter as username...
Is the ADAM user in the Readers role group in ADAM? By default, ADAM users don't have access to read any objects in a partition. Regarding the WSE 2.0...
Hi Joe, Thank you so much for your reply. And thanks for informing me about the Readers role. I guess all we need to do to enable it is : Go to the partition...
That looks fine to me. You can improve the code slightly by adding a specific catch for the COMException that is thrown and a check for the actual bad...
In VB6 using ADSI I could set the account expiration date by doing this: mobjUSR.AccountExpirationDate = mstrAccountExpires (ex. "10/31/2004") Can someone tell...
I am trying to write a VB.NET 2003 Web Application, that populates a listbox with group names. My directorysearcher seems valid based on the count, but I...
Related it this old thread, check out Keith Brown's AclUIAdapter at http://pluralsight.com/blogs/keith/archive/2004/10/04/2636.aspx ... From: Joseph Shook...
... Well, depends on which name you want to use - you'll have to tell your DirectorySearcher to retrieve it while enumerating the groups, too. Something like...
Please I need help. This is my code: Dim DirectorioActivo As DirectoryServices.DirectoryEntry Dim UsuariosDirectorio As DirectoryEntry Dim Elementos As...
Thanks, I will give that a try. ... listBox1.Items.Add(oSR.Properties["name"].Value.ToString()); ... ===== *================================================== ...
'Value' is not a member of 'System.DirectoryServices.ResultPropertyValueCollection'. ... listBox1.Items.Add(oSR.Properties["name"].Value.ToString()); ... =====...
You can use the Value property on the PropertyValueCollection (which comes from the DirectoryEntry class), but not on the ResultPropertyValueCollection (which...
Which is the reason I posted originally. Granted I am not much of a programmer, more of a systems guy trying to use programming. I thought I had the ...
Sorry, I didn't get that you were fighting with the syntax. It would go ... listBox1.Items.Add((string) oSR.Properties["name"].[0]); Note that you might not...
Hi John - I think what has confused you (just as Marc explains below) is the difference between the PropertyValueCollection of the DirectoryEntry class and the...
Hi John - I think what has confused you (just as Marc explains below) is the difference between the PropertyValueCollection of the DirectoryEntry class and the...
Of course the list box line should be YourListBox.Items.Add(stemp) ... _______________________________ Do you Yahoo!? Declare Yourself - Register online to...
I am trying to authenticate using VB6 to an LDAP server (iplanet) using ADAM. I've done something similar in Java and the authentication method I used was...
Dustin - If authentication is not required to search on your server, why don't you try the Anonymous authentication flag(=16)? I don't think you want to use...
Oops! That was a .NET framework page, but the analog for ADSI is at url=/library/en-us/adsi/adsi/ads_authentication_enum.asp ADS_NO_AUTHENTICATION: Request no...
You want to use 0 for this flag. This will force an LDAP simple bind. iPlanet probably doesn't support any of the AD proprietary settings like SECURE,...
Thank you very much ... listBox1.Items.Add(oSR.Properties["name"].ToString()); ... listBox1.Items.Add(deObj.Properties["name"].Value.ToString()); ... ===== ...
Hi, I want to add entry in Active directory using Asp.net.But we r accessing Active directory through a middleware server,& it requires ssl support for adding...
Hi there, Could you give us some more information about your environment? What type of certificates will you be using for your SSL connections; will the...
Hi, If we dont have GC installed and dont have SSL over ADAM, will tokengroups property work. Or can u suggest some other simpler way to know which groups a...
The trick i was referring to with GC and ADAM token groups doesn't require a GC per say. It is really a hack to work around a bug/short-coming in ADSI. Here...