Bug 2923 - /sbin/mount.smb is broken
Summary: /sbin/mount.smb is broken
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: samba
Version: 6.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-05-19 05:30 UTC by Damien, Miller
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 1999-05-19 14:24:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Damien, Miller 1999-05-19 05:30:43 UTC
mount.smb passes smbmount it arguments in the wrong order.
This trivial patch fixes that:

--- mount.smb-orig	Wed May 19 15:24:46 1999
+++ mount.smb	Wed May 19 15:15:21 1999
@@ -39,7 +39,7 @@
 done

 if [ -n "$PASSWD" ]; then
-      exec smbmount "$1" $USER $PASSWD -c "$COMMAND"
+      exec smbmount "$1" $PASSWD $USER -c "$COMMAND"
 else
       exec smbmount "$1" -N $USER -c "$COMMAND"
 fi

------------------------------------

Comment 1 Bill Nottingham 1999-05-19 14:24:59 UTC
fixed in samba-2.0.4a-1


Note You need to log in before you can comment on or make changes to this bug.