diff options
Diffstat (limited to 'ipalib/plugins/baseldap.py')
-rw-r--r-- | ipalib/plugins/baseldap.py | 4 |
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 = ['*'] |