odx

Q: Group Members cannot access Wiki

i have set up my os x server (10.8) for Wiki usage. Users and Groups are in general network users and groups.

 

When i setup a Wiki and afterwards grant permissions to a specific group, the members of that groupd still cannot access that wiki.

 

When i choose to setup a wiki for a group in group management its working fine. But also changes to the default permissions do not take effect.

 

Any idea what might be the issue here or how to figure it out?

Mac mini, OS X Server

Posted on Aug 14, 2013 6:00 AM

Close

Q: Group Members cannot access Wiki

  • All replies
  • Helpful answers

  • by odx,

    odx odx Aug 14, 2013 7:19 AM in response to odx
    Level 1 (5 points)
    Safari
    Aug 14, 2013 7:19 AM in response to odx

    Ok, i have tested a bit more and discovered that it was only broken for a specific user group.

     

    I previously had a local group with the same name which i deleted and replaced by a open directory group. This group did not work. No matter if i tried to completely remove it.

     

    Picking another group name solved the issue for the instance. Allthough i would have prefered the other name.

  • by odx,

    odx odx Dec 10, 2013 3:34 AM in response to odx
    Level 1 (5 points)
    Safari
    Dec 10, 2013 3:34 AM in response to odx

    Any one else having troubles like this?

     

    After Mavericks Update i had to rebuild my Open Directory Server from scratch... Now of course all my groups are recreated and i run into this issue again.

  • by odx,Solvedanswer

    odx odx Jan 7, 2014 11:17 PM in response to odx
    Level 1 (5 points)
    Safari
    Jan 7, 2014 11:17 PM in response to odx

    After recreation of the groups their UUID will be different.

     

    The very first time a group is used in the wiki server it copies the group name along with the UUID into the collab database.

     

    - Open Server App an select from menu: Tools -> Directory Services

    - Browse the "Groups" and compare the "GeneratedID" of the groups with the data in the database

    - To open the wiki database type in Terminal: sudo psql -h "/Library/Server/Wiki/PostgresSocket" --username=collab

    - Update the group IDs in the database that are not correct

  • by outofajam,

    outofajam outofajam Apr 15, 2014 1:29 AM in response to odx
    Level 1 (0 points)
    Apr 15, 2014 1:29 AM in response to odx

    Some folks might not know how exactly to edit the database and correct the UID's. I did a little write up here:

     

    http://www.outofajam.net/blog/2014/04/15/group-members-cant-access-os-x-server-w iki-or-users-and-groups-cant-be-added/

     

    The essence, though, is this:

     

    After you follow the instructions by ODX up above, type

     

    SELECT * FROM groups;

     

    This will show you all of the entries in 'groups'.

     

    Then, type in:

     

    UPDATE groups SET group_id = ‘NEW-GROUP-ID’ WHERE group_id = ‘OLD-GROUP-ID’;

     

    After that, you should be set. You'll want to make sure to do this for each group where the UID might not be correct.