summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24302: add a module that overloads the file_id_create VFS functionStefan Metzmacher3-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 (This used to be commit 30f9171cca3e4f523cde7dfc96096c32e5af50be)
2007-10-10r24291: Fix Coverity ID 364Volker Lendecke1-13/+4
We've checked num_rids != 0 above. (This used to be commit dab5449f385248ab1fdd60b240ef6ad4a27ba7f2)
2007-10-10r24290: fix debug statments to match function nameHerb Lewis1-2/+2
(This used to be commit 5ee0bfde50645b822cefefe90bc9168faeeb34ff)
2007-10-10r24281: Fix bug found by Herb. The vuid entry in the cli_state structure getsJeremy Allison1-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. (This used to be commit fa8e66dd8d2c68b91b27169c3c43820989f58758)
2007-10-10r24280: Fix the build of vfs_afsacl.cVolker Lendecke1-5/+5
(This used to be commit c231f7b8f6025e2853eb6ecab43fe87566596234)
2007-10-10r24279: Remove reply_prep_legacy from reply_write_and_XVolker Lendecke2-43/+30
(This used to be commit f18b7a9a282ebb5c31a89a601798f9a0db51867e)
2007-10-10r24278: Push down reply_prep_legacy in reply_write_and_XVolker Lendecke2-43/+49
Remove the need for reply_prep_legacy for reply_pipe_write_and_X (This used to be commit de143d5fa61aa487613dda729a43dc3d59a72899)
2007-10-10r24272: try to fix the build on irix...Stefan Metzmacher1-3/+7
metze (This used to be commit dd7e94258b0fc0157d890d71f05c6fe16b6a2ea9)
2007-10-10r24271: Push reply_prep_legacy into reply_write_and_XVolker Lendecke2-17/+47
(This used to be commit 607e7d2447bf19eea872a3a4d1ad499a53f0a935)
2007-10-10r24270: Fix some END_PROFILE(SMBwriteX)Volker Lendecke1-1/+3
(This used to be commit 36f2347561ab06b5d8175ad0a9c4da2817e759f9)
2007-10-10r24269: Check wct in reply_write_and_XVolker Lendecke1-8/+21
(This used to be commit 1297fac11778cb910d1bcd12b6d9d3a6269972db)
2007-10-10r24268: Fix two crashes for spoolssVolker Lendecke1-3/+4
strlcpy does not like a NULL source. Fix a use-after-free. (This used to be commit c2a214501788b5f0b6f555bd01ed310d331d07fa)
2007-10-10r24267: Fix the build farmVolker Lendecke1-2/+2
I had only tested with "net getlocalsid". posix_locking_init() calls this with a NULL name... (This used to be commit 3eee1fe28057e2e3da2e9d1506f57f3e35fd37b7)
2007-10-10r24266: Remove the "open files database hash size" parameterVolker Lendecke3-5/+2
This has been superseded by the "tdb_hashsize:<tdbname>" parameter (This used to be commit df40d336afd256f05a0ec3724cc2096fb7114d81)
2007-10-10r24265: Add the tdb_hashsize:<tdbname> parameterVolker Lendecke1-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 (This used to be commit e9bd7a63a8d462b1fc3bab99ff843e25bffd156b)
2007-10-10r24254: Fix a segfault in r24102Volker Lendecke1-1/+3
The really pure bugfix would have replaced pparam by *pparam, but we pulled the fid anyway. Metze, in line 2421 the FSP_BELONGS_CONN is commented out, is that intended? The FSCTL_CREATE_OR_GET_OBJECT_ID ioctl did not have it. Volker (This used to be commit 2c1376225b98a9325dfc2d00bad1722e63cf522b)
2007-10-10r24253: From Jan Martin <Jan.Martin@rwedea.com>.Jeremy Allison1-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. (This used to be commit 42d1c6713a56197ca8dfebf74eb0d483102148f7)
2007-10-10r24252: Dump guid of msExchMailboxGuid when returned.Günther Deschner1-0/+1
Guenther (This used to be commit 1142f3df546cbf4780c6f54667f7ed31b1a7621b)
2007-10-10r24251: Neverending fun:Günther Deschner1-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 (This used to be commit f783b32b65ee50e3730ae2d039ca04c9fc5a201a)
2007-10-10r24250: Merge W_ERROR_HAVE_NO_MEMORY macro from Samba 4.Günther Deschner1-0/+6
Guenther (This used to be commit 054084a2359b5069b872b2e630377dc369c31018)
2007-10-10r24244: Complete the conversion of reply_trans[s]Volker Lendecke2-64/+65
Remove reply_prep/post_legacy from send_trans_replies (This used to be commit c08366f840ead5aba7199cf0b058587055b4d98e)
2007-10-10r24243: Remove reply_prep_legacy from api_replyVolker Lendecke2-36/+20
(This used to be commit b01664b43b0bd94bb59dec57480d2be954a7298a)
2007-10-10r24242: Remove reply_prep_legacy from api_rpc_trans_replyVolker Lendecke1-24/+10
(This used to be commit 160f65946af9b3e1609b0efb211edc81514fb36f)
2007-10-10r24241: Remove reply_prep_legacy from api_WNPHS and api_SNPHSVolker Lendecke1-57/+23
(This used to be commit 8702450e91943b1097ae3c8979d60b6962a69632)
2007-10-10r24240: Push down reply_prep_legacy one level inside api_fd_replyVolker Lendecke1-19/+54
(This used to be commit 0bb95639d6b49b18f2a7f1131f54239355097119)
2007-10-10r24239: Push reply_prep_legacy into api_fd_replyVolker Lendecke1-51/+38
(This used to be commit e2a96497928ab959e36639fef2d493640bb6e951)
2007-10-10r24238: Push down reply_prep_legacy one levelVolker Lendecke1-8/+25
(This used to be commit a6a2d97facf95c7997f3d12457f2811b3b7bde1b)
2007-10-10r24237: Add send_trans_reply_newVolker Lendecke1-0/+18
(This used to be commit f0598b3ca0ee04e31855c3e54f3198e6fd968737)
2007-10-10r24236: Push reply_prep_legacy() into named_pipe()Volker Lendecke1-46/+46
(This used to be commit b38f9347e81364d224e5ca00609099a74410e99c)
2007-10-10r24235: Make handle_trans reply to errors itselfVolker Lendecke1-47/+29
(This used to be commit 06d0c74b74754c55f4c8ef0899bda08476e7dd4b)
2007-10-10r24234: Reformatting -- SCNRVolker Lendecke1-49/+20
(This used to be commit 040d6d5db6d929f1612b1b0dc762b7f55c956740)
2007-10-10r24233: Push reply_prep_legacy into handle_transVolker Lendecke1-34/+16
(This used to be commit dc27c3c668f86d008c27b8a749f5726287ba54a5)
2007-10-10r24232: Push down reply_prep_legacy inside reply_transsVolker Lendecke1-25/+35
(This used to be commit 511f8bc030a9a16c2e793ce5d06577608e101de4)
2007-10-10r24231: Push allocating InBuffer/OutBuffer into reply_transsVolker Lendecke2-10/+21
(This used to be commit 74ae19cca6dd15b65deffbf464cfd0e485da8611)
2007-10-10r24230: Push down reply_prep_legacy in reply_transVolker Lendecke1-52/+62
The last checkin was for reply_trans, not reply_transs (This used to be commit 50a2bfd9e04d51aa5e3ae9d6620a98eeb158b6ea)
2007-10-10r24229: Push allocating InBuffer/OutBuffer into reply_transsVolker Lendecke2-19/+33
(This used to be commit 39a7809aa4c34bb26178589245c419df44796e22)
2007-10-10r24225: Convert reply_flush to the new APIVolker Lendecke2-10/+22
(This used to be commit f843c02f0794964eba02ab983f9c0701801f415c)
2007-10-10r24224: Check wct in reply_transVolker Lendecke1-4/+19
(This used to be commit fc8759e63ccec7f1cfb9f1d0ecd0f19a496e4153)
2007-10-10r24223: Convert reply_echo to the new APIVolker Lendecke4-26/+45
(This used to be commit 4863ff2899419e791ed0e340821072d004fb1d17)
2007-10-10r24167: Fix Coverity ID 365Volker Lendecke1-10/+7
We checked argc>=3 some lines above (This used to be commit fa385e9f3c980756e428d89e73012cce895c3bf6)
2007-10-10r24166: Fix Coverity ID 391Volker Lendecke1-1/+1
(This used to be commit 461974d2cc18c729f152356a9c30cc776f288906)
2007-10-10r24165: Fix Coverity ID 369.Volker Lendecke1-5/+5
This was not really a bug I think, but this change cleans up the code a bit. (This used to be commit 59b4914df3ecc97a1c629e8c7a066aed8e8d9226)
2007-10-10r24164: Fix for write cache corruption bug reported by Jean-Francois ↵Jeremy Allison1-10/+20
Panisset <panisset@A52.com>. Awaiting confirmation from reporter. Jeremy. (This used to be commit 7bd65060bd965bd17a5d79639cf561b8b578cb36)
2007-10-10r24163: Remove the send_trans2_replies_new wrapperVolker Lendecke2-89/+90
This changes send_trans2_replies to not depend on large buffers anymore and finishes the trans2 conversion. (This used to be commit b1d133e4ffa8c9b8219ba6e7b83e23ca4bdd1616)
2007-10-10r24162: send_trans2_replies is now static in trans2.cVolker Lendecke1-8/+8
(This used to be commit 47261fb6fecc036cb1605f46bbe24e9b3661ff8c)
2007-10-10r24161: handle_trans2 takes care of errors itself, no need to do it in ↵Volker Lendecke1-6/+0
reply_transs2 (This used to be commit ca26b43e02f25d75e7439c6130f32dc322acd327)
2007-10-10r24160: process_trans2 in smbd/blocking.c used send_trans2_replies.Volker Lendecke2-12/+17
Fake a struct smb_request here. Volker (This used to be commit f712d1c92bee024a165b5facabdac1e2c866d9b1)
2007-10-10r24159: Convert reply_transs2 to the new APIVolker Lendecke2-47/+41
(This used to be commit a55a4d71ffe9ff1395e02f8bb3ad88fe5132fe99)
2007-10-10r24158: SE_GROUP_RESOURCE in the other_sids list apparently means aGerald Carter2-2/+2
domain local group. Fix a typo in the PAC debugging routine (This used to be commit b0b66b2e7af133b199868b946fad70016e1cefbd)
2007-10-10r24156: Convert reply_trans2 to the new APIVolker Lendecke2-57/+53
(This used to be commit a9c2d75b42be8b0d89ed1e1a2ce2c6ab4284f5ea)