Kamen Mazdrashki
5444272f89
s4/test: make test_cleanup() in libnet_user library more robust
...
test_cleanup() is called always with RDN name of the user to be deleted.
When modify-user test fails however, we end up with a user
with RDN = libnetusertest and samAccountName = random_name.
This way we can not delete the user and the error message is
quite misleading (I've spent a *lot* of time trying to figure out
if the database is corrupted because of this error).
2010-05-26 14:36:13 +03:00
Kamen Mazdrashki
bbdb838422
s4/test: rename enum test_fields{} member names to be more descriptive
2010-05-26 14:36:13 +03:00
Kamen Mazdrashki
644593d30e
s4/test: Replace hand-made field count to test
...
This patch replaces hand-make count of fields to be tested
with defines for FIRST-LAST value for corresponding fields
to test with.
As a side-effect, 'acct_flags' is now included in tests.
2010-05-26 14:36:12 +03:00
Björn Jacke
2bca048367
s3:configure: use the right AC_CACHE_CHECK variable
2010-05-26 10:19:59 +02:00
Simo Sorce
3c8dc5cd21
s4:smbd: Use tstream_npa_accept_existing to accept named pipe connections
...
Pair-programmed-with: Stefan Metzmacher <metze@samba.org>
2010-05-26 09:24:05 +02:00
Simo Sorce
2e171239f9
s4:smbd: Add tstream to the stream_connection structure
2010-05-26 09:24:04 +02:00
Simo Sorce
b7159e6ffd
named_pipe_auth: implement tstream_npa_accept_existing_send/recv
...
Pair-programmed-with: Stefan Metzmacher <metze@samba.org>
2010-05-26 09:23:47 +02:00
Kai Blin
9e194cd673
s3-waf: Check for additional options on *xattr
2010-05-26 00:28:34 +02:00
Kai Blin
5a023e73f7
s3-waf: Add darwin to the host_os-specific checks
2010-05-26 00:28:34 +02:00
Kai Blin
b2546ee557
s3-waf: Don't hardcode the name of the awk executable in wscript_build
2010-05-26 00:28:34 +02:00
Jeremy Allison
475531c9bb
Standardize debug messages for read and write.
...
Jeremy.
2010-05-25 11:39:46 -07:00
Michael Adam
aa51fa0ce3
s3:fix the waf build after registry changes.
2010-05-25 17:28:33 +02:00
Günther Deschner
f12028a3fd
s3-net: fix a "dereferencing type-punned pointer will break strict-aliasing rules" warning.
...
Guenther
2010-05-25 12:43:00 +02:00
Günther Deschner
8e41f2e66a
s3-waf: very simple start on getting krb5 build to work.
...
Guenther
2010-05-25 12:27:05 +02:00
Matthias Dieter Wallnöfer
abf2764361
s4:torture/rpc/samr.c: Fix the "ValidatePassword" test
...
It was failing randomly due to an uninitialised "status" variable.
2010-05-25 12:09:32 +02:00
Michael Adam
af2cbaa700
s3:registry: add C for substantial changes to reg_objects
2010-05-25 10:53:17 +02:00
Michael Adam
80293b8067
s3:registry:reg_objects: Remove use of uint{8,16,32} in favour of C99 types
2010-05-25 10:35:32 +02:00
Michael Adam
0b446e0842
s3:registry: add comment header block to registry.h
2010-05-25 10:35:31 +02:00
Michael Adam
0fe1ff99a1
s3:registry: move reg_objects.h to registry/ and use it only where needed
...
Every place outside of registry/ where this is used, should probably
be changed to use pure reg_api.c code.
2010-05-25 10:35:31 +02:00
Michael Adam
552e505cee
s3:registry: move non-reg_objects definitions from reg_objects.h to registry.h
2010-05-25 10:35:31 +02:00
Michael Adam
75e691ae6b
s3:registry: hide definition of regval_ctr and regval_blob in reg_objects.c
2010-05-25 10:35:31 +02:00
Michael Adam
0e8e5d5d6e
s3:net rpc registry: use regval_ctr_init() instead of direct allocation
2010-05-25 10:35:31 +02:00
Michael Adam
bf65ff5ea2
s3:profiles: use regval_ctr_init() instead of direct allocation
2010-05-25 10:35:30 +02:00
Michael Adam
7b2f5f20da
s3:rpcclient:spoolss: use regval_ctr/blob accessor functions.
2010-05-25 10:35:30 +02:00
Michael Adam
112eddf107
s3:net_rpc_printer: use regval_blob/ctr accessor functions
2010-05-25 10:35:30 +02:00
Michael Adam
c4de07a259
s3:net rpc printer: fix use of a possibly uninitialized variable
2010-05-25 10:35:30 +02:00
Michael Adam
b5d0fdd96c
s3:nt_printing: use regval_ctr_init().
2010-05-25 10:35:30 +02:00
Michael Adam
dcf2cc2806
s3:srv_ntsvcs: use regval_ctr/blob accessor functions
2010-05-25 10:35:29 +02:00
Michael Adam
1be8f5fba4
s3:services_db: use regval_ctr_init() instead of direct allocation
2010-05-25 10:35:29 +02:00
Michael Adam
53ba74ecee
s3:libads:use regval_ctr/blob accessor functions in ldap_printer.c
2010-05-25 10:35:29 +02:00
Michael Adam
5fbf935ffc
s3:registry: use regval_ctr/blob accessor functoin in reg_eventlog.c
2010-05-25 10:35:29 +02:00
Michael Adam
a71dac4882
s3:registry: user regval_ctr/blob accessor functions in reg_backend_db.c
2010-05-25 10:35:28 +02:00
Michael Adam
0d20053f10
s3:registry: use regval_ctr/blob accessor functions in reg_api.c
2010-05-25 10:35:28 +02:00
Michael Adam
987514d98d
s3:registry:reg_objects: add regval_ctr_set_seqnum()
2010-05-25 10:35:28 +02:00
Michael Adam
6b331321e3
s3:registry:reg_objects: add regval_ctr_get_seqnum()
2010-05-25 10:35:28 +02:00
Michael Adam
e0d5bccfd3
s3:registry:reg_objects: add regval_ctr_init()
2010-05-25 10:35:28 +02:00
Michael Adam
97846edfa5
s3:registry: move definition of registry_hook to reg_init_full.c - it's only user
2010-05-25 10:35:27 +02:00
Michael Adam
e829b42978
s3:registry: extract registry_pull/push_value prototypes into own header
...
reg_util_marshalling.h and use them only where needed.
2010-05-25 10:35:27 +02:00
Michael Adam
36b74e03cf
s3:registry: rename lib/util_reg_api.c to registry/reg_util_marshalling.c
2010-05-25 10:35:27 +02:00
Michael Adam
773255ba50
s3:registry: rename reg_util.{c,h} to reg_util_internal.{c,h}
2010-05-25 10:35:27 +02:00
Michael Adam
f3053739b7
s3:registry: move prototype registry_create_admin_token() to new header reg_util_token.h
...
and use it only where necessary.
2010-05-25 10:35:26 +02:00
Michael Adam
e3f7fab668
s3:registry: move registry_create_admin_token() to new reg_util_token.c
2010-05-25 10:35:26 +02:00
Michael Adam
847a19df94
s3:registry: extract reg_eventlog prototypes to header of their own
...
and use them only where needed.
2010-05-25 10:35:26 +02:00
Michael Adam
5a92d88f38
s3:registry: extract reg_perfcount prototypes into header of their own.
...
And use them only when necessary.
2010-05-25 10:35:26 +02:00
Michael Adam
b94267aa3f
s3:registry: extraxt the reg_dispatcher prototypes into their own header.
...
And use them only where needed.
2010-05-25 10:35:26 +02:00
Michael Adam
d335f292ce
s3:registry: extract the reg_backend_db prototypes into their own header.
...
And use them only where needed.
2010-05-25 10:35:25 +02:00
Michael Adam
9ccf66379a
s3:registry: adapt callers of regval_ctr_addvalue to uint8 * instead of char *
2010-05-25 10:35:25 +02:00
Michael Adam
70a81796fc
s3:registry: fix regval_ctr_addvalue() to take data as uint8 *, not char *.
2010-05-25 10:35:25 +02:00
Michael Adam
f7f9ce30ca
s3:registry: fix data_p arg of regval_compose to be uint8 * instead of char *
2010-05-25 10:35:25 +02:00
Michael Adam
4ae77b2ef9
s3:registry: extract the reg_util prototypes into their own header.
...
And use them only where needed.
2010-05-25 10:35:25 +02:00