mirror of
https://github.com/samba-team/samba.git
synced 2025-07-05 04:59:08 +03:00
r26538: Pass path generation function around rather than base directory.
(This used to be commit 5f921af41e
)
This commit is contained in:
committed by
Stefan Metzmacher
parent
6e2459211d
commit
c2fffa8335
@ -29,8 +29,8 @@ class SamDB(samba.Ldb):
|
||||
modules_dir=None, lp=None):
|
||||
super(SamDB, self).__init__(session_info=session_info, credentials=credentials,
|
||||
modules_dir=modules_dir, lp=lp)
|
||||
misc.dsdb_set_global_schema(self)
|
||||
misc.ldb_register_samba_handlers(self)
|
||||
assert misc.dsdb_set_global_schema(self) == 0
|
||||
assert misc.ldb_register_samba_handlers(self) == 0
|
||||
if url:
|
||||
self.connect(url)
|
||||
|
||||
|
Reference in New Issue
Block a user