N
nild
Hello
i have a strange problem. I'm using LogonUser to impersonate the user
under which my program must run. On Win XP or Server 2003 it works. But
on 2000 it doesn't. So i found out, to set SE_TCB_NAME privileg - it
doesn't work. Then i read somewhere that this only work for local users
and not domain users and so the changes in the domain policy don't
work.
But the strangest thing i've found out after some tests: LogonUser
works after i installed a standard SQL Server 2000 installation. And it
looks like, that this doesn't change my policy. But before the
installation i've always got error 1314 when try to impersonate. And
after the installation of SQL Server 2000 there is absolutly NO problem
to impersonate.
Does anybody know what the installation of SQL Server do with the
system so that it works and how i could do this manually.
Test-server was Windows 2000 Server and Advanced Server with SP4,
Rollup 1 for SP4 and all updates available from windows update
hope somebody could help
i have a strange problem. I'm using LogonUser to impersonate the user
under which my program must run. On Win XP or Server 2003 it works. But
on 2000 it doesn't. So i found out, to set SE_TCB_NAME privileg - it
doesn't work. Then i read somewhere that this only work for local users
and not domain users and so the changes in the domain policy don't
work.
But the strangest thing i've found out after some tests: LogonUser
works after i installed a standard SQL Server 2000 installation. And it
looks like, that this doesn't change my policy. But before the
installation i've always got error 1314 when try to impersonate. And
after the installation of SQL Server 2000 there is absolutly NO problem
to impersonate.
Does anybody know what the installation of SQL Server do with the
system so that it works and how i could do this manually.
Test-server was Windows 2000 Server and Advanced Server with SP4,
Rollup 1 for SP4 and all updates available from windows update
hope somebody could help