Re: [CalendarServer-users] Has UID/GUID syntax changed from CalendarServer-5.2.2 to 6.0

2015-06-02 Thread Peter Mogensen
On 2015-06-02 19:59, Andre LaBranche wrote: Hi, I don’t think I said that UID isn’t required, I said GUID isn’t required. I just verified that a record with no ‘guid’ attribute and a ‘uid’ value of ‘foo’ works fine, using either e.g. /principals/users/foo or /principals/__uids__/foo. -dre

Re: [CalendarServer-users] Has UID/GUID syntax changed from CalendarServer-5.2.2 to 6.0

2015-06-02 Thread Andre LaBranche
… but my understanding of how short name is used was probably wrong. /principals/users/foo works where shortname is foo, not where uid is foo. -dre > On Jun 2, 2015, at 10:59 AM, Andre LaBranche wrote: > > Hi, > > I don’t think I said that UID isn’t required, I said GUID isn’t required. I >

Re: [CalendarServer-users] Has UID/GUID syntax changed from CalendarServer-5.2.2 to 6.0

2015-06-02 Thread Andre LaBranche
Hi, I don’t think I said that UID isn’t required, I said GUID isn’t required. I just verified that a record with no ‘guid’ attribute and a ‘uid’ value of ‘foo’ works fine, using either e.g. /principals/users/foo or /principals/__uids__/foo. -dre > On Jun 2, 2015, at 7:43 AM, Peter Mogensen w

Re: [CalendarServer-users] Has UID/GUID syntax changed from CalendarServer-5.2.2 to 6.0

2015-06-02 Thread Peter Mogensen
I happened to read this: https://lists.macosforge.org/pipermail/calendarserver-users/2015-March/002580.html *Andre LaBranche wrote:* The path component in /calendars/users/ is the UID value from the user record, which typically looks like a shortname. You can also use /principals/__uids_

Re: [CalendarServer-users] Has UID/GUID syntax changed from CalendarServer-5.2.2 to 6.0

2015-03-18 Thread Andre LaBranche
Hi, The path component in /calendars/users/ is the UID value from the user record, which typically looks like a shortname. You can also use /principals/__uids__/, where the missing component is the GUID. In cases where GUID is not specified in the record, the UID value appears to be us

Re: [CalendarServer-users] Has UID/GUID syntax changed from CalendarServer-5.2.2 to 6.0

2015-03-18 Thread Gaurav Jain
Thank you very much for clarifications. I have one more question, for GET requests what is the identifier for the user is it UID, GUID, short-name or emailAdress?? I mean in following URL /calendars/users/_$/calendar...what is the value of $ in DCS 6.0??? On Wed, Mar 18, 2015

Re: [CalendarServer-users] Has UID/GUID syntax changed from CalendarServer-5.2.2 to 6.0

2015-03-18 Thread Andre LaBranche
Hi, This is OK: dre 1042----0001 dre dre Andre LaBranche d...@apple.com e.g. andre@xomg [~/cs] % ./bin/calendarserver_manage_principals --search dre 1 matches found: Andre LaBranche (user) UID: dre Record name: dre Email: d...@apple.co

Re: [CalendarServer-users] Has UID/GUID syntax changed from CalendarServer-5.2.2 to 6.0

2015-03-18 Thread Gaurav Jain
Full Stacktrace Traceback (most recent call last): File "/var/caldav/CalendarServer-6.0/.develop/virtualenv/local/lib/python2.7/site-packages/twisted/internet/_baseprocess.py", line 60, in maybeCallProcessEnded proto.processEnded(Failure(reason)) File "/var/

[CalendarServer-users] Has UID/GUID syntax changed from CalendarServer-5.2.2 to 6.0

2015-03-18 Thread Gaurav Jain
This was a valid XML in CalendarServer-5.2.2. It used to be 'user' now its 'record' I could have a UID as 'gauravj' 0C8BDE62-E600-4696-83D3-8B5ECABDFD2E 0C8BDE62-E600-4696-83D3-8B5ECABDFD2E admin admin Super User ad...@example.com *gauravjgauravj som