summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2012-09-13 15:40:31 +0300
committerAlexander Bokovoy <ab@samba.org>2012-09-13 17:36:07 +0200
commitbe7a856f5bd251dc84a72eb56cf011facd10988f (patch)
tree21824636e056ae3ad696e1ef9ec85236584a5aab /source3/passdb
parent915842333e641190035c2911940f08870abd221f (diff)
downloadsamba-be7a856f5bd251dc84a72eb56cf011facd10988f.tar.gz
samba-be7a856f5bd251dc84a72eb56cf011facd10988f.tar.bz2
samba-be7a856f5bd251dc84a72eb56cf011facd10988f.zip
s3: make ldapsam-related functions a smbldaphelper subsystem
Since these functions are used in pdb_ldap and idmap_ldap, and pdb_ldap might be statically linked to libpdb (default), it is better to keep them as separate subsystem to avoid polluting libpdb namespace. This is first step in refactoring libpdb. Right now I cannot move these functions into proper libsmbldaphelper as it uses more of libpdb-included functions and linking pdb_ldap against libsmbldaphelper library would have created a loop if pdb_ldap is included into libpdb. Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Thu Sep 13 17:36:07 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/wscript_build4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/wscript_build b/source3/passdb/wscript_build
index 1dfdfd0444..d26afc2a70 100644
--- a/source3/passdb/wscript_build
+++ b/source3/passdb/wscript_build
@@ -1,7 +1,7 @@
#!/usr/bin/env python
PDB_TDBSAM_SRC = 'pdb_tdb.c'
-PDB_LDAP_SRC = 'pdb_ldap.c pdb_nds.c pdb_ipa.c pdb_ldap_util.c'
+PDB_LDAP_SRC = 'pdb_ldap.c pdb_nds.c pdb_ipa.c'
PDB_SMBPASSWD_SRC = 'pdb_smbpasswd.c'
PDB_WBC_SAM_SRC = 'pdb_wbc_sam.c'
@@ -15,7 +15,7 @@ bld.SAMBA3_MODULE('pdb_tdbsam',
bld.SAMBA3_MODULE('pdb_ldap',
subsystem='pdb',
- deps='smbldap',
+ deps='smbldap smbldaphelper',
source=PDB_LDAP_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_ldap'),