PDA

Click to See Complete Forum and Search --> : Novell API's


coreyp
Dec 5th, 2001, 12:25 AM
Trying to integrate a VB app here with Novell NDS, I can get all the normal authentication done, but the second part of the trick is the problem...

Authenticating to NDS doesnt necessarily mean you have access to a particular application object. So therefore I am trying to read the ACL of the object to see if the user has permission to access it.

This appears to be done by a complex mix of API calls and buffers:

NWCallsIinit()
NWDSCreateContextHandle()
NWDSAllocBuf()
NWDSRead() <-- Where you actually read the object properties.
NWDSGetAttrCount()
NWGetAttrName()

and then a loop through the ACL's to use NWDSComputeAttrValSize() to allocate a memory buffer for each response and NWDSGetAttrVal to read the attribute values into that buffer.

This part is the problem. Once I try and read the values I just get either an Overflow in NWDSGetAttrVal() or an illegal operation or other weird stuff. What I never get is something that says "yes this user is allowed to run this application object".

Am I on the right track here?

shunt
Feb 11th, 2008, 10:21 AM
Hi, you say you got the login bit working? I am trying to do some integration with NDS, but am coming up seriously short on documentation. Could I get a sample?

Paul M
Feb 13th, 2008, 07:15 AM
Sorry shunt, but i don't think he is going to reply any time soon. This is a very old thread if you weren't aware...

And the last time coreyp was on, was 1 minute after he started this thread :p

shunt
Feb 14th, 2008, 04:42 AM
I suppose. Was hoping he had email messaging on...
And the hunt continues...

Paul M
Feb 14th, 2008, 05:00 AM
You could send him an email via his profile. Not sure if he still uses the same address but worth a try :)