|
@@ -16,39 +16,6 @@ FactoryBot.define do
|
|
|
'base_dn' => 'dc=foo,dc=example,dc=com',
|
|
|
'bind_user' => ENV['IMPORT_LDAP_USER'],
|
|
|
'bind_pw' => ENV['IMPORT_LDAP_PASSWORD'],
|
|
|
- 'wizardData' =>
|
|
|
- { 'backend_user_attributes' =>
|
|
|
- { 'dn' => 'dn (e.g., cn=nb,dc=foo,dc=example,dc=com)',
|
|
|
- 'cn' => 'cn (e.g., Nicole)',
|
|
|
- 'sn' => 'sn (e.g., Braun)',
|
|
|
- 'uid' => 'uid (e.g., nb)',
|
|
|
- 'uidnumber' => 'uidnumber (e.g., 5000)',
|
|
|
- 'gidnumber' => 'gidnumber (e.g., 5000)',
|
|
|
- 'userpassword' => 'userpassword (e.g., testnb)',
|
|
|
- 'homedirectory' => 'homedirectory (e.g., /home/nb)',
|
|
|
- 'loginshell' => 'loginshell (e.g., /bin/sh)',
|
|
|
- 'gecos' => 'gecos (e.g., Comments)',
|
|
|
- 'mail' => 'mail (e.g., nb@example.com)',
|
|
|
- 'telephonenumber' => 'telephonenumber (e.g., 110)',
|
|
|
- 'roomnumber' => 'roomnumber (e.g., 0200)' },
|
|
|
- 'backend_groups' =>
|
|
|
- { 'cn=admin,ou=groups,dc=foo,dc=example,dc=com' => 'cn=admin,ou=groups,dc=foo,dc=example,dc=com',
|
|
|
- 'cn=1st level,ou=groups,dc=foo,dc=example,dc=com' => 'cn=1st level,ou=groups,dc=foo,dc=example,dc=com',
|
|
|
- 'cn=2nd level,ou=groups,dc=foo,dc=example,dc=com' => 'cn=2nd level,ou=groups,dc=foo,dc=example,dc=com',
|
|
|
- 'cn=sales,ou=groups,dc=foo,dc=example,dc=com' => 'cn=sales,ou=groups,dc=foo,dc=example,dc=com' },
|
|
|
- 'user_attributes' =>
|
|
|
- { 'login' => 'Login',
|
|
|
- 'firstname' => 'First name',
|
|
|
- 'lastname' => 'Last name',
|
|
|
- 'email' => 'Email',
|
|
|
- 'web' => 'Web',
|
|
|
- 'phone' => 'Phone',
|
|
|
- 'mobile' => 'Mobile',
|
|
|
- 'fax' => 'Fax',
|
|
|
- 'department' => 'Department',
|
|
|
- 'address' => 'Address',
|
|
|
- 'note' => 'Note' },
|
|
|
- 'roles' => { '1' => 'Admin', '2' => 'Agent', '3' => 'Customer' } },
|
|
|
'user_uid' => 'uid',
|
|
|
'user_filter' => '(objectClass=posixaccount)',
|
|
|
'group_uid' => 'dn',
|