maindavfs2 - Support: sr #107725, Reassigned to another tracker...

 
 

sr #107725: Reassigned to another tracker [was: check for group membership does not work in any case]

Submitter:  None
Submitted:  Tue 21 Jun 2011 04:21:19 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  4 - Important Status:  Confirmed
Privacy:  Public Assigned to:  _71007
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 25 Jun 2011 04:39:19 PM UTC, comment #2: 

THIS ITEM WAS REASSIGNED TO BUG #33644


Please, do not post any new comments to this item.

- <_71007>
Sat 25 Jun 2011 04:38:26 PM UTC, comment #1: 

Thanks for the report and the patch and sorry for the delayed answer (I always intended to answer first thing next day).

Because of portability issues with seteuid I want to reorganize all the code that deals with the persona of the process. When doing this I will follow your advice and use getgroups.

I will move this item to the bug tracker so I will not forgett about it.

Cheers
Werner

- <_71007>
Tue 21 Jun 2011 04:21:19 PM UTC, original submission:  

THIS ITEM WAS REASSIGNED TO BUG #33644
In my case the davfs2 group is added via pam_group.so

This results in an empty list as getgrent result.

Everything works fine however if getgroups is used instead of getgrent for checking group memberships.

The attached patch is doing exactly this.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by _71007 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-06-25 _71007 Reassign Itemdavfs2, sr #107725 davfs2, bug #33644
    2011-06-25 _71007 StatusNone Confirmed
        Assigned toNone _71007
    2011-06-21 None Attached File- Added getgroups.diff, #23546

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code