summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* testprogs/win32: add prepare_dcpromo toolStefan Metzmacher2010-06-223-0/+1111
| | | | | | | | | | | This tool can set the DOMAIN-SID and nextRid counter in the local SAM on windows servers (tested with w2k8r2) dcpromo will use this values for the ad domain it creates. This might be useful for upgrades from a Samba3 domain. metze
* s4/dsdb-test: fix usage commentKamen Mazdrashki2010-06-221-2/+2
|
* s4/test: fix DC password in selftest-vars.shKamen Mazdrashki2010-06-221-2/+2
|
* s4 torture: RAW-SFILEINFO display warning instead of error on unsupported ↵Aravind Srinivasan2010-06-211-4/+24
| | | | | | | | | info level Also add a test to make sure setting the directory attribute is disallowed. Signed-off-by: Tim Prouty <tprouty@samba.org>
* smbtorture: Fix missing includes.James Peach2010-06-211-0/+1
|
* s4 upgradeprovision: fix the logging stuff so that it actually logMatthieu Patou2010-06-211-0/+2
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s3: Fix some valgrind errorsVolker Lendecke2010-06-211-18/+33
| | | | | | | | | | | | | With -d 10, there were a ton of uninitialized variables: The "NegotiateFlags" in the automatically parsed ntlmssp structures were not initialized. This also cleans up the talloc use a bit: do early TALLOC_FREE() Günther, please check! Thanks, Volker
* smbtorture: Fixx off-by-one command line parsing.James Peach2010-06-211-17/+17
| | | | | If we are not in shell mode we require both the target and test name arguments. Make sure we process these from the correct index.
* smbtorture: Add "target" command to interactive shell.James Peach2010-06-212-16/+51
| | | | | | Add a "target" command to set the target server to test. Refactor the command line argument processing a little so that you can run --shell without any additional arguments.
* smbtorture: Enhance shell "help" command.James Peach2010-06-211-13/+23
| | | | | Sort the command list alphabetically. Let the help command print usage info for other commands.
* smbtorture: Add "auth" command to the shell.James Peach2010-06-211-0/+73
| | | | | Add a new "auth" command to set the cmdline credentials from withing the smbtorture shell.
* smbtorture: Refactor interactive shell into independent commands.James Peach2010-06-211-26/+154
| | | | | Refactor the smbtorture interactive shell into a set of independent command callbacks to make it easier to add more independent commands.
* smbtorture: Move interactive shell into a separate file.James Peach2010-06-217-63/+109
|
* smbtorture: Print global options for interactive "list" command.James Peach2010-06-211-1/+3
|
* smbtorture: Add history support to shell mode.James Peach2010-06-212-1/+13
|
* smbtorture: Add list command to smbtorture shell.James Peach2010-06-211-36/+94
|
* s3-winbind: Make KRB5_EVENT_REFRESH_TIME a functionVolker Lendecke2010-06-211-6/+12
|
* libcli/named_pipe_auth: fix error handling in _tstream_npa_connect_recv()Stefan Metzmacher2010-06-211-0/+2
| | | | metze
* libcli/named_pipe_auth: fix memory handling for temporary dataStefan Metzmacher2010-06-211-5/+6
| | | | | | | | | | | In a tevent_req based function tevent_req_create() should be the first function! If it fails it's the only reason, why the function could every return NULL. And all temporary data belongs to 'state' and gets free'ed by tevent_req_received() in the _recv function. metze
* tldap: Fix a type-punned warningVolker Lendecke2010-06-211-1/+1
|
* tsocket: Fix some type-punned warningsVolker Lendecke2010-06-211-2/+2
|
* s3: Fix some enum/int mixup warningsVolker Lendecke2010-06-211-53/+53
|
* s3: Remove an unreachable line of codeVolker Lendecke2010-06-211-2/+0
|
* s3: Fix a type-punned warningVolker Lendecke2010-06-211-2/+2
|
* s3:net rpc registry: make getsd succeed when key sd only gives access to SD ↵Michael Adam2010-06-211-2/+1
| | | | | | | | | not key contents You don't need the REG_KEY_READ permissions to access the SD of a key. And for instance, the key HKLM\security ususally has no specific bits set for builtin\administrators, but the READ_CONTROL_ACCESS. I.e. builtin\administrators can get the sd but not enumerate the key.
* s3:fix an outdated comment.Michael Adam2010-06-211-5/+2
|
* s3:idmap_ldap: remove unreached code (and explicit error return code)Michael Adam2010-06-211-5/+1
|
* s3/s4 - remove "talloc_tos()" from common code since s4 doesn't support itMatthias Dieter Wallnöfer2010-06-212-5/+10
| | | | | Please don't use this in common code parts until we change the policy regarding it.
* s4:dsdb_load_partition_usn - free the right memory context (tmp_ctx)Matthias Dieter Wallnöfer2010-06-211-2/+1
|
* s3-docs: Add missing whitespace.Karolin Seeger2010-06-211-1/+1
| | | | Karolin
* s4/dsdb: msg_idx->dn should be allocated in msg_idx mem contextKamen Mazdrashki2010-06-211-1/+1
|
* s4/dsdb: Move schema accessors cleanup in separate functionKamen Mazdrashki2010-06-211-18/+21
| | | | | | This way dsdb_setup_sorted_accessors() will free memory allocated for accessor arrays correctly in case of failure,
* s4/dsdb-schema: Index attributes on msDS-IntId valueKamen Mazdrashki2010-06-213-7/+28
| | | | | | | | | | | | | | | | O(n) search for dsdb_attribute by msDS-IntId value was replaced by binary-search in ordered index. I've choosen the approach of separate index on msDS-IntId values as I think it is more clear what we are searching for. And it should little bit faster as we can clearly determine in which index to perform the search based on ATTID value - ATTIDs based on prefixMap and ATTIDs based on msDS-IntId are in separate ranges. Other way to implement this index was to merge msDS-IntId values in attributeID_id index. This led me to a shorted but not so obvious implementation.
* s4:kdc/db-glue.c - remove unreachable codeMatthias Dieter Wallnöfer2010-06-201-4/+0
| | | | Would be nice if someone could check if this fits.
* s4:registry/regf.c - add some casts to suppress build warnings on SolarisMatthias Dieter Wallnöfer2010-06-201-2/+2
|
* s4:registry/rpc.c - fix Solaris warnings by castsMatthias Dieter Wallnöfer2010-06-201-4/+4
|
* s4:samr RPC server - fix Solaris build warningMatthias Dieter Wallnöfer2010-06-201-3/+3
|
* s4:registry RPC server - quite some build warnings on SolarisMatthias Dieter Wallnöfer2010-06-201-4/+4
|
* s4:lsa_lookup.c - fix type argumentMatthias Dieter Wallnöfer2010-06-201-1/+1
|
* s4:rpc_server/service_rpc.c - fix warnings on SolarisMatthias Dieter Wallnöfer2010-06-201-2/+2
|
* s4:rpc_server/service_rpc.c - deactivate the 0-length structMatthias Dieter Wallnöfer2010-06-201-0/+2
| | | | This should fix the build on Solaris
* s4:libpolicy - fix printf output specifiers to suppress warningMatthias Dieter Wallnöfer2010-06-201-1/+1
|
* s4:libpolicy - Solaris compatibility fixMatthias Dieter Wallnöfer2010-06-201-1/+5
|
* s4:ldap.py - test subtree deletes through a new testcaseMatthias Dieter Wallnöfer2010-06-201-0/+48
|
* s4:ldap_backend.c - now also the LDAP server supports controls on delete ↵Matthias Dieter Wallnöfer2010-06-201-5/+7
| | | | operations
* s4:ldap_backend.c - move function "ldb_mod_req_with_controls" to a better ↵Matthias Dieter Wallnöfer2010-06-201-51/+52
| | | | | | place in the code Under the "add" and over the "delete" function.
* s4:subtree_delete LDB module - now do support tree delete operationsMatthias Dieter Wallnöfer2010-06-201-9/+45
|
* s4:dsdb - add a new dsdb delete function which understands the tree delete ↵Matthias Dieter Wallnöfer2010-06-203-2/+62
| | | | control
* ldb:controls - add the "TREE_DELETE" control for allowing subtree deletesMatthias Dieter Wallnöfer2010-06-203-0/+54
|
* ldb:ldb.h - add classifications to the control declarationsMatthias Dieter Wallnöfer2010-06-201-7/+13
| | | | This makes it easier to understand which standard specifies which control.