Has anyone tried to use a separate Domino address book as a Connections guest access address book but then used directory assistance to reference against this?
So instead of using a branch of an existing Domino directory or creating a brand new domino server and using that as a separate LDAP you create a new address book in an existing Domino server enable directory assistance for it and then use that in a separate SDI sync?
Doing this WebSphere can see it fine but at the moment SDI can't the the base O which is referenced against the users in the separate address book?
I also thought it wouldn't be an issue to do this but because the reference from SDI is to the same LDAP url it doesn't see the base search of O=EXTERNAL as its not actually in the main NAB its just referenced via Directory Assistance so not an LDAP branch of the existing NAB.
Yeah thats exactly what I have. I even tested it by creating a new entry in the main NAB with an O=EXTERNAL as referenced in the separate SDI, ran it and it worked fine so it is purely that the SDI can't see O=EXTERNAL when its in the NAB referenced by Directory Assistance and is set as the search base, which makes me think it is an issue with my Directory Assistance document, however WebSphere sees the entry fine and if I run my normal SDI it actually sees this user as well.
To sum up :-
If I add a source_ldap_search_base=O=EXTERNAL but no users in the main NAB with that O= the SDI fails
If I add a source_ldap_search_base= so no base the SDI runs and picks up all users in the main NAB AND the one from the external NAB referenced in Directory Assistance
If I add a user into the main NAB with an O=EXTERNAL then add source_ldap_search_base=O=EXTERNAL run SDI it only picks up the 1 user in the main NAB that I set as O=EXTERNAL
Two Domino directories, one DA, one LDAP server, one TDI/SDI assembly line.
We use the company field to tell internal and external users apart.
To do this, we replaced func_mode_from_ldap_attr() in /opt/IBM/TDI/ldap-peopledb-sync/TDI/map_dbrepos_from_source.properties with:
function func_mode_from_ldap_attr(fieldName) {
var companyName = work.getString("companyname");
// check company name from ldap for 'assono GmbH'
if (companyName != null)
{
if (companyName.indexOf("assono GmbH") >= 0)
return "internal";
}
return "external";
Thanks Thomas thats definitely helpful but I would still really like to keep the 2 SDI assembly lines as this has always been a recommended but if I do get stuck with this as I do not want to have to create a separate Domino server just for this then I will go down your route.
I have had some great help and a good suggestion but still not solving the main issue of using 2 SDI assembly lines yet with a single Domino LDAP instance but 2 directorys made visable via Directory Assistance . It maybe that I need to change the source_ldap_search_filter to match on O instead of the standard uid inetorgperson etc.
Does anyone from HCL Support have any suggestions on this as I believe it should still work especially when other 3rd party software seems to be able to see this fine its just SDI that won't.
So another slight issue a customer has multiple Organizations in their main address book, normally this wouldn't be an issue as you can set the source_ldap_search_base= like this and it will see everything, however in the new external scenario I have created because it sees everything it also sees the O=EXTERNAL ones so my main internal users SDI Assembly line tries to create these as full users instead of guests.
Am I right in thinking I now have to add a source_ldap_search_base= but for each of the Organizations so in effect lets say they have 4 including the O=EXTERNAL one I would need to create 4 different Assembly lines or can I do something clever with the main SDI line to skip the O=EXTERNAL?
The only option beside the search base is the usage of a filter.
Unfortunately I don't know if you can filter on the DN - Maybe. Maybe you have a different criteria wich distinguishes the externals from the internals and you can use this as filter
Or, you do something like Thomas Bahn above to just use 1 Solution directory and decide on a per user basis.
In my opinion, having 4 TDI Solution directories is not too complicated. In this case you have a hard criteria to distinguish exernals from internals. In the solution above it is quite simple to create an internal as external just by having a typo in the company name.