summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/baseldap.py
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-10-26 10:26:06 -0400
committerSimo Sorce <ssorce@redhat.com>2010-10-28 07:58:31 -0400
commitc51ce61e4d295cc49a28768231a8d72d9a78f45b (patch)
tree6d36bfbfbd5f8a35fcdcb4c1ecb258c48de8fcc7 /ipalib/plugins/baseldap.py
parent1bfd0f87917cfcab206c6d7da32ce507ef1d7eea (diff)
downloadfreeipa-c51ce61e4d295cc49a28768231a8d72d9a78f45b.tar.gz
freeipa-c51ce61e4d295cc49a28768231a8d72d9a78f45b.tar.xz
freeipa-c51ce61e4d295cc49a28768231a8d72d9a78f45b.zip
UUIDs: remove uuid python plugin and let DS always autogenerate
merge in remove uuid
Diffstat (limited to 'ipalib/plugins/baseldap.py')
-rw-r--r--ipalib/plugins/baseldap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/baseldap.py b/ipalib/plugins/baseldap.py
index caa616a79..2445ef7fa 100644
--- a/ipalib/plugins/baseldap.py
+++ b/ipalib/plugins/baseldap.py
@@ -23,7 +23,7 @@ Base classes for LDAP plugins.
import re
import json
-from ipalib import crud, errors, uuid
+from ipalib import crud, errors
from ipalib import Method, Object
from ipalib import Flag, Int, List, Str
from ipalib.base import NameSpace
@@ -266,7 +266,7 @@ class LDAPCreate(CallbackInterface, crud.Create):
)
if self.obj.uuid_attribute:
- entry_attrs[self.obj.uuid_attribute] = str(uuid.uuid1())
+ entry_attrs[self.obj.uuid_attribute] = 'autogenerate'
if options.get('all', False):
attrs_list = ['*']