1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

738 Commits

Author SHA1 Message Date
Jeremy Allison
6dd5f0ef0f r21750: Sync up with SAMBA_3_0_25. Only client changes are in libsmbclient
right now.
Jeremy.
2007-10-10 12:18:27 -05:00
Jeremy Allison
62a5c22a13 r21734: Fix bug #4369. Patch from David Leonard <dleonard@vintela.com>.
Jeremy.
2007-10-10 12:18:27 -05:00
Jeremy Allison
8f3d530c5a r21714: Change the VFS interface to use struct timespec
for utimes - change the call to ntimes. This preserves
nsec timestamps we get from stat (if the system supports
it) and only maps back down to usec or sec resolution
on time set. Looks bigger than it is as I had to move
lots of internal code from using time_t and struct utimebuf
to struct timespec.
Jeremy.
2007-10-10 12:18:24 -05:00
Herb Lewis
5a7330cfe4 r21657: get rid of warning - not everyone understands %F 2007-10-10 12:18:22 -05:00
Jeremy Allison
9858e5b725 r21641: Add test code for POSIX pathname calls into smbclient.
Jeremy.
2007-10-10 12:18:20 -05:00
Steve French
529d64b4c8 r21283: Do not display away debug output of cifs dfs resolver by default
per Dave Howell's suggestion
2007-10-10 12:17:54 -05:00
Steve French
738d29dbcc r21224: Initial checkin of cifs_host_name resolver helper script
(needed by /sbin keyctl utils to finish the upcall)
2007-10-10 12:17:48 -05:00
Jelmer Vernooij
580f2a7197 r20832: Remove extra pointers previously added to unique [out] pointers. Instead,
add [ref] pointers where necessary (top-level [ref] pointers,
by spec, don't appear on the wire).

This brings us closer to the DCE/RPC standard again.
2007-10-10 12:17:11 -05:00
Herb Lewis
c60687db11 r20261: merge 20260 from samba_3_0_24
clean up a bunch of no previous prototype warnings
2007-10-10 12:16:37 -05:00
Herb Lewis
ac3eb7813e r20124: clean up nested extern declaration warnings 2007-10-10 12:16:26 -05:00
Volker Lendecke
bc4e0a388a r19797: Convert the remaining pipes to the "new" unique out ptr handling 2007-10-10 12:15:56 -05:00
Jeremy Allison
1e9284590f r19529: Added showacls togle. Previously was vendor-specific code.
Merging these in - should have been merged back before (will
be tidied up later).
Jeremy.
2007-10-10 12:15:41 -05:00
Volker Lendecke
a03fb81a9d r18876: Fix smbclient -L 2007-10-10 12:14:40 -05:00
Stefan Metzmacher
4a198cebe3 r18813: the generated rpccli_ functions give NTSTATUS
metze
2007-10-10 12:01:02 -05:00
Jelmer Vernooij
ef10672399 r18802: Use the pidl-generated code for the srvsvc interface, both client and server code.
This has had some basic testing. I'll do more during the next couple of days and hopefully also
make RPC-SRVSVC from Samba4 pass against it.
2007-10-10 12:00:59 -05:00
Volker Lendecke
0baa3fcfa6 r18402: Comment and (hopefully) fix remote command completion for smbclient.
Fix Bug ID 4084.

Volker
2007-10-10 11:51:22 -05:00
Volker Lendecke
86f4ca84f2 r18047: More C++ stuff 2007-10-10 11:43:24 -05:00
Volker Lendecke
ac7087a651 r17850: Another dummy checkin for the build farm to retry 2007-10-10 11:38:53 -05:00
Jeremy Allison
425280a1d2 r17800: Start using struct timespec internally for file times
on the wire. This allows us to go to nsec resolution
for systems that support it. It should also now be
easy to add a correct "create time" (birth time)
for systems that support it (*BSD). I'll be watching
the build farm closely after this one for breakage :-).
Jeremy.
2007-10-10 11:38:48 -05:00
Volker Lendecke
05268d7a73 r17605: Some C++ warnings 2007-10-10 11:38:42 -05:00
Volker Lendecke
acf237b3cd r17572: Fix the build 2007-10-10 11:38:40 -05:00
Volker Lendecke
94817a8ef5 r17571: Change the return code of cli_session_setup from BOOL to NTSTATUS
Volker
2007-10-10 11:38:39 -05:00
Jeremy Allison
596497ccc2 r16971: Ensure we use the correct separator for pathnames
in POSIX mode (clitar needs fixing too). Add test
posix lock/unlock commands.
Jeremy.
2007-10-10 11:19:16 -05:00
Jeremy Allison
2d8d4bd77b r16962: Add a few utility fns into client. Allow POSIX capabilities
to be selected.
Jeremy.
2007-10-10 11:19:16 -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
Jeremy Allison
7d7a98208b r16608: Klocwork #2035. Null deref (bit of a stretch... :-).
Jeremy.
2007-10-10 11:19:03 -05:00
Jeremy Allison
16b0617cb0 r16587: Fix Klocwork #1987. Memleak on reusing x_dbf.
Jeremy.
2007-10-10 11:19:01 -05:00
Volker Lendecke
3df0bf7d60 r16360: Fix Klocwork ID 136 520 521 522 523 542 574 575 576 607
in net_rpc.c: 715 716 732 734 735 736 737 738 739 749

