summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-21libcli/named_pipe_auth: fix memory handling for temporary dataStefan Metzmacher1-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
2010-06-21tldap: Fix a type-punned warningVolker Lendecke1-1/+1
2010-06-21tsocket: Fix some type-punned warningsVolker Lendecke1-2/+2
2010-06-21s3: Fix some enum/int mixup warningsVolker Lendecke1-53/+53
2010-06-21s3: Remove an unreachable line of codeVolker Lendecke1-2/+0
2010-06-21s3: Fix a type-punned warningVolker Lendecke1-2/+2
2010-06-21s3:net rpc registry: make getsd succeed when key sd only gives access to SD ↵Michael Adam1-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.
2010-06-21s3:fix an outdated comment.Michael Adam1-5/+2
2010-06-21s3:idmap_ldap: remove unreached code (and explicit error return code)Michael Adam1-5/+1
2010-06-21s3/s4 - remove "talloc_tos()" from common code since s4 doesn't support itMatthias Dieter Wallnöfer2-5/+10
Please don't use this in common code parts until we change the policy regarding it.
2010-06-21s4:dsdb_load_partition_usn - free the right memory context (tmp_ctx)Matthias Dieter Wallnöfer1-2/+1
2010-06-21s3-docs: Add missing whitespace.Karolin Seeger1-1/+1
Karolin
2010-06-21s4/dsdb: msg_idx->dn should be allocated in msg_idx mem contextKamen Mazdrashki1-1/+1
2010-06-21s4/dsdb: Move schema accessors cleanup in separate functionKamen Mazdrashki1-18/+21
This way dsdb_setup_sorted_accessors() will free memory allocated for accessor arrays correctly in case of failure,
2010-06-21s4/dsdb-schema: Index attributes on msDS-IntId valueKamen Mazdrashki3-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.
2010-06-20s4:kdc/db-glue.c - remove unreachable codeMatthias Dieter Wallnöfer1-4/+0
Would be nice if someone could check if this fits.
2010-06-20s4:registry/regf.c - add some casts to suppress build warnings on SolarisMatthias Dieter Wallnöfer1-2/+2
2010-06-20s4:registry/rpc.c - fix Solaris warnings by castsMatthias Dieter Wallnöfer1-4/+4
2010-06-20s4:samr RPC server - fix Solaris build warningMatthias Dieter Wallnöfer1-3/+3
2010-06-20s4:registry RPC server - quite some build warnings on SolarisMatthias Dieter Wallnöfer1-4/+4
2010-06-20s4:lsa_lookup.c - fix type argumentMatthias Dieter Wallnöfer1-1/+1
2010-06-20s4:rpc_server/service_rpc.c - fix warnings on SolarisMatthias Dieter Wallnöfer1-2/+2
2010-06-20s4:rpc_server/service_rpc.c - deactivate the 0-length structMatthias Dieter Wallnöfer1-0/+2
This should fix the build on Solaris
2010-06-20s4:libpolicy - fix printf output specifiers to suppress warningMatthias Dieter Wallnöfer1-1/+1
2010-06-20s4:libpolicy - Solaris compatibility fixMatthias Dieter Wallnöfer1-1/+5
2010-06-20s4:ldap.py - test subtree deletes through a new testcaseMatthias Dieter Wallnöfer1-0/+48
2010-06-20s4:ldap_backend.c - now also the LDAP server supports controls on delete ↵Matthias Dieter Wallnöfer1-5/+7
operations
2010-06-20s4:ldap_backend.c - move function "ldb_mod_req_with_controls" to a better ↵Matthias Dieter Wallnöfer1-51/+52
place in the code Under the "add" and over the "delete" function.
2010-06-20s4:subtree_delete LDB module - now do support tree delete operationsMatthias Dieter Wallnöfer1-9/+45
2010-06-20s4:dsdb - add a new dsdb delete function which understands the tree delete ↵Matthias Dieter Wallnöfer3-2/+62
control
2010-06-20ldb:controls - add the "TREE_DELETE" control for allowing subtree deletesMatthias Dieter Wallnöfer3-0/+54
2010-06-20ldb:ldb.h - add classifications to the control declarationsMatthias Dieter Wallnöfer1-7/+13
This makes it easier to understand which standard specifies which control.
2010-06-20s4:python LDB __init__.py - remove completely unused "erase_partitions" callMatthias Dieter Wallnöfer2-36/+0
Seems to be a relict from the past.
2010-06-20s4:samldb LDB module - remove "samldb_set_defaultObjectCategory"Matthias Dieter Wallnöfer1-78/+0
As far as I can tell and the test show the DN gets now normalised automatically when stored into the database. Anyway, if we find a case where this doesn't happen then I propose to do it centrally for all DN attributes in common since we should get away from special attribute hacks as far as possible.
2010-06-20s4:ldap_backend.c - add some newlines to make logs easier to readMatthias Dieter Wallnöfer1-5/+5
2010-06-20ldb:pyldb.c - introduce a "mem_ctx" also on "py_ldb_search"Matthias Dieter Wallnöfer1-12/+19
To prevent memory leaks
2010-06-20ldb:pyldb.c - some cleanups and adequations also in "py_ldb_modify" and ↵Matthias Dieter Wallnöfer1-19/+28
"py_ldb_rename" To make them consistent.
2010-06-20s4:ldap_controls.c - remove encoding functions for private recalculate SD ↵Matthias Dieter Wallnöfer1-19/+0
control
2010-06-20provision: Look for Samba prefix a bit harder.Jelmer Vernooij1-4/+6
2010-06-20Revert "s4:ldb-samba: fix the build without a system ldb"Stefan Metzmacher1-5/+0
This reverts commit 44c01a5eb45a0cd5ca3de8be5c4680de75418dce. This caused problems when using a system ldb and as we don't do ABI checks for ldb-samba4 any more, we don't need this change. metze Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4:ldb: only do ABI checking for the standalone build for nowStefan Metzmacher1-12/+24
Otherwise we fail to build samba4 with a system ldb. metze Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20libpolicy: Fix the build.Jelmer Vernooij2-2/+2
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Add preliminary support for storing changed Group Policies.Wilco Baan Hofman3-0/+101
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Refactor policy filesystem code.Wilco Baan Hofman1-97/+244
* It now uses reusable code to download the GPT. * It creates a list before copying for better error handling. * String_replace is now used instead of manually replacing '\\' with '/' for local paths. * A security check has been added for file names with "../". * It adheres to the 80 column rule, if at all possible. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Fix memory allocation with error handling.Wilco Baan Hofman5-21/+135
Also moved pypolicy.c headers around so as not to generate compile warnings Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Add talloc_frees in error cases in net_gpo.cWilco Baan Hofman1-0/+11
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Code cleanups: GUID generation, lp_dnsdomain instead of lp_realm, missing ↵Wilco Baan Hofman2-9/+6
spaces. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Set inherit flag type to bool.Wilco Baan Hofman1-1/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Fix 'magic' numbers to be strlen(something)Wilco Baan Hofman2-4/+6
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Change talloc_steal to strdup because function might not expect it.Wilco Baan Hofman1-5/+5
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>