Discussion:
Samba 3.0.9 from Netlabs
(too old to reply)
Felix Miata
2006-09-11 18:42:26 UTC
Permalink
Voicenews just reported this was recently recompiled. A search of Google
Groups on this group turns up very little about this port. I looked in
its readme without finding any coverage of whether it can or should be
installed without first removing Peer. I have several large Peer
subdirectories on OS/2 that when mounted -t smbfs on Linux show no files
or directories in them. Also the root of my G: shows no files or
directories when I attempt access via Linux.

Has anyone actually been using 3.0.9? How well does it work for you?
--
"Wisdom is supreme; therefore get wisdom. Though it cost all you
have, get understanding. Esteem her, and she will exalt you;
embrace her, and she will honor you." Proverbs 4:7-8 NIV

Team OS/2 ** Reg. Linux User #211409

Felix Miata *** http://mrmazda.no-ip.com/
Herwig Bauernfeind
2006-09-12 06:11:55 UTC
Permalink
Hi,
Post by Felix Miata
Voicenews just reported this was recently recompiled. A search of Google
Groups on this group turns up very little about this port. I looked in
its readme without finding any coverage of whether it can or should be
installed without first removing Peer. I have several large Peer
subdirectories on OS/2 that when mounted -t smbfs on Linux show no files
or directories in them. Also the root of my G: shows no files or
directories when I attempt access via Linux.
Has anyone actually been using 3.0.9? How well does it work for you?
I am using it. Performance is very good (faster than IBM Peer). Stabilility is sufficient. The following restrictions apply (here):

1.) EA support is "flaky" - unusable for OS/2 clients.
2.) a6 to a8 did not work for me at all.
3.) a9 finally works for me (again, after staying on a5 in the meantime),
however something is wrong with the parameter handling of nmbd.exe (this worked on a5):
nmbd.exe without parms terminates itself immediately (without RC or error), nmbd.exe -D terminates itself immediately, too (again with RC or error).
nmbd.exe -i works, but tells me (among other things) "assuming -D", go figure...
4.) I never managed to get printing to work. However, this might be a user problem...
(I am using LPD/LPR instead).
5.) Use the Netdrive plugin at the OS/2 client side, not the IBM LAN requester (if you do you will have
SFN - LFN issues).

I am using it primarily to access files on OS/2 hosts from within a VPC Guest running WinXP.
One might argue this is a "heavy" solution, but it's IMHO the best solution around for that
purpose (performance and stability for this task is very, very good - a lot better than the shared
folder feature and much faster than accessing IBM Peer shares...).

Regards,
Herwig
Rodney Pont
2006-09-13 18:11:59 UTC
Permalink
Post by Herwig Bauernfeind
Post by Felix Miata
Has anyone actually been using 3.0.9? How well does it work for you?
1.) EA support is "flaky" - unusable for OS/2 clients.
2.) a6 to a8 did not work for me at all.
3.) a9 finally works for me (again, after staying on a5 in the meantime),
nmbd.exe without parms terminates itself immediately (without RC or error), nmbd.exe -D terminates itself immediately, too (again with RC or error).
nmbd.exe -i works, but tells me (among other things) "assuming -D", go figure...
4.) I never managed to get printing to work. However, this might be a user problem...
(I am using LPD/LPR instead).
5.) Use the Netdrive plugin at the OS/2 client side, not the IBM LAN requester (if you do you will have
SFN - LFN issues).
I am using it primarily to access files on OS/2 hosts from within a VPC Guest running WinXP.
One might argue this is a "heavy" solution, but it's IMHO the best solution around for that
purpose (performance and stability for this task is very, very good - a lot better than the shared
folder feature and much faster than accessing IBM Peer shares...).
I'm trying to get Samba (3.0.9-a9) running but when I start up nmbd -i
it fails
with

bind failed on port 137 socket_addr = 0.0.0.0.
Error = Address already in use

I have disabled 'File and Print Sharing'.

Is there any way of finding out what's using this address or of using
another one?
--
Regards - Rodney Pont
The from address exists but is mostly dumped,
please send any emails to the address below
e-mail ngpsm4 (at) infohitsystems (dot) ltd (dot) uk
Herwig Bauernfeind
2006-09-14 08:52:22 UTC
Permalink
Post by Rodney Pont
bind failed on port 137 socket_addr = 0.0.0.0.
Error = Address already in use
You have to remove the NetBIOS over TCP/IP protocol.
Samba uses pure TCP/IP and implements "its own" NetBIOS.
Post by Rodney Pont
I have disabled 'File and Print Sharing'.
I have Samba and 'File and Print Sharing' running side by side on the same machine:
Samba uses TCP/IP, 'File and Print Sharing' plain NETBEUI protocol.

As probably many people will probably shake their heads over such a setup,
it definitely makes sense in my (very special) environment here (as long as
Samba for OS/2 has the limitations it has now).

