s3-waf: Fix linking bugs causing segfaults.
authorAndreas Schneider <asn@samba.org>
Thu, 7 Jul 2011 12:59:51 +0000 (14:59 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 7 Jul 2011 14:50:05 +0000 (16:50 +0200)
As auth_util.c is linked several times the static variables have
different address on different calls. This leads to segfaults.

Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Jul  7 16:50:05 CEST 2011 on sn-devel-104

source3/rpc_server/wscript_build
source3/wscript_build

index f0ee2d9d2c9c9d3f396c31ab41d3bc4b653b1a02..c3cf2f93275e21205f76f1be66ebfb240749eb8b 100644 (file)
@@ -27,7 +27,7 @@ bld.SAMBA3_SUBSYSTEM('rpc',
 
 bld.SAMBA3_SUBSYSTEM('RPC_NCACN_NP',
                     source='rpc_ncacn_np.c rpc_handles.c rpc_contexts.c',
-                    deps='auth_sam_reply RPC_PIPE_REGISTER AUTH_COMMON npa_tstream')
+                    deps='auth auth_sam_reply RPC_PIPE_REGISTER npa_tstream')
 
 bld.SAMBA3_SUBSYSTEM('RPC_SERVICE',
                     source='rpc_server.c',
index 5972196e70ee3c8b07cd41f43442b389245cc1e0..020eaaf71d22c403c0ab0678a45b282c037d8678 100755 (executable)
@@ -1129,7 +1129,7 @@ bld.SAMBA3_BINARY('winbindd/winbindd',
                  LIBCLI_SAMR libcli_lsa3 LIBRPCCLI_NETLOGON
                  RPC_NDR_DSSETUP npa_tstream INIT_NETLOGON
                  RPC_NCACN_NP RPC_PIPE_REGISTER RPC_SAMR RPC_LSARPC
-                 PAM_ERRORS WB_REQTRANS AUTH_COMMON
+                 PAM_ERRORS WB_REQTRANS auth
                  ''',
                  enabled=bld.env.build_winbind,
                  install_path='${SBINDIR}',