summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-08dcerpc: add ncacn_packet_header to IDL.Günther Deschner1-0/+12
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: use dcerpc_push_dcerpc_auth() for all authenticated binds.Günther Deschner1-148/+104
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: add dcerpc_push_schannel_bind().Günther Deschner1-0/+22
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: add dcerpc_push_dcerpc_auth().Günther Deschner1-0/+34
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: remove unused init_rpc_hdr_rb and init_rpc_context.Günther Deschner2-40/+0
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: use dcerpc_push_ncacn_packet() for create_bind_or_alt_ctx_internal().Günther Deschner2-21/+59
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: remove unused smb_io_rpc_hdr_fault.Günther Deschner2-21/+0
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: use dcerpc_pull_ncacn_packet() for pulling a RPC fault pdu.Günther Deschner1-13/+11
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: add dcerpc_pull_ncacn_packet().Günther Deschner2-0/+25
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: use dcerpc_push_ncacn_packet() for setup_fault_pdu().Günther Deschner1-28/+18
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: use dcerpc_push_ncacn_packet() for setup_bind_nak().Günther Deschner1-14/+16
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: add dcerpc_push_ncacn_packet().Günther Deschner2-0/+49
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3:winbindd_samr Do not use static contextsSimo Sorce1-4/+4
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-07s3: Add SMB2 performance counters.Ira Cooper4-21/+203
A performance counter was added for every base type of SMB2 op.
2010-07-08s4-dsdb/util: Reorder DSDB_FLAG_* checksKamen Mazdrashki1-30/+30
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-08s4-dsdb: Implement module switching in dsdb_module_search_dn()Kamen Mazdrashki1-1/+10
This allows caller to choose from where to start DN search
2010-07-08s4-source4/dsdb/samdb/ldb_modules/acl.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki1-5/+12
2010-07-08s4-source4/dsdb/samdb/ldb_modules/linked_attributes.c Use ↵Kamen Mazdrashki1-1/+4
DSDB_FLAG_NEXT_MODULE flag
2010-07-08s4-source4/dsdb/samdb/ldb_modules/naming_fsmo.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki1-1/+2
2010-07-08s4-source4/dsdb/samdb/ldb_modules/operational.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki1-3/+7
2010-07-08s4-source4/dsdb/samdb/ldb_modules/partition_init.c Use DSDB_FLAG_NEXT_MODULE ↵Kamen Mazdrashki1-3/+6
flag
2010-07-08s4-source4/dsdb/samdb/ldb_modules/pdc_fsmo.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki1-1/+2
2010-07-08s4-source4/dsdb/samdb/ldb_modules/repl_meta_data.c Use DSDB_FLAG_NEXT_MODULE ↵Kamen Mazdrashki1-3/+7
flag
2010-07-08s4-source4/dsdb/samdb/ldb_modules/ridalloc.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki1-3/+6
2010-07-08s4-source4/dsdb/samdb/ldb_modules/samba_dsdb.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki1-2/+4
2010-07-08s4-source4/dsdb/samdb/ldb_modules/schema_load.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki1-1/+2
2010-07-08s4-source4/dsdb/samdb/ldb_modules/util.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki1-2/+4
2010-07-07s3-winbindd: Fix child logfile handling which broke with c67cff0372.Günther Deschner1-1/+1
Andreas, please check. Guenther
2010-07-07s3-winbindd: route samr chgpwd ops for own domain over internal samr pipe as ↵Günther Deschner4-69/+45
well. Guenther
2010-07-07s3-rpc_misc: remove unused UNISTR.Günther Deschner1-11/+0
Guenther
2010-07-07s3-rpc_parse: remove finally unused prs_unistr().Günther Deschner2-125/+0
Guenther
2010-07-07s3-libgpo: remove handmarshalled PReg parser from registry CSE.Günther Deschner2-295/+53
Guenther
2010-07-07s3-registry: add preg.idl.Günther Deschner5-2/+144
Guenther
2010-07-07s3-rpc_parse: fix c++ buildwarning in prs_init().Günther Deschner1-1/+1
Guenther
2010-07-07s3-notify: use autogenerated FILE_NOTIFY_INFORMATION marshalling in smbd.Günther Deschner1-52/+29
Guenther
2010-07-07s3-notify: add MS-CIFS 2.2.7.4.2 FILE_NOTIFY_INFORMATION to IDL.Günther Deschner1-0/+19
Guenther
2010-07-07s3-build: some makefile cosmetics.Günther Deschner2-6/+13
Guenther
2010-07-07s3-build: add IDL_FILES variable.Günther Deschner1-8/+11
Guenther
2010-07-07s4-dsdb: use ldb_operr() in the dsdb codeAndrew Tridgell43-625/+455
this replaces "return LDB_ERR_OPERATIONS_ERROR" with "return ldb_operr(ldb)" in places in the dsdb code where we don't already explicitly set an error string. This should make is much easier to track down dsdb module bugs that result in an operations error.
2010-07-07s4-ldb: added ldb_error() and ldb_operr()Andrew Tridgell3-2/+22
These will be used to help avoid the problem we have with hundreds of places that do "return LDB_ERR_OPERATIONS_ERROR" without an explanation. It is very difficult to track down ldb errors which don't have any explanation. By replacing "return LDB_ERR_OPERATIONS_ERROR;" with "return ldb_operr(ldb);" we at least get a file:line message in the ldb error string. It isn't an ideal error message, but it is much better than just "operations error" This change also makes ldb_oom() return the error code (LDB_ERR_OPERATIONS_ERROR) so you can do: return ldb_oom(ldb); instead of: ldb_oom(ldb); return LDB_ERR_OPERATIONS_ERROR;
2010-07-07s3 build: Fix *netgrent prototype detection on opensolarisKai Blin1-3/+9
2010-07-07s4-ldb: added support for simple binds on ldb_ldap backendAndrew Tridgell1-0/+50
this uses the options[] array to pass in bindMech, bindID and bindSecret. Currently only "simple" is supported.
2010-07-07s4-ldb: added ldb_options_find()Andrew Tridgell6-7/+85
ldb_options_find() allows backends to find options in the options[] array passed to the connect operation. This will be used by the ldb_ldap bind code
2010-07-06s4:libcli: Modify S4 client library to check for proper CN alignmentSteven Danneman2-2/+102
MS-CIFS 2.2.7.4.2 states that FILE_NOTIFY_INFORMATION structures in change notify replies must be aligned to 4-byte boundaries. This updates s4 client to check for this restriction and also adds a torture test which should tickle a server into giving unaligned structures if it doesn't follow the spec.
2010-07-06s3:smbd: Align change notify replies on 4-byte boundaryChere Zhou1-0/+10
MS-CIFS section 2.2.7.4.2 states this is mandatory. WinXP clients don't seem to care, but a Win7 client will send an immediate Close() to the directory handle when receiving an incorrectly aligned change notify response.
2010-07-06s4:new_partition LDB module - fix an uninitalised variable warningMatthias Dieter Wallnöfer1-2/+1
> [ 651/1946] Compiling dsdb/samdb/ldb_modules/new_partition.c > ../dsdb/samdb/ldb_modules/new_partition.c: In function 'new_partition_add': > ../dsdb/samdb/ldb_modules/new_partition.c:195: warning: 'down_req' may be used uninitialized in this function The "down_req" variable isn't used anymore.
2010-07-06s4:SAMR rpc server - "SetUserInfo" - fix the implementation of the expire flagMatthias Dieter Wallnöfer1-3/+22
It has to consider the "password_expires" flag to known if the "pwdLastSet" has to be updated or to be resetted.
2010-07-06s4:SAMR rpc server - "QueryUserInfo" - send back the password expired flag ↵Matthias Dieter Wallnöfer1-1/+6
on level 21 Taken from the s3 server code
2010-07-06s4:dsdb - samdb_result_force_password_change - also when "pwdLastSet" is ↵Matthias Dieter Wallnöfer1-3/+9
"-1" we shouldn't force a password change This value is set by the ADUC console.
2010-07-06s3-selftest: add "make testenv" target to Makefile.Günther Deschner1-0/+6
Guenther