Import bulk users to LDAP server
Import users to your LDAP server from a CSV file.
This program automatically converts the country field to its alpha2 code.
It also supports LDAP with TLS/SSL (LDAPS)
Build
git clone https://github.com/paolobettelini/ldap-bulk-csv-rs
cd ldap-bulk-csv-rs
cargo build --release
# The executable is in ./target/release/
./target/release/bulk-ldap-rs --help
Usage
Bulk CSV importer
Usage: bulk_ldap [OPTIONS]
Options:
-a, –address Service address [default: ldap://192.168.1.25:389]
-u, –user Binding user DN [default: cn=svc_ldap,cn=Users,dc=BlackSky,dc=local]
-p, –password Binding user password [default: Admin123]
-c, –csv CSV file [default: bulk.csv]
-h, –help Print help information
-V, –version Print version information