Hello again,

I want to try starting the server as described in http://websvn.openchange.org/filedetails.php?repname=openchange&path=%2Ftrunk%2Fdoc%2Fhowto.txt .

'Provision' and 'Extending Samba AD schema' works like charm.
When it comes to 'Extending Samba AD users' I want to init the db and I get the following error:

/etc/openchange/openchange# ./setup/openchange_provision --openchangedb
Setting up openchange db
Traceback (most recent call last):
  File "./setup/openchange_provision", line 63, in <module>
openchange.openchangedb_provision(lp, firstorg=opts.firstorg, firstou=opts.firstou) File "/usr/local/lib/python2.5/site-packages/openchange/provision.py", line 466, in openchangedb_provision
    openchange_ldb.setup()
File "/usr/local/lib/python2.5/site-packages/openchange/mailbox.py", line 57, in setup
    """)
File "/usr/local/samba/lib/python2.5/site-packages/samba/__init__.py", line 252, in add_ldif
    self.add(msg,controls)
_ldb.LdbError: (68, 'Entry @OPTIONS already exists')
/etc/openchange/openchange#

Looking at the source code (self.add(msg,controls)) I decided to print out the objects that are passed
to self.add when the error occures.
print msg
-> Message({'dn': Dn('@OPTIONS'), 'checkBaseOnSearch': MessageElement(['TRUE'])})
print controls
    -> None

Any ideas/solutions/experience ?

Another question, how can I delete users ? The ./setup/openchange_newuser --help does not show any options on how to do it.

Best
Marcus
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to