DevOps Cloud (ADM)
Cybersecurity
IT Operations Cloud
If using Russian (CP1251):
if using English:
"Koltogyan Sergey Rubenovich";"1300"
"Putin Vladimir Vladimirovich";"0001"
.....
If you prepare this file in CP1251 - all will work without any changes, if prepared in English, you need correct string 95:
from_to($lnameutf,"cp1251","utf-8");
# from_to($lnameutf,"cp1251","utf-8");
LINE 33:
$ADMIN = "cn=admin,o=org";
Insert user name. Under this user script will be login to the LDAP(edir) and will search users and put telephone number from the sys:\a.csv
This user must have rights for this.
A simple way - use admin account
LINE 31:
$PASSWD = 'password';
password user admin.org
LINE 32:
$BASEDN ="o=org";
From this container and below script will be searched.
How to run script:
perl sys:\perl\scripts\ct.pl
What does it does:
*****************************************************
* Thanks, Iain McLaren, for example use of PERL-script:
* http://forge.novell.com/modules/xfmod/project/?cpr-backup
*****************************************************
P.S.: I know of JRB-utilities.
It is a variant free-of-charge and it is more convenient for me that I can work directly on the console of a server, without a workstation.