Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2010-06-21 | tldap: Fix a type-punned warning | Volker Lendecke | 1 | -1/+1 | |
2010-06-21 | s3: Fix some enum/int mixup warnings | Volker Lendecke | 1 | -53/+53 | |
2010-06-21 | s3: Remove an unreachable line of code | Volker Lendecke | 1 | -2/+0 | |
2010-06-21 | s3: Fix a type-punned warning | Volker Lendecke | 1 | -2/+2 | |
2010-06-21 | s3:net rpc registry: make getsd succeed when key sd only gives access to SD ↵ | Michael Adam | 1 | -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-21 | s3:fix an outdated comment. | Michael Adam | 1 | -5/+2 | |
2010-06-21 | s3:idmap_ldap: remove unreached code (and explicit error return code) | Michael Adam | 1 | -5/+1 | |
2010-06-20 | s3: Attempt to fix the build on NetBSD | Kai Blin | 2 | -6/+9 | |
Unlike Linux and OSX, NetBSD seems to have *netgrent prototypes in netgroup.h. | |||||
2010-06-20 | s3-waf: Change the (set|get|end)netgrent checks to match the configure.in checks | Kai Blin | 1 | -9/+12 | |
2010-06-20 | s3 configure: Check for (set|get|end)netgrent prototypes | Kai Blin | 1 | -1/+24 | |
2010-06-18 | Second part of fix converting prs_XX struct and functions to talloc. Remove ↵ | Jeremy Allison | 2 | -51/+0 | |
unneeded prs_mem_free calls. Jeremy. Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2010-06-18 | Convert the prs_XXX struct and functions to use talloc instead of malloc. ↵ | Jeremy Allison | 5 | -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-17 | Use #defined constant instead of "false" to be clearer about intent. | Jeremy Allison | 1 | -1/+1 | |
2010-06-17 | s3-selftest: fix locktest9 in make selftest. | Günther Deschner | 4 | -5/+7 | |
Guenther | |||||
2010-06-17 | s3:configure: use cc for linking on IRIX and fix shlib usage | Björn Jacke | 1 | -3/+2 | |
2010-06-17 | s3-waf: Fix the OSX 10.4 build by adding an explicit resolv dep on smbclient | Kai Blin | 1 | -1/+1 | |
2010-06-17 | s3-waf: Add check for iconv | Kai Blin | 2 | -1/+9 | |
2010-06-17 | s3-waf: Work around missing *netgrent prototypes on OSX 10.4 | Kai Blin | 2 | -5/+27 | |
2010-06-16 | Remove an unused chunk of code (will make it easier to talloc'ize prs_XXX). | Jeremy Allison | 1 | -49/+0 | |
Jeremy. | |||||
2010-06-16 | Remove two unused functions (prs_force_dynamic, prs_set_session_key). | Jeremy Allison | 3 | -21/+0 | |
Jeremy. | |||||
2010-06-16 | s3-auth: in make_user_info_for_reply_enc make sure to check length and data | Günther Deschner | 1 | -2/+2 | |
pointer of nt and lm hash. This fixes kernel cifs client with sec=ntlmv2. Guenther | |||||
2010-06-16 | s3-build: allow to build bin/ndrdump4 (just as bin/smbtorture4) | Günther Deschner | 1 | -0/+4 | |
Jelmer, please check. Guenther | |||||
2010-06-16 | s3-auth: fix debug message in check_winbind_security(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-06-16 | s3-tdb: Added missing out of memory check in rename_file_with_suffix(). | Andreas Schneider | 1 | -0/+4 | |
2010-06-16 | Revert "s4-smbtorture: only pull info when status code indicates success in ↵ | Günther Deschner | 1 | -11/+3 | |
smbcli_rap_netprintqgetinfo()." This reverts commit 1f1c04010a55e67d8dc2110276eed4cf2a8a0afa. | |||||
2010-06-16 | s3-lanman: Fix return code for "" printqname in api_DosPrintQGetInfo(). | Günther Deschner | 1 | -0/+5 | |
Guenther | |||||
2010-06-16 | s4-smbtorture: only pull info when status code indicates success in ↵ | Günther Deschner | 1 | -3/+11 | |
smbcli_rap_netprintqgetinfo(). Guenther | |||||
2010-06-16 | s3-printing: add BUILTIN\Print Operators as FULL CONTROL to default sd. | Günther Deschner | 1 | -2/+22 | |
Guenther | |||||
2010-06-16 | s3-spoolss: Provide a memory context for clean_up_driver_struct(). | Andreas Schneider | 3 | -5/+7 | |
If we use a stack variable to setup spoolss_AddDriverInfoCtr this would segfault with a talloc bad magic value. | |||||
2010-06-15 | Remove unused function. | Jeremy Allison | 2 | -15/+0 | |
2010-06-15 | s3-waf: fix the build. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-06-14 | SMB2 correctness fix. As we've already returned the credits in an interim | Jeremy Allison | 1 | -0/+2 | |
response, don't add more in the final return. Jeremy. | |||||
2010-06-14 | s3: Make g_smb_perfcount_handlers static | Volker Lendecke | 1 | -1/+1 | |
2010-06-14 | s3: Remove some dispensable () | Volker Lendecke | 1 | -1/+1 | |