Changeset 20799


Ignore:
Timestamp:
2009-10-08T18:34:15+13:00 (13 years ago)
Author:
ak19
Message:

The wiki page on Authentication had a typo: authen_groups instead of the authen_group that the Greenstone server was expecting. Dr Bainbridge corrected this in the code which now 1. accepts both authen_group and authen_groups; 2. collectinfo struct is zeroed (cleared) in the constructor so it has no random values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/colservr/collectserver.cpp

    r17863 r20799  
    3131
    3232
    33 collectserver::collectserver () {
     33collectserver::collectserver ()
     34  : collectinfo()
     35{
    3436  configinfo.collection = "null";
    3537}
     
    217219
    218220    // What have we set for our group list
    219     else if (key == "auth_group") joinchar(cfgline,',',collectinfo.auth_group);
     221    else if ((key == "auth_group") || (key == "auth_groups")) joinchar(cfgline,',',collectinfo.auth_group);
    220222
    221223    // store all the mappings for use when collection meta is read later
Note: See TracChangeset for help on using the changeset viewer.