1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

568 Commits

Author SHA1 Message Date
Jeremy Allison
6d5757395a r11511: A classic "friday night check-in" :-). This moves much
of the Samba4 timezone handling code back into Samba3.
Gets rid of "kludge-gmt" and removes the effectiveness
of the parameter "time offset" (I can add this back
in very easily if needed) - it's no longer being
looked at. I'm hoping this will fix the problems people
have been having with DST transitions. I'll start comprehensive
testing tomorrow, but for now all modifications are done.
Splits time get/set functions into srv_XXX and cli_XXX
as they need to look at different timezone offsets.
Get rid of much of the "efficiency" cruft that was
added to Samba back in the day when the C library
timezone handling functions were slow.
Jeremy.
(This used to be commit 414303bc02)
2007-10-10 11:05:19 -05:00
Gerald Carter
057060feaf r10964: BUG 1051: store the directory path so we can send the full name in the unlink call (del tmp\foo)
(This used to be commit 49b8d7d7f5)
2007-10-10 11:04:58 -05:00
Gerald Carter
54abd2aa66 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
(This used to be commit 939c3cb5d7)
2007-10-10 11:04:48 -05:00
Gerald Carter
93bbaac166 r10590: merging lost fix from the release branch
(This used to be commit c2a018bf1f)
2007-10-10 11:04:47 -05:00
Gerald Carter
a1faaa9e67 r10554: * BUG 3057: assume x64 drivers are v3 drivers
* BUG 3087: allow smbspool to establisha geust connection
  using a username with no password
(This used to be commit 39369c8041)
2007-10-10 11:04:47 -05:00
Gerald Carter
dade4d9e95 r10176: adding smbctool from Kalim's SoC project; requires make bin/smbctool
(This used to be commit 79fcc3bb7b)
2007-10-10 11:03:35 -05:00
Günther Deschner
a34c21f378 r9736: be a little more verbose on error.
Guenther
(This used to be commit 48cb0638b5)
2007-10-10 11:03:24 -05:00
Jeremy Allison
b67ba1e36b r9545: (Hopefully the last) fixes for DIR -> SMB_STRUCT_DIR.
Jeremy.
(This used to be commit b242f27860)
2007-10-10 11:01:12 -05:00
Steve French
337db26f16 r9401: Allow disabling mandatory byte range lock mount flag, and
fix corresponding entry in mtab.
(This used to be commit e5cb7d2131)
2007-10-10 11:00:34 -05:00
Steve French
bc3aaeac6f r9225: Various minor CIFS mount helper fixes to less common error paths.
These bugs were found by Coverity static source code analysis tools.
(This used to be commit 98a7304b6b)
2007-10-10 11:00:28 -05:00
Tim Potter
ab398643a4 r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.
(This used to be commit 985dbb47d9)
2007-10-10 11:00:11 -05:00
Gerald Carter
d8601c4a37 r8478: remove unused printmode command from smbclient (noticed by kalim@samba.org)
(This used to be commit aa5de7d0b3)
2007-10-10 11:00:06 -05:00
Gerald Carter
b69ca6c597 r7879: fix compile issue caused by not statoc value for intializing cpp macros
(This used to be commit 9af07b2430)
2007-10-10 10:58:00 -05:00
Volker Lendecke
f1c8b8235b r7835: Add the forgotten GPL header. This source code file is distributed with Samba
and interfaces to the Linux kernel (both GPL programs), so it was always our
(Paal-Kr. Engstad and Volker Lendecke) intent that this program is covered by
the GPL.

