summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-printing: Fix Bug #7541, %D in "printer admin" causing smbd crash.Günther Deschner2010-07-012-8/+17
| | | | Guenther
* s3-registry: fix malloc/talloc mismatch upon free in reg_enumvalue().Günther Deschner2010-07-011-1/+1
| | | | Guenther
* s3-libsmb: move change_trust_account_password out of smbd into libsmb.Günther Deschner2010-06-304-107/+76
| | | | Guenther
* s3-winreg: implement _winreg_QueryMultipleValues().Günther Deschner2010-06-301-6/+15
| | | | Guenther
* s3-winreg: implement _winreg_QueryMultipleValues2().Günther Deschner2010-06-301-5/+114
| | | | Guenther
* s3-registry: add reg_querymultiplevalues() to reg_api.Günther Deschner2010-06-302-0/+56
| | | | Guenther
* s3-utils: remove rpccheck.Günther Deschner2010-06-291-62/+0
| | | | | | Impossible to get this to compile after the conversion to pidl. Guenther
* s3-client: Make sure we only write to an opened file.Andreas Schneider2010-06-291-4/+10
| | | | Found by clang-analyzer.
* s3-net: Make sure we don't call free on garbage.Andreas Schneider2010-06-291-1/+1
| | | | Found by clang-analyzer.
* s3-net: Use talloc_asprintf and return if file is in wrong format.Andreas Schneider2010-06-291-19/+16
| | | | Found by clang-analyzer.
* s3: Change exit on immediate socket failure.Ira Cooper2010-06-281-4/+4
| | | | | | | This change makes it so socket errors early in the smbd child process cause orderly exits not coredumps. Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Make some routines static in smbldapVolker Lendecke2010-06-282-4/+2
|
* s3-registry: missed one perflib keyname delimiter.Günther Deschner2010-06-281-1/+1
| | | | Guenther
* s3: More cleanup in winbindd_ads.c:query_userVolker Lendecke2010-06-281-13/+10
| | | | We can't ads_msgfree after the ads struct has been killed. Do early returns.
* s3: Fix a valgrind errorVolker Lendecke2010-06-281-2/+1
| | | | nss_get_info_cached does not necessarily fill in gid
* s3: Re-arrange winbindd_ads.c:query_userVolker Lendecke2010-06-281-23/+24
| | | | | We can't access the LDAP message after nss_get_info_cached has potentially destroyed the ads_struct
* s3: free -> SAFE_FREEVolker Lendecke2010-06-281-1/+1
|
* s3: Do an early TALLOC_FREEVolker Lendecke2010-06-281-2/+5
|
* s3-registry: fix printing keyname delimiter.Günther Deschner2010-06-281-8/+8
| | | | Guenther
* s3-registry: fix perfmon keyname delimiter.Günther Deschner2010-06-281-2/+2
| | | | Guenther
* s3-net: Make sure that the data blob is initialized.Andreas Schneider2010-06-281-0/+2
| | | | Found by clang-analyzer.
* s3-eventlog: Fixed the keyname delimiter for the registry key.Andreas Schneider2010-06-281-1/+1
|
* 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.