Samba

We are having problems getting Samba to run on our QNX4 server.
We are currently running NFS to access QNX files from Windoz… We would also
like to offer access thru Samba.

We downloaded ‘samba-qnxbin-2.0.7.tgz’ from the QNX web site, unpacked it
and ran ‘make install’.
We created the simple ‘pcguest’ smb.conf in the /usr/local/samba/lib
directory.
We added the ‘pcguest’ entry in the /etc/passwd file.
We verified that /etc/services has the ‘netbios’ lines.
So far, so good.

When we start ‘smbd’ from the command line (logged in as root), smbd aborts
and we get the following entries in the ‘log.smb’ file.

[2000/10/03 18:19:11, 1] smbd/server.c:(641)
smbd version 2.0.7 started.
Copyright Andrew Tridgell 1992-1998
[2000/10/03 18:19:11, 0] passdb/passdb.c:(953)
unable to lock file /usr/local/samba/private/MACHINE.SID. Error was No
locks available
[2000/10/03 18:19:11, 0] smbd/server.c:(682)
ERROR: Samba cannot create a SAM SID.

We are running QNX4.25I and Socket 4.24A.

Does anyone know what the error message ‘Samba cannot create a SAM SID’
means.
Any suggestion what the problem might be and how ro correct it?

Thank you

Philippe Spiteri
Director of Software
Insight Control Systems
pspiteri@insightcontrol.com

Have you installed the password/Security Fix.
For this Samba Binary the fixes need to be applied to QNX, TCP/IP, Photon,
Watcom, etc…

Read: http://support.qnx.com/support/bok/solution.qnx?9619
The fix is available through telnet in: /updates/qnx42/Released/Security

-Paul

Philippe Spiteri <pspiteri@insightcontrol.com> wrote in message
news:8rd9ba$68t$1@inn.qnx.com

We are having problems getting Samba to run on our QNX4 server.
We are currently running NFS to access QNX files from Windoz… We would
also
like to offer access thru Samba.

We downloaded ‘samba-qnxbin-2.0.7.tgz’ from the QNX web site, unpacked it
and ran ‘make install’.
We created the simple ‘pcguest’ smb.conf in the /usr/local/samba/lib
directory.
We added the ‘pcguest’ entry in the /etc/passwd file.
We verified that /etc/services has the ‘netbios’ lines.
So far, so good.

When we start ‘smbd’ from the command line (logged in as root), smbd
aborts
and we get the following entries in the ‘log.smb’ file.

[2000/10/03 18:19:11, 1] smbd/server.c:(641)
smbd version 2.0.7 started.
Copyright Andrew Tridgell 1992-1998
[2000/10/03 18:19:11, 0] passdb/passdb.c:(953)
unable to lock file /usr/local/samba/private/MACHINE.SID. Error was No
locks available
[2000/10/03 18:19:11, 0] smbd/server.c:(682)
ERROR: Samba cannot create a SAM SID.

We are running QNX4.25I and Socket 4.24A.

Does anyone know what the error message ‘Samba cannot create a SAM SID’
means.
Any suggestion what the problem might be and how ro correct it?

Thank you

Philippe Spiteri
Director of Software
Insight Control Systems
pspiteri@insightcontrol.com

This is very odd. Most people just follow the readme instructions and
are up and running. Can you get your hands on a freshly installed QNX4
machine with the latest patches (including the security patch!) and then
install samba again per instructions in the
samba-qnxbin-2.0.7.tgz.readme file? (Note that you can easily setup your
smb.conf file using SWAT.)

Judging from the error log, it would suggest there’s a problem with the
locking directory /usr/local/samba/private/. But on a fresh install,
things should get setup correctly…


good luck,

rick

  • NOTE FOR QSSL -

Your website doesn’t seem to display the contents of the
samba-qnxbin-2.0.7.tgz.readme file. It contains an important note about
needing the security patch for this version to work. When I click on the
link accompanying the tgz file, I would expect to see the contents of
this file, but all I get is a blank page with the logo. Telneting
directly to QUICS does show the file to exist, however.

Thanks

Philippe Spiteri wrote:

We are having problems getting Samba to run on our QNX4 server.
We are currently running NFS to access QNX files from Windoz… We would also
like to offer access thru Samba.

We downloaded ‘samba-qnxbin-2.0.7.tgz’ from the QNX web site, unpacked it
and ran ‘make install’.
We created the simple ‘pcguest’ smb.conf in the /usr/local/samba/lib
directory.
We added the ‘pcguest’ entry in the /etc/passwd file.
We verified that /etc/services has the ‘netbios’ lines.
So far, so good.

When we start ‘smbd’ from the command line (logged in as root), smbd aborts
and we get the following entries in the ‘log.smb’ file.

[2000/10/03 18:19:11, 1] smbd/server.c:(641)
smbd version 2.0.7 started.
Copyright Andrew Tridgell 1992-1998
[2000/10/03 18:19:11, 0] passdb/passdb.c:(953)
unable to lock file /usr/local/samba/private/MACHINE.SID. Error was No
locks available
[2000/10/03 18:19:11, 0] smbd/server.c:(682)
ERROR: Samba cannot create a SAM SID.

We are running QNX4.25I and Socket 4.24A.

Does anyone know what the error message ‘Samba cannot create a SAM SID’
means.
Any suggestion what the problem might be and how ro correct it?

Thank you

Philippe Spiteri
Director of Software
Insight Control Systems
pspiteri@insightcontrol.com

[Also CC-ed to freesoft@qnx.com]

Rick Lake wrote:
[…]

  • NOTE FOR QSSL -

