[CalendarServer-users] XLM directoryservice not being cooperative?

Guillaume Tamboise gtamboise at gmail.com
Sun Aug 9 00:52:23 PDT 2009


Hello,

I have recently installed calendarserver 1.2 on Debian lenny, client  
software being ical 3.0.8 running on Leopard.
I have created two users in accounts.xml, as well as a group account  
that includes both of them.
The SSL setup in caldavd.plist was a breeze.
I kept an "empty" sudoers.plist, as I am not sure that I need that  
feature.

Both individual users are happy campers: they can create calendars,  
add events, remove events.
However, none of them seem to be able to interact with the other one.

The kind of interaction I have been trying is delegation: ical  
preferences > accounts > delegation > edit > + > type "user1" > done
leads to "cannot enable access to your account. "user1" was not found"".

Same sort of problem when I create a new event, click on "add  
attendees", type "user1" and end up with an exclamation mark close to  
"user1".
On the server side, the error.log looks like this:
2009-08-09 09:25:24+0200 [-] [caldav-8443]  [-] "No principal for  
calendar user address: 'invalid:nomail'"
2009-08-09 09:25:24+0200 [-] [caldav-8443]  [-] 'No schedulable  
principal for calendar user address: invalid:nomail'
2009-08-09 09:25:24+0200 [-] [caldav-8443]  [-] 'Error during POST for  
invalid:nomail: None'


Any specific place I should be looking at?

Thanks for any comment/suggestion






sudoers.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd 
">
<plist version="1.0">
<dict>
<key>users</key>
<array>
</array>
</dict>
</plist>



Anonymized accounts.xml:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE accounts SYSTEM "accounts.dtd">
<accounts realm="TheRealm">
   <user>
     <uid>user1</uid>
     <password>user1password</password>
     <name>User1</name>
     <cuaddr>mailto:user1 at example.com</cuaddr>
   </user>
   <user>
     <uid>user2</uid>
     <password>user2password</password>
     <name>User2</name>
     <cuaddr>mailto:user2 at example.com</cuaddr>
   </user>
   <group>
     <uid>both</uid>
     <password>bothpassword</password>
     <name>BothofThem</name>
     <members>
       <member type="users">user1</member>
       <member type="users">user2</member>
     </members>
   </group>
</accounts>



Directory service in my caldavd.plist:

   <key>DirectoryService</key>
   <dict>
     <key>type</key>
     <string>twistedcaldav.directory.xmlfile.XMLDirectoryService</ 
string>

     <key>params</key>
     <dict>
       <key>xmlFile</key>
       <string>/etc/caldavd/accounts.xml</string>
     </dict>
   </dict>




More information about the calendarserver-users mailing list