[FreeNX-kNX] windows/osx shares fail to mount
Johannes Scholz
lgdlubyou at googlemail.com
Mon Jul 26 18:03:23 UTC 2010
typo in the patch, sorry for spamming the list :)
Correct patch:
--- nxnode.orig 2010-07-26 18:56:00.000000000 +0200
+++ nxnode 2010-07-26 19:05:10.000000000 +0200
@@ -1921,9 +1921,9 @@
# dimbor: add russian, save cmdstr and kill dialogs
if [ -n "$SMB_MOUNT_OPTIONS" ]
then
- MNTSTR="PASSWD=\"$password\" $COMMAND_SMBMOUNT //$computername/$share $dir -o username=$username,ip=127.0.0.1,port=$port,$SMB_MOUNT_OPTIONS 2>&1"
+ MNTSTR="$COMMAND_SMBMOUNT //$computername/$share $dir -o username=$username%$password,ip=127.0.0.1,port=$port,$SMB_MOUNT_OPTIONS 2>&1"
else
- MNTSTR="PASSWD=\"$password\" $COMMAND_SMBMOUNT //$computername/$share $dir -o username=$username,ip=127.0.0.1,port=$port 2>&1"
+ MNTSTR="$COMMAND_SMBMOUNT //$computername/$share $dir -o username=$username%$password,ip=127.0.0.1,port=$port 2>&1"
fi
echo "$DELIM 701 Attempt to start $MNTSTR"
error=$($MNTSTR)
Am 26.07.2010 um 19:22 schrieb Johannes Scholz:
> --- nxnode.orig 2010-07-26 18:56:00.000000000 +0200
> +++ nxnode 2010-07-26 19:05:10.000000000 +0200
> @@ -1921,9 +1921,9 @@
> # dimbor: add russian, save cmdstr and kill dialogs
> if [ -n "$SMB_MOUNT_OPTIONS" ]
> then
> - MNTSTR="PASSWD=\"$password\" $COMMAND_SMBMOUNT //$computername/$share $dir -o username=$username,ip=127.0.0.1,port=$port,$SMB_MOUNT_OPTIONS 2>&1"
> + MNTSTR="$COMMAND_SMBMOUNT //$computername/$share $dir -o username=$username%$password,ip=127.0.0.1,port=$port,$SMB_MOUNT_OPTIONS 2>&1"
> else
> - MNTSTR="PASSWD=\"$password\" $COMMAND_SMBMOUNT //$computername/$share $dir -o username=$username,ip=127.0.0.1,port=$port 2>&1"
> + MNTSTR="$COMMAND_SMBMOUNT //$computername/$share $dir -o username%$password=$username,ip=127.0.0.1,port=$port 2>&1"
> fi
> echo "$DELIM 701 Attempt to start $MNTSTR"
> error=$($MNTSTR)
More information about the FreeNX-kNX
mailing list