Your website doesn’t seem to display the contents of the
samba-qnxbin-2.0.7.tgz.readme file. It contains an important note about
needing the security patch for this version to work. When I click on the
link accompanying the tgz file, I would expect to see the contents of
this file, but all I get is a blank page with the logo. Telneting
directly to QUICS does show the file to exist, however.

Thanks

[…]

It seems that the information is there, but not displayed in Netscape.
The source of the page shows that a javascript is taking special actions
for Netscape, among others:

=========================================================

<!-- Begin to hide script contents from old browsers.
browser=0;
if (((navigator.appName == “Netscape”) &&
(parseInt(navigator.appVersion) >= 3 )) ||
((navigator.appName == “Microsoft Internet Explorer”) &&
(parseInt(navigator.appVersion) >= 4 )))
{
browser=1;
}
if (browser == 1)
{

Currently I’m using Netscape version 4.72. Could you have a look,
please?


thanks stacks,

rick

By the way: where can I find the samba package to download it? I can’t find
it in the web and I can´t use the package manager to do it because I can’t
make my modem work.

Leo
lrcabral@frsf.utn.edu.ar


Paul Russell <paul@jenosys.com> escribió en el mensaje de noticias
8rdeoc$9aq$1@inn.qnx.com

Have you installed the password/Security Fix.
For this Samba Binary the fixes need to be applied to QNX, TCP/IP, Photon,
Watcom, etc…

Read: > http://support.qnx.com/support/bok/solution.qnx?9619
The fix is available through telnet in: /updates/qnx42/Released/Security

-Paul

Philippe Spiteri <> pspiteri@insightcontrol.com> > wrote in message
news:8rd9ba$68t$> 1@inn.qnx.com> …

We are having problems getting Samba to run on our QNX4 server.
We are currently running NFS to access QNX files from Windoz… We would
also
like to offer access thru Samba.

We downloaded ‘samba-qnxbin-2.0.7.tgz’ from the QNX web site, unpacked
it
and ran ‘make install’.
We created the simple ‘pcguest’ smb.conf in the /usr/local/samba/lib
directory.
We added the ‘pcguest’ entry in the /etc/passwd file.
We verified that /etc/services has the ‘netbios’ lines.
So far, so good.

When we start ‘smbd’ from the command line (logged in as root), smbd
aborts
and we get the following entries in the ‘log.smb’ file.

[2000/10/03 18:19:11, 1] smbd/server.c:(641)
smbd version 2.0.7 started.
Copyright Andrew Tridgell 1992-1998
[2000/10/03 18:19:11, 0] passdb/passdb.c:(953)
unable to lock file /usr/local/samba/private/MACHINE.SID. Error was No
locks available
[2000/10/03 18:19:11, 0] smbd/server.c:(682)
ERROR: Samba cannot create a SAM SID.

We are running QNX4.25I and Socket 4.24A.

Does anyone know what the error message ‘Samba cannot create a SAM SID’
means.
Any suggestion what the problem might be and how ro correct it?

Thank you

Philippe Spiteri
Director of Software
Insight Control Systems
pspiteri@insightcontrol.com

\

Package Manager applies to QRTP, not to QNX4.

You can get samba binaries at ftp.qnx.com

“Leonardo R. Cabral” <mcabral@fafodoc.unl.edu.ar> wrote in message
news:8rte6h$nd2$1@inn.qnx.com

By the way: where can I find the samba package to download it? I can’t
find
it in the web and I can´t use the package manager to do it because I can’t
make my modem work.

Leo
lrcabral@frsf.utn.edu.ar


Paul Russell <> paul@jenosys.com> > escribió en el mensaje de noticias
8rdeoc$9aq$> 1@inn.qnx.com> …
Have you installed the password/Security Fix.
For this Samba Binary the fixes need to be applied to QNX, TCP/IP,
Photon,
Watcom, etc…

Read: > http://support.qnx.com/support/bok/solution.qnx?9619
The fix is available through telnet in:
/updates/qnx42/Released/Security

-Paul

Philippe Spiteri <> pspiteri@insightcontrol.com> > wrote in message
news:8rd9ba$68t$> 1@inn.qnx.com> …

We are having problems getting Samba to run on our QNX4 server.
We are currently running NFS to access QNX files from Windoz… We
would
also
like to offer access thru Samba.

We downloaded ‘samba-qnxbin-2.0.7.tgz’ from the QNX web site, unpacked
it
and ran ‘make install’.
We created the simple ‘pcguest’ smb.conf in the /usr/local/samba/lib
directory.
We added the ‘pcguest’ entry in the /etc/passwd file.
We verified that /etc/services has the ‘netbios’ lines.
So far, so good.

When we start ‘smbd’ from the command line (logged in as root), smbd
aborts
and we get the following entries in the ‘log.smb’ file.

[2000/10/03 18:19:11, 1] smbd/server.c:(641)
smbd version 2.0.7 started.
Copyright Andrew Tridgell 1992-1998
[2000/10/03 18:19:11, 0] passdb/passdb.c:(953)
unable to lock file /usr/local/samba/private/MACHINE.SID. Error was
No
locks available
[2000/10/03 18:19:11, 0] smbd/server.c:(682)
ERROR: Samba cannot create a SAM SID.

We are running QNX4.25I and Socket 4.24A.

Does anyone know what the error message ‘Samba cannot create a SAM
SID’
means.
Any suggestion what the problem might be and how ro correct it?

Thank you

Philippe Spiteri
Director of Software
Insight Control Systems
pspiteri@insightcontrol.com



\