Skip navigation.
Home
The QNX Community Portal

View topic - Samba client on QNX 4.25

Samba client on QNX 4.25

For the old QNX2 and QNX4 RTOS

Samba client on QNX 4.25

Postby norbert.murzsa » Wed Apr 19, 2006 8:31 pm

I would like to ask for a little help with QNX smb client.
Qnx version : 4.25
Samba version on Linux: 3.0.10

I would like to write a samba share from QNX. I created a writeable share on the Linux box. I am able to mount and use it from a remote Windows and a Linux box too but not from the QNX box.

I able to mount it from the QNX but after the command "cd /public" on QNX I get the following message: "/public: bad directory" and I am unable to go into the /public directory.

On the QNX box:
I have already added the root to the user_smb db and I have an other user too who is able to mount the remote share through samba.
ps ax | grep SMB => SMBfsys -d20

The following commands are work when I am root:
mount -ma //name:ip/public /public
mount -ma //name:ip/public /public rootpw
mount -ma -u kuksi //name:ip/public /public kuksipw

But after that:
# cd /public
/public: bad directory

I tried to modify the send and receiver buffer space on QNX because Linux use 8K defaultly so:
SMBfsys -d15 -n QNXHOSTNAME -R 8 -S 8 &

but it wasn't help.

Have you got an idea?
If somebody has a working configuration please help me.

Norbert Murzsa
norbert.murzsa
New Member
 
Posts: 3
Joined: Mon Apr 10, 2006 8:35 pm

RE: Samba client on QNX 4.25

Postby tobbe » Thu Apr 20, 2006 7:49 am

I didnt try connecting to Linux samba but connecting to my Win Box works; should normally be the same.
I use this in my sysinit.sh file to mount the share on my WindowsXP:
....
/bin/SMBfsys &
sleep 1
/usr/bin/user_smb userXY PasswordXY
sleep 1
/bin/mount_smb //netbiosnameServer:ServerIP/MyShare /anyFolder
.....
Ignore the sleeps if enter the cmds in shell. The local folder anyFolder must exist before mounting
UserXY must have rights to access the samba share.

Hope that helps
Tobbe
tobbe
Active Member
 
Posts: 10
Joined: Tue Nov 09, 2004 10:18 am
Location: Heidenheim, Germany

RE: Samba client on QNX 4.25

Postby norbert.murzsa » Wed Apr 26, 2006 9:25 pm

As I see the QNX smb client supports only the old authentication type (start on UDP 137) unfortunately.

# mount_smb -u murzsan //geni0131:210.55.60.206/blabla /public
Mount failed: No message of desired type
norbert.murzsa
New Member
 
Posts: 3
Joined: Mon Apr 10, 2006 8:35 pm

Re: Samba client on QNX 4.25

Postby Pilotek » Fri Oct 05, 2012 1:53 pm

Is it possible to mount Windows 7 Pro 64bit shared folder (RW access to all W7 users, this folder exists and can be r/w from windows network) on QNX 4.25 machine using SMBfsys?
Some people say Win7 too secure for old-fashioned SMBfsys from QNX4...

Is there anybody who knows what things should be modified on W7 side to accept SMBfsys connection from the QNX4 machine?
Pilotek
Senior Member
 
Posts: 124
Joined: Thu Jan 25, 2007 3:52 pm

Re: Samba client on QNX 4.25

Postby epboyd » Sun Dec 09, 2012 7:11 pm

Pilotek wrote:Is there anybody who knows what things should be modified on W7 side to accept SMBfsys connection from the QNX4 machine?


Looks like Jeff Page figured it out:

http://social.technet.microsoft.com/For ... 5caf395875
epboyd
New Member
 
Posts: 6
Joined: Sun Dec 09, 2012 1:54 am


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 1 guest

cron