Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SAMBA for QNX ...

477 views
Skip to first unread message

Ulrich Schemmel

unread,
Feb 5, 2003, 6:49:31 AM2/5/03
to
... where can I get it?

Ulli


Ian Zagorskih

unread,
Feb 5, 2003, 7:49:29 AM2/5/03
to

"Ulrich Schemmel" <Ulrich....@sohard.de> wrote in message
news:b1qqlj$ko3$1...@inn.qnx.com...

> ... where can I get it?
>
> Ulli

Which version of QNX ? For QNX4 you can get it here:

ftp://ftp.qnx.com/usr/free/qnx4/tcpip/utils/

samba v 2.0.7 works fine [for me].

// wbr

Ulrich Schemmel

unread,
Feb 6, 2003, 3:49:24 AM2/6/03
to
I use QNX 6 and I found SAMBA in the Contributed Software Repository.
When I start smbd or nmbd I get the following error message:

unkown symbol: syslog
Could not resolve all symbols

is it a problem with the dynamic librarys?
(sorry I'm a bloddy beginner with QNX)

Ulli

"Ian Zagorskih" <ian...@megasignal.com> schrieb im Newsbeitrag
news:b1qt47$nbe$1...@inn.qnx.com...

Chris McKillop

unread,
Feb 6, 2003, 11:49:46 AM2/6/03
to
Are you trying to run Samba built against 6.2.0 on 6.1.0?

chris

--
Chris McKillop <c...@qnx.com> "The faster I go, the behinder I get."
Software Engineer, QSSL -- Lewis Carroll --
http://qnx.wox.org/


Ulrich Schemmel

unread,
Feb 6, 2003, 11:29:17 AM2/6/03
to

QNX Version 6.1.0.

Ulli


"Chris McKillop" <c...@qnx.com> schrieb im Newsbeitrag
news:b1u0b1$gf8$1...@nntp.qnx.com...

Chris McKillop

unread,
Feb 6, 2003, 6:49:29 PM2/6/03
to
Ulrich Schemmel <Ulrich....@sohard.de> wrote:
>
> QNX Version 6.1.0.
>

You will need to build it yourself or get an earlier build. The 3rd party
repository is for 6.2.0 and some of the symbols are going to be different.

chris

Andrei Tchilikine

unread,
Feb 7, 2003, 10:49:59 AM2/7/03
to
Chris McKillop wrote:
> Ulrich Schemmel <Ulrich....@sohard.de> wrote:
>
>>QNX Version 6.1.0.
>>
>
>
> You will need to build it yourself or get an earlier build. The 3rd party
> repository is for 6.2.0 and some of the symbols are going to be different.
>
> chris
>
I have samba installed from 3rd party CD for my 6.2.0. Where can I find
any description how to set it up properly? I mean - where smb.conf file
should be located, what is the minimal configuration setting in this
file to share /fs/hd-dos for access without password? Maybe installation
puts some sort of read.me file somewhere but I could not find it. I'd
never install SAMBA before, sorry, if I ask silly questions.

Thanks,
Andrey

Ian Zagorskih

unread,
Feb 8, 2003, 1:49:29 AM2/8/03
to

"Andrei Tchilikine" <atchi...@datac-control.com.delete> wrote in message
news:b20g1g$7ts$1...@inn.qnx.com...

www.samba.org

// wbr

Chris McKillop

unread,
Feb 8, 2003, 2:49:30 AM2/8/03
to
> I have samba installed from 3rd party CD for my 6.2.0. Where can I find
> any description how to set it up properly? I mean - where smb.conf file
> should be located, what is the minimal configuration setting in this
> file to share /fs/hd-dos for access without password? Maybe installation
> puts some sort of read.me file somewhere but I could not find it. I'd
> never install SAMBA before, sorry, if I ask silly questions.
>

It's a mess on 6.2.0 I am afraid. The cfg files are mostly in /opt/etc and
/opt/var and /opt/lib. This has been resolved with the upcoming 6.2.1
3rd party disc and repository package, which has an /etc/samba/ dir and
uses /var properly.

Tom Stave

unread,
Feb 9, 2003, 3:49:41 PM2/9/03
to
I wrote down some notes when I was testing my system. It might help in
getting you going. Here they are.

(These instruction assume that the systems network is already working and
communication between all machines has already been proven. This example is
also a very basic application that allows all users access to a single
directory on the QNX 6 machine. No security is implemented. These
instructions have worked for QNX 6.2.)

1. Install Samba from Contributed Software repository. From a terminal
window type 'pkg-installer'.

2. Add swat Capabilities. "swat" is an application that allows the samba
configuration file to be edited from a Web Browser. Two files are edited,
/etc/inetd.conf and /etc/services. The following is added to
/etc/inetd.conf:

#
# SAMBA services
#
# added to support SWAT
swat stream tcp nowait.400 root /opt/sbin/swat swat -a

/etc/services should have this text inserted:

swat 901/tcp

3. Modify the system startup scripts to automatically start samba when the
system is booted. Add this to /etc/rc.d/rc.local:

#start the inetd server
inetd &

# start SAMBA
/usr/sbin/smbd -D
/usr/sbin/nmbd -D

4. Create the smb.conf file. In QNX 6 this file is located in the /opt/lib
directory. For our simple example the smb.conf files contains the
information below. This file can be edited by hand or through the 'swat'
application. To start 'swat' on the local machine type in -
"http://localhost:901" in the local Voyager window.

# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2003/01/19 00:05:34

# Global parameters
[global]
workgroup = LOCAL
netbios name = QNX6
security = SHARE
encrypt passwords = Yes
guest account = guest
guest ok = Yes

[SAMBA]
comment = QNX Development Lib
path = /test
read only = No

5. Create an account so other users can access our shared resource. With
QNX 6 user accounts are created using the 'passwd' command. In our above
example we used the 'guest account = guest' option to the global variables
which states that all guests will use the user name of guest. Therefore, we
must create a user account called 'guest' on our QNX 6 machine. You can
enter the new user account "guest" by typing:

passwd guest

and then following the prompts (note: the /etc/group file could already
include an entry for a group called guest. Its group number is 90. If 90
is used when creating the user account, the /etc/group file would not need
to be edited. Check the /etc/group file first to make sure.)

6. For more information, the /opt/swat directory contains the SAMBA help
files and the "Using Samba" book from O'Rielly press. All documentation is
in the form of html's.

"Andrei Tchilikine" <atchi...@datac-control.com.delete> wrote in message
news:b20g1g$7ts$1...@inn.qnx.com...

Andrey Chilikin

unread,
Feb 10, 2003, 8:08:51 AM2/10/03
to
Thanks, Tom!
After I used "swat" to configure SAMBA everithing works just fine.
Thanks for good description.

Andrey

"Tom Stave" <t...@globaliss.com> wrote in message
news:b26c3f$niu$1...@inn.qnx.com...

Chris McKillop

unread,
Apr 8, 2003, 5:49:34 PM4/8/03
to
>
> Unfortunately, SWAT doesn't work for me, in QNX 6.2.1 NC. I've followed all
> the steps Tom wrote, but I couldn't use SWAT ( http://localhost:901 ). What
> should I do next ?
>

Are you using Samba from the new 6.2.1 repository or the 6.2.0 repository?

kneekoo

unread,
Apr 8, 2003, 5:49:34 PM4/8/03
to
> > 2. Add swat Capabilities. "swat" is an application that allows the
samba
> > configuration file to be edited from a Web Browser. Two files are
edited,
> > /etc/inetd.conf and /etc/services. The following is added to
> > /etc/inetd.conf:
> >
> > #
> > # SAMBA services
> > #
> > # added to support SWAT
> > swat stream tcp nowait.400 root /opt/sbin/swat swat -a
> >
> > /etc/services should have this text inserted:
> >
> > swat 901/tcp
> >

Unfortunately, SWAT doesn't work for me, in QNX 6.2.1 NC. I've followed all

Marius Jost

unread,
May 19, 2003, 5:16:30 PM5/19/03
to
Hi,

I am running QNX Neutrino 6.2.0
I am interested in running samba, too. After downloading
samba-2.0.7-nto.tgz from quics.qnx.com I unpacked successfully.
I know samba from Linux, but got no clue how to make it work in QNX.
How can it be startet/stopped (automatically)?

Is there any hints or docu I missed?
Thanx for any help.
Marius

0 new messages