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

 
 

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

Submitted by:  None
Submitted on:  Tue 21 Jun 2011 04:21:19 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 4 - ImportantStatus: Confirmed
Privacy: PublicAssigned to: Werner Baumann <wbaumann>
Originator Email: -unavailable-Open/Closed: Closed
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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.

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
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

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 25 Jun 2011 04:39:19 PM UTCwbaumannReassign Itemdavfs2, sr #107725=>davfs2, bug #33644
    Sat 25 Jun 2011 04:38:26 PM UTCwbaumannStatusNone=>Confirmed
      Assigned toNone=>wbaumann
    Tue 21 Jun 2011 04:21:19 PM UTCNoneAttached File-=>Added getgroups.diff, #23546

    Back to the top


    Powered by Savane 3.1-cleanup