summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-registry: Fixed keyname delimiter in KEY_CURRENT_VERSION_NORM.Andreas Schneider2010-06-281-1/+1
|
* s3-smbd: Make sure that status is initialized when used.Andreas Schneider2010-06-281-1/+1
| | | | Found by clang-analyzer.
* s3-lanman: Make sure count is not used uninitialized if we jump to out.Andreas Schneider2010-06-281-1/+1
| | | | Found by clang-analyzer.
* s3-vfs: Make sure that retval isn't used uninitialized.Andreas Schneider2010-06-281-1/+1
| | | | Found by clang-analyzer.
* s3-passdb: Make sure dn is initialized and don't free it.Andreas Schneider2010-06-281-3/+1
| | | | | | dn is just a pointer to a memory which hasn't been duplicated. Found by clang-analyzer.
* s3-passdb: Make sure we don't call free on a garbage pointer.Andreas Schneider2010-06-281-1/+1
| | | | Found by clang-analyzer.
* s3-lanman: Make sure that job_info is not undefined.Andreas Schneider2010-06-281-1/+1
| | | | Found by clang-analyzer.
* s3-nmbd: Leave the sync function if there are no syncs.Andreas Schneider2010-06-281-0/+5
| | | | Found by clang-analyzer.
* s3-libsmb: Make sure that finfo is initialized.Andreas Schneider2010-06-281-0/+2
| | | | Found by clang-analyzer.
* s3-eventlog: make sure _eventlog_OpenEventLogW fails when we cannot open the ↵Günther Deschner2010-06-281-1/+4
| | | | | | registry key. Guenther
* s3: Fix some valgrind errorsVolker Lendecke2010-06-281-19/+36
| | | | | | | | | | Essentially the same change as 15297ee, this time for the client side. Günther, Andrew B, please check! Thanks, Volker
* s3-passdb: Make sure that we don't assign garbage.Andreas Schneider2010-06-281-1/+1
|
* Move UCS2 macros to common codeJelmer Vernooij2010-06-251-21/+0
|
* Don't use frame as the talloc ctx in open_schannel_session_store(), as this ↵Jeremy Allison2010-06-251-1/+1
| | | | | | | | breaks running from inetd (we free frame below). Use NULL instead. Jeremy.
* Change talloc_autofree_context() to frame in Andrew's schannel.tdb ↵Jeremy Allison2010-06-251-1/+1
| | | | | | | | | TDB_CLEAR_IF_FIRST changes. Using talloc_autofree_context() has undesirable effects when forked subprocesses exit. Jeremy.
* s3:schannel Open the schannel_state.tdb at startupAndrew Bartlett2010-06-251-0/+8
| | | | | | This will allow future TDB_CLEAR_IF_FIRST behaviour Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:registry: use regdb_store_regdb_version() in regdb_init().Michael Adam2010-06-251-13/+2
|
* s3:registry: use regdb_store_regdb_version() in regdb_upgrade_v1_to_v2()Michael Adam2010-06-251-13/+8
|
* s3:registry: add a function regdb_store_regdb_version()Michael Adam2010-06-251-0/+21
|
* s3:registry: rename regdb_upgrade_to_version_2() -> regdb_upgrade_v1_to_v2()Michael Adam2010-06-251-2/+2
|
* s3:net [rpc] registry: be as user-friendly as possible wrt to the ↵Michael Adam2010-06-251-2/+9
| | | | | | | | | | | | | | | | | normalization change The registry has been changed to use '\' as a key delimiter instead of '/'. Originally, one could mix both characters in the specification of registry key for net [rpc] registry. Now this can not work any more, since '/' is generally treated as a valid character of a key name. Now, to be as user-friendly as possible, the net [rpc] registry code has been changed to still support '/' as a key name delimiter if no '\' character is found in the given registry path string. In that case, all '/' characters are converted to '\' characters before proceeding. If on the other hand, a '\' character is found in the path string, then no conversion is assumed, and it is hence assumed that the path is already in the correct form and '/' characters are supposed to be part of the key names.
* s3:registry: improve logic of upgrade code in regdb_init()Michael Adam2010-06-251-30/+45
| | | | Don't overwrite unknown versions (0 or > 2) of the registry.
* s3:registry: fix some debug messages in regdb_ini()Michael Adam2010-06-251-4/+4
|
* s3-registry: Convert registry key delimiter from slash to backslash.Andreas Schneider2010-06-255-51/+30
| | | | | | | This is needed to support keynames containing a '/' like TCP/IP. Which is used in serveral standard paths. Signed-off-by: Michael Adam <obnox@samba.org>
* s3-registry: Added a db upgrade function to normalize the key delimiter.Andreas Schneider2010-06-252-6/+107
| | | | | | | This converts the key delimiter from a slash to a blackslash. We need to support keynames with a backslash. Signed-off-by: Michael Adam <obnox@samba.org>
* s3: In make_server_info_info3, check the result of copy_netr_SamInfo3Volker Lendecke2010-06-251-0/+4
|
* s3: In copy_netr_SamInfo3 copy all of the sids arrayVolker Lendecke2010-06-251-0/+3
|
* s3: Fix a winbind crashVolker Lendecke2010-06-251-0/+10
| | | | | nss_get_info_cached might deep inside sequence_number() invalidate the ads_struct without telling its callers.
* s3: Fix a winbind crashVolker Lendecke2010-06-251-1/+6
| | | | nss_get_info_cached might have invalidated "ads" deep inside.
* s3:registry: remove unused function normalize_dbkey()Michael Adam2010-06-242-11/+0
|
* s3:registry: use normalize_reg_path() in regdb_set_secdesc()Michael Adam2010-06-241-1/+6
| | | | instead of normalize_dbkey
* s3:registry: use normalize_reg_path() in regdb_get_secdesc()Michael Adam2010-06-241-1/+6
| | | | instead of normalize_dbkey.
* Add parse_setjob_command() to make setting job state easier for users.Jeremy Allison2010-06-231-1/+30
| | | | Jeremy.
* Fix bug 7528 - Solaris with NIS autohome.Jeremy Allison2010-06-221-0/+3
| | | | | | Ensure entries containing "\n" are stripped. Jeremy.
* 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
* s3-winbind: Make KRB5_EVENT_REFRESH_TIME a functionVolker Lendecke2010-06-211-6/+12
|
* tldap: Fix a type-punned warningVolker Lendecke2010-06-211-1/+1
|
* 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: Attempt to fix the build on NetBSDKai Blin2010-06-202-6/+9
| | | | Unlike Linux and OSX, NetBSD seems to have *netgrent prototypes in netgroup.h.
* s3-waf: Change the (set|get|end)netgrent checks to match the configure.in checksKai Blin2010-06-201-9/+12
|
* s3 configure: Check for (set|get|end)netgrent prototypesKai Blin2010-06-201-1/+24
|
* Second part of fix converting prs_XX struct and functions to talloc. Remove ↵Jeremy Allison2010-06-182-51/+0
| | | | | | | | unneeded prs_mem_free calls. Jeremy. Signed-off-by: Simo Sorce <idra@samba.org>
* Convert the prs_XXX struct and functions to use talloc instead of malloc. ↵Jeremy Allison2010-06-185-61/+78
| | | | | | | | Passes valgrind and make tests for client and server. Second version of this patch after splitting up at Simo's request. Patch to follow will delete extraneous prs_mem_free() calls. Jeremy. Signed-off-by: Simo Sorce <idra@samba.org>
* Use #defined constant instead of "false" to be clearer about intent.Jeremy Allison2010-06-171-1/+1
|
* s3-selftest: fix locktest9 in make selftest.Günther Deschner2010-06-174-5/+7
| | | | Guenther