1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/pam_smbpass/wscript_build
Andrew Tridgell 356a2cc0b0 s3-waf: the passdb subsystem needs to be called pdb
the 'pdb' name is builtin to the passdb module loading code as a fixed
string. We need to call the subsystem pdb so that external passdb
modules end up in bin/modules/pdb/ where they can be found by the
Samba3 module loader

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-28 15:20:51 +10:00

14 lines
463 B
Python

#!/usr/bin/env python
if bld.CONFIG_SET('WITH_PAM_MODULES'):
bld.SAMBA3_LIBRARY('pamsmbpass',
source='''pam_smb_auth.c
pam_smb_passwd.c
pam_smb_acct.c
support.c''',
deps='''tdb talloc pam PAM_ERRORS wbclient cap asn1util param pdb SMBLDAP
LIBNTLMSSP LIBTSOCKET''',
cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
realname='pam_smbpass.so',
)