Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-21 | s3: Avoid two calls to strcmp() | Volker Lendecke | 1 | -4/+4 | |
2009-11-21 | s3: Fix a bool/enum mismatch | Volker Lendecke | 1 | -1/+1 | |
2009-11-21 | s4:lsa RPC - Fix type of variable "atype" | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
This is an unsigned 32bit integer. | |||||
2009-11-21 | s4:samr RPC - Use more LDB constants | Matthias Dieter Wallnöfer | 2 | -12/+12 | |
2009-11-21 | s4:lsa RPC - Use more LDB constants | Matthias Dieter Wallnöfer | 1 | -16/+16 | |
And fix an obvious bug (call of "samdb_msg_add_delete") | |||||
2009-11-21 | Implemented LDAP_SERVER_SD_FLAGS_OID on search requests. | Nadezhda Ivanova | 3 | -26/+225 | |
2009-11-21 | s4:torture/smb2/oplock - Remove unneeded "status" redeclarations | Matthias Dieter Wallnöfer | 1 | -5/+0 | |
2009-11-21 | s4:torture/smb2/notify - Rename nested "fname" variable to prevent warnings | Matthias Dieter Wallnöfer | 1 | -6/+6 | |
2009-11-21 | s4:torture/raw/unlink - Remove unused variable and label | Matthias Dieter Wallnöfer | 1 | -2/+1 | |
2009-11-21 | s4:torture/rpc/netlogon - Fix uninitialised variable | Matthias Dieter Wallnöfer | 1 | -2/+1 | |
2009-11-21 | s3: Convert cli_get_fs_attr_info to the async API | Volker Lendecke | 6 | -44/+102 | |
2009-11-21 | s3: Tune if-conditions in a very hot codepath | Volker Lendecke | 1 | -1/+1 | |
This looks innocent, but it is visible in a netbench run. Due to boolean short-circuiting we don't have to execute the conditions on the right-hand side of the &&. So putting the less likely condition left gains a bit. | |||||
2009-11-21 | s3: Remove a pointless memset | Volker Lendecke | 1 | -1/+0 | |
We are assigning the complete structure now (we used to assign individual fields), so this is obsolete. | |||||
2009-11-21 | s3: Cache brlock.tdb entries for the fast read&write strict locking code path | Volker Lendecke | 4 | -17/+74 | |
For a netbench run this gains around 2% user-space CPU, fetching a 100MB file takes around 4% less. | |||||
2009-11-21 | s4:WINREG RPC server - Cosmetic | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2009-11-21 | ntlm_auth: use data_blob_talloc() to allocate session key | Kai Blin | 1 | -2/+2 | |
Thanks to Shibu Piriyath <shibunair80@ymail.com> for spotting the issue. | |||||
2009-11-20 | Fix logic bug where high bits tests was being | Jeremy Allison | 1 | -1/+1 | |
done on both Windows and POSIX mkdirs instead of only on Windows mkdir (as intended). The variable "file_attributes" had already had FILE_FLAG_POSIX_SEMANTICS removed above in the function if it had already been set. Jeremy. | |||||
2009-11-21 | s3:fix endianness bug in dbwrap_change_int32_atomic() (bug #6901) | Michael Adam | 1 | -4/+6 | |
Michael | |||||
2009-11-21 | s3:fix endianness bug in dbwrap_change_uint32_atomic() (bug #6901) | Michael Adam | 1 | -4/+6 | |
Michael | |||||
2009-11-20 | charset/tests/iconv - Remove the "const" from "ptr_in" to prevent ↵ | Matthias Dieter Wallnöfer | 1 | -7/+7 | |
"discard_const_p" use Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-20 | tdb tools: Mostly cosmetic adaptions | Matthias Dieter Wallnöfer | 2 | -8/+9 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-20 | util/strlist: Fix up "const" warnings in the string list and test code | Matthias Dieter Wallnöfer | 3 | -26/+30 | |
This work I did using suggestions by Jelmer. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-20 | s3-build: delete more object files for "make clean". | Günther Deschner | 1 | -2/+3 | |
Guenther | |||||
2009-11-20 | Cosmetic patch - fixed case of attribute name. | Nadezhda Ivanova | 1 | -1/+1 | |
2009-11-20 | s4:min_versions: require ldb 0.9.9 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-11-20 | s4:lib/ldb: change version to 0.9.9 after some critical index fixes | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-11-20 | librpc: rerun "make idl" | Stefan Metzmacher | 6 | -0/+507 | |
metze | |||||
2009-11-20 | Revert "Work around ndr_unpack failing on structures with relative pointers." | Stefan Metzmacher | 1 | -18/+1 | |
This reverts commit c2cdb4ad5c9398ef0d3310613107999f8d33c7ce. It's not needed anymore. metze | |||||
2009-11-20 | pidl:NDR/Parser.pm: update ndr_pull->relative_highest_offset after handling ↵ | Stefan Metzmacher | 1 | -1/+6 | |
relative pointers metze | |||||
2009-11-20 | librpc/ndr: remember the highest offset we parsed with relative pointer buffers | Stefan Metzmacher | 2 | -6/+22 | |
ndr_*_pull_blob_all() will now work if relative pointers are used. metze | |||||
2009-11-20 | s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_db_init | Michael Adam | 1 | -0/+2 | |
When idmap backend is specified as idmap backend = ldap:"ldap://server1 ldap://server2" then currently "ldap://server1 ldap://server2" was passed to ldap_initialize including the quotes, leading to an ldap error. Michael | |||||
2009-11-20 | s3:idmap_ldap: trim the " chars from the location string in ↵ | Michael Adam | 1 | -0/+2 | |
idmap_ldap_alloc_init When idmap alloc backend is specified as idmap alloc backend = ldap:"ldap://server1 ldap://server2" then currently "ldap://server1 ldap://server2" was passed to ldap_initialize including the quotes, leading to an ldap error. Michael | |||||
2009-11-20 | Implementation of LDAP_SERVER_SD_FLAGS_OID on modify requests. | Nadezhda Ivanova | 2 | -21/+240 | |
2009-11-20 | Some changes to allow processing of ldap controls on modify requests. | Nadezhda Ivanova | 6 | -10/+106 | |
ldap_backend used to filter out ldap controls on modify. Also, modified python binding for ldap_modify to allow writing tests for such controls. | |||||
2009-11-20 | s4:ntvfs/posix/pvfs_acl - Remove unused variable "token" | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
2009-11-20 | tdb: change version to 1.2.0 after adding TDB_*ALLOW_NESTING | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-11-20 | tdb: add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behavior | Stefan Metzmacher | 5 | -3/+63 | |
We need to keep TDB_ALLOW_NESTING as default behavior, so that existing code continues to work. However we may change the default together with a major version number change in future. metze | |||||
2009-11-20 | New attempt at TDB transaction nesting allow/disallow. | Ronnie Sahlberg | 2 | -1/+14 | |
Make the default be that transaction is not allowed and any attempt to create a nested transaction will fail with TDB_ERR_NESTING. If an application can cope with transaction nesting and the implicit semantics of tdb_transaction_commit(), it can enable transaction nesting by using the TDB_ALLOW_NESTING flag. (cherry picked from ctdb commit 3e49e41c21eb8c53084aa8cc7fd3557bdd8eb7b6) Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-20 | tdb: always set tdb->tracefd to -1 to be safe on goto fail | Stefan Metzmacher | 1 | -4/+3 | |
metze | |||||
2009-11-20 | s4-dsdb: some more attribuutes that we should only give if asked for | Andrew Tridgell | 2 | -2/+14 | |
2009-11-20 | s4-drs: we need to specifically ask for ntSecurityDescriptor | Andrew Tridgell | 1 | -1/+1 | |
ntSecurityDescriptor is no longer included by default | |||||
2009-11-20 | s4-ldb: added a warning about ldb_msg_add_dn | Andrew Tridgell | 1 | -0/+2 | |
ldb_msg_add_dn does not copy the dn linearized string | |||||
2009-11-20 | added new function "ldb_msg_add_dn" | Crístian Deives | 4 | -9/+17 | |
a helper function to a DN element to an ldb_msg using ldb_msg_add_string. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-11-20 | s4-dsdb: removed attributes that should not be displayed by default | Andrew Tridgell | 1 | -0/+37 | |
Some attributes (like ntSecurityDescriptor) are stored in our db, but should only be displayed if asked for. This also applied to parentGUID from old installs, which is now generated. | |||||
2009-11-20 | s4-drs: Removes stored parentGUID's creation and renaming | Fernando J V da Silva | 1 | -80/+7 | |
parentGUID is now created on demand in operational.c Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-11-20 | s4-drs: Synchronous Implementation of generated parentGUID | Fernando J V da Silva | 1 | -2/+34 | |
This generated parentGUID on demand, rather than getting it from the database Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-11-20 | s4-drs: Utility functions to deal with GUID | Fernando J V da Silva | 1 | -0/+99 | |
dsdb_find_parentguid_by_dn() returns the parentGUID for a given DN dsdb_msg_add_guid() adds a GUID value to a given message (either objectGUID or parentGUID). Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-11-20 | ldb:ldb_tdb backend/indexes - Outside API | Matthias Dieter Wallnöfer | 3 | -28/+30 | |
- The outside API contains "DN" string arguments: Bad. Since in this way we fully rely on the outside calls regarding the right DN format. Solution: Use always a "struct ldb_dn" entry. Since this one is interchangeable and we can handle it in our preferred way. | |||||
2009-11-20 | ldb:ldb_tdb backend/indexes - DN comparison | Matthias Dieter Wallnöfer | 1 | -4/+5 | |
- DN comparison: The function doesn't seem that efficient. I "upgraded" it a bit to be more powerful (added a second length check and do both before the string comparison) | |||||
2009-11-20 | s4-dsdb: make sure mod_usn list is zeroed on each transaction | Andrew Tridgell | 1 | -7/+10 | |