Hi! Question: guids in the accounts.xml configuration file are globally unique, ok. But what about the uids? Do group and user uids use the same "name space"? Can there be a group with uid "admin" and a user with uid "admin"? I was not able to find any docu about this. Greetings, Dirk
generally speaking... GID and UID should always be unique... In calendar server this is also true... I can see no reason why you'd want to have them the same. The calendar server users the UID to identify the object (user or group) the event is referring to.. If they are not unique then the results are likely to be unexpected. ---Guy On 23 Nov 2009, at 10:06, Dirk wrote:
Hi!
Question: guids in the accounts.xml configuration file are globally unique, ok. But what about the uids? Do group and user uids use the same "name space"? Can there be a group with uid "admin" and a user with uid "admin"? I was not able to find any docu about this.
Greetings, Dirk _______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
Ahh..... these are taken from the user & groups in the OS, and the OS has NO limit on this, so UID is only uniqe within each part: Users & Groups. There is nothing stopping you from having a 'admin' user AND a 'admin' group. Actually, OS X does this aaaaallllll.. the time! -- Jakob Peterhänsel "Be a part of the Love Generation - carry a smile, not a gun." - JP, May 2006 AIM: Marook Phone: +45 30787715 On 23/11/2009, at 11.22, Guy wrote:
generally speaking... GID and UID should always be unique... In calendar server this is also true... I can see no reason why you'd want to have them the same.
The calendar server users the UID to identify the object (user or group) the event is referring to.. If they are not unique then the results are likely to be unexpected.
---Guy
On 23 Nov 2009, at 10:06, Dirk wrote:
Hi!
Question: guids in the accounts.xml configuration file are globally unique, ok. But what about the uids? Do group and user uids use the same "name space"? Can there be a group with uid "admin" and a user with uid "admin"? I was not able to find any docu about this.
Greetings, Dirk _______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
If you have two entries with the same UID then you don't know which one it'll pick.. so when you search for a user during free busy you don't know if it'll return the user account or a group.. Same thing when doing ACLs.. I would recommend strongly against doing this... even if DarwinCalendar server does have some way to determine which to pick.. it'll only cause confusion to humans down the line. --Guy On 23 Nov 2009, at 12:58, Dirk wrote:
Hi!
There is nothing stopping you from having a 'admin' user AND a 'admin' group. Actually, OS X does this aaaaallllll.. the time!
Hmmm, two replies, two different answers. Can anybody familiar with the code comment on the consequences?
Greetings, Dirk
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
participants (3)
-
Dirk
-
Guy
-
Jakob Peterhänsel