dcerpc-gssapi: add function to retrieve client name
[Samba.git] / nsswitch / wscript_build
blobf458776f92f06f471ad6139de171b83f762a2453
1 #!/usr/bin/env python
3 bld.SAMBA_SUBSYSTEM('LIBWINBIND-CLIENT',
4 source='wb_common.c',
5 deps='replace',
6 cflags='-DSOCKET_WRAPPER_DISABLE=1 -DWINBINDD_SOCKET_DIR=\"%s\"' % bld.env.WINBINDD_SOCKET_DIR
10 bld.SAMBA_BINARY('nsstest',
11 source='nsstest.c',
12 deps='LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG NSS_WRAPPER'
16 bld.SAMBA_BINARY('wbinfo',
17 source='wbinfo.c',
18 deps='LIBSAMBA-UTIL LIBCLI_AUTH popt POPT_SAMBA LIBWINBIND-CLIENT LIBWBCLIENT tevent UTIL_TEVENT LIBASYNC_REQ UID_WRAPPER LIBSECURITY_COMMON LIBNDR NDR_SECURITY'
21 bld.SAMBA_LIBRARY('nsswinbind',
22 source='../nsswitch/winbind_nss_linux.c',
23 deps='LIBWINBIND-CLIENT',
24 realname='libnss_winbind.so',
25 vnum='2')
27 if bld.CONFIG_SET('HAVE_PAM_START'):
28 bld.SAMBA_LIBRARY('pamwinbind',
29 source='../nsswitch/pam_winbind.c',
30 deps='talloc LIBWBCLIENT LIBWINBIND-CLIENT LIBINIPARSER pam',
31 cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
32 realname='pam_winbind.so',