Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error 34919 (0x8867) while adding user object

19 views
Skip to first unread message

san...@novelldeveloper.com

unread,
Apr 24, 2007, 2:36:37 AM4/24/07
to
Hi All,

I have written an application that connnects to the NDS eDir and then
adds user object to it.

Here is the rought framework of my code

subroutine to connect

NWCallsInit
NWInitUnicodeTables
NWDSCreateContextHandle
NWDSSetContext
NWDSOpenConnToNDSServer
if NWDSOpenConnToNDSServer fails then I call NWCCOpenConnByName
and it is successful
NWDSLogin
NWDSAuthenticateConn

/* in this routine I get a context handle that is passed to add subroutine
*/

Subrouting to add
/* using the context created in above routine this will add the user
object with following calls*/

NWDSAllocBuf
NWDSInitBuf
NWDSPutAttrName
NWDSPutAttrVal
NWDSAddObject


Earlier I was getting the same error 34919 (0x8867) when I called
NWDSOpenConnToNDSServer and later I found that there are more connect
funciton which are more robust like NWCCOpenConnByName and the error
disapeared after using this (NWCCOpenConnByName) function.

So far everything was working , but now I have some strange problem , I
get the same error when I try to add user object to some sub-container
(with above routine), I can still add user to uppper container but couldnt
do the same for the subcontainer.

Like

MyOrg
- MyDiv

I can add user to MyOrg with above code but couldnt add it to Mydiv.

Thanks in advance for your assistance.

Sanjay

0 new messages