Jeremy Allison
a5cd3c9b65
Fix CID 524 - reference before allocation fail null check.
...
Jeremy.
2008-01-11 22:47:25 -08:00
Volker Lendecke
5ab82d4f57
Some C++ warnings
2007-12-21 09:58:20 +01:00
Jeremy Allison
f35a266b3c
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
2007-10-18 17:40:25 -07:00
Jeremy Allison
993bd0995e
r25389: Fix crash bug using DFS info struct uninitialized.
...
Jeremy.
2007-10-10 12:31:01 -05:00
Jeremy Allison
0e655ac946
r25119: Fix a couple of warnings.
...
Jeremy.
2007-10-10 12:30:42 -05:00
Jeremy Allison
cf6b6f9c3a
r25102: Rewrite msdfs code to use talloced filenames. Passes make test
...
and make valgrindtest. Final step will be to change srvstr_get_path()
to return talloced memory in the major codepaths.
Jeremy.
2007-10-10 12:30:40 -05:00
Andrew Tridgell
87c91e4362
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
2007-10-10 12:28:27 -05:00
Jeremy Allison
407e6e695b
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
2007-10-10 12:28:20 -05:00
Günther Deschner
bffe33dd26
r23623: Fix rpcclient and rpc_server with new DFS idl.
...
Guenther
2007-10-10 12:23:37 -05:00
Jeremy Allison
f95bf093f9
r22574: Fix reply when we have no dfs shares.
...
Jeremy.
2007-10-10 12:19:45 -05:00
Jeremy Allison
1a0f69bb21
r22064: Fix the DFS code to work better with Vista clients. Allow
...
"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.
2007-10-10 12:19:08 -05:00
Jeremy Allison
7a7862c01d
r21800: Check-in the DFS rewrite. I am still testing this but it
...
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.
2007-10-10 12:18:34 -05:00
Jelmer Vernooij
0596badb41
r20875: Pass DCE/RPC server call arguments as a struct rather than as separate arguments.
...
This makes it a bit more similar to the Samba4 code.
2007-10-10 12:17:16 -05:00
Volker Lendecke
99e54a213a
r19224: Add setting the rng_fault_state to the already converted pipes.
...
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
2007-10-10 12:15:23 -05:00
Jelmer Vernooij
3df11307f8
r18487: Add NULL checks
2007-10-10 11:51:44 -05:00
Jelmer Vernooij
3f337c104d
r18481: Use pidl-generated server side code for dfs.
2007-10-10 11:51:43 -05:00
Günther Deschner
f9bef1f08f
r17453: Fix msdfs RPC management (this broke with the autogenerated dfs rpcs).
...
* 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
2007-10-10 11:38:34 -05:00
Jeremy Allison
9dafb7f48c
r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
...
to do the upper layer directories but this is what
everyone is waiting for....
Jeremy.
2007-10-10 11:19:14 -05:00
Günther Deschner
4e5ea585c3
r16799: Fix remote smbd crash bug by removing half-implemented info level 4
...
dfs_Enum.
Guenther
2007-10-10 11:19:11 -05:00
Gerald Carter
17e63ac4ed
r13316: Let the carnage begin....
...
Sync with trunk as off r13315
2007-10-10 11:06:23 -05:00
Jeremy Allison
23f16cbc2e
r13293: Rather a big patch I'm afraid, but this should fix bug #3347
...
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.
2007-10-10 11:06:21 -05:00
Jeremy Allison
076023df8e
r8959: Make msdfs code talloc based. Fix leaks.
...
Jeremy.
2007-10-10 11:00:22 -05:00
Jeremy Allison
547c6ee0a9
r8950: Fix one more mem leak found by Gunther.
...
Jeremy.
2007-10-10 11:00:22 -05:00
Jeremy Allison
12ff297829
r7981: MS-DFS tidyup patches from James Peach <jpeach@sgi.com>.
...
Looking forward to the day he can commit these himself :-).
Jeremy.
2007-10-10 10:58:06 -05:00
Jeremy Allison
620f2e608f
r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
...
functions so we can funnel through some well known functions. Should help greatly with
malloc checking.
HEAD patch to follow.
Jeremy.
2007-10-10 10:53:32 -05:00
Jeremy Allison
80fde09fc4
Formatting reformat before I start to change anything here.
...
Jeremy.
-
Jeremy Allison
0f2a50316d
Patch for #263 from jpjanosi@us.ibm.com.
...
Jeremy.
-
Jeremy Allison
74148111e1
Fix for bug #667 . DFS filenames can now have arbitrary case.
...
Jeremy.
-
Jeremy Allison
f82c273a42
Fix for #480 . Change the interface for init_unistr2 to not take a length
...
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.
-
Jeremy Allison
f35e9a8b90
More tuning from cachegrind. Change most trim_string() calls to trim_char(0,
...
as that's what they do. Fix string_replace() to fast-path ascii.
Jeremy.
-
Jeremy Allison
ff222716a0
Removed strupper/strlower macros that automatically map to strupper_m/strlower_m.
...
I really want people to think about when they're using multibyte strings.
Jeremy.
-
Jeremy Allison
f755711df8
Removed global_myworkgroup, global_myname, global_myscope. Added liberal
...
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
-
Andrew Tridgell
03ac082dcb
updated the 3.0 branch from the head branch - ready for alpha18
-
Tim Potter
6a58c9bd06
Removed version number from file header.
...
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
Tim Potter
2d0922b0ea
Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
-
Simo Sorce
5ceecc7bef
move to SAFE_FREE()
-
Andrew Tridgell
b8651acb9c
- enable MSDFS by default, there seems no reason not to have it enabled
...
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
-
Tim Potter
97286570ef
Converted DFS error returns to WERROR instead of uint32.
-
Andrew Tridgell
1d36250e33
converted another bunch of stuff to NTSTATUS
-
Andrew Tridgell
c41fc06376
strchr and strrchr are macros when compiling with optimisation in gcc, so we can't redefine them. damn.
-
Tim Potter
4d2f660582
Fixed typo in debug message.
-
Jeremy Allison
9dd77c4fb1
Restrict dfs add and dfs remote to root at Shirish's advice.
...
Jeremy.
-
Jeremy Allison
8ecf6c3367
Merged in missing break fix from Shirish.
...
Jeremy.
-
Jeremy Allison
d573700a92
Hmmm. I thought I'd added these files to CVS head.....
...
Jeremy.
-