NOTE: This page has been translated automatically from Russian to English. Original page.



Loading users from Active Directory 1C

Treatment for batch creation of users of 1C on Active Directory data.

Simple handling for batch creation of users of 1C on Active Directory data. AD is taken from the user name, authentication data, e-mail address.

Features:

- Choice of AD container made of wood, which includes all domains (subdomains);
- List of containers and users formed subjectively much faster than it would with a Windows user database in a standard user configuration dialogue;
- The ability to batch create users.

Restrictions:
- In the version of the managed forms only supported the so-called "easy" access mode (without differentiation of the rights to record-level);

Useful links:
- Http://www.script-coding.com/Python/LDAP.html - informative article on LDAP;
- Http://support.microsoft.com/kb/315071 - information on configuring LDAP policies (including the above mentioned option MaxPageSize);
- Http://infostart.ru/public/293755/ - useful development of the adapter;
- Http://www.ldapadmin.org/ - when developing and debugging very useful to the LDAP-browser.

Tested to BS 2.0, 3.0 (CORP), SPP 2.5, 10.3 UT.

If you find errors or have any questions - write. Thank you for your "pros" and reviews! :)


UPD 05.02.2015: Minor fix-s in the procedures for obtaining an LDAP data

UPD 21.10.2014: In both versions handling the problem with inability to read from AD number of entries exceeding MaxPageSize, specified in the LDAP policy (1000 records). Now the reading is done by page 100 records. Who cares, the problem and the solution, see. Here.
Updated version to control the shape of a relatively recent release of the standard configuration (tested on Accounting 3.0.34.14): small fix displaced common module procedures; modal converted to the new ideology 8.3.

1C:Enterprise Developer's Community