[CalendarServer-users] Problem with directoryservices

Q q at tippett.com
Fri Jan 26 10:57:20 PST 2007


Hello,
 My name is Q and I am new to the project and I am having trouble with 
setting up the calendar server with directory services. My build went 
fine but when I use the run script with open directory services 
configured (works fine with XML)    I get:

__ log snip __
2007/01/26 11:33 -0700 [-] Log opened.
2007/01/26 11:33 -0700 [-] twistd 2.4.0+rUnknown 
(/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python 
2.4.3) starting up
2007/01/26 11:33 -0700 [-] reactor class: <class 
'twisted.internet.selectreactor.SelectReactor'>
2007/01/26 11:33 -0700 [-] "Unable to locate virtual host record: 
'module' object has no attribute 'kDS1AttrGeneratedUID'"
2007/01/26 11:33 -0700 [-] Traceback (most recent call last):
2007/01/26 11:33 -0700 [-]   File "/Developer/q/Twisted/bin/twistd", 
line 21, in ?
2007/01/26 11:33 -0700 [-]     run()
2007/01/26 11:33 -0700 [-]   File 
"/Developer/q/Twisted/twisted/scripts/twistd.py", line 27, in run
2007/01/26 11:33 -0700 [-]     app.run(runApp, ServerOptions)
2007/01/26 11:33 -0700 [-]   File 
"/Developer/q/Twisted/twisted/application/app.py", line 365, in run
2007/01/26 11:33 -0700 [-]     runApp(config)
2007/01/26 11:33 -0700 [-]   File 
"/Developer/q/Twisted/twisted/scripts/twistd.py", line 23, in runApp
2007/01/26 11:33 -0700 [-]     _SomeApplicationRunner(config).run()
2007/01/26 11:33 -0700 [-]   File 
"/Developer/q/Twisted/twisted/application/app.py", line 174, in run
2007/01/26 11:33 -0700 [-]     self.application = 
self.createOrGetApplication()
2007/01/26 11:33 -0700 [-]   File 
"/Developer/q/Twisted/twisted/application/app.py", line 219, in 
createOrGetApplication
2007/01/26 11:33 -0700 [-]     ser = plg.makeService(self.config.subOptions)
2007/01/26 11:33 -0700 [-]   File 
"/Developer/q/Calserver/twistedcaldav/tap.py", line 315, in makeService
2007/01/26 11:33 -0700 [-]     return serviceMethod(options)
2007/01/26 11:33 -0700 [-]   File 
"/Developer/q/Calserver/twistedcaldav/tap.py", line 155, in 
makeService_singleprocess
2007/01/26 11:33 -0700 [-]     baseDirectory = 
directoryClass(**config.DirectoryService['params'])
2007/01/26 11:33 -0700 [-]   File 
"/Developer/q/Calserver/twistedcaldav/directory/appleopendirectory.py", 
line 78, in __init__
2007/01/26 11:33 -0700 [-]     self._lookupVHostRecord()
2007/01/26 11:33 -0700 [-]   File 
"/Developer/q/Calserver/twistedcaldav/directory/appleopendirectory.py", 
line 117, in _lookupVHostRecord
2007/01/26 11:33 -0700 [-]     attrs = [
2007/01/26 11:33 -0700 [-] AttributeError: 'module' object has no 
attribute 'kDS1AttrGeneratedUID'
xserv:/Developer/q/Calserver root#

__ end log snip __

and here is the configs I have tried:

 <!--  Open Directory Service -->

  <key>DirectoryService</key>
  <dict>
    <key>type</key>
    
<string>twistedcaldav.directory.appleopendirectory.OpenDirectoryService</string>

    <key>params</key>
    <dict>
      <key>node</key>
      <string>/Search</string>
    </dict>
  </dict>


and

 <!--  Open Directory Service -->

  <key>DirectoryService</key>
  <dict>
    <key>type</key>
    
<string>twistedcaldav.directory.appleopendirectory.OpenDirectoryService</string>

    <key>params</key>
    <dict>
      <key>node</key>
      <string>/LDAPv3/ldap.tippett.com</string>
    </dict>
  </dict>






More information about the calendarserver-users mailing list