freeipa/tests/test_install/1_add.update
Rob Crittenden e62bbab37a Let the updater delete entries and add small test harness
In order to run the tests you must put your DM password into
~/.ipa/.dmpw

Some tests are expected to generate errors. Don't let any ERROR
messages from the updater fool you, watch the pass/fail of the nosetests.
2009-10-05 13:25:42 -06:00

24 lines
522 B
Plaintext

# Add in a new place in the DIT for our test cases
dn: cn=test, cn=accounts, $SUFFIX
add:objectClass: top
add:objectClass: ipaContainer
add:cn: test
add:description: Test container
# Add a test user
dn: uid=tuser, cn=test, cn=accounts, $SUFFIX
add:objectclass: top
add:objectclass: person
add:objectclass: posixaccount
add:objectclass: krbprincipalaux
add:objectclass: inetuser
add:homedirectory: /home/tuser
add:loginshell: /bin/bash
add:sn: User
add:uid: tuser
add:uidnumber: 999
add:gidnumber: 999
add:cn: Test User