🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2136

Assistance with AccessCheck() requested

#2136
From: Andrue Cope
Date: Wed, 11 Apr 2007 12:22
23 lines
1650 bytes
Hiya,

I'm trying to determine what Exchange permissions are available for an
account and I've used LDAP to obtain the DACL for an account. My
problem is that when I call AccessCheck() it always indicates that I
have no permission to do anything. More oddly it indicates that it
determined this without reference to any privilege
(PRIVILEGE_SET.PrivilegeCount is zero).

I have now implemented code to follow the ACL myself and on our system
it always consists of a single entry granting permissions to
NT_AUTHORITY/Self. (ACE SID=WinSelfSid).

This means that I can write code to traverse the ACL myself but that
seems rather silly given that it's what AccessCheck() is supposed to be
doing :-/

Is there anyone here that has experience of DACLs and other security
related matters? Looks like no-one on the MS newsgroups has.
-- 
Andrue Cope
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <461cd310$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8e080841c8729530,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrue Cope" <no.spam@not.a.valid.address>
Subject: Assistance with AccessCheck() requested
Newsgroups: borland.public.cppbuilder.nativeapi
Date: Wed, 11 Apr 2007 13:22:41 +0100
User-Agent: XanaNews/1.18.1.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 217.207.223.34
Message-ID: <461cd310$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1176294160 217.207.223.34 (11 Apr 2007 05:22:40 -0800)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail