Search the web
Sign In
New User? Sign Up
ADSIANDDirectoryServices · ADSI and System.DirectoryServices Q&A
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 3641 - 3670 of 4629   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
3641
Hello, I'm trying to write a Sharepoint Web Part that allows the user to change his password. However, I always get a binding error when using DirectoryEntry. ...
j1n0
Offline Send Email
Aug 1, 2005
8:38 am
3642
Use ADSIEDIT for perfect path and you need to logon as a Administrator or account operator or try to pass these credentials in Directory Entry credentials. I...
Vivek Kumbhojkar
vkumbhojkar
Offline Send Email
Aug 1, 2005
2:27 pm
3643
This is probably a Kerberos delegation problem. My guess is that you are using IWA in IIS for your authentication method in SharePoint. Because of this, the...
Joe Kaplan
joekaplan2003
Offline Send Email
Aug 1, 2005
2:38 pm
3644
I made the correction and I still get the same error. entry.Invoke("ChangePassword", New Object() {strCurrentPassword, strNewPassword}) "The directory property...
Mark Walker
gocubbies2k
Offline Send Email
Aug 1, 2005
6:04 pm
3645
Do you know if your AD supports SSL LDAP? You can find out by trying to bind with ldp.exe using the SSL option on port 636 or by trying to bind is S.DS using...
Joe Kaplan
joekaplan2003
Offline Send Email
Aug 1, 2005
6:41 pm
3646
I'm not sure if my AD supports SSL LDAP. How do I bind with ldp.exe? The Web applications are developed on a Windows XP Pro box and then deployed to Windows...
Mark Walker
gocubbies2k
Offline Send Email
Aug 1, 2005
8:16 pm
3647
... password as ... anyway!) ... Then do ... default ... Hey thanks! I'm able to change password now doing what you said. However I have a weird problem, it...
Jino Noel
j1n0
Offline Send Email
Aug 2, 2005
10:22 am
3648
Your domain policy typically restricts users in terms of how many times they can change their password during a given duration. You should ask your domain...
Ryan Dunn
dunn_rp
Offline Send Email
Aug 2, 2005
1:06 pm
3649
To test SSL LDAP with ldp.exe, do "Connection... | Connect...", put in 636 for he port and click the SSL checkbox. Put in whatever server name you want to...
Joe Kaplan
joekaplan2003
Offline Send Email
Aug 2, 2005
2:16 pm
3650
It appears to support SSL LDAP. I'm not sure what these mean: 1> domainFunctionality: 0 = ( DS_BEHAVIOR_WIN2000 ); 1> forestFunctionality: 0 = (...
Mark Walker
gocubbies2k
Offline Send Email
Aug 2, 2005
2:33 pm
3651
I'm trying to determine how many days since a users password was last set. I get value of "127674836284428089" for the pwLastSet. According to the ADSI browser...
gocubbies2k
Offline Send Email
Aug 2, 2005
7:46 pm
3652
That's good that it supports SSL. That should make the password manipulation stuff easier to make work. It looks like your DC is a 2003 DC, but it is...
Joe Kaplan
joekaplan2003
Offline Send Email
Aug 2, 2005
8:55 pm
3653
Does this help? http://dunnry.com/blog/archive/2005/01/03/186.aspx ... -- Ryan Dunn MVP - ASP.NET...
Ryan Dunn
dunn_rp
Offline Send Email
Aug 2, 2005
9:36 pm
3654
I am looking for some code that will query AD and return results to a spreadheet for processing. I can get the results I want by using dsquery/dsget at the dos...
Stephen Yale
cpomeael
Offline Send Email
Aug 5, 2005
2:24 pm
3655
Here's a vbscript I use to query some groups and put them in a spreadsheet... does this help? set oExcel = CreateObject("Excel.Application") ...
Mike Ory
davidslate
Offline Send Email
Aug 5, 2005
3:44 pm
3656
Can some one point me in the correct direction for the following? I am building an App in Borland C++ that needs to update an extended feild in the Active...
babovard
Offline Send Email
Aug 7, 2005
2:33 am
3657
ADO with AD is read only. You must switch to ADSI or the LDAP API to modify things. If you are going to use ADSI, you might also consider using...
Joe Kaplan
joekaplan2003
Offline Send Email
Aug 7, 2005
3:01 am
3658
Thanks for the info, nothing I found explained that it was read only. I have also been building from code that was written by someone else, so I will probably...
babovard
Offline Send Email
Aug 8, 2005
5:28 am
3659
Yeah, I'm not sure if that is clearly documented anywhere. One of the things I never liked about the SQL syntax for LDAP queries that MS created is that it...
Joe Kaplan
joekaplan2003
Offline Send Email
Aug 8, 2005
2:12 pm
3660
My stuff is in VB.NET not C#.NET Does anyone seeing anything wrong with this routine? I'm getting a "Specified cast is not valid" error. I'm passing in large...
gocubbies2k
Offline Send Email
Aug 8, 2005
3:07 pm
3661
The function is fine. Are you absolutely certain you are passing in the right value? The most obvious problem would be that you are not as I use this exact...
Joe Kaplan
joekaplan2003
Offline Send Email
Aug 8, 2005
3:51 pm
3662
Hmm... VB.NET and C# are close enough that you should be able to at least get a general idea of what to do. Have you tried to search for "C# translator" in...
Ryan Dunn
dunn_rp
Offline Send Email
Aug 8, 2005
3:56 pm
3663
The value getting passed to ConvertToInt64 is "127665189455435282". This is in the strPropertyValue. Here is my calling code: strPropertyName = "pwdLastSet" ...
Mark Walker
gocubbies2k
Offline Send Email
Aug 8, 2005
4:52 pm
3664
Mark, that code needs to take a value of type IADsLargeInteger up cast to an object. You could easily change the code to make it more explicit: Function...
Joe Kaplan
joekaplan2003
Offline Send Email
Aug 8, 2005
5:05 pm
3665
Are you sure you aren't getting this from a SearchResult instead of the DirectoryEntry? The SearchResult will marshal the value for you automatically into a...
Ryan Dunn
dunn_rp
Offline Send Email
Aug 8, 2005
5:14 pm
3666
If you have the DirectoryEntry and you really don't want to use any sort of interop or Reflection, you can use a Base level search and get the 'pwdLastSet'...
Ryan Dunn
dunn_rp
Offline Send Email
Aug 8, 2005
5:25 pm
3667
Whoops, that last line should read: Console.WriteLine("Password Last Set {0}", DateTime.FromFileTime(ticks).ToString()); ... -- Ryan Dunn MVP - ASP.NET...
Ryan Dunn
dunn_rp
Offline Send Email
Aug 8, 2005
5:26 pm
3668
That worked!!! I am getting it from a SearchResult so the conversion routine is no longer necessary. Thanks everyone for you help on this!!!! Ryan Dunn...
Mark Walker
gocubbies2k
Offline Send Email
Aug 8, 2005
5:29 pm
3669
I was wondering in this day and age, is there a .NET toolkit for easily extracting information from the Active Directory. Or do we still need to code for this...
gocubbies2k
Offline Send Email
Aug 8, 2005
8:04 pm
3670
I can figure out what the age of a password is. Is there a domain attribute to indicate how long passwords are good for? Is there a flag or something to say a...
gocubbies2k
Offline Send Email
Aug 8, 2005
8:05 pm
Messages 3641 - 3670 of 4629   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help