failures in passwords.py

Nadezhda Ivanova nivanova at samba.org
Mon Jun 28 06:14:07 MDT 2010


Hello Matthias,
When I run the tests in passwords.py against a Win2008 R1, some of the tests
fail, and I don't think this has anything to do with dsHeuristics, which you
fixed. Attached is the outpit so you can see what is failing. Any idea why
this happens?

Regards,
Nadya
-------------- next part --------------
test: __main__.PasswordTests.test_clearTextPassword_clear_change
Performs a password cleartext change operation on 'clearTextPassword'
successful: __main__.PasswordTests.test_clearTextPassword_clear_change
test: __main__.PasswordTests.test_clearTextPassword_clear_set
Performs a password cleartext set operation on 'clearTextPassword'
successful: __main__.PasswordTests.test_clearTextPassword_clear_set
test: __main__.PasswordTests.test_dBCSPwd_hash_change
Performs a password hash change operation on 'dBCSPwd' which should be prevented
successful: __main__.PasswordTests.test_dBCSPwd_hash_change
test: __main__.PasswordTests.test_dBCSPwd_hash_set
Performs a password hash set operation on 'dBCSPwd' which should be prevented
successful: __main__.PasswordTests.test_dBCSPwd_hash_set
test: __main__.PasswordTests.test_failures
Performs some failure testing
error: __main__.PasswordTests.test_failures [
_StringException: Text attachment: traceback
------------
Traceback (most recent call last):
  File "bin/python/samba/../../../../lib/testtools/testtools/runtest.py", line 129, in _run_user
    return fn(*args)
  File "bin/python/samba/../../../../lib/testtools/testtools/testcase.py", line 406, in _run_test_method
    testMethod()
  File "lib/ldb/tests/python/passwords.py", line 499, in test_failures
    """)
  File "bin/python/samba/__init__.py", line 228, in modify_ldif
    self.modify(msg, controls)
LdbError: (19, 'LDAP error 19 LDAP_CONSTRAINT_VIOLATION -  <0000052D: AtrErr: DSID-03190F1B, #1:\n\t0: 0000052D: DSID-03190F1B, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9005a (unicodePwd)\n> <>')
------------

]
test: __main__.PasswordTests.test_unicodePwd_clear_change
Performs a password cleartext change operation on 'unicodePwd'
error: __main__.PasswordTests.test_unicodePwd_clear_change [
_StringException: Text attachment: traceback
------------
Traceback (most recent call last):
  File "bin/python/samba/../../../../lib/testtools/testtools/runtest.py", line 129, in _run_user
    return fn(*args)
  File "bin/python/samba/../../../../lib/testtools/testtools/testcase.py", line 406, in _run_test_method
    testMethod()
  File "lib/ldb/tests/python/passwords.py", line 162, in test_unicodePwd_clear_change
    """)
  File "bin/python/samba/__init__.py", line 228, in modify_ldif
    self.modify(msg, controls)
LdbError: (19, 'LDAP error 19 LDAP_CONSTRAINT_VIOLATION -  <0000052D: AtrErr: DSID-03190F1B, #1:\n\t0: 0000052D: DSID-03190F1B, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9005a (unicodePwd)\n> <>')
------------

]
test: __main__.PasswordTests.test_unicodePwd_clear_set
Performs a password cleartext set operation on 'unicodePwd'
successful: __main__.PasswordTests.test_unicodePwd_clear_set
test: __main__.PasswordTests.test_unicodePwd_hash_change
Performs a password hash change operation on 'unicodePwd' which should be prevented
successful: __main__.PasswordTests.test_unicodePwd_hash_change
test: __main__.PasswordTests.test_unicodePwd_hash_set
Performs a password hash set operation on 'unicodePwd' which should be prevented
successful: __main__.PasswordTests.test_unicodePwd_hash_set
test: __main__.PasswordTests.test_userPassword_clear_change
Performs a password cleartext change operation on 'userPassword'
error: __main__.PasswordTests.test_userPassword_clear_change [
_StringException: Text attachment: traceback
------------
Traceback (most recent call last):
  File "bin/python/samba/../../../../lib/testtools/testtools/runtest.py", line 129, in _run_user
    return fn(*args)
  File "bin/python/samba/../../../../lib/testtools/testtools/testcase.py", line 406, in _run_test_method
    testMethod()
  File "lib/ldb/tests/python/passwords.py", line 232, in test_userPassword_clear_change
    """)
  File "bin/python/samba/__init__.py", line 228, in modify_ldif
    self.modify(msg, controls)
LdbError: (19, 'LDAP error 19 LDAP_CONSTRAINT_VIOLATION -  <0000052D: AtrErr: DSID-03190F1B, #1:\n\t0: 0000052D: DSID-03190F1B, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9005a (unicodePwd)\n> <>')
------------

]
test: __main__.PasswordTests.test_userPassword_clear_set
Performs a password cleartext set operation on 'userPassword'
successful: __main__.PasswordTests.test_userPassword_clear_set


More information about the samba-technical mailing list