summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_dfs_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2008-01-11Fix CID 524 - reference before allocation fail null check.Jeremy Allison1-1/+1
Jeremy. (This used to be commit a5cd3c9b65538588a6c982c6d20022e7476cf3de)
2007-12-21Some C++ warningsVolker Lendecke1-1/+1
(This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-10/+10
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r25389: Fix crash bug using DFS info struct uninitialized.Jeremy Allison1-4/+28
Jeremy. (This used to be commit 993bd0995eadc134378e691ccd796074dc475741)
2007-10-10r25119: Fix a couple of warnings.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 0e655ac94653128566a8764ea804f37c4c7b300f)
2007-10-10r25102: Rewrite msdfs code to use talloced filenames. Passes make testJeremy Allison1-83/+125
and make valgrindtest. Final step will be to change srvstr_get_path() to return talloced memory in the major codepaths. Jeremy. (This used to be commit cf6b6f9c3a38b68d2671c753f412772344506742)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23623: Fix rpcclient and rpc_server with new DFS idl.Günther Deschner1-12/+13
Guenther (This used to be commit bffe33dd261fdcf9ef8f9f232c15559661843c7c)
2007-10-10r22574: Fix reply when we have no dfs shares.Jeremy Allison1-12/+27
Jeremy. (This used to be commit f95bf093f9303131618b1de8f9b783ba19644bb3)
2007-10-10r22064: Fix the DFS code to work better with Vista clients. AllowJeremy Allison1-3/+3
"host msdfs = true" to be set in the [global] section and allow Vista to see shares with "msdfs root = yes" and "msdfs root = no" off the same server. Down to an error message really :-). Jeremy. (This used to be commit 1a0f69bb21fd03a18514dfc93c84568708144e28)
2007-10-10r21800: Check-in the DFS rewrite. I am still testing this but itJeremy Allison1-4/+8
works from smbclient and Windows, and I am promising to support and fix both client and server code moving forward. Still need to test the RPC admin support but I haven't changed that code. Jeremy. (This used to be commit 7a7862c01d07796ef206b255c676ad7dc2cc42fc)
2007-10-10r20875: Pass DCE/RPC server call arguments as a struct rather than as ↵Jelmer Vernooij1-56/+56
separate arguments. This makes it a bit more similar to the Samba4 code. (This used to be commit 0596badb410a58e7a715e2b17bc0bef0489a2448)
2007-10-10r19224: Add setting the rng_fault_state to the already converted pipes.Volker Lendecke1-0/+18
Convert the low-hanging fruit of the LSA server. This provides a sample how the server calls can be converted one by one, see the "proxy_lsa_call" function. Volker (This used to be commit 99e54a213ad3561ea6e8dc44c483847c18c5681e)
2007-10-10r18487: Add NULL checksJelmer Vernooij1-0/+8
(This used to be commit 3df11307f8ca05e4f7182522d835911f0768e9eb)
2007-10-10r18481: Use pidl-generated server side code for dfs.Jelmer Vernooij1-130/+77
(This used to be commit 3f337c104d42321595161d0283b39357df252a8e)
2007-10-10r17453: Fix msdfs RPC management (this broke with the autogenerated dfs rpcs).Günther Deschner1-4/+17
* Remove "unknown" from dfs_Enum (samba4 dfs IDL updates to follow). * When encountering an unsupported infolevel the rpc server must reply with a dfs_info_0 structure and WERR_OK (observed from w2k3 when talking to nt4). Guenther (This used to be commit f9bef1f08f7d2a4c95c28329ac73e8646f033998)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-8/+2
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r16799: Fix remote smbd crash bug by removing half-implemented info level 4Günther Deschner1-8/+0
dfs_Enum. Guenther (This used to be commit 4e5ea585c3482c38f2624e45f1268d3864a99faa)
2007-10-10r13316: Let the carnage begin....Gerald Carter1-145/+261
Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
2007-10-10r13293: Rather a big patch I'm afraid, but this should fix bug #3347Jeremy Allison1-2/+2
by saving the UNIX token used to set a delete on close flag, and using it when doing the delete. libsmbsharemodes.so still needs updating to cope with this change. Samba4 torture tests to follow. Jeremy. (This used to be commit 23f16cbc2e8cde97c486831e26bcafd4ab4a9654)
2007-10-10r8959: Make msdfs code talloc based. Fix leaks.Jeremy Allison1-4/+3
Jeremy. (This used to be commit 076023df8ea7c0f03baf8102e55d347e05542c7b)
2007-10-10r8950: Fix one more mem leak found by Gunther.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 547c6ee0a965b425719cdb834dd5d68a3a3e7117)
2007-10-10r7981: MS-DFS tidyup patches from James Peach <jpeach@sgi.com>.Jeremy Allison1-4/+2
Looking forward to the day he can commit these himself :-). Jeremy. (This used to be commit 12ff2978295a84fe6177af129c495a0021befacc)
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison1-9/+6
allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
2004-03-10Formatting reformat before I start to change anything here.Jeremy Allison1-273/+258
Jeremy. (This used to be commit 80fde09fc4a5d7e72611fd587777151adc5c890d)
2003-11-25Patch for #263 from jpjanosi@us.ibm.com.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 0f2a50316d8245ea9c441f0ea08e1a0fd9a92583)
2003-10-28Fix for bug #667. DFS filenames can now have arbitrary case.Jeremy Allison1-19/+39
Jeremy. (This used to be commit 74148111e16a863d5a33511e5b15632a736d7e99)
2003-09-25Fix for #480. Change the interface for init_unistr2 to not take a lengthJeremy Allison1-6/+6
but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string. This is not the case. Count it after conversion. Jeremy. (This used to be commit f82c273a42f930c7152cfab84394781744815e0e)
2003-09-05More tuning from cachegrind. Change most trim_string() calls to trim_char(0,Jeremy Allison1-2/+2
as that's what they do. Fix string_replace() to fast-path ascii. Jeremy. (This used to be commit f35e9a8b909d3c74be47083ccc4a4e91a14938db)
2003-07-03Removed strupper/strlower macros that automatically map to ↵Jeremy Allison1-1/+1
strupper_m/strlower_m. I really want people to think about when they're using multibyte strings. Jeremy. (This used to be commit ff222716a08af65d26ad842ce4c2841cc6540959)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison1-6/+4
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-13/+20
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter1-1/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-09-17move to SAFE_FREE()Simo Sorce1-1/+1
(This used to be commit 5ceecc7bef71b455ba7c4efd9928e2433dccc961)
2001-09-12- enable MSDFS by default, there seems no reason not to have it enabledAndrew Tridgell1-5/+0
by default in Samba 3.x - got rid of some unused parameters in Makefile.in - declare DEBUGLEVEL in debug.h rather than in each file (This used to be commit b8651acb9c0d7248a6a2e82c33b1e43633fd83fd)
2001-09-12Converted DFS error returns to WERROR instead of uint32.Tim Potter1-27/+33
(This used to be commit 97286570ef6f9151b5fe0be32aa4b294e7db9ab8)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell1-3/+3
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell1-1/+1
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-06-12Fixed typo in debug message.Tim Potter1-1/+1
(This used to be commit 4d2f6605820f7b62ff1a748952fd6edad63c1213)
2001-04-11Restrict dfs add and dfs remote to root at Shirish's advice.Jeremy Allison1-0/+16
Jeremy. (This used to be commit 9dd77c4fb1282d23cfbfd9d0ed790be62534e201)
2001-04-10Merged in missing break fix from Shirish.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 8ecf6c33673693ca64f99bd7fb26d3383658d86b)
2001-02-27Hmmm. I thought I'd added these files to CVS head.....Jeremy Allison1-0/+350
Jeremy. (This used to be commit d573700a9218bce8efd21f0be70afec6b460f8b9)