Le 04/11/2015 22:14, Dan G. Switzer, II a écrit :
Clément,

Thanks for the response.

A few follow up questions.

On the <referral> element, the valid options are:

  * IGNORE
  * THROUGH
  * THROW
  * ERROR

I'm assuming "IGNORE" means don't follow the referral, "THROUGH" means follow the referral and process the results.

Is that correct?

Yes.


What's the difference between THROW and ERROR? Does error just report the problem in the log, while THROW actually generates an exception that stops processing?


Good question, I don't know. This is not clear in the code.


I read the section on aliases and I understand the basics, but I'm still unsure of what the NEVER, SEARCH, FIND or ALWAYS actually do. Is there somewhere that explains what each action actually does? The terms "SEARCH" and "FIND" would seem to be synonymous and I'm not sure what "ALWAYS" means. I'm guessing "NEVER" means references aren't followed at all.


This is well explained in JNDI doc: http://docs.oracle.com/javase/jndi/tutorial/ldap/misc/aliases.html

Lastly, I already read the <defaultPolicy> documentation. Really what I'm looking for is clarification on what the verbs mean (i.e. FORCE, KEEP, MERGE). I just want to make sure I document them correctly. I'm guessing "FORCE" means the destination is always overwritten with the source. "KEEP" might me don't overwrite the destination if the value already exists. But I'm not really sure what "MERGE" would due (unless it means it appends the source to the existing destination value).

Note that an action will only be performed if LSC finds a difference between the value in source and the value in destination. With FORCE, the value from source will overwrite the value from destination. With KEEP, the value from source will not overwrite the value of the destination. With MERGE, values from source and destination will be merged in destination.


--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux

_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to