summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2012-01-12 15:06:25 +0100
committerGünther Deschner <gd@samba.org>2012-01-13 09:29:07 +0100
commit91c04ea04fd11eb82866336a9cedbcd45e8e87b6 (patch)
treecd1a927345a25d30c6d08ab7423c3a602ca05e4b
parent31d9b24eef6a7f7d1e5d97351df9bbab65fa0ef1 (diff)
downloadsamba-91c04ea04fd11eb82866336a9cedbcd45e8e87b6.tar.gz
samba-91c04ea04fd11eb82866336a9cedbcd45e8e87b6.tar.bz2
samba-91c04ea04fd11eb82866336a9cedbcd45e8e87b6.zip
s3-waf: fix compile of pdb_ldap as shared module by moving ldap schema helpers to libpdb.so
These helpers are used in other parts of Samba as well (like in idmap and in the net provision code). Guenther
-rw-r--r--source3/passdb/wscript_build2
-rwxr-xr-xsource3/wscript_build3
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/passdb/wscript_build b/source3/passdb/wscript_build
index dbf9707c6f..662cfd28c2 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_schema.c'
+PDB_LDAP_SRC = 'pdb_ldap.c pdb_nds.c pdb_ipa.c pdb_ldap_util.c'
PDB_ADS_SRC = 'pdb_ads.c'
PDB_SMBPASSWD_SRC = 'pdb_smbpasswd.c'
PDB_WBC_SAM_SRC = 'pdb_wbc_sam.c'
diff --git a/source3/wscript_build b/source3/wscript_build
index bddca32d52..f1787ab20a 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -230,7 +230,8 @@ PASSDB_SRC = '''${PASSDB_GET_SET_SRC} passdb/passdb.c
passdb/login_cache.c
passdb/account_pol.c ${PRIVILEGES_SRC}
lib/util_nscd.c lib/winbind_util.c ${SERVER_MUTEX_SRC}
- passdb/pdb_util.c passdb/pdb_interface.c'''
+ passdb/pdb_util.c passdb/pdb_interface.c
+ passdb/pdb_ldap_schema.c'''
#FIXME: lib/winbind_util.c probably is not part of PASSDB_SRC
GROUPDB_SRC = '''groupdb/mapping.c groupdb/mapping_tdb.c'''