summaryrefslogtreecommitdiff
path: root/source3/client/mount.cifs.c
AgeCommit message (Collapse)AuthorFilesLines
2007-12-17Merge in J.Layton patch and resolve conflict.Simo Sorce1-26/+64
(This used to be commit 6b1a118eaaab405eeef0cf3c0488a2747af562ba)
2007-12-13We don't need to call endpwent if we never call getpwent.Jeremy Allison1-2/+0
Jeremy. (This used to be commit 27078d1292e8588956ae78e4cddb1bcebbe84478)
2007-12-13Add a varient of Steve Langasek <vorlon@debian.org> patchJeremy Allison1-10/+59
for bug #4780. Cause user mounts to inherit uid= and gid= from the calling user when called as non-root, except when overridden on the commandline. Jeremy. (This used to be commit 7fad5f38ea86ef76dc8e0853926b3248230616be)
2007-12-12Missed one strcpy call.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b215fb1ad0d5bb3fa7084c2773845ce1dffb2173)
2007-12-12Add a portable version of strlcpy and strlcat and convertJeremy Allison1-36/+70
all strncpy/strcat calls to them. Convert all sprintf calls to snprintf. Safety first ! Jeremy. (This used to be commit eff2b368e891d523de38b43ced95798b74ae101e)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-0/+0
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-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-1/+1
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25355: IP address parsing did not allow for fully expanded ipv6 addressesSteve French1-1/+1
(which can be 12 bytes longer than we were allowing for). Thanks to Dr. David Holder (This used to be commit 0202a84e3f61665953bd5207218063b0d5ff6088)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
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-10r22982: Do not prompt for password on sec=none for mount.cifs (and allow guestSteve French1-2/+5
option to pass to kernel code so it can know when to retry) (This used to be commit 500d9236c419be6ec32cc209279aeea2234f1a21)
2007-10-10r22979: Revert previous checkin (which had some debug junk) and fix misc ↵Steve French1-68/+25
frees that valgrind noticed (This used to be commit c8aa60692ba23c43820b820db3371a86dfbf40b5)
2007-10-10r22779: Patch for not prompting for password on cifs mounts when "sec=none"Steve French1-10/+61
specified (This used to be commit 9af97d8ead85c05d08ee24727525894df5866630)
2007-10-10r22560: Clean up frees of realloc memory in mount.cifs (thanks to Alex forSteve French1-6/+6
reminding me how to use Valgrind). (This used to be commit 4616c29b9f09b9863f1446e83c98e3adc327d0f9)
2007-10-10r22526: Support deep tree mounts after share (instead of having to specifySteve French1-0/+10
prepath) (This used to be commit 0548dea6c7222dc22144a86fffd32675cd14b677)
2007-10-10r21840: mount.cifs compile on old libc missing bind mount #defineSteve French1-0/+4
Thanks to Thomas Jarosch for pointing this out. (This used to be commit bd9439cc7d80e172feab72229b553028e134de05)
2007-10-10r17605: Some C++ warningsVolker Lendecke1-15/+15
(This used to be commit 05268d7a731861b10ce8556fd32a004808383923)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-0/+10
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r16360: Fix Klocwork ID 136 520 521 522 523 542 574 575 576 607Volker Lendecke1-0/+5
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 (This used to be commit 3df0bf7d6050fd7c9ace72487d4f74d92e30a584)
2007-10-10r14127: Remove coverity warning on mount.cifs.cSteve French1-1/+7
(This used to be commit 2ec51635ae7ba448f18c4c1342a5fd2adb1ec869)
2007-10-10r14126: resolve two warnings from the coverity scanSteve French1-5/+8
(This used to be commit 32c7243b80f1f06d37511fb87f7a5c715f4847c6)
2007-10-10r14009: Remove last const warning (have to use CONST_DISCARD).Jeremy Allison1-1/+3
Jeremy. (This used to be commit af0ade470f2fac3509a44207b4572e279ba30e34)
2007-10-10r14006: Fix a couple of irritating warnings.Jeremy Allison1-2/+2
Jeremy. (This used to be commit ead13ca522d7b8cbb47d660d3cb73c3582088985)
2007-10-10r13714: Set MOUNT_CIFS_VENDOR_SUFFIX if _SAMBA_BUILD_ is set toLars Müller1-2/+11
"-"SAMBA_VERSION_OFFICIAL_STRING"-"SAMBA_VERSION_VENDOR_SUFFIX if SAMBA_VERSION_VENDOR_SUFFIX is set or "-"SAMBA_VERSION_OFFICIAL_STRING only if MOUNT_CIFS_VENDOR_SUFFIX is undefined. This results in: mount.cifs -V mount.cifs version: 1.10-3.1.2pre1-SVN-build-13706-foovendor or mount.cifs version: 1.10-3.1.2pre1-SVN-build-13706 Steve: If this is to long or you do not like it, we might add something lile -VV to report the added part. (This used to be commit 3c277c7a3cce14f185db7fede7c0c4ab77769670)
2007-10-10r11938: Fix cifs to handle non-numeric uid and gid parameters and merge ↵Steve French1-42/+122
trunk and SAMBA_3 versions of mount.cifs and cleanup cifs vfs help. Modified version of patch from Olaf Kirch <okir at SuSE dot de> for Novell Bug 120601 (This used to be commit 0981552deab9f73d2f784e5da52878ffdf845031)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-21/+9
* \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 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r9401: Allow disabling mandatory byte range lock mount flag, andSteve French1-2/+2
fix corresponding entry in mtab. (This used to be commit e5cb7d2131b7c6963f00a8a329bf589dd78e09ce)
2007-10-10r9225: Various minor CIFS mount helper fixes to less common error paths.Steve French1-6/+18
These bugs were found by Coverity static source code analysis tools. (This used to be commit 98a7304b6be4672f6b29e4a9406e63ccb842381c)
2007-10-10r6514: Allow domain= to be specified in credentials file. Fix umount.cifs ↵Steve French1-4/+34
help, allow root to unmount someone else's mount (This used to be commit ed27740397817c1f1b14ba187139c877dbf22168)
2007-10-10r6505: Add missing remount flag handlingSteve French1-0/+2
(This used to be commit 37685979bb4075a42018b89f3aee230fead5a7a4)
2007-10-10r6499: Add two newer mount options to syntax help for mount.cifsSteve French1-1/+1
(This used to be commit 2ed6b5ecab1c4d503207615d576b4520dfc15451)
2007-10-10r6103: Update list of mount options for mount.cifsSteve French1-3/+3
(This used to be commit 6efd6225fab93c3f31f09f6bbf6d032024650501)
2007-10-10r5897: Fix domain name parsing for cifs mount utilSteve French1-7/+4
(This used to be commit 72eda746c2cc0a362aef6e08f7cd89e65cc7e86d)
2007-10-10r5896: Fix cifs mounts to handle commas embedded in prompted password, and ↵Steve French1-17/+166
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 d98417b2cfd9f3748eabc9df64cf30b2bd8bc338)
2007-10-10r5688: ignore user_xattr mount parm so as not to confuse it with a user nameSteve French1-1/+3
(This used to be commit 58afef91c52293d72f1066a27387a60e51be4e79)
2007-10-10r5640: On failed mount (ENXIO) retry share name in uppercase (fix mount to ↵Steve French1-1/+20
FastConnect AIX SMB server) (This used to be commit 8bd98b643d097cbd5e1650ec63a2f3176c3879d7)
2007-10-10r5236: Ignore users mount parm (since unneeded by cifs kernel code). ↵Steve French1-1/+5
Suggested by Dirk Jagdmann. (This used to be commit 076485169e44a95981a12606c639b973c4e79d4e)
2007-10-10r3068: strip guest mount option off before sending to kernel mount routine ↵Steve French1-0/+6
to avoid logging spurious message (This used to be commit a23c607ef0594ab098d1e5d85fb7635e530e3818)
2007-10-10r2917: Fix ip address override in mount.cifs mount helper and clean up ↵Steve French1-45/+61
warning messages from the sparse tool and expand syntax help (This used to be commit 1052eabf29f6c197b126f44d32fd5c5bc8f4a9c3)
2007-10-10r1616: Fix user unmount of shares mount with suid mount.cifsSteve French1-9/+33
(This used to be commit 2bd28007159a3ce4a1b8737218e7b75bc2286682)
2007-10-10r737: Handle -S and user mount parmsSteve French1-24/+40
(This used to be commit ea597e75237cf14343b217da7119f9ade2303ae5)
2007-10-10r88: Add missing guest mount option for mount.cifsSteve French1-9/+10
(This used to be commit e688c08d330836640af91c734d2c6f451c2f4337)
2007-10-10r77: Fix path canonicalization of the mount target path and help text ↵Steve French1-5/+25
display in the cifs mount helper (This used to be commit 69861f168c6be90b4e7f47e29006b2d60d442ffd)
2007-10-10r18: Fix free of incremented pointerSteve French1-5/+4
(This used to be commit dfac69be4fc63745e2d0b4cecb8106286c7c8ca0)
2004-04-02Fix credential file mountinf for cifs vfsSteve French1-10/+37
(This used to be commit 9ad22b8a3d839501b72f3b96d43a22365c15ec43)
2004-02-26Fixes to minor security bug pointed out by AB in the mount helperSteve French1-1/+8
(This used to be commit b83802c5a14800554d30c32c12ae3a86e3136bdf)
2004-02-17Fix incorrect strnicmp lenSteve French1-23/+22
(This used to be commit ad1ebb5000066d44ce94f0341fb31351b3900e95)
2004-02-17Disable dev (MS_NODEV) on user mounts from cifs vfsSteve French1-1/+1
(This used to be commit 9b0d1072bc66d05d0e9afcbe0da349ccaa99ba6e)
2004-02-16Disable suid on user mounts (can override with -DCIFS_ALLOW_USR_SUID)Steve French1-1/+5
(This used to be commit a718f16e0bf78139ea46383feec0ce72c63a4986)
2004-02-11Update mount.cifs version to 1.1Steve French1-1/+1
(This used to be commit e73b6a5ae51687c42b621f6bf496c8ae1a73aee1)