summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* r24438: Use dump_data_pw() instead of dump_data() on sensitive data in winbindd.Günther Deschner2007-08-143-15/+8
| | | | Guenther
* r24437: Remove "done" in winbindd_raw_kerberos_login() as well.Günther Deschner2007-08-141-6/+2
| | | | Guenther
* r24435: Fix typo.Günther Deschner2007-08-141-1/+1
| | | | Guenther
* r24434: Simplify winbindd_raw_kerberos_login().Günther Deschner2007-08-141-115/+15
| | | | Guenther
* r24432: Expand kerberos_return_pac() so that it can be used in winbindd.Günther Deschner2007-08-142-7/+80
| | | | Guenther
* r24424: Fix the build.Günther Deschner2007-08-141-5/+5
| | | | Guenther
* r24420: Pure pedantism: the talloc_init could have failed...Günther Deschner2007-08-141-2/+1
| | | | Guenther
* r24419: Hm, I think this protoype is not required here.Günther Deschner2007-08-141-5/+0
| | | | Guenther
* r24418: Adding reg_deleteallvalues().Günther Deschner2007-08-141-0/+24
| | | | Guenther
* r24416: Some more minor edits for libgpo, mostly reformatting and moving of ↵Günther Deschner2007-08-147-117/+371
| | | | | | functions. Guenther
* r24413: Minor edits for libgpo.Günther Deschner2007-08-146-632/+473
| | | | Guenther
* r24411: - I got tricked by function naming. Contrary to what seemed obvious ↵Derrell Lipman2007-08-142-4/+4
| | | | | | | | | | | | | to me, prs_mem_free() is not the function to be called to free memory allocated by prs_alloc_mem(). I've added a comment so others may not get bitten too. - Remove incorrect memory free calls added yesterday to replace SAFE_FREE. The memory is actually now on a talloc context, so gets freed by the caller when that context is freed. We don't need to free it iternally. Derrell
* r24389: - ACL retrieval provided incomplete information because the buffer ↵Derrell Lipman2007-08-141-9/+22
| | | | | | | | | | | | | | | | | | | | | | | pointer was incremented too far in some circumstances. In these cases, only the first of multiple concatenated strings would be seen. - Working on bug 4649 pertaining to delete an ACL, this fixes the reported crash. It appears to have been an incomplete switchover from malloc to talloc, as the memory was still being freed with SAFE_FREE. Deleting ACLs still doesn't work. Although a valid request is sent to the server and a SUCCESS response is returned, the method that's used in libsmbclient for deleting ACLs seems to be incorrect. In looking at the samba4 torture tests, it appears that we should be turning on the INHERIT flag if we want to delete the ACL. (I could use some assistance on the proper flags to send, from anyone familiar with this stuff.) - Apply patch from SATOH Fumiyasu to fix bug 4750. smbc_telldir_ctx() was not returning a value useful to smbc_lseekdir_ctx(). Derrell
* r24360: Make ndr_print_debug_helper() output readable.Günther Deschner2007-08-131-2/+2
| | | | Guenther
* r24353: Add a getpwuid lookup to wbinfo.Kai Blin2007-08-121-0/+38
| | | | | Merged from my Samba4 GSoC branch. Volker, can you check if that's done the way you thought?
* r24352: Fix the build of vfs_fileidVolker Lendecke2007-08-121-1/+2
| | | | Thanks to Kai Blin <kai@samba.org> for reporting this
* r24331: Fix an error where gid_t != 32 bitVolker Lendecke2007-08-111-1/+1
|
* r24330: Fix a 64-bit errorVolker Lendecke2007-08-111-1/+1
|
* r24329: Fix a 64-bit bugVolker Lendecke2007-08-111-1/+1
| | | | | | enums are not necessarily represented as 32-bit uints. On assignment (see line 1029) implicit conversion happens, but not when pointers are taken.
* r24316: Fix an uninitialized readVolker Lendecke2007-08-101-0/+1
| | | | | | | | Jerry, please check this! Thanks, Volker
* r24314: Attempt to fix bug 4868Volker Lendecke2007-08-101-0/+1
|
* r24305: merge from SAMBA_3_2:Stefan Metzmacher2007-08-103-0/+254
| | | | | | | | | patch from Bjoern JAcke <bj@SerNet.DE>: attached patches add EA support for Solaris. If no one disagrees, can someone check this in please? metze
* r24303: add a module that overloads the file_id_create VFS functionStefan Metzmacher2007-08-103-0/+326
| | | | | | | | | | | | and alters the device id depending on the configured algorithm. The algorithm is configured via "fileid:algorithm": - "fsname" (default) uses a uint64 hash over the mount point - "fsid" uses the fsid returned from statfs() This is needed for "clustering = yes" on some clusterfilesystems metze
* r24291: Fix Coverity ID 364Volker Lendecke2007-08-091-13/+4
| | | | We've checked num_rids != 0 above.
* r24290: fix debug statments to match function nameHerb Lewis2007-08-091-2/+2
|
* r24281: Fix bug found by Herb. The vuid entry in the cli_state structure getsJeremy Allison2007-08-081-0/+4
| | | | | | | | | | left as nonzero as returned by the failed cli_session_setup_spnego. When we then try to authenticate as the user in cli_session_setup this returns an error "Bad userid" (as seen in wireshark). "We should only leave cli->vuid != 0 on success. Looks like it's getting set in the cli_session_setup_blob_receive() call and not cleared again on error." Jeremy.
* r24280: Fix the build of vfs_afsacl.cVolker Lendecke2007-08-081-5/+5
|
* r24268: Fix two crashes for spoolssVolker Lendecke2007-08-071-3/+4
| | | | strlcpy does not like a NULL source. Fix a use-after-free.
* r24267: Fix the build farmVolker Lendecke2007-08-071-2/+2
| | | | | I had only tested with "net getlocalsid". posix_locking_init() calls this with a NULL name...
* r24266: Remove the "open files database hash size" parameterVolker Lendecke2007-08-073-5/+2
| | | | This has been superseded by the "tdb_hashsize:<tdbname>" parameter
* r24265: Add the tdb_hashsize:<tdbname> parameterVolker Lendecke2007-08-071-0/+22
| | | | | | | | | | This makes it possible to set the default hashsize for any tdb. I would like to remove the "open files database hash size" in favor of this one. I'll check that removal in with the next commit, please complain/revert if it's not ok. Volker
* r24253: From Jan Martin <Jan.Martin@rwedea.com>.Jeremy Allison2007-08-061-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------------------------------------------- In rare cases, Samba 3.0.25b shows directory contents at the wrong position in the file tree when displaying a subdirectory of a DFS link. The problem occurs whenever Windows XP asks for a DFS referral for a subdirectory of a DFS link with a trailing backslash. Windows does not do this very often, but we saw it several times per day on our central DFS server. smbd/msdfs.c, dfs_path_lookup() does the following with the requested path: - in line 390, the local copy 'localpath' is 'unix_convert'ed; the trailing backslash is removed inside unix_convert - in lines 417-20, 'dfspath' (another copy of the requested path) is mangled another way without removing trailing backslashes That's why the following loop (lines 435-461) that is meant to synchronously cut off the last path component from both strings until it comes to a DFS link, does not handle both strings the same. When the original path ended with a backslash, 'canon_dfspath' has always one component more than 'localpath', so that *consumedcntp gets too big in line 446. This value is reported to the client. ---------------------------------------------------------- Bug #4860. Jeremy.
* r24252: Dump guid of msExchMailboxGuid when returned.Günther Deschner2007-08-061-0/+1
| | | | Guenther
* r24251: Neverending fun:Günther Deschner2007-08-061-1/+1
| | | | | | | | Heimdal doesn't accept all OIDs and gss_import_name() fails with GSS_S_BAD_NAMETYPE using this one. Use the GSS_KRB5_NT_PRINCIPAL_NAME OID instead (which works with at least MIT 1.6.1 and Heimdal 1.0.1). Guenther
* r24250: Merge W_ERROR_HAVE_NO_MEMORY macro from Samba 4.Günther Deschner2007-08-061-0/+6
| | | | Guenther
* r24167: Fix Coverity ID 365Volker Lendecke2007-08-041-10/+7
| | | | We checked argc>=3 some lines above
* r24166: Fix Coverity ID 391Volker Lendecke2007-08-041-1/+1
|
* r24165: Fix Coverity ID 369.Volker Lendecke2007-08-041-5/+5
| | | | | This was not really a bug I think, but this change cleans up the code a bit.
* r24164: Fix for write cache corruption bug reported by Jean-Francois ↵Jeremy Allison2007-08-031-10/+20
| | | | | | | Panisset <panisset@A52.com>. Awaiting confirmation from reporter. Jeremy.
* r24158: SE_GROUP_RESOURCE in the other_sids list apparently means a Gerald Carter2007-08-032-2/+2
| | | | | | domain local group. Fix a typo in the PAC debugging routine
* r24132: merge from SAMBA_3_2:Stefan Metzmacher2007-08-023-41/+53
| | | | | | | | | | - make it more clear what the different min and max fields mean - with the "GSSAPI" sasl mech the plain, sign or seal negotiation is independed from the req_flags and ret_flags - verify the server supports the wrapping type we want - better handling on negotiated buffer sizes metze
* r24129: merge from SAMBA_3_2:Stefan Metzmacher2007-08-021-6/+7
| | | | | | fix double free in error path metze
* r24126: merge from SAMBA_3_2:Stefan Metzmacher2007-08-021-2/+2
| | | | | | use TALLOC_FREE() metze
* r24124: merge from SAMBA_3_2:Stefan Metzmacher2007-08-021-0/+22
| | | | | | add file_id_create() to some vfs modules metze
* r24122: merge from SAMBA_3_2:Stefan Metzmacher2007-08-0210-18/+39
| | | | | | | | | add a file_id_create() hook into the VFS layer it's needed for some cluster filesystems to overload this function. metze
* r24121: merge from SAMBA_3_2:Stefan Metzmacher2007-08-021-4/+1
| | | | | | | use locking_key() instead of forming the TDB_DATA key by hand metze
* r24116: merge from SAMBA_3_2:Stefan Metzmacher2007-08-011-4/+17
| | | | | | | | try to get the file name and share patch for printing brlocks from the share_mode db, as the same fileid is used. metze
* r24114: merge from SAMBA_3_2:Stefan Metzmacher2007-08-012-2/+6
| | | | | | | some little fixes to get the correct error message when using "clustering = yes" and ctdbd isn't running metze
* r24107: Fix bug 4849. Thanks to Matthijs Kooijman <matthijs@stdin.nl>Volker Lendecke2007-07-311-1/+1
|
* r24105: merge from SAMBA_3_2:Stefan Metzmacher2007-07-311-3/+20
| | | | | | | add some useful debug messages, as not all LDAP libraries support wrapping hooks... metze