mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3-passdb: added pdb_samba4
This uses direct LDB operations and calls to the dsdb library to allow passdb operations (such as pdbedit and smbpasswd) offline, and uses transactions internally for database consistency. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
This commit is contained in:
parent
25cfa29e29
commit
a47c7f6b4c
2113
source3/passdb/pdb_samba4.c
Normal file
2113
source3/passdb/pdb_samba4.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -46,3 +46,13 @@ bld.SAMBA3_MODULE('pdb_wbc_sam',
|
||||
init_function='',
|
||||
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_wbc_sam'),
|
||||
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_wbc_sam'))
|
||||
|
||||
bld.SAMBA3_MODULE('pdb_samba4',
|
||||
subsystem='pdb',
|
||||
source='pdb_samba4.c',
|
||||
init_function='',
|
||||
deps='IDMAP samdb',
|
||||
allow_undefined_symbols=False,
|
||||
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_samba4'),
|
||||
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_samba4'))
|
||||
|
||||
|
@ -1699,6 +1699,9 @@ main() {
|
||||
default_static_modules.extend(TO_LIST('pdb_ads auth_netlogond'))
|
||||
default_shared_modules.extend(TO_LIST('charset_weird perfcount_test'))
|
||||
|
||||
if conf.env.toplevel_build:
|
||||
default_static_modules.extend(TO_LIST('pdb_samba4 auth_samba4'))
|
||||
|
||||
if Options.options.with_acl_support and conf.CONFIG_SET('HAVE_POSIX_ACLS'):
|
||||
default_static_modules.extend(TO_LIST('vfs_posixacl'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user