SAMBA for QNX ...

… where can I get it?

Ulli

“Ulrich Schemmel” <Ulrich.Schemmel@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

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” <ianzag@megasignal.com> schrieb im Newsbeitrag
news:b1qt47$nbe$1@inn.qnx.com

“Ulrich Schemmel” <> Ulrich.Schemmel@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

Are you trying to run Samba built against 6.2.0 on 6.1.0?

chris

Ulrich Schemmel <Ulrich.Schemmel@sohard.de> wrote:

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” <> ianzag@megasignal.com> > schrieb im Newsbeitrag
news:b1qt47$nbe$> 1@inn.qnx.com> …

“Ulrich Schemmel” <> Ulrich.Schemmel@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


\


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

QNX Version 6.1.0.

Ulli


“Chris McKillop” <cdm@qnx.com> schrieb im Newsbeitrag
news:b1u0b1$gf8$1@nntp.qnx.com

Are you trying to run Samba built against 6.2.0 on 6.1.0?

chris

Ulrich Schemmel <> Ulrich.Schemmel@sohard.de> > wrote:
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” <> ianzag@megasignal.com> > schrieb im Newsbeitrag
news:b1qt47$nbe$> 1@inn.qnx.com> …

“Ulrich Schemmel” <> Ulrich.Schemmel@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





\

Chris McKillop <> cdm@qnx.com> > “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Ulrich Schemmel <Ulrich.Schemmel@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


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Chris McKillop wrote:

Ulrich Schemmel <> Ulrich.Schemmel@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

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

Chris McKillop wrote:
Ulrich Schemmel <> Ulrich.Schemmel@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.

www.samba.org

// wbr

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.

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

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

  1. 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

  1. 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

  1. 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.)

  1. 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” <atchilikine@datac-control.com.delete> wrote in message
news:b20g1g$7ts$1@inn.qnx.com

Chris McKillop wrote:
Ulrich Schemmel <> Ulrich.Schemmel@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

Thanks, Tom!
After I used “swat” to configure SAMBA everithing works just fine.
Thanks for good description.

Andrey

“Tom Stave” <tom@globaliss.com> wrote in message
news:b26c3f$niu$1@inn.qnx.com

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

  1. 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

  1. 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

  1. 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.)

  1. 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” <> atchilikine@datac-control.com.delete> > wrote in
message
news:b20g1g$7ts$> 1@inn.qnx.com> …
Chris McKillop wrote:
Ulrich Schemmel <> Ulrich.Schemmel@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

  1. 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
the steps Tom wrote, but I couldn’t use SWAT ( http://localhost:901 ). What
should I do next ?

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?

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/