summaryrefslogtreecommitdiff
path: root/source3/winbindd/wscript_build
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@us.ibm.com>2013-02-21 12:32:37 -0700
committerAndrew Bartlett <abartlet@samba.org>2013-03-09 06:30:22 +0100
commit6aa739a21903d9013d6fbb45b9581f84a192b4d5 (patch)
treec9049e3fe93a002c2d542152c094d8772f523ce8 /source3/winbindd/wscript_build
parentad1fbe29fbeea48381c7bedd78f7a45d07ad14d5 (diff)
downloadsamba-6aa739a21903d9013d6fbb45b9581f84a192b4d5.tar.gz
samba-6aa739a21903d9013d6fbb45b9581f84a192b4d5.tar.bz2
samba-6aa739a21903d9013d6fbb45b9581f84a192b4d5.zip
s3-winbindd: Add new module idmap_rfc2307
This module allows querying id mappings from LDAP servers as described in RFC 2307. The LDAP records can be queried from an Active Directory Server or from a stand-alone LDAP server. Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/winbindd/wscript_build')
-rw-r--r--source3/winbindd/wscript_build10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/winbindd/wscript_build b/source3/winbindd/wscript_build
index 7e807272a9..aacd859680 100644
--- a/source3/winbindd/wscript_build
+++ b/source3/winbindd/wscript_build
@@ -1,6 +1,7 @@
#!/usr/bin/env python
IDMAP_AD_SRC = '''idmap_ad.c'''
+IDMAP_RFC2307_SRC = '''idmap_rfc2307.c'''
IDMAP_RID_SRC = '''idmap_rid.c'''
IDMAP_PASSDB_SRC = '''idmap_passdb.c'''
IDMAP_LDAP_SRC = '''idmap_ldap.c'''
@@ -43,6 +44,15 @@ bld.SAMBA3_MODULE('idmap_ad',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld.CONFIG_SET("HAVE_LDAP"))
+bld.SAMBA3_MODULE('idmap_rfc2307',
+ subsystem='idmap',
+ allow_undefined_symbols=True,
+ source=IDMAP_RFC2307_SRC,
+ init_function='',
+ deps='ads',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_rfc2307'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_rfc2307') and bld.CONFIG_SET("HAVE_LDAP"))
+
bld.SAMBA3_MODULE('idmap_rid',
subsystem='idmap',
allow_undefined_symbols=True,