Volker
(This used to be commit 72bc9de686)
2007-10-10 10:57:58 -05:00
Steve French
97a2087c14 r7202: lock mtab when updating it during umount.cifs, also delete only one matching entry at a time
(This used to be commit 200db0790a)
2007-10-10 10:57:05 -05:00
Gerald Carter
f24d88cf9d r7139: trying to reduce the number of diffs between trunk and 3.0; changing version to 3.0.20pre1
(This used to be commit 9727d05241)
2007-10-10 10:57:02 -05:00
Gerald Carter
6a3a0766d5 r6685: smbclient fixes
* BUG 2680: copy files from an MSDFS win2k root share
* BUG 2688: re-implement support for the -P (--port) option
* support connecting to an 'msdfs proxy' share on a Samba server
(This used to be commit 9e3e473632)
2007-10-10 10:56:51 -05:00
Gerald Carter
5df279f144 r6684: BUG 1780: patch from Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM> to add kerberos supsport to smbspool
(This used to be commit 3abffdf3ad)
2007-10-10 10:56:51 -05:00
Gerald Carter
5580bf38a0 r6634: merge smbmount malloc checker fixes from trunk
(This used to be commit ca678b9690)
2007-10-10 10:56:48 -05:00
Steve French
3a11fdc387 r6514: Allow domain= to be specified in credentials file. Fix umount.cifs help, allow root to unmount someone
else's mount
(This used to be commit ed27740397)
2007-10-10 10:56:44 -05:00
Steve French
ae816fe9f9 r6505: Add missing remount flag handling
(This used to be commit 37685979bb)
2007-10-10 10:56:44 -05:00
Steve French
65d672f019 r6499: Add two newer mount options to syntax help for mount.cifs
(This used to be commit 2ed6b5ecab)
2007-10-10 10:56:43 -05:00
Steve French
7522810acb r6482: Add support so umount.cifs can update mtab
(This used to be commit 66ec66ed1b)
2007-10-10 10:56:42 -05:00
Gerald Carter
67e9fb7c7c r6388: BUG 2626: ensure that the calling_name is set to something after parsing smb.conf (if not set via -n)
(This used to be commit 97c68ec1e8)
2007-10-10 10:56:39 -05:00
Steve French
496c6f0884 r6349: Update cifs umount utility
(This used to be commit c303022951)
2007-10-10 10:56:38 -05:00
Jeremy Allison
cc7ebb3f14 r6348: Fix for bug #2605 reported by Daniel Patterson <Daniel_Patterson@national.com.au>.
Ensure smbclient doesn't perform commands if the "chdir" fails in a scripted set.
Jeremy.
(This used to be commit 644608ea7d)
2007-10-10 10:56:37 -05:00
Gerald Carter
121c22d1d5 r6291: BUG 2588: force smbclient messages to port 139 unless someone set the -p option
(This used to be commit 40f573e202)
2007-10-10 10:56:35 -05:00
Steve French
16167208cf r6262: Minor updates to cifs umount helper
(This used to be commit cd8b93edc6)
2007-10-10 10:56:33 -05:00
Steve French
f168ebafb3 r6255: Initial checkin of cifs umount utility
(This used to be commit 8f7c36a6c4)
2007-10-10 10:56:32 -05:00
Herb Lewis
978ca84860 r6225: get rid of warnings from my compiler about nested externs
(This used to be commit efea76ac71)
2007-10-10 10:56:30 -05:00
Derrell Lipman
9840db418b r6149: Fixes bugs #2498 and 2484.
1. using smbc_getxattr() et al, one may now request all access control
   entities in the ACL without getting all other NT attributes.
2. added the ability to exclude specified attributes from the result set
   provided by smbc_getxattr() et al, when requesting all attributes,
   all NT attributes, or all DOS attributes.
3. eliminated all compiler warnings, including when --enable-developer
   compiler flags are in use.  removed -Wcast-qual flag from list, as that
   is specifically to force warnings in the case of casting away qualifiers.

Note: In the process of eliminating compiler warnings, a few nasties were
      discovered.  In the file libads/sasl.c, PRIVATE kerberos interfaces
      are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED
      kerberos interfaces are being used.  Someone who knows kerberos
      should look at these and determine if there is an alternate method
      of accomplishing the task.
