|
Bugzilla – Full Text Bug Listing |
| Summary: | YaST2 does not process ldap groups properly | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | Waldemar Spitz <wspitz> |
| Component: | YaST2 | Assignee: | Jiří Suchomel <jsuchome> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Critical | ||
| Priority: | P5 - None | CC: | jsuchome |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | openSUSE 11.1 | ||
| Whiteboard: | maint:released:11.1:25151 maint:released:sle11:25150 | ||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
patch for /usr/share/YaST2/modules/Ldap.ycp and /usr/share/YaST2/include/ldap/ui.ycp
solves the first problem solves the second problem patch for /usr/share/YaST2/modules/Ldap.ycp and /usr/share/YaST2/include/ldap/ui.ycp |
||
|
Description
Waldemar Spitz
2009-06-04 11:02:12 UTC
Created attachment 296218 [details]
patch for /usr/share/YaST2/modules/Ldap.ycp and /usr/share/YaST2/include/ldap/ui.ycp
Your patches are not here yet, I tried to create mine: could you test if they work? After patching Ldap.ycp it is necessary to call 'ycpc -c Ldap.ycp'.
Created attachment 296341 [details]
solves the first problem
Created attachment 296342 [details]
solves the second problem
Will test your patches as soon as possible Now I have tested your patches, but unfortunately they did not work. In first case the problem is, that the LdapAgent::getGroupEntry method in LdapAgent.cc (see yast2-ldap sources) passes the group members in a 'uniqueMember' list to YaST but YaST expects they in an 'uniquemember' hash. In second case YaST stores the members of a new group in a 'uniquemember' structure but checks (at /usr/share/YaST2/modules/UsersPluginLDAPAll.pm:250) the presence of required attribute 'uniqueMember'. I see. But I'd like to have a solution that correctly uses the original names, not lowercased ones. I hope next patch is correct. Created attachment 296474 [details]
patch for /usr/share/YaST2/modules/Ldap.ycp and /usr/share/YaST2/include/ldap/ui.ycp
This replaces the previous patch, but the change is only in Ldap.ycp part. Revert the old one and apply this one, or look into for changes and do the change manually.
After application of the latest Ldap.ycp patch YaST works correct. Both problems are solved. Thank you. The SWAMPID for this issue is 25147. Please submit the patch and patchinfo file using this ID. (https://swamp.suse.de/webswamp/wf/25147) Waldemar, thanks for your help and investigations! Update released for: yast2-ldap-client Products: openSUSE 11.1 (i586) Update released for: yast2-ldap-client Products: SLE-DESKTOP 11 (i386, x86_64) SLE-SERVER 11 (i386, ia64, ppc64, s390x, x86_64) |