summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/wscript2
-rw-r--r--source3/wscript_build2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/wscript b/source3/wscript
index b61d110667..54342d5371 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -264,7 +264,7 @@ utimensat vsyslog _write __write __xstat
conf.CHECK_SAMBA3_CHARSET() # see build/charset.py
- default_static_modules=TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam rpc_lsarpc rpc_samr
+ default_static_modules=TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam pdb_ldap rpc_lsarpc rpc_samr
rpc_winreg rpc_initshutdown rpc_dssetup rpc_wkssvc rpc_svcctl
rpc_ntsvcs rpc_netlogon rpc_netdfs rpc_srvsvc rpc_spoolss
rpc_eventlog auth_sam auth_unix auth_winbind auth_wbc auth_server
diff --git a/source3/wscript_build b/source3/wscript_build
index 90d1bb3a5f..2387d1564d 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -484,7 +484,7 @@ PASSDB_GET_SET_SRC = '''passdb/pdb_get_set.c'''
PDB_STATIC = ''
PDB_TDBSAM_SRC = 'passdb/pdb_tdb.c'
-PDB_LDAP_SRC = 'passdb/pdb_ldap.c'
+PDB_LDAP_SRC = 'passdb/pdb_ldap.c passdb/pdb_nds.c'
PDB_ADS_SRC = 'passdb/pdb_ads.c'
PDB_SMBPASSWD_SRC = 'passdb/pdb_smbpasswd.c'
PDB_WBC_SAM_SRC = 'passdb/pdb_wbc_sam.c'