Matthieu Patou
61be498adb
s4 upgradeprovision: For SID > 1000 do not copy them, let the system regenerated a new one
...
This should avoid colliion with newly added objects that use the same
SID as existing users in the upgraded provision.
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-07-08 19:28:42 +02:00
Günther Deschner
690ed0c5e2
s3-rpc: when using rpc_pipe_open_internal, make sure to go through NDR.
...
Otherwise a lot of information that is usually generated in the ndr_push remains
in an uninitialized state.
Guenther
2010-07-08 16:35:26 +02:00
Günther Deschner
309ad2b08f
s4-smbtorture: skip wbcChangeUserPassword test when no oldpass is set in environment.
...
Guenther
2010-07-08 15:59:44 +02:00
Nadezhda Ivanova
10c60f2372
Added a test to prove by default users can change each other's pass if the old is known
2010-07-08 15:38:16 +03:00
Volker Lendecke
328f3ca103
s3: Slightly simplify make_server_info_pw
2010-07-08 13:34:16 +02:00
Günther Deschner
b595469bf7
s3-rpcclient: add another usage display to sign and seal commands.
...
Guenther
2010-07-08 11:46:48 +02:00
Günther Deschner
b0d69a857c
Revert "s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS."
...
This reverts commit 3587bb63e2
.
2010-07-08 10:59:16 +02:00
Andrew Tridgell
41fc0dd0ef
s4-net: the net binary depends on the auth subsystem
...
This helps with the OpenChange build
2010-07-08 17:28:44 +10:00
Simo Sorce
7571c15af9
s3:dcerpc Remove unused structure and functions
2010-07-08 01:48:05 -04:00
Simo Sorce
7236f8cda9
s3:dcerpc Use prs_parse_dcerpc_bind
2010-07-08 01:41:29 -04:00
Simo Sorce
0d9b63663f
s3:dcerpc Add prs_parse_dcerpc_bind
2010-07-08 01:41:24 -04:00
Simo Sorce
ae526514a9
s3:rpc user idl define dcerpc_ctx_list instead of custom RPC_CONTEXT
2010-07-08 01:08:05 -04:00
Günther Deschner
d57ecf920c
s3-dcerpc: use dcerpc_pull_ncacn_packet() for rpc_pipe_bind_step_one_done().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08 00:56:16 -04:00
Günther Deschner
5351a8919d
s3-dcerpc: use dcerpc_push_ncacn_packet() in push_next_frag().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08 00:53:10 -04:00
Günther Deschner
e8e2fa586b
s3-dcerpc: use dcerpc_pull_ncacn_packet() in cli_pipe_validate_current_pdu().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08 00:53:01 -04:00
Günther Deschner
dbeaa5efc7
s3-dcerpc: use dcerpc_pull_dcerpc_auth() in cli_pipe_verify_ntlmssp().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08 00:52:38 -04:00
Günther Deschner
49c5293492
s3-dcerpc: add dcerpc_pull_dcerpc_auth().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08 00:52:34 -04:00
Günther Deschner
fe9ce4b60c
s3-dcerpc: use struct ncacn_packet_header instead of struct rpc_hdr_info.
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08 00:47:53 -04:00
Günther Deschner
77e3fffd09
s3-dcerpc: add dcerpc_pull_ncacn_packet_header().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08 00:29:33 -04:00
Günther Deschner
389a677426
dcerpc: add ncacn_packet_header to IDL.
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08 00:27:55 -04:00
Günther Deschner
eeb034e72a
s3-dcerpc: use dcerpc_push_dcerpc_auth() for all authenticated binds.
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07 23:45:51 -04:00
Günther Deschner
4b56e6e95b
s3-dcerpc: add dcerpc_push_schannel_bind().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07 23:45:51 -04:00
Günther Deschner
0f02dda915
s3-dcerpc: add dcerpc_push_dcerpc_auth().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07 23:45:51 -04:00
Günther Deschner
257f5145b5
s3-dcerpc: remove unused init_rpc_hdr_rb and init_rpc_context.
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07 23:45:51 -04:00
Günther Deschner
5aabd9af8e
s3-dcerpc: use dcerpc_push_ncacn_packet() for create_bind_or_alt_ctx_internal().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07 23:45:51 -04:00
Günther Deschner
dc6e0cedfc
s3-dcerpc: remove unused smb_io_rpc_hdr_fault.
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07 23:45:50 -04:00
Günther Deschner
d6de820480
s3-dcerpc: use dcerpc_pull_ncacn_packet() for pulling a RPC fault pdu.
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07 23:45:50 -04:00
Günther Deschner
cb9eddb312
s3-dcerpc: add dcerpc_pull_ncacn_packet().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07 23:45:50 -04:00
Günther Deschner
0cbe0f3c5f
s3-dcerpc: use dcerpc_push_ncacn_packet() for setup_fault_pdu().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07 23:45:50 -04:00
Günther Deschner
8fdc02aa63
s3-dcerpc: use dcerpc_push_ncacn_packet() for setup_bind_nak().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07 23:45:50 -04:00
Günther Deschner
3d9a12dca7
s3-dcerpc: add dcerpc_push_ncacn_packet().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07 23:45:50 -04:00
Simo Sorce
f0b918473d
s3:winbindd_samr Do not use static contexts
...
It is a very bad idea to use a static context within the open function.
Use the memory hierarchy to keep track of a client connection.
2010-07-07 23:45:50 -04:00
Ira Cooper
90b1a1d296
s3: Add SMB2 performance counters.
...
A performance counter was added for every base type of SMB2 op.
2010-07-07 18:06:59 -07:00
Kamen Mazdrashki
609b865691
s4-dsdb/util: Reorder DSDB_FLAG_* checks
...
On good thing about having more clear function interfaces
(and forcing callers to specify clearly what they want)
is that now I can execute following search:
git grep DSDB_FLAG_NEXT_MODULE | wc -l
This showed that DSDB_FLAG_NEXT_MODULE flag is about 6 times
more frequently used than DSDB_FLAG_OWN_MODULE.
So this should reduce branch prediction by six times
in this part of the code, right :)
2010-07-08 02:38:36 +03:00
Kamen Mazdrashki
0c4bbb7106
s4-dsdb: Implement module switching in dsdb_module_search_dn()
...
This allows caller to choose from where to start DN search
2010-07-08 02:38:36 +03:00
Kamen Mazdrashki
62a0f11dcb
s4-source4/dsdb/samdb/ldb_modules/acl.c Use DSDB_FLAG_NEXT_MODULE flag
2010-07-08 02:38:35 +03:00
Kamen Mazdrashki
02f0c6d1eb
s4-source4/dsdb/samdb/ldb_modules/linked_attributes.c Use DSDB_FLAG_NEXT_MODULE flag
2010-07-08 02:38:35 +03:00
Kamen Mazdrashki
0d2116a423
s4-source4/dsdb/samdb/ldb_modules/naming_fsmo.c Use DSDB_FLAG_NEXT_MODULE flag
2010-07-08 02:38:35 +03:00
Kamen Mazdrashki
b18ab82604
s4-source4/dsdb/samdb/ldb_modules/operational.c Use DSDB_FLAG_NEXT_MODULE flag
2010-07-08 02:38:34 +03:00
Kamen Mazdrashki
7694b1964f
s4-source4/dsdb/samdb/ldb_modules/partition_init.c Use DSDB_FLAG_NEXT_MODULE flag
2010-07-08 02:38:34 +03:00
Kamen Mazdrashki
b62715964a
s4-source4/dsdb/samdb/ldb_modules/pdc_fsmo.c Use DSDB_FLAG_NEXT_MODULE flag
2010-07-08 02:38:33 +03:00
Kamen Mazdrashki
2ee14378c3
s4-source4/dsdb/samdb/ldb_modules/repl_meta_data.c Use DSDB_FLAG_NEXT_MODULE flag
2010-07-08 02:38:33 +03:00
Kamen Mazdrashki
d7bcac5a9f
s4-source4/dsdb/samdb/ldb_modules/ridalloc.c Use DSDB_FLAG_NEXT_MODULE flag
2010-07-08 02:38:33 +03:00
Kamen Mazdrashki
dc720739ab
s4-source4/dsdb/samdb/ldb_modules/samba_dsdb.c Use DSDB_FLAG_NEXT_MODULE flag
2010-07-08 02:38:32 +03:00
Kamen Mazdrashki
8c7a6a8dc7
s4-source4/dsdb/samdb/ldb_modules/schema_load.c Use DSDB_FLAG_NEXT_MODULE flag
2010-07-08 02:38:32 +03:00
Kamen Mazdrashki
64c31b7e0a
s4-source4/dsdb/samdb/ldb_modules/util.c Use DSDB_FLAG_NEXT_MODULE flag
2010-07-08 02:38:32 +03:00
Günther Deschner
76a084feee
s3-winbindd: Fix child logfile handling which broke with c67cff0372
.
...
Andreas, please check.
Guenther
2010-07-07 17:01:09 +02:00
Günther Deschner
0da5e15378
s3-winbindd: route samr chgpwd ops for own domain over internal samr pipe as well.
...
Guenther
2010-07-07 16:49:26 +02:00
Günther Deschner
519d17e451
s3-rpc_misc: remove unused UNISTR.
...
Guenther
2010-07-07 15:29:26 +02:00
Günther Deschner
7e1fa8d067
s3-rpc_parse: remove finally unused prs_unistr().
...
Guenther
2010-07-07 15:29:25 +02:00