Startup test-suite scripts to be runed as suite.sh.
Admin and global directory of top-level acounts (ou=People).
dn: dc=synrc,dc=com objectClass: top objectClass: dcObject objectClass: organization o: SYNRC dc: synrc dn: uid=admin,dc=synrc,dc=com objectClass: top objectClass: account objectClass: simpleSecurityObject uid: admin userPassword: secret dn: ou=People,dc=synrc,dc=com objectClass: top objectClass: organizationalUnit ou: People
Some of top-level acounts examples.
dn: cn=alice,ou=People,dc=synrc,dc=com changetype: add mail: [email protected] objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetorgperson givenName: Alice sn: Surname uid: alice cn: Alice Surname dn: cn=bob,ou=People,dc=synrc,dc=com changetype: add mail: [email protected] objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetorgperson givenName: Bob sn: Surname uid: bob cn: Bob Surname dn: cn=Namdak Tonpa,ou=People,dc=synrc,dc=com uid: master objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetorgperson sn: Tonpa mail: [email protected] givenName: Namdak cn: Namdak Tonpa # Maxim Sokhatsky, People, synrc.com dn: cn=Maxim Sokhatsky,ou=People,dc=synrc,dc=com uid: maxim objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetorgperson sn: Sokhatsky mail: [email protected] givenName: Maxim cn: Maxim Sokhatsky
$ ldapadd -x -D "cn=admin,dc=synrc,dc=com" -w secret -c -f init.ldif $ ldapadd -x -D "cn=admin,dc=synrc,dc=com" -w secret -c -f add.ldif $ ldapadd -x -D "cn=admin,dc=synrc,dc=com" -w secret -c -f add-exists.ldif
$ ldapadd -x -D "cn=admin,dc=synrc,dc=com" -w secret -c -f modify-replace.ldif $ ldapadd -x -D "cn=admin,dc=synrc,dc=com" -w secret -c -f modify-add.ldif $ ldapadd -x -D "cn=admin,dc=synrc,dc=com" -w secret -c -f modify-del.ldif $ ldapadd -x -D "cn=admin,dc=synrc,dc=com" -w secret -c -f modify-multi.ldif $ ldapadd -x -D "cn=admin,dc=synrc,dc=com" -w secret -c -f modify-noobj.ldif $ ldapadd -x -D "cn=admin,dc=synrc,dc=com" -w secret -c -f modify-dn.ldif
$ ldapadd -x -D "cn=admin,dc=synrc,dc=com" -w secret -c -f delete.ldif $ ldapadd -x -D "cn=admin,dc=synrc,dc=com" -w secret -c -f delete-noobj.ldif
$ ldapsearch -D "cn=admin,cn=config" -w secret -b "cn=config" -Y EXTERNAL -H ldapi:/// $ ldapsearch -D "uid=admin,dc=synrc,dc=com" -w secret -b "dc=synrc,dc=com" $ ldapsearch -D "uid=admin,dc=synrc,dc=com" -w secret -b "ou=People,dc=synrc,dc=com" "(&(uid=*)(sn=Ton*))" $ ldapsearch -D "uid=admin,dc=synrc,dc=com" -w secret -b "ou=People,dc=synrc,dc=com" "uid=*" "objectClass" $ ldapsearch -D "uid=admin,dc=synrc,dc=com" -w secret -b "ou=People,dc=synrc,dc=com" '(sn=To*)' cn sn $ ldapcompare -D "uid=admin,dc=synrc,dc=com" -w secret uid=admin,dc=synrc,dc=com uid:admin