Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-29 | s3-net: Make sure we don't call free on garbage. | Andreas Schneider | 1 | -1/+1 | |
Found by clang-analyzer. | |||||
2010-06-29 | s3-net: Use talloc_asprintf and return if file is in wrong format. | Andreas Schneider | 1 | -19/+16 | |
Found by clang-analyzer. | |||||
2010-06-28 | s3: Change exit on immediate socket failure. | Ira Cooper | 1 | -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> | |||||
2010-06-28 | s3: Make some routines static in smbldap | Volker Lendecke | 2 | -4/+2 | |
2010-06-28 | s3-registry: missed one perflib keyname delimiter. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-06-28 | s3: More cleanup in winbindd_ads.c:query_user | Volker Lendecke | 1 | -13/+10 | |
We can't ads_msgfree after the ads struct has been killed. Do early returns. | |||||
2010-06-28 | s3: Fix a valgrind error | Volker Lendecke | 1 | -2/+1 | |
nss_get_info_cached does not necessarily fill in gid | |||||
2010-06-28 | s3: Re-arrange winbindd_ads.c:query_user | Volker Lendecke | 1 | -23/+24 | |
We can't access the LDAP message after nss_get_info_cached has potentially destroyed the ads_struct | |||||
2010-06-28 | s3: free -> SAFE_FREE | Volker Lendecke | 1 | -1/+1 | |
2010-06-28 | s3: Do an early TALLOC_FREE | Volker Lendecke | 1 | -2/+5 | |
2010-06-28 | s3-registry: fix printing keyname delimiter. | Günther Deschner | 1 | -8/+8 | |
Guenther | |||||
2010-06-28 | s3-registry: fix perfmon keyname delimiter. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-06-28 | s3-net: Make sure that the data blob is initialized. | Andreas Schneider | 1 | -0/+2 | |
Found by clang-analyzer. | |||||
2010-06-28 | s3-eventlog: Fixed the keyname delimiter for the registry key. | Andreas Schneider | 1 | -1/+1 | |
2010-06-28 | s3-registry: Fixed keyname delimiter in KEY_CURRENT_VERSION_NORM. | Andreas Schneider | 1 | -1/+1 | |
2010-06-28 | s3-smbd: Make sure that status is initialized when used. | Andreas Schneider | 1 | -1/+1 | |
Found by clang-analyzer. | |||||
2010-06-28 | s3-lanman: Make sure count is not used uninitialized if we jump to out. | Andreas Schneider | 1 | -1/+1 | |
Found by clang-analyzer. | |||||
2010-06-28 | s3-vfs: Make sure that retval isn't used uninitialized. | Andreas Schneider | 1 | -1/+1 | |
Found by clang-analyzer. | |||||
2010-06-28 | s3-passdb: Make sure dn is initialized and don't free it. | Andreas Schneider | 1 | -3/+1 | |
dn is just a pointer to a memory which hasn't been duplicated. Found by clang-analyzer. | |||||
2010-06-28 | s3-passdb: Make sure we don't call free on a garbage pointer. | Andreas Schneider | 1 | -1/+1 | |
Found by clang-analyzer. | |||||
2010-06-28 | s3-lanman: Make sure that job_info is not undefined. | Andreas Schneider | 1 | -1/+1 | |
Found by clang-analyzer. | |||||
2010-06-28 | s3-nmbd: Leave the sync function if there are no syncs. | Andreas Schneider | 1 | -0/+5 | |
Found by clang-analyzer. | |||||
2010-06-28 | s3-libsmb: Make sure that finfo is initialized. | Andreas Schneider | 1 | -0/+2 | |
Found by clang-analyzer. | |||||
2010-06-28 | s3-eventlog: make sure _eventlog_OpenEventLogW fails when we cannot open the ↵ | Günther Deschner | 1 | -1/+4 | |
registry key. Guenther | |||||
2010-06-28 | s3: Fix some valgrind errors | Volker Lendecke | 1 | -19/+36 | |
Essentially the same change as 15297ee, this time for the client side. Günther, Andrew B, please check! Thanks, Volker | |||||
2010-06-28 | s3-passdb: Make sure that we don't assign garbage. | Andreas Schneider | 1 | -1/+1 | |
2010-06-25 | Move UCS2 macros to common code | Jelmer Vernooij | 1 | -21/+0 | |
2010-06-25 | Don't use frame as the talloc ctx in open_schannel_session_store(), as this ↵ | Jeremy Allison | 1 | -1/+1 | |
breaks running from inetd (we free frame below). Use NULL instead. Jeremy. | |||||
2010-06-25 | Change talloc_autofree_context() to frame in Andrew's schannel.tdb ↵ | Jeremy Allison | 1 | -1/+1 | |
TDB_CLEAR_IF_FIRST changes. Using talloc_autofree_context() has undesirable effects when forked subprocesses exit. Jeremy. | |||||
2010-06-25 | s3:schannel Open the schannel_state.tdb at startup | Andrew Bartlett | 1 | -0/+8 | |
This will allow future TDB_CLEAR_IF_FIRST behaviour Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2010-06-25 | s3:registry: use regdb_store_regdb_version() in regdb_init(). | Michael Adam | 1 | -13/+2 | |
2010-06-25 | s3:registry: use regdb_store_regdb_version() in regdb_upgrade_v1_to_v2() | Michael Adam | 1 | -13/+8 | |
2010-06-25 | s3:registry: add a function regdb_store_regdb_version() | Michael Adam | 1 | -0/+21 | |
2010-06-25 | s3:registry: rename regdb_upgrade_to_version_2() -> regdb_upgrade_v1_to_v2() | Michael Adam | 1 | -2/+2 | |
2010-06-25 | s3:net [rpc] registry: be as user-friendly as possible wrt to the ↵ | Michael Adam | 1 | -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. | |||||
2010-06-25 | s3:registry: improve logic of upgrade code in regdb_init() | Michael Adam | 1 | -30/+45 | |
Don't overwrite unknown versions (0 or > 2) of the registry. | |||||
2010-06-25 | s3:registry: fix some debug messages in regdb_ini() | Michael Adam | 1 | -4/+4 | |
2010-06-25 | s3-registry: Convert registry key delimiter from slash to backslash. | Andreas Schneider | 5 | -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> | |||||
2010-06-25 | s3-registry: Added a db upgrade function to normalize the key delimiter. | Andreas Schneider | 2 | -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> | |||||
2010-06-25 | s3: In make_server_info_info3, check the result of copy_netr_SamInfo3 | Volker Lendecke | 1 | -0/+4 | |
2010-06-25 | s3: In copy_netr_SamInfo3 copy all of the sids array | Volker Lendecke | 1 | -0/+3 | |
2010-06-25 | s3: Fix a winbind crash | Volker Lendecke | 1 | -0/+10 | |
nss_get_info_cached might deep inside sequence_number() invalidate the ads_struct without telling its callers. | |||||
2010-06-25 | s3: Fix a winbind crash | Volker Lendecke | 1 | -1/+6 | |
nss_get_info_cached might have invalidated "ads" deep inside. | |||||
2010-06-24 | s3:registry: remove unused function normalize_dbkey() | Michael Adam | 2 | -11/+0 | |
2010-06-24 | s3:registry: use normalize_reg_path() in regdb_set_secdesc() | Michael Adam | 1 | -1/+6 | |
instead of normalize_dbkey | |||||
2010-06-24 | s3:registry: use normalize_reg_path() in regdb_get_secdesc() | Michael Adam | 1 | -1/+6 | |
instead of normalize_dbkey. | |||||
2010-06-23 | Add parse_setjob_command() to make setting job state easier for users. | Jeremy Allison | 1 | -1/+30 | |
Jeremy. | |||||
2010-06-22 | Fix bug 7528 - Solaris with NIS autohome. | Jeremy Allison | 1 | -0/+3 | |
Ensure entries containing "\n" are stripped. Jeremy. | |||||
2010-06-21 | s3: Fix some valgrind errors | Volker Lendecke | 1 | -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 | |||||
2010-06-21 | s3-winbind: Make KRB5_EVENT_REFRESH_TIME a function | Volker Lendecke | 1 | -6/+12 | |