Hello Experts, Is it possible to use adsi to verify a certain password is not in a user's password history before assignin that password to the user. -Jerry...
With ADSI, no. However, you might be able to use the NetValidatePasswordPolicy API to do this[1]. [1]http://msdn2.microsoft.com/en-us/library/aa370661.aspx On...
Hi All, Can anybody tell me the exact reason why I m getting the following error : "The authentication mechanism is unknown" Thanks & Regards, Tarak....
Hi All, I have developed one service which synchronizes AD users with my user database. It checks AD every 2 minutes. If Active directory server is running...
Well, pinging it and testing the port are the easy first things to do... $ip ="192.168.100.81" $qry = ('select statuscode from win32_pingstatus where...
Hi Michael, Thanks for the input. I am developing my service using VC++. Do you know how to support this in VC++ Thanks Asawari ... do... ... + $ip ... LDAP ...
Hi, win32_pingstatus works only for XP and above. I am running my application on Windows 2000. Do you have any idea, what else can I use to ping ADServer? ...
Yes, if you have .Net 2.0, you can use System.Net.NetworkInformation.Ping I recently wrote this up (for PowerShell, but you should be able to extend it to VC++...
Agreed! Would need to see the code. Are you trying to connect to AD from another application? Cheers, Tim MCSD, MCSD.NET, MCAD, MCDBA, MCSA 2000, MCP Yahoo...
Hi Tarak, I have seen this particular error in the past, and it usually has to do with using ADSI or System.DirectoryServices against a third-party LDAP...
Hi all, I work with sharepoint Portal server 2003. We use the Active Directory user information to log in to a sharepoint site. I want to display the Password...
We have a useful class from ch 10 in our book called DomainPolicy that may be of use for you to retrieve the password policy data for a domain. You can get...
I've found lots of information on ADSI providers but I was wondering if the low-level APIs that the providers sit on top of and actually comunicate with the AD...
There are two ADSI providers that talk to AD: LDAP and WinNT. LDAP talks to AD via the LDAP protocol and essentially just uses the Windows LDAP API ...
Hi, I'm writing a program using .NET Framework Express 2.0 (C#) from a WIN XP machine which successfully creates a specific list of Local Groups on a selected...
What happens if you put the SID of the local group directly in the DACL? You can create a SecurityIdentifier object instead of an NTAccount object as your...
I know I haven't posted any answers here. I have done a quick search. AD is really not my area. I have to deal with as part of looking after an intranet. The...
I have tried that, but to be honest it's not been tested. There are about 70 experts in the team looking after several thousand servers (don't know exactly how...
The idea here is that the SID would begin resolving to the name of the group rather quickly. The point of setting the ACL with the SID would just be to get...
Hi All, Can anybody tell me "How to change the "manager" property of the Organization Tab for particular User" programatically. Thanks & Regards, Tarak....
IRC, you just set the 'manager' attribute using the DN value of the manager object. Note, it must be the full DN - nothing else will work. ... [Non-text...
Does anyone know where I could look for some sample code (in C) to connect to Active Directory using AD-specific or generic LDAP libraries from an MS-DOS...
Am I correct that the only way to get/set mailbox quotas (Exchange Server 2003) from a .Net Framework 2.0 windows application is to use CDOEXM.DLL? And that...
That is the only supported mechanism, and yes, it sucks. However, the mailbox size limits are actually just attributes on the user object and can be set...
Hi, I am using AD DirSync in .Net2.0 using cookies and trying to retrieve all user from a particular domain. I am getting the following errors: 1. When I run...
Dear Sir, I know what is the cause of your problems from my viewpoint: 1. Deadlock program can be happened when one user lock a resource and need to another...
Thanks Amal for your suggestion & help. But i am looking for more input in technical terms to fix these issues. ... [Non-text portions of this message have...