Kind regards,
Herwig
Rodney Pont
2006-09-14 10:40:12 UTC
Permalink
Post by Herwig Bauernfeind
Post by Rodney Pont
bind failed on port 137 socket_addr = 0.0.0.0.
Error = Address already in use
You have to remove the NetBIOS over TCP/IP protocol.
Samba uses pure TCP/IP and implements "its own" NetBIOS.
Thank you very much for that. It's so obvious once it's pointed out :-)
--
Regards - Rodney Pont
The from address exists but is mostly dumped,
please send any emails to the address below
e-mail ngpsm4 (at) infohitsystems (dot) ltd (dot) uk
Rodney Pont
2006-09-15 19:23:38 UTC
Permalink
Post by Herwig Bauernfeind
You have to remove the NetBIOS over TCP/IP protocol.
Samba uses pure TCP/IP and implements "its own" NetBIOS.
Did you have any luck getting name lookup working?

I can list the shares using smbclient if I use the IP address but not
if I use the server name, it always tries to connect to 0.0.0.8 for
some reason. It's the same whether I use the machine with the server or
another one.
--
Regards - Rodney Pont
The from address exists but is mostly dumped,
please send any emails to the address below
e-mail ngpsm4 (at) infohitsystems (dot) ltd (dot) uk
Herwig Bauernfeind
2006-09-16 07:20:04 UTC
Permalink
Post by Rodney Pont
Post by Herwig Bauernfeind
You have to remove the NetBIOS over TCP/IP protocol.
Samba uses pure TCP/IP and implements "its own" NetBIOS.
Did you have any luck getting name lookup working?
Yes, as I said nmbd.exe (which does name lookup) has a problem with parameter handling.

Try nmbd.exe -i, that should work. It will tell you it is "assuming -D", passing -D as a prarmeter does not work.

Regards,
Herwig
Rodney Pont
2006-09-16 07:51:33 UTC
Permalink
Post by Herwig Bauernfeind
Post by Rodney Pont
Did you have any luck getting name lookup working?
Yes, as I said nmbd.exe (which does name lookup) has a problem with parameter handling.
Try nmbd.exe -i, that should work. It will tell you it is "assuming -D", passing -D as a prarmeter does not work.
Thanks but that's what I am using but it still fails when I use the
name but works when I use the IP address. I've got the host in the
HOSTS file and have set USE_HOSTS_FIRST=1.

I'll just set things up to use the IP address.
--
Regards - Rodney Pont
The from address exists but is mostly dumped,
please send any emails to the address below
e-mail ngpsm4 (at) infohitsystems (dot) ltd (dot) uk
Herwig Bauernfeind
2006-09-25 08:02:24 UTC
Permalink
Post by Rodney Pont
Post by Herwig Bauernfeind
Post by Rodney Pont
Did you have any luck getting name lookup working?
Yes, as I said nmbd.exe (which does name lookup) has a problem with parameter handling.
Try nmbd.exe -i, that should work. It will tell you it is "assuming -D", passing -D as a prarmeter does not work.
Thanks but that's what I am using but it still fails when I use the
name but works when I use the IP address. I've got the host in the
HOSTS file and have set USE_HOSTS_FIRST=1.
I'll just set things up to use the IP address.
Check your smb.conf. In the [global] section there should be a line

netbios name = Whatever

Whatever stands for the name of your machine.

Does printing work for you?

Regards,
Herwig
Rodney Pont
2006-09-25 10:09:13 UTC
Permalink
Post by Herwig Bauernfeind
Post by Rodney Pont
Thanks but that's what I am using but it still fails when I use the
name but works when I use the IP address. I've got the host in the
HOSTS file and have set USE_HOSTS_FIRST=1.
I'll just set things up to use the IP address.
Check your smb.conf. In the [global] section there should be a line
netbios name = Whatever
Whatever stands for the name of your machine.
Yes I had that set.
Post by Herwig Bauernfeind
Does printing work for you?
Didn't get far enough to try that. I gave up in the end. The
documentation said I could use 'net use j: \\ouse\DRIVEJ' to mount that
shared drive as M: but the net that came with Samba doesn't have the
option 'use' and the net with IBMLAN didn't want to work without the
NETWKSTA.200 IFS and that didn't want to work without IBM PEER.

Since it seemed that I wouldn't be able to mount a remote drive as
local even by using the IP address I gave up on it.
--
Regards - Rodney Pont
The from address exists but is mostly dumped,
please send any emails to the address below
e-mail ngpsm4 (at) infohitsystems (dot) ltd (dot) uk
Yuri Dario
2006-09-18 14:01:40 UTC
Permalink
On Tue, 12 Sep 2006 06:11:55 UTC, Herwig Bauernfeind
Post by Herwig Bauernfeind
nmbd.exe without parms terminates itself immediately (without RC or error), nmbd.exe -D terminates itself
immediately, too (again with RC or error).
nmbd -F

-F will be the default in next os2 releases.
--
Bye,

Yuri Dario

/*
* member of TeamOS/2 - Italy
* http://www.os2power.com/yuri
* http://www.teamos2.it
*/
Loading...