<div dir="ltr"><div>Thanks. Referring to dtd, I need to add<br><br> <user><br> <uid>gauravj</uid><br> <guid>gauravj</guid><br> <email-address><a href="mailto:gauravj@example.com">gauravj@example.com</a></email-address><br> <password>test</password><br> <name>Gaurav Jain</name><br> <first-name>Gaurav</first-name><br> <last-name>Jain</last-name><br> <members><br> <member type="groups">group01</member><br> </members><br> </user><br><br><br></div><div>That means just creating a group with members is not sufficient. Needed to explicitly specify which<br><br></div><div>* which members a group has<br></div><div>* which groups a user belong to.<br><br></div><div>I hope my understanding is correct.<br><br><br></div><div>Regards,</div><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 5, 2014 at 12:22 PM, Andre LaBranche <span dir="ltr"><<a href="mailto:dre@apple.com" target="_blank">dre@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>To check your accounts.xml configuration, probably the best documentation is:</div><div><br></div><div><a href="http://trac.calendarserver.org/browser/CalendarServer/trunk/conf/auth/accounts-test.xml" target="_blank">http://trac.calendarserver.org/browser/CalendarServer/trunk/conf/auth/accounts-test.xml</a></div><div><br></div><div>and</div><div><br></div><div><a href="http://trac.calendarserver.org/browser/CalendarServer/trunk/conf/auth/accounts.dtd" target="_blank">http://trac.calendarserver.org/browser/CalendarServer/trunk/conf/auth/accounts.dtd</a></div><div><br></div><div>-dre</div><div><br><div><blockquote type="cite"><div><div class="h5"><div>On Dec 5, 2014, at 12:15 PM, Gaurav Jain <<a href="mailto:monkeyfdude@gmail.com" target="_blank">monkeyfdude@gmail.com</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr"><div>I did try that:<br><br></div><div>For <a href="http://localhost:8008/principals/groups/group01/" target="_blank">http://localhost:8008/principals/groups/group01/</a><br><br><pre>Group members:
-> <a href="http://localhost:8008/principals/__uids__/cdaboo/" target="_blank">(users)cdaboo - Cyrus Daboo</a>
-> <a href="http://localhost:8008/principals/__uids__/sagen/" target="_blank">(users)sagen - Morgen Sagen</a><br><br><br>For <a href="http://localhost:8008/principals/users/cdaboo/" target="_blank">http://localhost:8008/principals/users/cdaboo/</a><br><br>Group members:
'()
Group memberships:
'()<br><br><br></pre><pre>I only specified 'members' in a 'group'.<br><br></pre><pre>Do I also need to specify 'memberships' for a 'user'?<br><br></pre><pre>Could you also please point me to any doc around this?<br><br><br></pre><pre>Thanks again!<br></pre><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 5, 2014 at 12:10 PM, Cyrus Daboo <span dir="ltr"><<a href="mailto:cdaboo@apple.com" target="_blank">cdaboo@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Gaurav,<div><div><br>
<br>
--On December 5, 2014 at 11:51:11 AM -0800 Gaurav Jain <<a href="mailto:monkeyfdude@gmail.com" target="_blank">monkeyfdude@gmail.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've set up a group consisting of two members.<br>
<br>
<group><br>
<uid>testGroup</uid><br>
<password>testGroup</password><br>
<name>Test Group</name><br>
<members><br>
<member type="users">cdaboo</member><br>
<member type="users">sagen</member><br>
</members><br>
<guid>734BB9B0</guid><br>
</group><br>
<br>
<br>
On the client, I need to know which groups user 'cdaboo' belongs to?<br>
<br>
I tried 'allprop' for '/principals/users/cdaboo/' but it did not return<br>
any group.<br>
</blockquote>
<br></div></div>
Pull up /principals/users/xxxx/ in a web browser. You should see a DAV:membership property listing the groups that principal is a member of. Note that "allprop" does not return all properties! Some properties are explicitly defined to not appear in "allprop".<span><font color="#888888"><br>
<br>
-- <br>
Cyrus Daboo<br>
<br>
</font></span></blockquote></div><br></div></div></div>
_______________________________________________<br>calendarserver-users mailing list<br><a href="mailto:calendarserver-users@lists.macosforge.org" target="_blank">calendarserver-users@lists.macosforge.org</a><br><a href="https://lists.macosforge.org/mailman/listinfo/calendarserver-users" target="_blank">https://lists.macosforge.org/mailman/listinfo/calendarserver-users</a><br></div></blockquote></div><br></div></div></blockquote></div><br></div>