OPSI.ldaptor.test.test_autofill_samba module¶
Test cases for ldaptor.protocols.ldap.autofill.sambaAccount module.
- 
class 
OPSI.ldaptor.test.test_autofill_samba.LDAPAutoFill_sambaAccount(methodName='runTest')¶ Bases:
twisted.trial._asynctest.TestCase- 
testDefaultSetting()¶ Test that fields get their default values.
- 
testMustHaveObjectClass()¶ Test that Autofill_samba fails unless object is a sambaAccount.
- 
testPrimaryGroupId()¶ Test that primaryGroupID field is updated based on gidNumber.
- 
testRid()¶ Test that rid field is updated based on uidNumber.
- 
 
- 
class 
OPSI.ldaptor.test.test_autofill_samba.LDAPAutoFill_sambaSamAccount(methodName='runTest')¶ Bases:
twisted.trial._asynctest.TestCase- 
testDefaultSetting()¶ Test that fields get their default values.
- 
testDefaultSetting_fixedPrimaryGroupSID()¶ Test that fields get their default values.
- 
testMustHaveObjectClass()¶ Test that Autofill_samba fails unless object is a sambaSamAccount.
- 
testSambaPrimaryGroupSID()¶ Test that sambaPrimaryGroupSID field is updated based on gidNumber.
- 
testSambaPrimaryGroupSID_notUpdatedWhenFixed()¶ Test that sambaPrimaryGroupSID field is updated based on gidNumber.
- 
testSambaPrimaryGroupSID_preExisting()¶ Test that sambaPrimaryGroupSID field is updated based on gidNumber.
- 
testSambaSID()¶ Test that sambaSID field is updated based on uidNumber.
- 
testSambaSID_preExisting()¶ Test that sambaSID field is updated based on uidNumber.
-