[Bug 661457] New: Unable to add a group to a project
https://bugzilla.novell.com/show_bug.cgi?id=661457 https://bugzilla.novell.com/show_bug.cgi?id=661457#c0 Summary: Unable to add a group to a project Classification: Internal Novell Products Product: openSUSE Build Service Version: master Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: General AssignedTo: adrian@novell.com ReportedBy: ext-senthil.muthukalai@nokia.com QAContact: adrian@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3 Unable to add a group to a project - getting 'unknown group' webui error. Reproducible: Always Steps to Reproduce: 1. Create an LDAP user ldapu1 under an LDAP group ldapg1 2. Create a project prj1 as Admin 3. Login to OBS as ldapu1 4. Logout and login as Admin. 5. Edit the raw config of prj1 to include ldapg1 as maintainer. Actual Results: 'error saving package: unknown group' shown in webui. Expected Results: The group should be added to the project. In my ldap server, i have ldapg1 as the default group for ldapu1. and was getting that error on webui whenever i try to refer ldapg1. If i explicitly place ldapu1 under ldapg1, it works well. I used YaST to configure my LDAP server and create LDAP users & groups. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=661457
https://bugzilla.novell.com/show_bug.cgi?id=661457#c
senthil kumar
https://bugzilla.novell.com/show_bug.cgi?id=661457
https://bugzilla.novell.com/show_bug.cgi?id=661457#c1
--- Comment #1 from vivian zhang
https://bugzilla.novell.com/show_bug.cgi?id=661457
https://bugzilla.novell.com/show_bug.cgi?id=661457#c2
--- Comment #2 from senthil kumar
https://bugzilla.novell.com/show_bug.cgi?id=661457
https://bugzilla.novell.com/show_bug.cgi?id=661457#c3
--- Comment #3 from vivian zhang
Pls check Yast -> Security and Users -> User and Group Management -> Set Filter -> LDAP Users/Groups.
I have some issue with the command line interface that I get error. So cannot execute the command you mentioned.
Thanks for your clear clue. Tried to add ldapu1 group as you described, and include it as the maintainer, it works on my side. Then i assume the error is caused by the unproper gorup search config? This is my ldapg1 entry: dn: cn=ldapg1, dc=meego, dc=com cn: ldapg1 gidNumber: 1001 member: uid=vivian, dc=meego, dc=com objectClass: posixGroup objectClass: top objectClass: groupOfNames userPassword: xxxxxxxxxxxxxxxxx api/config/environments/production.rb LDAP_GROUP_SUPPORT=:on LDAP_GROUP_SEARCH_BASE="dc=meego,dc=com" LDAP_GROUP_TITLE_ATTR="cn" LDAP_GROUP_OBJECTCLASS_ATTR="groupOfNames" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=661457
https://bugzilla.novell.com/show_bug.cgi?id=661457#c4
--- Comment #4 from senthil kumar
https://bugzilla.novell.com/show_bug.cgi?id=661457
https://bugzilla.novell.com/show_bug.cgi?id=661457#c5
--- Comment #5 from senthil kumar
https://bugzilla.novell.com/show_bug.cgi?id=661457
https://bugzilla.novell.com/show_bug.cgi?id=661457#c6
--- Comment #6 from vivian zhang
https://bugzilla.novell.com/show_bug.cgi?id=661457
https://bugzilla.novell.com/show_bug.cgi?id=661457#c7
--- Comment #7 from vivian zhang
ok. Just explain me what is 'default group' and 'LDAP group' in Yast -> Security and Users -> User and Group Management -> Set Filter -> LDAP Users -> edit. Pls check the attached snapshot. Attached my config per your request. And this is my config data in api/config/environments/production.rb LDAP_GROUP_SUPPORT=:on LDAP_GROUP_SEARCH_BASE="ou=group,dc=meego,dc=com" LDAP_GROUP_TITLE_ATTR="cn" LDAP_GROUP_OBJECTCLASS_ATTR="posixGroup"
If it still doesn't work on your side, could you attach your api/log/production.log? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=661457
https://bugzilla.novell.com/show_bug.cgi?id=661457#c8
--- Comment #8 from senthil kumar
https://bugzilla.novell.com/show_bug.cgi?id=661457
https://bugzilla.novell.com/show_bug.cgi?id=661457#c9
--- Comment #9 from vivian zhang
https://bugzilla.novell.com/show_bug.cgi?id=661457
https://bugzilla.novell.com/show_bug.cgi?id=661457#c10
--- Comment #10 from senthil kumar
https://bugzilla.novell.com/show_bug.cgi?id=661457
https://bugzilla.novell.com/show_bug.cgi?id=661457#c11
Adrian Schröter
participants (1)
-
bugzilla_noreply@novell.com