472,983 Members | 2,445 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,983 software developers and data experts.

A required privilege is not held by the client

I am impersoanting a user to an other domain. But while doing so i am
getting

A required privilege is not held by the client

exception. I have tried with aal possible usernames and passwords but
didn't get success. I am getting same error if i am enetring blank user
and password. What i am doing wrong ?

Jul 15 '06 #1
7 9652
In order to do this, the user making the call has to have the
SeTcbPrivilege priviledge set. Your administrator has to set this up.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Parv" <Pa**********************@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
>I am impersoanting a user to an other domain. But while doing so i am
getting

A required privilege is not held by the client

exception. I have tried with aal possible usernames and passwords but
didn't get success. I am getting same error if i am enetring blank user
and password. What i am doing wrong ?

Jul 15 '06 #2
thanx, let me elaborate my case. I am working in a domain environment.
I am working on my System named Parveen. I have to copy a file to other
system in other domain named project.com. I have have added myself in
Act as part of operating System in local security policy of my system
but it still not working. I am in confusion that i have to give this
permission on mysystem Parveen, Or MyDomain in which i am working or on
the target domain. I am working on Windows 2000 Professional.

Best Regards
Parveen Beniwal
Nicholas Paldino [.NET/C# MVP] wrote:
In order to do this, the user making the call has to have the
SeTcbPrivilege priviledge set. Your administrator has to set this up.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Parv" <Pa**********************@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
I am impersoanting a user to an other domain. But while doing so i am
getting

A required privilege is not held by the client

exception. I have tried with aal possible usernames and passwords but
didn't get success. I am getting same error if i am enetring blank user
and password. What i am doing wrong ?
Jul 16 '06 #3
Windows 2000 needs this privilege in order to impersonate, more exactly,
LogonUser API can only be called when the caller's identity has this
privilege enabled. Did you logout followed by a login after you changed the
accounts privilege?
You will have to post your code or a complete sample that illustrates the
issue, whithout this it's nearly impossible to help you out.

Willy.

"Parv" <Pa**********************@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
| thanx, let me elaborate my case. I am working in a domain environment.
| I am working on my System named Parveen. I have to copy a file to other
| system in other domain named project.com. I have have added myself in
| Act as part of operating System in local security policy of my system
| but it still not working. I am in confusion that i have to give this
| permission on mysystem Parveen, Or MyDomain in which i am working or on
| the target domain. I am working on Windows 2000 Professional.
|
| Best Regards
| Parveen Beniwal
| Nicholas Paldino [.NET/C# MVP] wrote:
| In order to do this, the user making the call has to have the
| SeTcbPrivilege priviledge set. Your administrator has to set this up.
| >
| Hope this helps.
| >
| >
| --
| - Nicholas Paldino [.NET/C# MVP]
| - mv*@spam.guard.caspershouse.com
| >
| "Parv" <Pa**********************@gmail.comwrote in message
| news:11**********************@b28g2000cwb.googlegr oups.com...
| I am impersoanting a user to an other domain. But while doing so i am
| getting
|
| A required privilege is not held by the client
|
| exception. I have tried with aal possible usernames and passwords but
| didn't get success. I am getting same error if i am enetring blank
user
| and password. What i am doing wrong ?
|
|
Jul 16 '06 #4
Thanx, I had logoff but not restarted the system. Not its working after
system restart. But now i am facing new problem

Logon failure: unknown user name or bad password

while using the following code to impersonate

public class Impersonator : IDisposable
{
public Impersonator(string userName,string domainName,string
password)
{
ImpersonateValidUser(userName, domainName, password);
}

public void Dispose()
{
UndoImpersonation();
}

[DllImport("advapi32.dll", SetLastError = true)]
private static extern int LogonUser(string lpszUserName,string
lpszDomain,string lpszPassword,int dwLogonType,int dwLogonProvider,ref
IntPtr phToken);

[DllImport("advapi32.dll", CharSet = CharSet.Auto, SetLastError
= true)]
private static extern int DuplicateToken(IntPtr hToken,int
impersonationLevel,ref IntPtr hNewToken);

[DllImport("advapi32.dll", CharSet = CharSet.Auto, SetLastError
= true)]
private static extern bool RevertToSelf();

[DllImport("kernel32.dll", CharSet = CharSet.Auto)]
private static extern bool CloseHandle(IntPtr handle);

private const int LOGON32_LOGON_INTERACTIVE = 2;
private const int LOGON32_PROVIDER_DEFAULT = 0;

private void ImpersonateValidUser(string userName,string
domain,string password)
{
WindowsIdentity tempWindowsIdentity = null;
IntPtr token = IntPtr.Zero;
IntPtr tokenDuplicate = IntPtr.Zero;

try
{
if (RevertToSelf())
{
if
(LogonUser(userName,domain,password,LOGON32_LOGON_ INTERACTIVE,LOGON32_PROVIDER_DEFAULT,ref
token) != 0)
{
if (DuplicateToken(token, 2, ref
tokenDuplicate) != 0)
{
tempWindowsIdentity = new
WindowsIdentity(tokenDuplicate);
impersonationContext =
tempWindowsIdentity.Impersonate();
}
else
{
throw new
Win32Exception(Marshal.GetLastWin32Error());
}
}
else
{
throw new
Win32Exception(Marshal.GetLastWin32Error());
}
}
else
{
throw new
Win32Exception(Marshal.GetLastWin32Error());
}
}
finally
{
if (token != IntPtr.Zero)
{
CloseHandle(token);
}
if (tokenDuplicate != IntPtr.Zero)
{
CloseHandle(tokenDuplicate);
}
}
}

private void UndoImpersonation()
{
if (impersonationContext != null)
{
impersonationContext.Undo();
}
}
private WindowsImpersonationContext impersonationContext =
null;
}
and using as below :

using (new Impersonator("administrator", "project.com", "pass"))
{
//Never executed.

System.IO.File.Copy(@"C:\temp\UsingUIExecutingJob. txt",
@"\\Mine\cdrv\test.txt", true);
}

I am getting error in constructor and copy statement is never
executed. What may be reason ?

Regards
Parveen Beniwal
Willy Denoyette [MVP] wrote:
Windows 2000 needs this privilege in order to impersonate, more exactly,
LogonUser API can only be called when the caller's identity has this
privilege enabled. Did you logout followed by a login after you changed the
accounts privilege?
You will have to post your code or a complete sample that illustrates the
issue, whithout this it's nearly impossible to help you out.

Willy.

"Parv" <Pa**********************@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
| thanx, let me elaborate my case. I am working in a domain environment.
| I am working on my System named Parveen. I have to copy a file to other
| system in other domain named project.com. I have have added myself in
| Act as part of operating System in local security policy of my system
| but it still not working. I am in confusion that i have to give this
| permission on mysystem Parveen, Or MyDomain in which i am working or on
| the target domain. I am working on Windows 2000 Professional.
|
| Best Regards
| Parveen Beniwal
| Nicholas Paldino [.NET/C# MVP] wrote:
| In order to do this, the user making the call has to have the
| SeTcbPrivilege priviledge set. Your administrator has to set this up.
| >
| Hope this helps.
| >
| >
| --
| - Nicholas Paldino [.NET/C# MVP]
| - mv*@spam.guard.caspershouse.com
| >
| "Parv" <Pa**********************@gmail.comwrote in message
| news:11**********************@b28g2000cwb.googlegr oups.com...
| I am impersoanting a user to an other domain. But while doing so i am
| getting
|
| A required privilege is not held by the client
|
| exception. I have tried with aal possible usernames and passwords but
| didn't get success. I am getting same error if i am enetring blank
user
| and password. What i am doing wrong ?
|
|
Jul 17 '06 #5
problem solved, after changing values for the

private const int LOGON32_LOGON_INTERACTIVE = 2;
private const int LOGON32_PROVIDER_DEFAULT = 0;

to

private const int LOGON32_LOGON_INTERACTIVE = 9;
private const int LOGON32_PROVIDER_DEFAULT = 3;

following code is working, anyway thanx for help to everyone.

Best Regards
Parveen Beniwal

Parv wrote:
Thanx, I had logoff but not restarted the system. Not its working after
system restart. But now i am facing new problem

Logon failure: unknown user name or bad password

while using the following code to impersonate

public class Impersonator : IDisposable
{
public Impersonator(string userName,string domainName,string
password)
{
ImpersonateValidUser(userName, domainName, password);
}

public void Dispose()
{
UndoImpersonation();
}

[DllImport("advapi32.dll", SetLastError = true)]
private static extern int LogonUser(string lpszUserName,string
lpszDomain,string lpszPassword,int dwLogonType,int dwLogonProvider,ref
IntPtr phToken);

[DllImport("advapi32.dll", CharSet = CharSet.Auto, SetLastError
= true)]
private static extern int DuplicateToken(IntPtr hToken,int
impersonationLevel,ref IntPtr hNewToken);

[DllImport("advapi32.dll", CharSet = CharSet.Auto, SetLastError
= true)]
private static extern bool RevertToSelf();

[DllImport("kernel32.dll", CharSet = CharSet.Auto)]
private static extern bool CloseHandle(IntPtr handle);

private const int LOGON32_LOGON_INTERACTIVE = 2;
private const int LOGON32_PROVIDER_DEFAULT = 0;

private void ImpersonateValidUser(string userName,string
domain,string password)
{
WindowsIdentity tempWindowsIdentity = null;
IntPtr token = IntPtr.Zero;
IntPtr tokenDuplicate = IntPtr.Zero;

try
{
if (RevertToSelf())
{
if
(LogonUser(userName,domain,password,LOGON32_LOGON_ INTERACTIVE,LOGON32_PROVIDER_DEFAULT,ref
token) != 0)
{
if (DuplicateToken(token, 2, ref
tokenDuplicate) != 0)
{
tempWindowsIdentity = new
WindowsIdentity(tokenDuplicate);
impersonationContext =
tempWindowsIdentity.Impersonate();
}
else
{
throw new
Win32Exception(Marshal.GetLastWin32Error());
}
}
else
{
throw new
Win32Exception(Marshal.GetLastWin32Error());
}
}
else
{
throw new
Win32Exception(Marshal.GetLastWin32Error());
}
}
finally
{
if (token != IntPtr.Zero)
{
CloseHandle(token);
}
if (tokenDuplicate != IntPtr.Zero)
{
CloseHandle(tokenDuplicate);
}
}
}

private void UndoImpersonation()
{
if (impersonationContext != null)
{
impersonationContext.Undo();
}
}
private WindowsImpersonationContext impersonationContext =
null;
}
and using as below :

using (new Impersonator("administrator", "project.com", "pass"))
{
//Never executed.

System.IO.File.Copy(@"C:\temp\UsingUIExecutingJob. txt",
@"\\Mine\cdrv\test.txt", true);
}

I am getting error in constructor and copy statement is never
executed. What may be reason ?

Regards
Parveen Beniwal
Willy Denoyette [MVP] wrote:
Windows 2000 needs this privilege in order to impersonate, more exactly,
LogonUser API can only be called when the caller's identity has this
privilege enabled. Did you logout followed by a login after you changed the
accounts privilege?
You will have to post your code or a complete sample that illustrates the
issue, whithout this it's nearly impossible to help you out.

Willy.

"Parv" <Pa**********************@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
| thanx, let me elaborate my case. I am working in a domain environment.
| I am working on my System named Parveen. I have to copy a file to other
| system in other domain named project.com. I have have added myself in
| Act as part of operating System in local security policy of my system
| but it still not working. I am in confusion that i have to give this
| permission on mysystem Parveen, Or MyDomain in which i am working or on
| the target domain. I am working on Windows 2000 Professional.
|
| Best Regards
| Parveen Beniwal
| Nicholas Paldino [.NET/C# MVP] wrote:
| In order to do this, the user making the call has to have the
| SeTcbPrivilege priviledge set. Your administrator has to set this up.
| >
| Hope this helps.
| >
| >
| --
| - Nicholas Paldino [.NET/C# MVP]
| - mv*@spam.guard.caspershouse.com
| >
| "Parv" <Pa**********************@gmail.comwrote in message
| news:11**********************@b28g2000cwb.googlegr oups.com...
| I am impersoanting a user to an other domain. But while doing so i am
| getting
|
| A required privilege is not held by the client
|
| exception. I have tried with aal possible usernames and passwords but
| didn't get success. I am getting same error if i am enetring blank
user
| and password. What i am doing wrong ?
|
|
Jul 17 '06 #6
Great; I hope you understand why this is working :-))

Another remark, don't do this...
private const int LOGON32_LOGON_INTERACTIVE = 9;
LOGON32_LOGON_INTERACTIVE is 3 and carved in stone....
change the declaration into:
private const int LOGON32_LOGON_NEW_CREDENTIALS = 9;
and stay good friends with those who have to maintain this code.

Willy.

"Parv" <Pa**********************@gmail.comwrote in message
news:11*********************@p79g2000cwp.googlegro ups.com...
| problem solved, after changing values for the
|
| private const int LOGON32_LOGON_INTERACTIVE = 2;
| private const int LOGON32_PROVIDER_DEFAULT = 0;
|
| to
|
| private const int LOGON32_LOGON_INTERACTIVE = 9;
| private const int LOGON32_PROVIDER_DEFAULT = 3;
|
| following code is working, anyway thanx for help to everyone.
|
| Best Regards
| Parveen Beniwal
|
| Parv wrote:
| Thanx, I had logoff but not restarted the system. Not its working after
| system restart. But now i am facing new problem
| >
| Logon failure: unknown user name or bad password
| >
| while using the following code to impersonate
| >
| public class Impersonator : IDisposable
| {
| public Impersonator(string userName,string domainName,string
| password)
| {
| ImpersonateValidUser(userName, domainName, password);
| }
| >
| public void Dispose()
| {
| UndoImpersonation();
| }
| >
| [DllImport("advapi32.dll", SetLastError = true)]
| private static extern int LogonUser(string lpszUserName,string
| lpszDomain,string lpszPassword,int dwLogonType,int dwLogonProvider,ref
| IntPtr phToken);
| >
| [DllImport("advapi32.dll", CharSet = CharSet.Auto, SetLastError
| = true)]
| private static extern int DuplicateToken(IntPtr hToken,int
| impersonationLevel,ref IntPtr hNewToken);
| >
| [DllImport("advapi32.dll", CharSet = CharSet.Auto, SetLastError
| = true)]
| private static extern bool RevertToSelf();
| >
| [DllImport("kernel32.dll", CharSet = CharSet.Auto)]
| private static extern bool CloseHandle(IntPtr handle);
| >
| private const int LOGON32_LOGON_INTERACTIVE = 2;
| private const int LOGON32_PROVIDER_DEFAULT = 0;
| >
| private void ImpersonateValidUser(string userName,string
| domain,string password)
| {
| WindowsIdentity tempWindowsIdentity = null;
| IntPtr token = IntPtr.Zero;
| IntPtr tokenDuplicate = IntPtr.Zero;
| >
| try
| {
| if (RevertToSelf())
| {
| if
| >
(LogonUser(userName,domain,password,LOGON32_LOGON_ INTERACTIVE,LOGON32_PROVIDER_DEFAULT,ref
| token) != 0)
| {
| if (DuplicateToken(token, 2, ref
| tokenDuplicate) != 0)
| {
| tempWindowsIdentity = new
| WindowsIdentity(tokenDuplicate);
| impersonationContext =
| tempWindowsIdentity.Impersonate();
| }
| else
| {
| throw new
| Win32Exception(Marshal.GetLastWin32Error());
| }
| }
| else
| {
| throw new
| Win32Exception(Marshal.GetLastWin32Error());
| }
| }
| else
| {
| throw new
| Win32Exception(Marshal.GetLastWin32Error());
| }
| }
| finally
| {
| if (token != IntPtr.Zero)
| {
| CloseHandle(token);
| }
| if (tokenDuplicate != IntPtr.Zero)
| {
| CloseHandle(tokenDuplicate);
| }
| }
| }
| >
| private void UndoImpersonation()
| {
| if (impersonationContext != null)
| {
| impersonationContext.Undo();
| }
| }
| private WindowsImpersonationContext impersonationContext =
| null;
| }
| >
| >
| and using as below :
| >
| using (new Impersonator("administrator", "project.com", "pass"))
| {
| //Never executed.
| >
| System.IO.File.Copy(@"C:\temp\UsingUIExecutingJob. txt",
| @"\\Mine\cdrv\test.txt", true);
| }
| >
| I am getting error in constructor and copy statement is never
| executed. What may be reason ?
| >
| Regards
| Parveen Beniwal
| >
| >
| Willy Denoyette [MVP] wrote:
| Windows 2000 needs this privilege in order to impersonate, more
exactly,
| LogonUser API can only be called when the caller's identity has this
| privilege enabled. Did you logout followed by a login after you
changed the
| accounts privilege?
| You will have to post your code or a complete sample that illustrates
the
| issue, whithout this it's nearly impossible to help you out.
|
| Willy.
|
| "Parv" <Pa**********************@gmail.comwrote in message
| news:11**********************@b28g2000cwb.googlegr oups.com...
| | thanx, let me elaborate my case. I am working in a domain
environment.
| | I am working on my System named Parveen. I have to copy a file to
other
| | system in other domain named project.com. I have have added myself
in
| | Act as part of operating System in local security policy of my
system
| | but it still not working. I am in confusion that i have to give this
| | permission on mysystem Parveen, Or MyDomain in which i am working or
on
| | the target domain. I am working on Windows 2000 Professional.
| |
| | Best Regards
| | Parveen Beniwal
| | Nicholas Paldino [.NET/C# MVP] wrote:
| | In order to do this, the user making the call has to have the
| | SeTcbPrivilege priviledge set. Your administrator has to set this
up.
| | >
| | Hope this helps.
| | >
| | >
| | --
| | - Nicholas Paldino [.NET/C# MVP]
| | - mv*@spam.guard.caspershouse.com
| | >
| | "Parv" <Pa**********************@gmail.comwrote in message
| | news:11**********************@b28g2000cwb.googlegr oups.com...
| | I am impersoanting a user to an other domain. But while doing so
i am
| | getting
| |
| | A required privilege is not held by the client
| |
| | exception. I have tried with aal possible usernames and
passwords but
| | didn't get success. I am getting same error if i am enetring
blank
| user
| | and password. What i am doing wrong ?
| |
| |
|
Jul 17 '06 #7
I am getting a strange problem as i mentioned above my code is
working for the window 2000 professional but is gives me error

A required privilege is not held by the client

on window 2000 Advanced server even i have added current user that is
administrator to the Act as part of the operating System to this user.
Please reply ASAP its urgent.

Best Regards
Parveen Beniwal

Willy Denoyette [MVP] wrote:
Great; I hope you understand why this is working :-))

Another remark, don't do this...
private const int LOGON32_LOGON_INTERACTIVE = 9;
LOGON32_LOGON_INTERACTIVE is 3 and carved in stone....
change the declaration into:
private const int LOGON32_LOGON_NEW_CREDENTIALS = 9;
and stay good friends with those who have to maintain this code.

Willy.

"Parv" <Pa**********************@gmail.comwrote in message
news:11*********************@p79g2000cwp.googlegro ups.com...
| problem solved, after changing values for the
|
| private const int LOGON32_LOGON_INTERACTIVE = 2;
| private const int LOGON32_PROVIDER_DEFAULT = 0;
|
| to
|
| private const int LOGON32_LOGON_INTERACTIVE = 9;
| private const int LOGON32_PROVIDER_DEFAULT = 3;
|
| following code is working, anyway thanx for help to everyone.
|
| Best Regards
| Parveen Beniwal
|
| Parv wrote:
| Thanx, I had logoff but not restarted the system. Not its working after
| system restart. But now i am facing new problem
| >
| Logon failure: unknown user name or bad password
| >
| while using the following code to impersonate
| >
| public class Impersonator : IDisposable
| {
| public Impersonator(string userName,string domainName,string
| password)
| {
| ImpersonateValidUser(userName, domainName, password);
| }
| >
| public void Dispose()
| {
| UndoImpersonation();
| }
| >
| [DllImport("advapi32.dll", SetLastError = true)]
| private static extern int LogonUser(string lpszUserName,string
| lpszDomain,string lpszPassword,int dwLogonType,int dwLogonProvider,ref
| IntPtr phToken);
| >
| [DllImport("advapi32.dll", CharSet = CharSet.Auto, SetLastError
| = true)]
| private static extern int DuplicateToken(IntPtr hToken,int
| impersonationLevel,ref IntPtr hNewToken);
| >
| [DllImport("advapi32.dll", CharSet = CharSet.Auto, SetLastError
| = true)]
| private static extern bool RevertToSelf();
| >
| [DllImport("kernel32.dll", CharSet = CharSet.Auto)]
| private static extern bool CloseHandle(IntPtr handle);
| >
| private const int LOGON32_LOGON_INTERACTIVE = 2;
| private const int LOGON32_PROVIDER_DEFAULT = 0;
| >
| private void ImpersonateValidUser(string userName,string
| domain,string password)
| {
| WindowsIdentity tempWindowsIdentity = null;
| IntPtr token = IntPtr.Zero;
| IntPtr tokenDuplicate = IntPtr.Zero;
| >
| try
| {
| if (RevertToSelf())
| {
| if
| >
(LogonUser(userName,domain,password,LOGON32_LOGON_ INTERACTIVE,LOGON32_PROVIDER_DEFAULT,ref
| token) != 0)
| {
| if (DuplicateToken(token, 2, ref
| tokenDuplicate) != 0)
| {
| tempWindowsIdentity = new
| WindowsIdentity(tokenDuplicate);
| impersonationContext =
| tempWindowsIdentity.Impersonate();
| }
| else
| {
| throw new
| Win32Exception(Marshal.GetLastWin32Error());
| }
| }
| else
| {
| throw new
| Win32Exception(Marshal.GetLastWin32Error());
| }
| }
| else
| {
| throw new
| Win32Exception(Marshal.GetLastWin32Error());
| }
| }
| finally
| {
| if (token != IntPtr.Zero)
| {
| CloseHandle(token);
| }
| if (tokenDuplicate != IntPtr.Zero)
| {
| CloseHandle(tokenDuplicate);
| }
| }
| }
| >
| private void UndoImpersonation()
| {
| if (impersonationContext != null)
| {
| impersonationContext.Undo();
| }
| }
| private WindowsImpersonationContext impersonationContext =
| null;
| }
| >
| >
| and using as below :
| >
| using (new Impersonator("administrator", "project.com", "pass"))
| {
| //Never executed.
| >
| System.IO.File.Copy(@"C:\temp\UsingUIExecutingJob. txt",
| @"\\Mine\cdrv\test.txt", true);
| }
| >
| I am getting error in constructor and copy statement is never
| executed. What may be reason ?
| >
| Regards
| Parveen Beniwal
| >
| >
| Willy Denoyette [MVP] wrote:
| Windows 2000 needs this privilege in order to impersonate, more
exactly,
| LogonUser API can only be called when the caller's identity has this
| privilege enabled. Did you logout followed by a login after you
changed the
| accounts privilege?
| You will have to post your code or a complete sample that illustrates
the
| issue, whithout this it's nearly impossible to help you out.
|
| Willy.
|
| "Parv" <Pa**********************@gmail.comwrote in message
| news:11**********************@b28g2000cwb.googlegr oups.com...
| | thanx, let me elaborate my case. I am working in a domain
environment.
| | I am working on my System named Parveen. I have to copy a file to
other
| | system in other domain named project.com. I have have added myself
in
| | Act as part of operating System in local security policy of my
system
| | but it still not working. I am in confusion that i have to give this
| | permission on mysystem Parveen, Or MyDomain in which i am working or
on
| | the target domain. I am working on Windows 2000 Professional.
| |
| | Best Regards
| | Parveen Beniwal
| | Nicholas Paldino [.NET/C# MVP] wrote:
| | In order to do this, the user making the call has to have the
| | SeTcbPrivilege priviledge set. Your administrator has to set this
up.
| | >
| | Hope this helps.
| | >
| | >
| | --
| | - Nicholas Paldino [.NET/C# MVP]
| | - mv*@spam.guard.caspershouse.com
| | >
| | "Parv" <Pa**********************@gmail.comwrote in message
| | news:11**********************@b28g2000cwb.googlegr oups.com...
| | I am impersoanting a user to an other domain. But while doing so
i am
| | getting
| |
| | A required privilege is not held by the client
| |
| | exception. I have tried with aal possible usernames and
passwords but
| | didn't get success. I am getting same error if i am enetring
blank
| user
| | and password. What i am doing wrong ?
| |
| |
|
Jul 21 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Ping | last post by:
Hello, Have a wonderful new year! I have oracle 9.2 on XP. There is a table T1 created by user U1 in U1's schema, a synonym S1 created also by U1 to point to T1 in U1's schema, U1 granted...
0
by: Chris Callahan | last post by:
Greetings: Long time reader, first time poster. Here we go: ==Specific question: Does there exist in MySQL a privilege configuration which will allow an account to issue `SHOW MASTER...
0
by: Fei Peng | last post by:
>Description: High Resolution Science Imaging experiment(HiRISE) project for one of important instrument on MRO spacecraft which will be launched to MAR in 2005 are using MySQL server 4.0.13 as...
2
by: Ken Varn | last post by:
I need to pragmatically add events to the Win2K Event Viewer from my ASP.NET web application. What user rights are required for this? I have tried to assign "act as part of the operating system",...
0
by: EoRaptor013 | last post by:
I'm using our dev ID to set up peer-to-peer replication among three SQL Server 2005 servers. The dev ID essentially has sa rights to the server and databases. Per the BOL, I explicitly gave the...
1
by: Parv | last post by:
I am trying to impersonate user to some other system using userName,domainName,password in C#. My Code is working fine if i am working on Windows 2000 professional after assigning current user "Act...
0
by: itmanager | last post by:
We have an ASP.NET (1.1) app running on a Windows 2003 server using IIS 6. Part of the application accesses printer resources on the server using a service application written in VB.NET and C++. ...
1
by: Mark Olbert | last post by:
Sigh. I had a working ASPNET application yesterday (using Framework 3.5, running on Server 2003). Today I have the dreaded "a required privilege is not held by the client" error. This occurs...
0
AnuSumesh
by: AnuSumesh | last post by:
Hi I am using WMI for these opeartions. The setup for .net application is as follows: we have deployed .net application in IIS with Privilege Identity as "Local System" and Authentication...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.