rispost

Delete_employees.sh & sync_all_dns.sh

November 30th, 2008

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 )

5 Comments »

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

    Comment by Remco Angioni — December 2, 2008 @ 1:47 pm

  2. 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?

    Comment by Duane — February 10, 2009 @ 9:59 pm

  3. 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

    Comment by Marco Ensing — February 10, 2009 @ 10:20 pm

  4. 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

    Comment by Edgar de Graaff — April 8, 2009 @ 12:00 pm

  5. He Eddy, thanks for this addition.

    Comment by admin — April 8, 2009 @ 12:55 pm

RSS feed for comments on this post. TrackBack URI

Leave a comment

Please leave these two fields as-is:
   
© LOTUSCONNECTIONS.org , Designed by Stealth Settings
Entries (RSS) and Comments (RSS)