cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
498
Views
5
Helpful
4
Replies

Creating an internet subscriber and deleting subscribers doesn't sync

lijuanZhang
Level 1
Level 1

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.

4 Replies 4

lindborg
Cisco Employee
Cisco Employee

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?

I misunderstood the concept of synchronization for deleting. I thought the subscriber would be removed automatically from the directory if it is deleted with syncflag = 0x00000001 + 0x00000002.

I attached the log to this message.

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").

Thanks. I was indeed passing in wrong parameters.