Hi…
I wonder if the link to the samba download
/usr/free/qnx4/tcpip/utils/samba-qnxbin-2.0.7.tgz
will work with rtp6.1.0?
If not, where do I get the latest port?
Thanks!
Miguel.
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com
Go to samba.org and get version 2.2.1 – with a couple of minor mods, you
can run it with no problem. Instructions follow:
-
Untar the archive in a working directory
-
./configure
-
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)
-
change “uint” to “uint32” line 1104 in file smbd/nttrans.c (odd they
didn’t catch this one)
-
make
-
make install
-
add the following line to inetd.conf
swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat
-
add swat 901/tcp to the services file
-
send hup to inetd
-
run slinger (httpd server)
“Miguel Simon” <simon@ou.edu> wrote in message
news:3B8C4D9E.D79BEFE1@ou.edu…
Hi…
I wonder if the link to the samba download
/usr/free/qnx4/tcpip/utils/samba-qnxbin-2.0.7.tgz
will work with rtp6.1.0?
If not, where do I get the latest port?
Thanks!
Miguel.
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com
Issam…
Thanks for your help. I appreciate it.
I am new to samba, so I have a couple of baby questions if you do not
mind…
Issam Haddad wrote:
…
- add swat 901/tcp to the services file
You mean to add the line
swat 901/tcp
to the services file. Correct? But were in the file, at the end of the
file for example?
- send hup to inetd
I wonder if you would perhaps expand on this? inetd is running on the
background; what do you mean then by ‘send hup to inetd’?
I appreciate your help. Thanks!
Miguel.
\
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com
No problem. You can add the line to the services file anywhere in the file,
although it’s best if you place it in numerical order…
By “send hup” I really meant send the SIGHUP signal to the inetd process.
This forces inetd to re-read the inetd.conf file. To send the signal, first
get the process id (pid) of inetd, for example, on my system:
pidin | grep inetd
results in:
167950 1 usr/sbin/inetd 10o SIGWAITINFO
I then do:
kill -SIGHUP 167950
Hope this helps
“Miguel Simon” <simon@ou.edu> wrote in message
news:3B8CEE8A.AD753113@ou.edu…
Issam…
Thanks for your help. I appreciate it. >
I am new to samba, so I have a couple of baby questions if you do not
mind…
Issam Haddad wrote:
…
- add swat 901/tcp to the services file
You mean to add the line
swat 901/tcp
to the services file. Correct? But were in the file, at the end of the
file for example?
9. send hup to inetd
I wonder if you would perhaps expand on this? inetd is running on the
background; what do you mean then by ‘send hup to inetd’?
I appreciate your help. Thanks! >
Miguel.
\
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com
Issam Haddad a écrit :
No problem. You can add the line to the services file anywhere in the file,
although it’s best if you place it in numerical order…
By “send hup” I really meant send the SIGHUP signal to the inetd process.
This forces inetd to re-read the inetd.conf file. To send the signal, first
get the process id (pid) of inetd, for example, on my system:
pidin | grep inetd
results in:
167950 1 usr/sbin/inetd 10o SIGWAITINFO
I then do:
kill -SIGHUP 167950
…
The ‘slay’ command can also be used:
#slay -shup inetd
Regards,
Alain.
“Miguel Simon” <simon@ou.edu> wrote in message
news:3B8C4D9E.D79BEFE1@ou.edu…
Hi…
I wonder if the link to the samba download
/usr/free/qnx4/tcpip/utils/samba-qnxbin-2.0.7.tgz
will work with rtp6.1.0?
Yes it will.
If not, where do I get the latest port?
Thanks!
Miguel.
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com
No, that’s incorrect. The one you want is
/usr/free/QNX_RTP/tcpip/utils/samba-2.0.7-nto.tgz
“Mario Charest” <mcharest@zinformatic.com> wrote in message
news:9n2hgb$amd$1@inn.qnx.com…
“Miguel Simon” <> simon@ou.edu> > wrote in message
news:> 3B8C4D9E.D79BEFE1@ou.edu> …
Hi…
I wonder if the link to the samba download
/usr/free/qnx4/tcpip/utils/samba-qnxbin-2.0.7.tgz
will work with rtp6.1.0?
Yes it will.
If not, where do I get the latest port?
Thanks!
Miguel.
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com
“Marty Doane” <marty.doane@rapistan.com> wrote in message
news:9n2k84$c8d$1@inn.qnx.com…
No, that’s incorrect. The one you want is
/usr/free/QNX_RTP/tcpip/utils/samba-2.0.7-nto.tgz
Thanks for the correction. I misread and assume Miguel
was asking if 2.0.7 would work on 6.1 as oppose to 6.0 .
“Mario Charest” <> mcharest@zinformatic.com> > wrote in message
news:9n2hgb$amd$> 1@inn.qnx.com> …
“Miguel Simon” <> simon@ou.edu> > wrote in message
news:> 3B8C4D9E.D79BEFE1@ou.edu> …
Hi…
I wonder if the link to the samba download
/usr/free/qnx4/tcpip/utils/samba-qnxbin-2.0.7.tgz
will work with rtp6.1.0?
Yes it will.
If not, where do I get the latest port?
Thanks!
Miguel.
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com
\
“Marty Doane” <marty.doane@rapistan.com> wrote in message
news:9n2k84$c8d$1@inn.qnx.com…
No, that’s incorrect. The one you want is
/usr/free/QNX_RTP/tcpip/utils/samba-2.0.7-nto.tgz
Actually the one you want is the latest version direct from the Samba site.
It compiles
and runs with a few tweaks (which I explained in a seperate post) and it has
been running
over a month without any problems.
Hi…
“Lee R. Copp” wrote:
Actually the one you want is the latest version direct from the Samba site.
It compiles
and runs with a few tweaks (which I explained in a seperate post) and it has
been running
over a month without any problems.
Issam posted a how-to in a previous post in this thread too, but I can
not find your previous post. Could you reproduce that post here? I
would like to compile both posts for future reference.
Thanks…
Miguel.
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com
Issam posted a how-to in a previous post in this thread too, but I can
not find your previous post. Could you reproduce that post here? I
would like to compile both posts for future reference.
The original post was on 2001/07/09 in this newsgroup but here it is
again…
I just downloaded Samba 2.2.0a and after several attempts have gotten it
running with RTP 6.1 and figured I would spread the wealth of knowledge...:slight_smile:
- Replace the config.* files with those supplied by QSSL. The samba ones
id the system as QNX4
- I ran autoconf then configure.
- The first make had an error in smbd/nttrans.c line 1092. The uint needs
to be a uint32. Not sure why they didn’t catch that one…
- Profiling will not turn off. I tried the configure --without-profiling
but it still tries to compile profile/profile.c and instead of fixing the
errors
for an experimental part of samba I basically commented out the entire file.
After that it compiled and installed fine and is now working. I’m not sure
about long term
stability since the 2.0.7 version I got off of QNXStart kept locking up my
Win2k and RTP
about once a day.
I am getting an entry in the log.smbd file when smbd starts which says:
lib/util.c:set_maxfiles(1642)
set_maxfiles:setrlimit for RLIMIT_NOFILE for 10010 files failed with error
invalid argument.
but I haven’t gotten around to figuring it out…
Good luck…
Thanks…
Your welcome. I have been running it since the original post and haven’t
had any real problems besides the occasional W2K induced ‘hiccup’…
Miguel Simon a écrit :
Hi…
“Lee R. Copp” wrote:
Actually the one you want is the latest version direct from the Samba site.
It compiles
and runs with a few tweaks (which I explained in a seperate post) and it has
been running
over a month without any problems.
Issam posted a how-to in a previous post in this thread too, but I can
not find your previous post. Could you reproduce that post here? I
would like to compile both posts for future reference.
Thanks…
Miguel.
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com
Hi Miguel,
Look at 2.2.1a as Issam Haddad says because as far as I remember there is some
features for Win2K.
Regards,
Alain.