summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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.
2010-06-25s3:registry: fix some debug messages in regdb_ini()Michael Adam1-4/+4
2010-06-25s3-registry: Convert registry key delimiter from slash to backslash.Andreas Schneider5-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-25s3-registry: Added a db upgrade function to normalize the key delimiter.Andreas Schneider2-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-25s3: In make_server_info_info3, check the result of copy_netr_SamInfo3Volker Lendecke1-0/+4
2010-06-25s3: In copy_netr_SamInfo3 copy all of the sids arrayVolker Lendecke1-0/+3
2010-06-25s3: Fix a winbind crashVolker Lendecke1-0/+10
nss_get_info_cached might deep inside sequence_number() invalidate the ads_struct without telling its callers.
2010-06-25s3: Fix a winbind crashVolker Lendecke1-1/+6
nss_get_info_cached might have invalidated "ads" deep inside.
2010-06-24s3:registry: remove unused function normalize_dbkey()Michael Adam2-11/+0
2010-06-24s3:registry: use normalize_reg_path() in regdb_set_secdesc()Michael Adam1-1/+6
instead of normalize_dbkey
2010-06-24s3:registry: use normalize_reg_path() in regdb_get_secdesc()Michael Adam1-1/+6
instead of normalize_dbkey.
2010-06-23Add parse_setjob_command() to make setting job state easier for users.Jeremy Allison1-1/+30
Jeremy.
2010-06-22Fix bug 7528 - Solaris with NIS autohome.Jeremy Allison1-0/+3
Ensure entries containing "\n" are stripped. Jeremy.
2010-06-21s3: Fix some valgrind errorsVolker Lendecke1-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-21s3-winbind: Make KRB5_EVENT_REFRESH_TIME a functionVolker Lendecke1-6/+12
2010-06-21tldap: Fix a type-punned warningVolker Lendecke1-1/+1
2010-06-21s3: Fix some enum/int mixup warningsVolker Lendecke1-53/+53
2010-06-21s3: Remove an unreachable line of codeVolker Lendecke1-2/+0
2010-06-21s3: Fix a type-punned warningVolker Lendecke1-2/+2
2010-06-21s3:net rpc registry: make getsd succeed when key sd only gives access to SD ↵Michael Adam1-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.
2010-06-21s3:fix an outdated comment.Michael Adam1-5/+2
2010-06-21s3:idmap_ldap: remove unreached code (and explicit error return code)Michael Adam1-5/+1
2010-06-20s3: Attempt to fix the build on NetBSDKai Blin2-6/+9
Unlike Linux and OSX, NetBSD seems to have *netgrent prototypes in netgroup.h.
2010-06-20s3-waf: Change the (set|get|end)netgrent checks to match the configure.in checksKai Blin1-9/+12
2010-06-20s3 configure: Check for (set|get|end)netgrent prototypesKai Blin1-1/+24
2010-06-18Second part of fix converting prs_XX struct and functions to talloc. Remove ↵Jeremy Allison2-51/+0
unneeded prs_mem_free calls. Jeremy. Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-18Convert the prs_XXX struct and functions to use talloc instead of malloc. ↵Jeremy Allison5-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>
2010-06-17Use #defined constant instead of "false" to be clearer about intent.Jeremy Allison1-1/+1
2010-06-17s3-selftest: fix locktest9 in make selftest.Günther Deschner4-5/+7
Guenther
2010-06-17s3:configure: use cc for linking on IRIX and fix shlib usageBjörn Jacke1-3/+2
2010-06-17s3-waf: Fix the OSX 10.4 build by adding an explicit resolv dep on smbclientKai Blin1-1/+1
2010-06-17s3-waf: Add check for iconvKai Blin2-1/+9
2010-06-17s3-waf: Work around missing *netgrent prototypes on OSX 10.4Kai Blin2-5/+27
2010-06-16Remove an unused chunk of code (will make it easier to talloc'ize prs_XXX).Jeremy Allison1-49/+0
Jeremy.
2010-06-16Remove two unused functions (prs_force_dynamic, prs_set_session_key).Jeremy Allison3-21/+0
Jeremy.
2010-06-16s3-auth: in make_user_info_for_reply_enc make sure to check length and dataGünther Deschner1-2/+2
pointer of nt and lm hash. This fixes kernel cifs client with sec=ntlmv2. Guenther
2010-06-16s3-build: allow to build bin/ndrdump4 (just as bin/smbtorture4)Günther Deschner1-0/+4
Jelmer, please check. Guenther
2010-06-16s3-auth: fix debug message in check_winbind_security().Günther Deschner1-1/+1
Guenther
2010-06-16s3-tdb: Added missing out of memory check in rename_file_with_suffix().Andreas Schneider1-0/+4
2010-06-16Revert "s4-smbtorture: only pull info when status code indicates success in ↵Günther Deschner1-11/+3
smbcli_rap_netprintqgetinfo()." This reverts commit 1f1c04010a55e67d8dc2110276eed4cf2a8a0afa.
2010-06-16s3-lanman: Fix return code for "" printqname in api_DosPrintQGetInfo().Günther Deschner1-0/+5
Guenther
2010-06-16s4-smbtorture: only pull info when status code indicates success in ↵Günther Deschner1-3/+11
smbcli_rap_netprintqgetinfo(). Guenther
2010-06-16s3-printing: add BUILTIN\Print Operators as FULL CONTROL to default sd.Günther Deschner1-2/+22
Guenther
2010-06-16s3-spoolss: Provide a memory context for clean_up_driver_struct().Andreas Schneider3-5/+7
If we use a stack variable to setup spoolss_AddDriverInfoCtr this would segfault with a talloc bad magic value.
2010-06-15Remove unused function.Jeremy Allison2-15/+0
2010-06-15s3-waf: fix the build.Günther Deschner1-1/+1
Guenther
2010-06-14SMB2 correctness fix. As we've already returned the credits in an interimJeremy Allison1-0/+2
response, don't add more in the final return. Jeremy.
2010-06-14s3: Make g_smb_perfcount_handlers staticVolker Lendecke1-1/+1
2010-06-14s3: Remove some dispensable ()Volker Lendecke1-1/+1