Re: Taking Ownership

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Stephen Engle" <engle.stephen@xxxxxxxxx> wrote in message
news:uKtfcU2zFHA.1264@xxxxxxxxxxxxxxxxxxxxxxx
> Sorry - I should have been more plain about the user. I log on as the
> user
> (a test id) in question to test my app (and also to test that user's
> rights
> using Active Directory Users & Computers). Unfortunately, the only thing
> I
> have been able to determine is that the user id has the appropriate rights
> (because ADU&C can make the change) but my app still won't work, unless
> I'm
> logged in as myself. I am a Domain Admin and therefore have so many
> rights
> that I don't know for sure what the difference really is. But since ADU&C
> can work for the test id, I would think there must be some way to do this
> with my app.

> Do you have any ideas as to what group might be more appropriate to post
> this question to. I have looked at the huge list of Microsoft groups and
> have only found this and potentially the microsoft.public.win2000.security
> group that seemed to touch on this.

The two languages groups (this and m.p.vc.language) field lots of questions
on things people do with the language even though the groups' focus is
ostensibly on the language itself.

The kernel group (m.p.win32.programmer.kernel) has a similar mix of skills
among the regulars and more than a few who grok security.

Apart from the kernel group, I'd plug

activedirectory

or

adsi

into the newsgroup search edit box to find a more appropriate one. If I read
any of these groups I'd suggest one, but as I said, I don't so I can't. :-(

At the risk of stating the obvious ... are you checking the return codes
from the functions that you call? It is a really really rare event for a
function in the Win32 API to fail silently. One thing you can do is type

err

in the watch window in the debugger. This pseudo-variable is an alias for
the calling thread's last error code. When a function fails (and only if it
fails so you need to check return codes or look at the EAX register if you
forgot to capture the return) this is the place to look for the underlying
cause of the failure.

> Thanks again.

You are welcome.

Regards,
Will


.



Relevant Pages

  • Re: Taking Ownership
    ... I have indeed been checking my return codes. ... The only one that fails is the ... > ostensibly on the language itself. ...
    (microsoft.public.dotnet.languages.vc)
  • [mk] Vernacular education system and the Left (Pt 2)
    ... Language rights a fundamental Human right ... the existence of three major races (in relative population ... their own language in education, ...
    (soc.culture.malaysia)
  • Vernacular education system and the Left (Pt 2)
    ... Vernacular education system and the Left ... Review language policy before it's too late ... Language rights a fundamental Human right ... their own language in education, ...
    (soc.culture.malaysia)
  • Re: Illinois smoking ban.
    ... it is a property rights issue. ... If you read the states law about liquor licenses you'll find that they can shut down a bar or club that doesn't comply with the laws of that state, the liqour license is a federal license issued by that state to sell liquor. ... The state can also shut down a establishment that doesn't comply with all of it's health codes either. ... IF (by chance they have a fire then they start at complying with all state and county codes again). ...
    (alt.guitar.beginner)
  • Re: Colorado rednecks dont trust bilingual material in libraries
    ... > arguments about minority rights, linguistic and otherwise, have been ... > from conflicts about the language of education stretching back to centuries ... due to vastly different circumstances -- in that that language ... a nation -- is utterly irrelevant to today's Latvia (Latvia, ...
    (soc.culture.baltics)