Samba on QNX6

I hope this is the correct group, really sorry if it’s not, couldn’t
think where to post this question.

Does anyone know where I can find a version of Samba that will work on
QNX6? I downloaded the latest, got the configure to work, which was
already better then what happens on QNX4, but then had problems in
compilation, specifically in one of the process files (I think).
Doesn’t have to be the latest by the way, so long as it compiles and
runs.
Thanks in advance,


Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.

Chris Nasr a écrit :

I hope this is the correct group, really sorry if it’s not, couldn’t
think where to post this question.

Does anyone know where I can find a version of Samba that will work on
QNX6? I downloaded the latest, got the configure to work, which was
already better then what happens on QNX4, but then had problems in
compilation, specifically in one of the process files (I think).
Doesn’t have to be the latest by the way, so long as it compiles and
runs.
Thanks in advance,

Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.

Try to find the samba2.2.1, then:
This is what to do to build ans install samba on qrtp 6.1
:

  1. Untar the archive in a working directory

  2. ./configure

  3. put an #if 0 around source/profile/profile.c so that it doesn’t do
    anything. The code doesn’t get included anyway in any of the key modules
    we
    use (i.e. smbd, nmbd, swat)

  4. change “uint” to “uint32” line 1104 in file smbd/nttrans.c (odd they
    didn’t catch this one)

  5. make

  6. make install

  7. add the following line to inetd.conf
    swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat

  8. add swat 901/tcp to the services file

  9. send hup to inetd


    It should be ok.
    Alain.

You could find samba 2.2.2 qpr on http://mritun.qnx.org.ru

dmi


Chris Nasr wrote:

I hope this is the correct group, really sorry if it’s not, couldn’t
think where to post this question.

Does anyone know where I can find a version of Samba that will work on
QNX6? I downloaded the latest, got the configure to work, which was
already better then what happens on QNX4, but then had problems in
compilation, specifically in one of the process files (I think).
Doesn’t have to be the latest by the way, so long as it compiles and
runs.
Thanks in advance,

Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.

Dmitry,
what does this package do? All I can find is smbd, nmbd, and swat, there is
no documentation or anything else at all.

Dmitry Alexeyev wrote:

You could find samba 2.2.2 qpr on > http://mritun.qnx.org.ru

dmi

Chris Nasr wrote:

I hope this is the correct group, really sorry if it’s not, couldn’t
think where to post this question.

Does anyone know where I can find a version of Samba that will work on
QNX6? I downloaded the latest, got the configure to work, which was
already better then what happens on QNX4, but then had problems in
compilation, specifically in one of the process files (I think).
Doesn’t have to be the latest by the way, so long as it compiles and
runs.
Thanks in advance,

Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.


Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.

Alain,
I will try this, thanks.

Alain Bonnefoy wrote:

Chris Nasr a écrit :

I hope this is the correct group, really sorry if it’s not, couldn’t
think where to post this question.

Does anyone know where I can find a version of Samba that will work on
QNX6? I downloaded the latest, got the configure to work, which was
already better then what happens on QNX4, but then had problems in
compilation, specifically in one of the process files (I think).
Doesn’t have to be the latest by the way, so long as it compiles and
runs.
Thanks in advance,

Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.

Try to find the samba2.2.1, then:
This is what to do to build ans install samba on qrtp 6.1
:

  1. Untar the archive in a working directory

  2. ./configure

  3. put an #if 0 around source/profile/profile.c so that it doesn’t do
    anything. The code doesn’t get included anyway in any of the key modules
    we
    use (i.e. smbd, nmbd, swat)

  4. change “uint” to “uint32” line 1104 in file smbd/nttrans.c (odd they
    didn’t catch this one)

  5. make

  6. make install

  7. add the following line to inetd.conf
    swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat

  8. add swat 901/tcp to the services file

  9. send hup to inetd

It should be ok.
Alain.


Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.