in net_rpc_audit.c: 754 755 756

in net_rpc_join.c: 757

in net_rpc_registry: 766 767

in net_rpc_samsync.c: 771 773

in net_sam.c: 797 798

Volker
2007-10-10 11:18:48 -05:00
Volker Lendecke
ded2952e00 r16338: Fix Klocwork ID 150 2007-10-10 11:17:36 -05:00
James Peach
848ac756f6 r16274: Fix the smbclient prompting behaviour for both systems that have
libreadline and those that don't. We always use the built-in readline
replacement for non-interactive mode. Interactive prompts are always
emitted to stdout and non-interactive mode never prompts at all.

Introduce x_fdup to avoid spuriously closing stdout when a logfile is
specified on the command line and setup_logging is called a second time.
2007-10-10 11:17:30 -05:00
Volker Lendecke
4974c598c0 r16251: for i in seq 1 1000
do
	echo "I will always compile before commit :-)"
done

Also fix Klokwork ID 806.

Volker
2007-10-10 11:17:28 -05:00
Volker Lendecke
d7a75ee94d r16250: Fix Klokwork IDs 148, 151, 152, 154.
Volker
2007-10-10 11:17:28 -05:00
Jeremy Allison
6c61dc8ed6 r16230: Fix Klocwork #861 and others. localtime and asctime
can return NULL. Ensure we check all returns correctly.
Jeremy.
2007-10-10 11:17:26 -05:00
Günther Deschner
ff93fc7c1e r15552: Fix segfault...
Guenther
2007-10-10 11:16:58 -05:00
Günther Deschner
a0548914c2 r15519: Fix segfault.
Guenther
2007-10-10 11:16:55 -05:00
James Peach
a19d4f2bb4 r15448: New autoconf macro to test for sysconf variables. 2007-10-10 11:16:46 -05:00
Jeremy Allison
1b73e699e1 r15141: Fix for #3592 inspired by Justin Best <justinb@pdxmission.org>.
Ignore a file in a tar output if the first read fails. Also
cope with <2GB read fail.
Jeremy.
2007-10-10 11:16:26 -05:00
Volker Lendecke
d3d388180d r15098: Make smbclient -L use RPC to list shares, fall back to RAP. This should list
long share names.

Volker
2007-10-10 11:16:23 -05:00
Jeremy Allison
a3b8bee3ff r14359: Try and fix Coverity #176 by making the pointer
aliasing clearer. This isn't a bug but a code
clarification.
Jeremy.
2007-10-10 11:15:26 -05:00
Jeremy Allison
d793e1550c r14351: Ensure we use the minimum of PATH_MAX and sizeof(pstring).
Fix Coverity #59.
Jeremy.
2007-10-10 11:15:26 -05:00
Volker Lendecke
811ae2b21f r14248: Fix Coverity bug # 84 2007-10-10 11:15:20 -05:00
Volker Lendecke
ebc21336d8 r14246: Fix Coverity bug # 85 2007-10-10 11:15:20 -05:00
Volker Lendecke
9f645e9962 r14242: Fix Coverity bug # 82 2007-10-10 11:15:19 -05:00
Jeremy Allison
e5d6069cf8 r14176: Fix coverity bug #30. Ensure no possible null deref.
Jeremy.
2007-10-10 11:15:15 -05:00
Jeremy Allison
2ec461ae58 r14166: Fix const warning.
Jeremy.
2007-10-10 11:15:14 -05:00
Günther Deschner
7ec2b31a87 r14148: Removing the not very well tested krb5 ticket refresh handling activated
over --with-kcm. No time to look after it for the moment.

Guenther
2007-10-10 11:15:13 -05:00
Günther Deschner
977079a058 r14145: Add missing WITH_KCM hunks from my local tree.
Guenther
2007-10-10 11:15:13 -05:00
Steve French
33a1e26114 r14128: Remove warning generated by coverity scan tool (missing SAFE_FREE in error path) 2007-10-10 11:11:14 -05:00
Steve French
2ec51635ae r14127: Remove coverity warning on mount.cifs.c 2007-10-10 11:11:13 -05:00
Steve French
32c7243b80 r14126: resolve two warnings from the coverity scan 2007-10-10 11:11:13 -05:00