Hi, I use the following openquery to get info in AD from MS SQL Server. The strange thing is that the wehnCreated and whenChanged fields always return with a...
Time zone issue? -Charles ... From: p [mailto:philts@...] Sent: Thursday, May 01, 2003 1:59 PM To: ADSIANDDirectoryServices@yahoogroups.com Subject:...
Charles, The domain controller and the sql server are next to each other in the same server room and both set to pacific time zone. What time zone issue could...
I was thinking that if it's 7 or 8 hours off, then maybe it's being presented in UTC and you're in the Pacific time zone (+8 hours PST, +7 PDT). -Charles ... ...
Thanks, Charles. Do you know that if it's the case that the openquery in SQL Server always reurns UTC? -Phil ... +7 PDT). ... Oppermann" ... Server. ... ...
Hello All, I had written a program which notes the time of a user when he logs to his system.This was done using Active Directory services. Our domain has...
User the AdsVw.Exe tool from the ADSI 2.5 SDK to make a manual connection to the Domain. Try to connect to LDAP://MAQ and then browse to what you think is...
And of course you can get all these files from our group: http://groups.yahoo.com/group/ADSIANDDirectoryServices/files/ADSI%202.5%20SD K/ These files are a...
I'm trying to logon to remote resources across the network. The policy here does not allow giving "act as part of operating system" privilege to aspnet. Is...
There is one way to do this. Normally, you would use LogonUser api, which would require this permission for Windows 2000 (not 2003 or XP). However, there is...
Is there a way to do this? At the moment I'm just using a generic account specified in the DirectoryEntry but I would like the search to run under the current...
You have to have either use Kerberos delegation or Basic Windows Authentication because your credentials will have to be delegated. To use Basic, just turn it...
I tried that but I can't seem to get it to work. Do you have to specify anything special in the code or is it supposed to do it automatically if you don't...
Hi guys, I'm running this line on a WinXP Pro with .Net 1.0 and it works, but it throws a SecurityException on Win2k Server with .Net 1.1 DirectoryEntry W3SVC...
Hello Matias, You are setting security attributes already in the DirectoryEntry string : DirectoryEntry W3SVC = new DirectoryEntry("IIS://" + ServerName + ...
Matias, You right it must be a .net ver 1.1 issue Let me download the framework I will install it in a lab and do some testing for you. Regards, Carlos...
I found the error just after posting... I was running the app from a network share, that generated the securityexception I copied it to a local disk and it...
p.s. Was the network share out side the domain that the code was querying , reason I am asking is because you have the credentials specified in the code so it...
it's a workgroup, the machines knows one each other. I think it has to be with Code Access Security... When you run the app from a network share you have...
FYI, the IIS provider is somewhat unreliable when used from the S.DS namespace. This is because of the way the IIS provider is architected. That component was...
Unfortunately no go. I put in a string to output the current username of the connection to text but I get nothing. I know impersonation is working because...
Can you explain your setup again? IIS Server settings, domain settings? Native or Mixed-mode? etc. Have you tried the Basic Authentication? At a minimum ...
I work in a large corporation as a liaison between Finance and IT. We have Active Directory in place worldwide. Corporate documentation on Active Directory...
... That'll be tough to implement, I think - you can delegate certain operations on a per-OU level - e.g. you could delegate the "reset password" permission to...