|
| NWIntScanForTrustee() question |
 |
Tue, 18 Apr 2006 16:55:02 GMT |
I Have the following development environment:
Q:\aaaa
Q:\aaaa\file1.txt
I assigned the following trustees in this manner:
Q:\aaaa HR.LEVEL1.NOVELL (Supervisor, Read, File Scan)
Q:\aaaa\file1.txt USERS.LEVEL1.NOVELL (Read, Modify, File Scan)
When I make the call to NWIntScanForTrustees(), which returns
Successfully, I iterate through a block of 20 TRUSTEE_INFO structures,
searching for objectID's that do NOT == zero, and the only objectID I ever
seem to find in the list is the objectID for: HR.LEVEL1.NOVELL. All of
the rest of the TRUSTEE_INFO structures have objectID's == zero.
Question:
Did I accidently stumble upon a bug in NWIntScanForTrustee(), or is the
function working as intended?
Does anyone on this list have any previous experience in this realm?
I'm not sure what eDirectory Library C Api's to use in order to find both
trustees.
Thanks.
-Paul
|
| Post Reply
|
| Re: NWIntScanForTrustee() question |
 |
Thu, 20 Apr 2006 23:25:34 GMT |
"Paul Kelley" <paul_kelley@symantec.com> wrote in message
news:GR81g.2027$sd1.1045@prv-forum2.provo.novell.com...
> I Have the following development environment:
>
> Q:\aaaa
>
> Q:\aaaa\file1.txt
>
> I assigned the following trustees in this manner:
>
> Q:\aaaa HR.LEVEL1.NOVELL (Supervisor, Read, File Scan)
>
> Q:\aaaa\file1.txt USERS.LEVEL1.NOVELL (Read, Modify, File Scan)
>
> When I make the call to NWIntScanForTrustees(), which returns
> Successfully, I iterate through a block of 20 TRUSTEE_INFO structures,
> searching for objectID's that do NOT == zero, and the only objectID I ever
> seem to find in the list is the objectID for: HR.LEVEL1.NOVELL. All of
> the rest of the TRUSTEE_INFO structures have objectID's == zero.
>
> Question:
> Did I accidently stumble upon a bug in NWIntScanForTrustee(), or is the
> function working as intended?
> Does anyone on this list have any previous experience in this realm?
> I'm not sure what eDirectory Library C Api's to use in order to find both
> trustees.
This function returns trustees only the designated path, so you have to make
2 calls, one for Q:\aaaa and one for Q:\aaaa\file1.txt.
John
DevSup SysOp 24
|
| Post Reply
|
|
|
|
|
|
|
|
|
|