07-15-2004 01:38 PM - edited 03-18-2019 03:17 PM
I am running Unity 4.0(3), and having follwing problems
1. Create aninternet remote subscriber using sp_CreateSubscriber with syncflag = 0x00000001 + 0x00000002 + 0x04000000. The created subscriber doesn't show in the directory.
2. Neither an internet remote subscriber nor an exchange subscriber get deleted from the directory when using
sp_DeleteSubscriber with syncflag = 0x00000001 + 0x00000002
By the way, creating an exchange subscriber does get pushed to the directory. I also tried with the web SA interface,
deleting subscribers doesn't sync to the directory either.
07-15-2004 05:17 PM
First, what shows up in the SQLSyncSVr log that you'll find in the \commserver\logs directory when you do this? If the syncher is having a problem creating/binding to an object in the directory during the synch, the details will be there - we'll want to start with that.
Your last comment about the deletes not synching to the directory - not sure what you mean. Are you expecting the directory object to be removed? By default this is not the case (Unity has never done this - only create). If you have to pass in the "forceremove" flag into the SP to get Unity to remove the object entirely - did you do that? If that's not what you're looking to happen, what do you mean by the delete isn't synching?
07-19-2004 07:59 AM
07-19-2004 03:23 PM
Yeah, be sure to check out the subscriber deletion example code out on www.CiscoUnityTools.com - I show how to delete a subscriber _and_ remove their directory account/mailbox at the same time - you have to pass in the ForceRemove flag.
Looking at the SQLSynch log there the create is failing here:
Mon Jul 19 10:46:59.203 Monitor Create Failed 0x80070057 \ConnectorClientBase.cpp (line 462)
That means the directory service running under Unity could not create the account with the information you passed in - either there's a rights issue or one of the parameters you passed in was not what it expected or something along those lines. I'd have to see your code to know more.
I'd definitely check out my subscriber creation/import and deletion code samples if you haven't already - lots of folks have taken that and run with it without a hitch - I suspect some parameters you're passing in is not correct given the error code there (that translates to a Win32 error of "invalid parameter").
07-21-2004 09:48 AM
Thanks. I was indeed passing in wrong parameters.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide