Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 138320 Details for
Bug 202045
net-misc/nxserver-freenx-0.7.1: failure mounting shares from windows client
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for nxnode script
nxserver-freenx-0.7.1-samba.patch (text/plain), 1.55 KB, created by
Bruno Redondi
on 2007-12-12 16:08:32 UTC
(
hide
)
Description:
fix for nxnode script
Filename:
MIME Type:
Creator:
Bruno Redondi
Created:
2007-12-12 16:08:32 UTC
Size:
1.55 KB
patch
obsolete
>--- nxnode~ 2007-12-05 18:41:09.714867153 +0100 >+++ nxnode 2007-12-10 18:19:20.572614463 +0100 >@@ -56,7 +56,7 @@ > { > stringinstring "&$1=" "$CMDLINE" || return 1 > >- echo "$CMDLINE" | tr "&" "\n" | egrep "^"$1"=" | awk -F= '{ VAL=$2 } END { print VAL }' >+ echo "$CMDLINE" | tr "&" "\n" | egrep "^"$1"=" | awk -F= '{ VAL=$2 } END { print VAL }' | sed 's|%24|$|' > > return 0 > } >@@ -720,7 +720,7 @@ > # Catch NXAGENT SMB Port (sometimes the port differs from what we got from nxserver) > # > >- if stringinstring "Info: Listening for SMB connections on port" "$line" >+ if stringinstring "Info: Listening * SMB connections on port" "$line" > then > SMBMOUNT_PORT=$(echo $line | cut -d"'" -f2) > echo "$SMBMOUNT_PORT" >"$USER_FAKE_HOME/.nx/C-$sess_id/scripts/mport" >@@ -1314,8 +1314,9 @@ > sleep 1 > done > # sometimes the samba port we get from nxserver is not the right one, so let's get it from nxagent >- port=$(cat "$USER_FAKE_HOME/.nx/C-$SERVER_NAME-$display-$sessionid/scripts/mport") >- error=$(PASSWD="$password" $COMMAND_SMBMOUNT "//$computername/$share" "$HOME/$dir" -o username="$username,ip=127.0.0.1,port=$port" 2>&1) >+ realport=$(cat "$USER_FAKE_HOME/.nx/C-$SERVER_NAME-$display-$sessionid/scripts/mport") >+ [ -n "$realport" ] && port=$realport >+ error=$(PASSWD="$password" $COMMAND_SMBMOUNT "//$computername/$share" "$HOME/$dir" -o username="$username",ip=127.0.0.1,port=$port 2>&1) > if [ $? -eq 0 ] > then > $PATH_BIN/nxdialog -dialog ok -caption "NXServer Message" -message "Info: Share: '//$computername/$share' mounted on: '$HOME/$dir'" -display :$display &
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202045
: 138320