(This used to be commit 994694f7f2)
2007-10-10 10:56:24 -05:00
Jeremy Allison
3fb8308072 r6120: Added "volume" command to smbclient that prints out the volume name and
serial number.
Jeremy.
(This used to be commit c69623072e)
2007-10-10 10:56:23 -05:00
Steve French
5d64af716d r6103: Update list of mount options for mount.cifs
(This used to be commit 6efd6225fa)
2007-10-10 10:56:21 -05:00
Jeremy Allison
19996e23c3 r5979: Don't crash when talking to a Win98 server (bugid #2530 - not a fix
buy just prevent the crash).
Jeremy.
(This used to be commit 9d5ef800b6)
2007-10-10 10:56:14 -05:00
Gerald Carter
b3e57cb3ff r5968: derrell's large file fix for libsmbclient (BUG 2505)
(This used to be commit 85be4c5df3)
2007-10-10 10:56:13 -05:00
Steve French
2b71ed0cda r5897: Fix domain name parsing for cifs mount util
(This used to be commit 72eda746c2)
2007-10-10 10:56:07 -05:00
Steve French
9ac8568547 r5896: Fix cifs mounts to handle commas embedded in prompted password, and password and credential files.
Fix cifs mounts to handle domain name and user name in username field (in form domain\user)
(This used to be commit d98417b2cf)
2007-10-10 10:56:07 -05:00
Jeremy Allison
7069d481c0 r5835: Make smbclient obey the max protocol argument again.
Jeremy.
(This used to be commit 7cb9618e5d)
2007-10-10 10:56:04 -05:00
Steve French
9db6a5cc3d r5688: ignore user_xattr mount parm so as not to confuse it with a user name
(This used to be commit 58afef91c5)
2007-10-10 10:55:55 -05:00
Jeremy Allison
00340b20f9 r5687: Fix for bug #2398 from Kevin Dalley <kevin@kelphead.org>.
smbtar shouldn't assume /dev/null means dryrun.
Jeremy.
(This used to be commit 84e7b7db89)
2007-10-10 10:55:54 -05:00
Steve French
73d7fb0fd0 r5640: On failed mount (ENXIO) retry share name in uppercase (fix mount to FastConnect AIX SMB server)
(This used to be commit 8bd98b643d)
2007-10-10 10:55:53 -05:00
Gerald Carter
fb84318c34 r5578: get 'recurse; dir' working across multiple levels of dfs referrals
note that this does not handle the situation where the same \\server\share
is mounted mutliple times in the dfs tree since I store a single mount
path per struct cli_state *
(This used to be commit 52c82b51ba)
2007-10-10 10:55:48 -05:00
Gerald Carter
96572957fc r5577: get recurse; dir working across single level dfs referrals
(This used to be commit d4443807bc)
2007-10-10 10:55:48 -05:00
Gerald Carter
038d939c2a r5545: move cli_cm_XXX() connection handling code to clidfs and out of client.c; client.c still maintains a pointer to the first connection so the change is fairly reansparent to other smbclient functions such as -L and -M
(This used to be commit d6a05ffd66)
2007-10-10 10:55:46 -05:00
Gerald Carter
584c412e0a r5542: fix a few more msdfs bugs in smbclient against both smbd and 2k dfs root
shares.
(This used to be commit 5d2624c453)
2007-10-10 10:55:46 -05:00
Günther Deschner
9fa9ca4f8b r5527: Allow own netbios name to be set in smbclient's session setup.
Guenther
(This used to be commit 3660b7e64d)
2007-10-10 10:55:45 -05:00
Gerald Carter
1b0f75ddfb r5520: fix last remaining dfs issues with smbclient.
* all the unix extension commands should work
* send the correct TRANS2_FINDFIRST format to 2k to
  get a listing from a msdfs root share (tested against
  smbd as well).
* mkdir, rmdir, etc... all seem ok.

I'm sure bugs will pop up so keep testing.

Last thing I plan on doing is to clean up the horrible
mess with connection management in smbclient and global
variables (so i can move the cli_cm_xx() routines to a
separate file).
(This used to be commit 53d6a5f9d1)
2007-10-10 10:55:44 -05:00
Gerald Carter
9cc7c62942 r5519: fix msdfs support for [m]get and [m]put
(This used to be commit 6a9e4d6af1)
2007-10-10 10:55:44 -05:00
Gerald Carter
01b87c63c9 r5518: Add initial msdfs support to smbclient. Currently I can only
cd up and down the tree and get directory listings.

Still have to figure out how to get a directory listing on a
2k dfs root.  Also have to work out some issues with relative paths
that cross dfs mount points.

We're protected from the new code paths when connecting to
a non-dfs root share ( the flag from the tcon&X is stored
in the struct cli_state* )
(This used to be commit e57fd2c5f0)
2007-10-10 10:55:44 -05:00
Gerald Carter
37ea9da1fd r5495: * add in some code from Mike Nix <mnix@wanm.com.au> for the SMBsplopen
and SMBsplclose commands (BUG 2010)
* clarify some debug messages in smbspool (also from Mike)

my changes:

* start adding msdfs client routines
* enable smbclient to maintain multiple connections
* set the CAP_DFS flag for our internal clienht routines.

I actualy have a dfs referral working in do_cd() but that code
is too ugly to live so I'm not checking it in just yet.
Further work is to merge with vl's changes in trunk to support multiple
TIDs per cli_state *.
(This used to be commit 0449756309)
2007-10-10 10:55:43 -05:00