Univention Bugzilla – Attachment 6404 Details for
Bug 35911
Traceback in proof_uniqueMembers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Test 52proofuniquemember passes with tracebacks
file_35911.txt (text/plain), 2.90 KB, created by
Dmitry Galkin
on 2014-11-18 11:30 CET
(
hide
)
Description:
Test 52proofuniquemember passes with tracebacks
Filename:
MIME Type:
Creator:
Dmitry Galkin
Created:
2014-11-18 11:30 CET
Size:
2.90 KB
patch
obsolete
>root@master:~# ./52proofuniquemember -f >info 2014-08-25 17:29:10 Create group and a member for it >Object created: cn=mykmbhad,cn=groups,dc=dgalkin,dc=dev >Object created: uid=uolbbgzr,cn=users,dc=dgalkin,dc=dev >info 2014-08-25 17:29:24 Deliberately create an inconsistency by deleting the uniqueMember group-attribute and thereby bringing the ldap attributes memberUid and uniqueMember out of sync. In a sane environment both of them would contain all the members of the group >info 2014-08-25 17:29:26 Object cn=mykmbhad,cn=groups,dc=dgalkin,dc=dev modified >info 2014-08-25 17:29:26 Let's see if proof_uniqueMembers finds it >Traceback (most recent call last): > File "/usr/share/univention-directory-manager-tools/proof_uniqueMembers", line 244, in <module> > main() > File "/usr/share/univention-directory-manager-tools/proof_uniqueMembers", line 234, in main > check_primary(conn, basedn) > File "/usr/share/univention-directory-manager-tools/proof_uniqueMembers", line 122, in check_primary > len(user_result), count_changes) > File "/usr/share/univention-directory-manager-tools/proof_uniqueMembers", line 43, in info > print msg % (args or kwargs) >IOError: [Errno 32] Broken pipe >info 2014-08-25 17:29:27 Deliberately create an inconsistency by deleting the group member. In a sane environment all the group members would exist >info 2014-08-25 17:29:27 EXECUTING: ldapdelete -r -x -D cn=admin,dc=dgalkin,dc=dev -y /etc/ldap.secret uid=uolbbgzr,cn=users,dc=dgalkin,dc=dev >info 2014-08-25 17:29:28 Successfully deleted ldap object >info 2014-08-25 17:29:28 Let's see if proof_uniqueMembers finds it >Warning: No member for DN 'uid=uolbbgzr,cn=users,dc=dgalkin,dc=dev', will be removed >Warning: No member for UID 'uolbbgzr', will be removed >Traceback (most recent call last): > File "/usr/share/univention-directory-manager-tools/proof_uniqueMembers", line 244, in <module> > main() > File "/usr/share/univention-directory-manager-tools/proof_uniqueMembers", line 235, in main > check_groups(conn, basedn) > File "/usr/share/univention-directory-manager-tools/proof_uniqueMembers", line 137, in check_groups > count_changes += check_groups_by_uid(conn, basedn, group_dn, group) > File "/usr/share/univention-directory-manager-tools/proof_uniqueMembers", line 201, in check_groups_by_uid > info("Removing member UID '%s' from '%s'", member_uid, group_dn) > File "/usr/share/univention-directory-manager-tools/proof_uniqueMembers", line 43, in info > print msg % (args or kwargs) >IOError: [Errno 32] Broken pipe >Object removed: cn=mykmbhad,cn=groups,dc=dgalkin,dc=dev >Starting 1 ucs-test at 2014-08-25 17:29:29 to /dev/null >Checking for Problems using proof_uniqueMembers.......................................................................................................................................................... Test passed >root@master:~#
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 35911
: 6404 |
6405