[SCM] Samba Shared Repository - branch master updated
Günther Deschner
gd at samba.org
Thu Feb 10 05:57:02 MST 2011
The branch, master has been updated
via ad0a318 librpc: move preg.idl to main directory.
via 7a558ea s3-waf: fix the build after auth changes.
via 7de21e6 s3-waf: fix krb5 checks logic.
via fdd4d56 s3: give ../librpc/ndr/util.c its own header.
from b5a2f95 s4-tests: Some tests that prove behavior for INHERITED user-provided ACEs is different if the P flag is set.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit ad0a3185ce4d9918597d1de3decb9080b88277ef
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 12:54:27 2011 +0100
librpc: move preg.idl to main directory.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Feb 10 13:56:49 CET 2011 on sn-devel-104
commit 7a558ea27cc34f1d5588d7588e024dae4cf3ca1d
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 12:48:46 2011 +0100
s3-waf: fix the build after auth changes.
Andrews, please check.
Guenther
commit 7de21e62946fdd74250be56bd33e9598237307c5
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 12:42:47 2011 +0100
s3-waf: fix krb5 checks logic.
Guenther
commit fdd4d56405544b8c25fa3f24889726cb98506345
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 00:11:38 2011 +0100
s3: give ../librpc/ndr/util.c its own header.
Guenther
-----------------------------------------------------------------------
Summary of changes:
auth/wscript_build | 2 ++
{source3/librpc => librpc}/idl/preg.idl | 0
librpc/idl/wscript_build | 2 +-
{source3/librpc => librpc}/ndr/ndr_preg.c | 0
{source3/librpc => librpc}/ndr/ndr_preg.h | 0
librpc/wscript_build | 5 +++++
source3/Makefile.in | 5 ++---
source3/include/proto.h | 7 -------
source3/libads/ndr.c | 1 +
source3/librpc/idl/messaging.idl | 1 +
source3/librpc/idl/notify.idl | 1 +
source3/librpc/idl/wscript_build | 2 +-
source3/librpc/ndr/util.c | 1 +
source3/librpc/ndr/util.h | 7 +++++++
source3/librpc/wscript_build | 5 -----
source3/rpc_server/wscript_build | 5 +++--
source3/winbindd/winbindd_ndr.c | 1 +
source3/wscript | 11 ++++++-----
source3/wscript_build | 1 +
source4/librpc/wscript_build | 2 +-
20 files changed, 34 insertions(+), 25 deletions(-)
rename {source3/librpc => librpc}/idl/preg.idl (100%)
rename {source3/librpc => librpc}/ndr/ndr_preg.c (100%)
rename {source3/librpc => librpc}/ndr/ndr_preg.h (100%)
create mode 100644 source3/librpc/ndr/util.h
Changeset truncated at 500 lines:
diff --git a/auth/wscript_build b/auth/wscript_build
index b124887..75580fd 100644
--- a/auth/wscript_build
+++ b/auth/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_SUBSYSTEM('auth_sam_reply',
source='auth_sam_reply.c',
deps='talloc',
diff --git a/source3/librpc/idl/preg.idl b/librpc/idl/preg.idl
similarity index 100%
rename from source3/librpc/idl/preg.idl
rename to librpc/idl/preg.idl
diff --git a/librpc/idl/wscript_build b/librpc/idl/wscript_build
index 52476c4..c8402c6 100644
--- a/librpc/idl/wscript_build
+++ b/librpc/idl/wscript_build
@@ -25,6 +25,6 @@ bld.SAMBA_PIDL_LIST('PIDL',
output_dir='../gen_ndr')
bld.SAMBA_PIDL_LIST('PIDL',
- 'rap.idl dnsp.idl ntprinting.idl',
+ 'rap.idl dnsp.idl ntprinting.idl preg.idl',
options='--header --ndr-parser',
output_dir='../gen_ndr')
diff --git a/source3/librpc/ndr/ndr_preg.c b/librpc/ndr/ndr_preg.c
similarity index 100%
rename from source3/librpc/ndr/ndr_preg.c
rename to librpc/ndr/ndr_preg.c
diff --git a/source3/librpc/ndr/ndr_preg.h b/librpc/ndr/ndr_preg.h
similarity index 100%
rename from source3/librpc/ndr/ndr_preg.h
rename to librpc/ndr/ndr_preg.h
diff --git a/librpc/wscript_build b/librpc/wscript_build
index efe2223..4cc827d 100644
--- a/librpc/wscript_build
+++ b/librpc/wscript_build
@@ -294,6 +294,11 @@ bld.SAMBA_SUBSYSTEM('NDR_BACKUPKEY',
public_deps='ndr'
)
+bld.SAMBA_SUBSYSTEM('NDR_PREG',
+ source='gen_ndr/ndr_preg.c ndr/ndr_preg.c',
+ public_deps='ndr'
+ )
+
bld.SAMBA_SUBSYSTEM('NDR_FILE_ID',
source='gen_ndr/ndr_file_id.c',
public_deps='ndr'
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 3012caa..8ad74c4 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -336,7 +336,7 @@ LIBNDR_NTPRINTING_OBJ = librpc/gen_ndr/ndr_ntprinting.o \
../librpc/ndr/ndr_ntprinting.o \
LIBNDR_PREG_OBJ = librpc/gen_ndr/ndr_preg.o \
- librpc/ndr/ndr_preg.o
+ ../librpc/ndr/ndr_preg.o
LIBNDR_XATTR_OBJ = librpc/gen_ndr/ndr_xattr.o \
../librpc/ndr/ndr_xattr.o
@@ -1577,8 +1577,7 @@ IDL_FILES = librpc/idl/messaging.idl \
librpc/idl/wbint.idl \
librpc/idl/perfcount.idl \
librpc/idl/secrets.idl \
- librpc/idl/libnet_join.idl \
- librpc/idl/preg.idl
+ librpc/idl/libnet_join.idl
samba3-idl::
@PIDL_OUTPUTDIR="librpc/gen_ndr" PIDL_ARGS="$(PIDL_ARGS)" CPP="$(CPP)" PIDL="../pidl/pidl" \
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 58585a1..a4e8ad5 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1570,13 +1570,6 @@ void wins_srv_tags_free(char **list);
struct in_addr wins_srv_ip_tag(const char *tag, struct in_addr src_ip);
unsigned wins_srv_count_tag(const char *tag);
-/* The following definitions come from librpc/ndr/util.c */
-
-enum ndr_err_code ndr_push_server_id(struct ndr_push *ndr, int ndr_flags, const struct server_id *r);
-enum ndr_err_code ndr_pull_server_id(struct ndr_pull *ndr, int ndr_flags, struct server_id *r);
-void ndr_print_server_id(struct ndr_print *ndr, const char *name, const struct server_id *r);
-_PUBLIC_ void ndr_print_sockaddr_storage(struct ndr_print *ndr, const char *name, const struct sockaddr_storage *ss);
-
/* The following definitions come from libsmb/cliconnect.c */
ADS_STATUS cli_session_setup_spnego(struct cli_state *cli, const char *user,
diff --git a/source3/libads/ndr.c b/source3/libads/ndr.c
index 843ae3b..603add0 100644
--- a/source3/libads/ndr.c
+++ b/source3/libads/ndr.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "ads.h"
#include "../librpc/gen_ndr/ndr_netlogon.h"
+#include "librpc/ndr/util.h"
void ndr_print_ads_auth_flags(struct ndr_print *ndr, const char *name, uint32_t r)
{
diff --git a/source3/librpc/idl/messaging.idl b/source3/librpc/idl/messaging.idl
index faa9a6e..22c3429 100644
--- a/source3/librpc/idl/messaging.idl
+++ b/source3/librpc/idl/messaging.idl
@@ -5,6 +5,7 @@
*/
[
+ helper("../librpc/ndr/util.h"),
pointer_default(unique)
]
interface messaging
diff --git a/source3/librpc/idl/notify.idl b/source3/librpc/idl/notify.idl
index e776d5d..592af19 100644
--- a/source3/librpc/idl/notify.idl
+++ b/source3/librpc/idl/notify.idl
@@ -10,6 +10,7 @@ import "file_id.idl";
*/
[
+ helper("../librpc/ndr/util.h"),
pointer_default(unique)
]
interface notify
diff --git a/source3/librpc/idl/wscript_build b/source3/librpc/idl/wscript_build
index 9957614..a337f4f 100644
--- a/source3/librpc/idl/wscript_build
+++ b/source3/librpc/idl/wscript_build
@@ -2,7 +2,7 @@
bld.SAMBA_PIDL_LIST('PIDL',
'''messaging.idl libnetapi.idl notify.idl
- perfcount.idl secrets.idl libnet_join.idl preg.idl''',
+ perfcount.idl secrets.idl libnet_join.idl''',
options='--includedir=../librpc/idl --header --ndr-parser',
output_dir='../gen_ndr')
diff --git a/source3/librpc/ndr/util.c b/source3/librpc/ndr/util.c
index b55b3d8..d4e06df 100644
--- a/source3/librpc/ndr/util.c
+++ b/source3/librpc/ndr/util.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "librpc/ndr/util.h"
enum ndr_err_code ndr_push_server_id(struct ndr_push *ndr, int ndr_flags, const struct server_id *r)
{
diff --git a/source3/librpc/ndr/util.h b/source3/librpc/ndr/util.h
new file mode 100644
index 0000000..3f7be6b
--- /dev/null
+++ b/source3/librpc/ndr/util.h
@@ -0,0 +1,7 @@
+
+/* The following definitions come from librpc/ndr/util.c */
+
+enum ndr_err_code ndr_push_server_id(struct ndr_push *ndr, int ndr_flags, const struct server_id *r);
+enum ndr_err_code ndr_pull_server_id(struct ndr_pull *ndr, int ndr_flags, struct server_id *r);
+void ndr_print_server_id(struct ndr_print *ndr, const char *name, const struct server_id *r);
+_PUBLIC_ void ndr_print_sockaddr_storage(struct ndr_print *ndr, const char *name, const struct sockaddr_storage *ss);
diff --git a/source3/librpc/wscript_build b/source3/librpc/wscript_build
index adf7f70..ae43531 100644
--- a/source3/librpc/wscript_build
+++ b/source3/librpc/wscript_build
@@ -20,11 +20,6 @@ bld.SAMBA_SUBSYSTEM('NDR_NOTIFY',
public_deps='ndr NDR_FILE_ID'
)
-bld.SAMBA_SUBSYSTEM('NDR_PREG',
- source='gen_ndr/ndr_preg.c ndr/ndr_preg.c',
- public_deps='ndr'
- )
-
bld.SAMBA_SUBSYSTEM('NDR_SECRETS',
source='gen_ndr/ndr_secrets.c',
public_deps='ndr'
diff --git a/source3/rpc_server/wscript_build b/source3/rpc_server/wscript_build
index b362012..8534141 100644
--- a/source3/rpc_server/wscript_build
+++ b/source3/rpc_server/wscript_build
@@ -26,7 +26,8 @@ bld.SAMBA_SUBSYSTEM('rpc',
vars=locals())
bld.SAMBA_SUBSYSTEM('RPC_NCACN_NP',
- source='rpc_ncacn_np.c rpc_handles.c')
+ source='rpc_ncacn_np.c rpc_handles.c',
+ deps='auth_sam_reply')
bld.SAMBA_SUBSYSTEM('RPC_SERVICE',
source='rpc_server.c')
@@ -113,4 +114,4 @@ bld.SAMBA_SUBSYSTEM('RPC_SERVER',
RPC_DSSETUP RPC_WKSSVC RPC_SVCCTL RPC_NTSVCS
RPC_NETLOGON RPC_NETDFS RPC_SRVSVC RPC_SPOOLSS
RPC_EVENTLOG RPC_RPCECHO RPC_SERVER RPC_EPMAPPER
- RPC_SERVER_REGISTER''')
+ RPC_SERVER_REGISTER NDR_NAMED_PIPE_AUTH''')
diff --git a/source3/winbindd/winbindd_ndr.c b/source3/winbindd/winbindd_ndr.c
index 94aa7eb..2f26d8d 100644
--- a/source3/winbindd/winbindd_ndr.c
+++ b/source3/winbindd/winbindd_ndr.c
@@ -21,6 +21,7 @@
#include "winbindd.h"
#include "../librpc/gen_ndr/ndr_netlogon.h"
#include "../librpc/gen_ndr/ndr_security.h"
+#include "librpc/ndr/util.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
diff --git a/source3/wscript b/source3/wscript
index 3aa5d2a..655de13 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -845,25 +845,26 @@ return krb5_kt_resolve(context, "WRFILE:api", &keytab);
if Options.options.with_ads:
use_ads=True
- if not conf.CONFIG_SET('HAVE_ENCTYPE_ARCFOUR_HMAC_MD5'):
+ if not conf.CONFIG_SET('HAVE_ENCTYPE_ARCFOUR_HMAC_MD5') and \
+ not conf.CONFIG_SET('HAVE_ENCTYPE_ARCFOUR_HMAC'):
print "arcfour-hmac-md5 encryption type not found in -lkrb5"
use_ads=False
if not conf.CONFIG_SET('HAVE_KRB5_MK_REQ_EXTENDED'):
print "krb5_mk_req_extended not found in -lkrb5"
use_ads=False
- if not conf.CONFIG_SET('HAVE_KRB5_PRINCIPAL2SALT') or \
+ if not conf.CONFIG_SET('HAVE_KRB5_PRINCIPAL2SALT') and \
not conf.CONFIG_SET('HAVE_KRB5_GET_PW_SALT'):
print "no CREATE_KEY_FUNCTIONS detected"
use_ads=False
- if not conf.CONFIG_SET('HAVE_KRB5_GET_PERMITTED_ENCTYPES') or \
+ if not conf.CONFIG_SET('HAVE_KRB5_GET_PERMITTED_ENCTYPES') and \
not conf.CONFIG_SET('HAVE_KRB5_GET_DEFAULT_IN_TKT_ETYPES'):
print "no GET_ENCTYPES_FUNCTIONS detected"
use_ads=False
- if not conf.CONFIG_SET('HAVE_KRB5_KT_FREE_ENTRY') or \
+ if not conf.CONFIG_SET('HAVE_KRB5_KT_FREE_ENTRY') and \
not conf.CONFIG_SET('HAVE_KRB5_FREE_KEYTAB_ENTRY_CONTENTS'):
print "no KT_FREE_FUNCTION detected"
use_ads=False
- if not conf.CONFIG_SET('HAVE_KRB5_C_VERIFY_CHECKSUM') or \
+ if not conf.CONFIG_SET('HAVE_KRB5_C_VERIFY_CHECKSUM') and \
not conf.CONFIG_SET('HAVE_KRB5_VERIFY_CHECKSUM'):
print "no KRB5_VERIFY_CHECKSUM_FUNCTION detected"
use_ads=False
diff --git a/source3/wscript_build b/source3/wscript_build
index fde1d17..cb5cdcb 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -1403,6 +1403,7 @@ bld.INSTALL_FILES('${SWATDIR}', swat_files, base_name='../swat')
########################## INCLUDES #################################
+bld.RECURSE('../auth')
bld.RECURSE('../lib/addns')
bld.RECURSE('../lib/async_req')
bld.RECURSE('../libcli/auth')
diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build
index 6087d84..fd511f8 100755
--- a/source4/librpc/wscript_build
+++ b/source4/librpc/wscript_build
@@ -117,7 +117,7 @@ bld.SAMBA_SUBSYSTEM('ndr-table',
NDR_SASL_HELPERS NDR_NOTIFY NDR_WINBIND NDR_FRSRPC NDR_FRSAPI
NDR_FRSTRANS NDR_NFS4ACL NDR_NTP_SIGND NDR_DCOM NDR_WMI
NDR_NAMED_PIPE_AUTH NDR_NTLMSSP NDR_DFSBLOBS NDR_DNSP
- NDR_NTPRINTING NDR_DNS NDR_BACKUPKEY''',
+ NDR_NTPRINTING NDR_DNS NDR_BACKUPKEY NDR_PREG''',
depends_on='GEN_NDR_TABLES'
)
--
Samba Shared Repository
More information about the samba-cvs
mailing list