Delete_employees.sh & sync_all_dns.sh

Finally discovered how I have to use the delete_employees.sh script.
Did some debugging of the profiles_tdi.xml file in the TDISOL
directory with TDI.

Found out that the file delete_employees.in had to contain the
following syntax.

FILE delete_employees.in
$dn:CN=Marco Ensing,OU=EOF,O=EOG.
uid:Marco Ensing
!FILE

( To delete multiple persons use a dot after every entry

$dn:CN=Marco Ensing,OU=EOF,O=EOG.
uid:Marco Ensing
.
$dn:CN=Pietje Puk,OU=EOF,O=EOG.
uid:Pietje Puk
)

FILE profiles_tdi.properties
delete_employees_simple_file=delete_employees.in
!FILE

Also found out how to use the sync_all_dns.sh command. Before I couldn’t
get this script to work properly. I got stuck when I wanted to delete people
from the profiles database, the sync command didn’t work for me and I didn’t
had a clue how to use the delete_employees.sh script.

If I wanted to add users to Profiles I had to use the collect_dns.sh and
populatie_from_dn_file.sh scripts.

To use the sync_all_dns.sh properly configure the parameters in the
file profiles_tdi.properties as follow.

FILE profiles_tdi.properties
sync_updates_show_summary_only=false
sync_updates_double_check=true
!FILE

Now the sync_all_dns.sh script will take care of deleting people in Profiles
which no longer exist in the LDAP directory. And it will add people, new
in the LDAP directory, to the Profiles database.

( We are using Domino 8.5 as our LDAP directory )

This entry was posted in lotus connections and tagged . Bookmark the permalink.

5 Responses to Delete_employees.sh & sync_all_dns.sh

  1. Remco Angioni says:

    You’re the best, thank you for this tip.

  2. Duane says:

    What is the largest number of LDAP users that you tried synchronizing? I have over 40,000 and have issues with the sync command. Any insights?

  3. Marco Ensing says:

    Hello Duane,

    Don’t think I can give you advice on the issues
    you have with that numbers of entries.

    The highest number I did successfully is 500 users.

    Maybe you have to search for limits in WAS our Connections?
    That one of both cannot cope with that many users?

    Marco

  4. Edgar de Graaff says:

    Hey Marco, what’s up!

    2 things to keep in mind:

    – Make sure delete_employees.in does not end with a newline at the end
    – When using a pilot environment, dn should look like:

    $dn:uid=Edgar de Graaff,o=defaultWIMFileBasedRealm

  5. admin says:

    He Eddy, thanks for this addition.

Leave a Reply

Your email address will not be published. Required fields are marked *

Please leave these two fields as-is:

Protected by Invisible Defender. Showed 403 to 807,335 bad guys.