summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-07-01s3-libads: move ads_status to a separate header file.Günther Deschner4-43/+43
Guenther
2010-07-01s3-libads: move ads_protos.h to ads_ldap_protos.h.Günther Deschner2-20/+20
Guenther
2010-07-01s3-waf: fix the build after smbd/change_trust_pw.c removal.Günther Deschner1-1/+1
Guenther
2010-07-01s3-libnet_join: small IDL enhancement.Günther Deschner2-4/+2
Guenther
2010-07-01s3-libads: use shared well known guids.Günther Deschner3-6/+3
Guenther
2010-07-01s3-libads: move KRB5_ENV_CCNAME to separate header krb5_env.h.Günther Deschner3-3/+3
Guenther
2010-07-01s3-printing: Fix Bug #7541, %D in "printer admin" causing smbd crash.Günther Deschner2-8/+17
Guenther
2010-07-01s3-registry: fix malloc/talloc mismatch upon free in reg_enumvalue().Günther Deschner1-1/+1
Guenther
2010-06-30s3-libsmb: move change_trust_account_password out of smbd into libsmb.Günther Deschner4-107/+76
Guenther
2010-06-30s3-winreg: implement _winreg_QueryMultipleValues().Günther Deschner1-6/+15
Guenther
2010-06-30s3-winreg: implement _winreg_QueryMultipleValues2().Günther Deschner1-5/+114
Guenther
2010-06-30s3-registry: add reg_querymultiplevalues() to reg_api.Günther Deschner2-0/+56
Guenther
2010-06-29s3-utils: remove rpccheck.Günther Deschner1-62/+0
Impossible to get this to compile after the conversion to pidl. Guenther
2010-06-29s3-client: Make sure we only write to an opened file.Andreas Schneider1-4/+10
Found by clang-analyzer.
2010-06-29s3-net: Make sure we don't call free on garbage.Andreas Schneider1-1/+1
Found by clang-analyzer.
2010-06-29s3-net: Use talloc_asprintf and return if file is in wrong format.Andreas Schneider1-19/+16
Found by clang-analyzer.
2010-06-28 s3: Change exit on immediate socket failure.Ira Cooper1-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-28s3: Make some routines static in smbldapVolker Lendecke2-4/+2
2010-06-28s3-registry: missed one perflib keyname delimiter.Günther Deschner1-1/+1
Guenther
2010-06-28s3: More cleanup in winbindd_ads.c:query_userVolker Lendecke1-13/+10
We can't ads_msgfree after the ads struct has been killed. Do early returns.
2010-06-28s3: Fix a valgrind errorVolker Lendecke1-2/+1
nss_get_info_cached does not necessarily fill in gid
2010-06-28s3: Re-arrange winbindd_ads.c:query_userVolker Lendecke1-23/+24
We can't access the LDAP message after nss_get_info_cached has potentially destroyed the ads_struct
2010-06-28s3: free -> SAFE_FREEVolker Lendecke1-1/+1
2010-06-28s3: Do an early TALLOC_FREEVolker Lendecke1-2/+5
2010-06-28s3-registry: fix printing keyname delimiter.Günther Deschner1-8/+8
Guenther
2010-06-28s3-registry: fix perfmon keyname delimiter.Günther Deschner1-2/+2
Guenther
2010-06-28s3-net: Make sure that the data blob is initialized.Andreas Schneider1-0/+2
Found by clang-analyzer.
2010-06-28s3-eventlog: Fixed the keyname delimiter for the registry key.Andreas Schneider1-1/+1
2010-06-28s3-registry: Fixed keyname delimiter in KEY_CURRENT_VERSION_NORM.Andreas Schneider1-1/+1
2010-06-28s3-smbd: Make sure that status is initialized when used.Andreas Schneider1-1/+1
Found by clang-analyzer.
2010-06-28s3-lanman: Make sure count is not used uninitialized if we jump to out.Andreas Schneider1-1/+1
Found by clang-analyzer.
2010-06-28s3-vfs: Make sure that retval isn't used uninitialized.Andreas Schneider1-1/+1
Found by clang-analyzer.
2010-06-28s3-passdb: Make sure dn is initialized and don't free it.Andreas Schneider1-3/+1
dn is just a pointer to a memory which hasn't been duplicated. Found by clang-analyzer.
2010-06-28s3-passdb: Make sure we don't call free on a garbage pointer.Andreas Schneider1-1/+1
Found by clang-analyzer.
2010-06-28s3-lanman: Make sure that job_info is not undefined.Andreas Schneider1-1/+1
Found by clang-analyzer.
2010-06-28s3-nmbd: Leave the sync function if there are no syncs.Andreas Schneider1-0/+5
Found by clang-analyzer.
2010-06-28s3-libsmb: Make sure that finfo is initialized.Andreas Schneider1-0/+2
Found by clang-analyzer.
2010-06-28s3-eventlog: make sure _eventlog_OpenEventLogW fails when we cannot open the ↵Günther Deschner1-1/+4
registry key. Guenther
2010-06-28s3: Fix some valgrind errorsVolker Lendecke1-19/+36
Essentially the same change as 15297ee, this time for the client side. Günther, Andrew B, please check! Thanks, Volker
2010-06-28s3-passdb: Make sure that we don't assign garbage.Andreas Schneider1-1/+1
2010-06-25Move UCS2 macros to common codeJelmer Vernooij1-21/+0
2010-06-25Don't use frame as the talloc ctx in open_schannel_session_store(), as this ↵Jeremy Allison1-1/+1
breaks running from inetd (we free frame below). Use NULL instead. Jeremy.
2010-06-25Change talloc_autofree_context() to frame in Andrew's schannel.tdb ↵Jeremy Allison1-1/+1
TDB_CLEAR_IF_FIRST changes. Using talloc_autofree_context() has undesirable effects when forked subprocesses exit. Jeremy.
2010-06-25s3:schannel Open the schannel_state.tdb at startupAndrew Bartlett1-0/+8
This will allow future TDB_CLEAR_IF_FIRST behaviour Signed-off-by: Jeremy Allison <jra@samba.org>
2010-06-25s3:registry: use regdb_store_regdb_version() in regdb_init().Michael Adam1-13/+2
2010-06-25s3:registry: use regdb_store_regdb_version() in regdb_upgrade_v1_to_v2()Michael Adam1-13/+8
2010-06-25s3:registry: add a function regdb_store_regdb_version()Michael Adam1-0/+21
2010-06-25s3:registry: rename regdb_upgrade_to_version_2() -> regdb_upgrade_v1_to_v2()Michael Adam1-2/+2
2010-06-25s3:net [rpc] registry: be as user-friendly as possible wrt to the ↵Michael Adam1-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-25s3:registry: improve logic of upgrade code in regdb_init()Michael Adam1-30/+45
Don't overwrite unknown versions (0 or > 2) of the registry.