[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 <ext-senthil.muthukalai@nokia.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Unable to add a group to a |Unable to add an LDAP group |project |to a project -- 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#c1 --- Comment #1 from vivian zhang <vivian.zhang@intel.com> 2010-12-29 08:10:17 UTC --- Tried yast2 ldap/ldap-brower/ldap-server, failed to find the default group settings. Could you try #ldapsearch -b "dc=xx,dc=xx" -D "xxxxx" -W to list all entries of your LDAP directory and attch the ldapg1 and ldapu1 entry here? -- 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#c2 --- Comment #2 from senthil kumar <ext-senthil.muthukalai@nokia.com> 2010-12-29 16:19:09 UTC --- 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. -- 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#c3 --- Comment #3 from vivian zhang <vivian.zhang@intel.com> 2010-12-30 08:32:06 UTC --- (In reply to comment #2)
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 <ext-senthil.muthukalai@nokia.com> 2010-12-30 16:08:14 UTC --- Created an attachment (id=406599) --> (http://bugzilla.novell.com/attachment.cgi?id=406599) LDAP user setup -- 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#c5 --- Comment #5 from senthil kumar <ext-senthil.muthukalai@nokia.com> 2010-12-30 16:08:29 UTC --- 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. -- 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#c6 --- Comment #6 from vivian zhang <vivian.zhang@intel.com> 2011-01-01 14:33:37 UTC --- Created an attachment (id=406683) --> (http://bugzilla.novell.com/attachment.cgi?id=406683) my ldap user group -- 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#c7 --- Comment #7 from vivian zhang <vivian.zhang@intel.com> 2011-01-01 14:36:40 UTC --- (In reply to comment #5)
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 <ext-senthil.muthukalai@nokia.com> 2011-01-03 10:43:42 UTC --- Created an attachment (id=406726) --> (http://bugzilla.novell.com/attachment.cgi?id=406726) logs logs -- 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#c9 --- Comment #9 from vivian zhang <vivian.zhang@intel.com> 2011-01-04 14:55:06 UTC --- Thanks for your log, but seems "tail production.log" doesn't provide enough info. Could you help to grep "unknown group" in production.log and attach the context? -- 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#c10 --- Comment #10 from senthil kumar <ext-senthil.muthukalai@nokia.com> 2011-01-04 19:17:39 UTC --- The logs were tailed live when the issue was seen. I noticed this and that's why I attached the other log too which had some relevant messages when the issue was reproduced. -- 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#c11 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #11 from Adrian Schröter <adrian@suse.com> 2012-04-03 12:59:39 UTC --- sorry we do not provide support for the LDAP feature with openSUSE. Please contact our partner B1-Systems for support on it. -- 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.
participants (1)
-
bugzilla_noreply@novell.com