mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
More work on making user-add use Backend.ldap
This commit is contained in:
@@ -25,10 +25,10 @@ This wraps the python-ldap bindings.
|
||||
|
||||
import ldap as _ldap
|
||||
from ipalib import api
|
||||
from ipalib.backend import Backend
|
||||
from ipalib.crud import CrudBackend
|
||||
|
||||
|
||||
class ldap(Backend):
|
||||
class ldap(CrudBackend):
|
||||
"""
|
||||
LDAP backend plugin.
|
||||
"""
|
||||
@@ -45,4 +45,7 @@ class ldap(Backend):
|
||||
self.api.env.basedn,
|
||||
)
|
||||
|
||||
def create(self, **kw):
|
||||
return kw
|
||||
|
||||
api.register(ldap)
|
||||
|
||||
Reference in New Issue
Block a user