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 5:50 AM

Reply
4 replies

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.

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

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.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Group Members cannot access Wiki

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.