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

45 Commits

Author SHA1 Message Date
Volker Lendecke
0b56ff1ea3 r17605: Some C++ warnings
(This used to be commit 05268d7a731861b10ce8556fd32a004808383923)
2007-10-10 11:38:42 -05:00
Jeremy Allison
fbdcf2663b 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.
(This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10 11:19:14 -05:00
Volker Lendecke
e7fc37cf0f 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
(This used to be commit 3df0bf7d6050fd7c9ace72487d4f74d92e30a584)
2007-10-10 11:18:48 -05:00
Steve French
f3b39786db r14127: Remove coverity warning on mount.cifs.c
(This used to be commit 2ec51635ae7ba448f18c4c1342a5fd2adb1ec869)
2007-10-10 11:11:13 -05:00
Steve French
84c398a72e r14126: resolve two warnings from the coverity scan
(This used to be commit 32c7243b80f1f06d37511fb87f7a5c715f4847c6)
2007-10-10 11:11:13 -05:00
Jeremy Allison
9e65a2cb98 r14009: Remove last const warning (have to use CONST_DISCARD).
Jeremy.
(This used to be commit af0ade470f2fac3509a44207b4572e279ba30e34)
2007-10-10 11:11:05 -05:00
Jeremy Allison
26c95f3545 r14006: Fix a couple of irritating warnings.
Jeremy.
(This used to be commit ead13ca522d7b8cbb47d660d3cb73c3582088985)
2007-10-10 11:11:04 -05:00
Lars Müller
1006c89e1b r13714: Set MOUNT_CIFS_VENDOR_SUFFIX if _SAMBA_BUILD_ is set to
"-"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-10 11:10:50 -05:00
Steve French
ba54ba0326 r11938: Fix cifs to handle non-numeric uid and gid parameters and merge 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-10 11:05:37 -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 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10 11:04:48 -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 e5cb7d2131b7c6963f00a8a329bf589dd78e09ce)
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 98a7304b6be4672f6b29e4a9406e63ccb842381c)
2007-10-10 11:00:28 -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 ed27740397817c1f1b14ba187139c877dbf22168)
2007-10-10 10:56:44 -05:00
Steve French
ae816fe9f9 r6505: Add missing remount flag handling
(This used to be commit 37685979bb4075a42018b89f3aee230fead5a7a4)
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 2ed6b5ecab1c4d503207615d576b4520dfc15451)
2007-10-10 10:56:43 -05:00
Steve French
5d64af716d r6103: Update list of mount options for mount.cifs
(This used to be commit 6efd6225fab93c3f31f09f6bbf6d032024650501)
2007-10-10 10:56:21 -05:00
Steve French
2b71ed0cda r5897: Fix domain name parsing for cifs mount util
(This used to be commit 72eda746c2cc0a362aef6e08f7cd89e65cc7e86d)
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 d98417b2cfd9f3748eabc9df64cf30b2bd8bc338)
2007-10-10 10:56:07 -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 58afef91c52293d72f1066a27387a60e51be4e79)
2007-10-10 10:55:55 -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 8bd98b643d097cbd5e1650ec63a2f3176c3879d7)
2007-10-10 10:55:53 -05:00
Steve French
f221832d9a r5236: Ignore users mount parm (since unneeded by cifs kernel code). Suggested by Dirk Jagdmann.
(This used to be commit 076485169e44a95981a12606c639b973c4e79d4e)
2007-10-10 10:55:34 -05:00
Steve French
7d4eaf8a9b r3068: strip guest mount option off before sending to kernel mount routine to avoid logging spurious message
(This used to be commit a23c607ef0594ab098d1e5d85fb7635e530e3818)
2007-10-10 10:53:00 -05:00
Steve French
86228705c0 r2917: Fix ip address override in mount.cifs mount helper and clean up warning messages from the sparse tool and expand syntax help
(This used to be commit 1052eabf29f6c197b126f44d32fd5c5bc8f4a9c3)
2007-10-10 10:52:56 -05:00
Steve French
eeb72e0eb6 r1616: Fix user unmount of shares mount with suid mount.cifs
(This used to be commit 2bd28007159a3ce4a1b8737218e7b75bc2286682)
2007-10-10 10:52:17 -05:00
Steve French
e476cc5903 r737: Handle -S and user mount parms
(This used to be commit ea597e75237cf14343b217da7119f9ade2303ae5)
2007-10-10 10:51:36 -05:00
Steve French
d2b58ab66f r88: Add missing guest mount option for mount.cifs
(This used to be commit e688c08d330836640af91c734d2c6f451c2f4337)
2007-10-10 10:51:08 -05:00
Steve French
f01b3a1576 r77: Fix path canonicalization of the mount target path and help text display in the cifs mount helper
(This used to be commit 69861f168c6be90b4e7f47e29006b2d60d442ffd)
2007-10-10 10:51:07 -05:00
Steve French
70c6c78395 r18: Fix free of incremented pointer
(This used to be commit dfac69be4fc63745e2d0b4cecb8106286c7c8ca0)
2007-10-10 10:51:03 -05:00
Steve French
620e1eaddc Fix credential file mountinf for cifs vfs
(This used to be commit 9ad22b8a3d839501b72f3b96d43a22365c15ec43)
2004-04-02 00:11:27 +00:00
Steve French
a3425dad72 Fixes to minor security bug pointed out by AB in the mount helper
(This used to be commit b83802c5a14800554d30c32c12ae3a86e3136bdf)
2004-02-26 06:42:51 +00:00
Steve French
5e39e9f313 Fix incorrect strnicmp len
(This used to be commit ad1ebb5000066d44ce94f0341fb31351b3900e95)
2004-02-17 22:51:42 +00:00
Steve French
d5ad8c5099 Disable dev (MS_NODEV) on user mounts from cifs vfs
(This used to be commit 9b0d1072bc66d05d0e9afcbe0da349ccaa99ba6e)
2004-02-17 21:31:25 +00:00
Steve French
269082724a Disable suid on user mounts (can override with -DCIFS_ALLOW_USR_SUID)
(This used to be commit a718f16e0bf78139ea46383feec0ce72c63a4986)
2004-02-16 23:43:14 +00:00
Steve French
e7a09dd637 Update mount.cifs version to 1.1
(This used to be commit e73b6a5ae51687c42b621f6bf496c8ae1a73aee1)
2004-02-11 23:14:39 +00:00
Steve French
70fde6311d Mount helper fixes for nosetuid, noexec part two of two
(This used to be commit c2b4d81a8dae23170d32713e3e766dcf5be9a040)
2004-02-11 23:11:00 +00:00
Steve French
33b944911f Add missing nosetuid and noexec options
(This used to be commit 5bb6429cc46f4bedd87b309ed98b61b10684cd0f)
2004-02-11 22:54:01 +00:00
Steve French
25b483dfc3 cifs mount helper merge
(This used to be commit 865fcdcb85d47eeff854f4df0aba0c0f3452bdd9)
2004-01-05 22:18:44 +00:00
Steve French
2e879cfacc mount.cifs failed to mount to directory owned by user when run setuid
(This used to be commit 18c0315c3cb1a28fd870f8dd5d92f2e9117a29fc)
2003-12-11 19:47:52 +00:00
Alexander Bokovoy
3531647574 Fix segfault in mount.cifs helper when there is no options specified during mount
(This used to be commit fb87388a9fe959ecb01d88e2f974b077bac0a34d)
2003-10-22 15:41:08 +00:00
Steve French
78e75d4f6c Update mount helper to take synonyms for file_mode and dir_mode (fmask and dmask)
(This used to be commit 89a0e97094fa85b6339f0ad0884cf55987758263)
2003-08-29 07:31:39 +00:00
Steve French
fac0ae1481 Fixes to all mount.cifs to run more safely setuid
(This used to be commit bdb65b9a6e033ca25d98e924d44b1639dd0c0fb9)
2003-08-16 03:32:45 +00:00
Steve French
d1fafca608 Fix mount options for ro, dir_mode, file_mode
(This used to be commit 7e7cf0dd98ec8e28c02cb9e36064eaf098339801)
2003-06-20 16:41:41 +00:00
Tim Potter
3c830cad6f Syncup with HEAD:
>revision 1.3
>date: 2003/05/20 04:28:29;  author: sfrench;  state: Exp;  lines: +10 -5
>Fix Linux cifs vfs mount helper parsing of slashes
(This used to be commit b2b4a7e4998cc41842e8b564a4ccb77737aeed04)
2003-05-28 01:06:53 +00:00
Steve French
2055e724ad Checkin cifs vfs for Linux mount helper
(This used to be commit a55acfd7a296c5ae9b043dc03393a29d87e43a40)
2003-03-15 22:35:47 +00:00
Steve French
f944fd6975 Add early prototype of cifs mount helper for Linux
(This used to be commit b20bcf8d336b4b2079eb42342a96d1fe714709de)
2003-03-07 22:29:14 +00:00