==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    https://bugs.contribs.org/show_bug.cgi?id=9614

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

            Bug ID: 9614
           Summary: 500  - Internal Server Error : can not access Accounts
                    db
    Classification: Contribs
           Product: SME Contribs
           Version: 9.0
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-gitweb
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

when accessing from outside the network with auth:

500 - Internal Server Error 
Can't call method "get" on an undefined value at
/usr/lib/perl5/site_perl/esmith/GitDB.pm line 108.

the function 

tries to access the db acocunt as user www: my $record =
$accounts_db->get($group);

which is not posisble

one workaround is to chmod o+r this file, which is really bad practice.

one alternative is to create a template to create file

/home/e-smith/db/git_groups
with chown root:www
chmod 640

the template would extract all groups  and their user list from accounts db

offgroup=group|Members|cath,em,joe

another alternative I see would be to find a module to simply test if current
user is member of one group of the lsit with pam maybe...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to