Author Topic: REXX libraries 1.1.1 (from Samba 1.3)  (Read 21518 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4748
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
REXX libraries 1.1.1 (from Samba 1.3)
« on: December 08, 2016, 05:57:27 pm »
Hi

I noticed the new samba news and I'm installing to try it out.

It says to install "REXX libraries 1.1.1" as a requirement. (rxlib4smb.wpi) (12/07/2012)

I found two DLLs that are different in size from the ones I got.
- VROBJ.DLL
- PR1UTIL.DLL

I want to validate which is the latest version of these DLL's and correct size.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Herwig Bauernfeind

  • Newbie
  • *
  • Posts: 39
  • Karma: +2/-0
    • View Profile
Re: REXX libraries 1.1.1 (from Samba 1.3)
« Reply #1 on: December 08, 2016, 09:09:56 pm »
For VX-REXX VROBJ.DLL the internal version number must be 2.1d. It really dates from 1995, when VX-REXX development was stopped by Watcom.

The one that you got is likely not lxlited and definitely has a false date stamp.

For PR1Util.DLL I cannot rule out that I overlooked a version, I will check that.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4748
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: REXX libraries 1.1.1 (from Samba 1.3)
« Reply #2 on: December 08, 2016, 09:32:55 pm »
Hi

I checked the one on Paul R's website and it is this one:
 08-19-2010  7:06p        37,685    181 a---  pr1util.dll

The readme says it is version V1.65, while rxlib4smb.wpi installer says it will install version 1.64.
If it does not produce problems with Samba, I think that "pr1util.dll" should be updated on "rxlib4smb.wpi".

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

David McKenna

  • Hero Member
  • *****
  • Posts: 751
  • Karma: +24/-0
    • View Profile
Re: REXX libraries 1.1.1 (from Samba 1.3)
« Reply #3 on: December 08, 2016, 11:13:55 pm »
 Martin,

  I will be interested in if you get this server running. So far, I have not been able to, but I need to spend more time on it. Keep getting a 'could not find a valid language file' error when I try starting the Samba Status Monitor and NMBD always craps out at startup with this error:

[2016/12/08 17:07:43.529000,  0] lib/util_sock.c:667(open_socket_in)
  bind failed on port 137 socket_addr = 192.168.0.255.
  Error = Can't assign requested address
[2016/12/08 17:07:43.529000,  0] nmbd/nmbd_subnetdb.c:127(make_subnet)
  nmbd_subnetdb:make_subnet()
    Failed to open nmb bcast socket on interface 192.168.0.255 for port 137.  Error was Can't assign requested address
[2016/12/08 17:07:43.529000,  0] nmbd/nmbd.c:989(main)
  ERROR: Failed when creating subnet lists. Exiting.

 It never shows a running server in the 'Find SMB Machines' app either...

  I was running version 3.6.24 with no trouble previously (which was deleted before install of new version 3.6.25).
« Last Edit: December 09, 2016, 03:23:41 am by David McKenna »

ivan

  • Hero Member
  • *****
  • Posts: 1561
  • Karma: +18/-0
    • View Profile
Re: REXX libraries 1.1.1 (from Samba 1.3)
« Reply #4 on: December 09, 2016, 12:08:50 am »
Hi Herwig, 

Using your WPIVIEW (thanks for that) I see that the rxlib4smb.wpi is set to put everything into subdirectories of ecs which is OK for those running eCS but what does it do for those of us that are running OS/2 v4.52 (CP2) and don't have an ecs directory?

I'm asking this before running the wpi in case it messes up our test system.

Another point the vrobj.dll we have is 900,545 dated 27/08/96 but shows itself as v2.14 of 01/09/95.  Can I assume it is the correct one?

David McKenna

  • Hero Member
  • *****
  • Posts: 751
  • Karma: +24/-0
    • View Profile
Re: REXX libraries 1.1.1 (from Samba 1.3)
« Reply #5 on: December 09, 2016, 03:22:16 am »
 Got a little farther... for some reason SAMBA was trying to change the IP of my computer from the static 192.168.0.2 to 192.168.0.100 handed out by the local DHCP server (on my router). I found that if I replaced b4smb.cmd with the one from the SAMBA 1.2.0 package, this did not happen and I can see the server running in the 'Find SMB Machines' app. 'Network Neighborhood' on the server shows everything including shares too. No idea if this is wise, but it avoids the attempted IP change.
 On my clients, now the server shows up, but none of the shares do and so I can't mount any of them. Have to keep digging...

Herwig Bauernfeind

  • Newbie
  • *
  • Posts: 39
  • Karma: +2/-0
    • View Profile
Re: REXX libraries 1.1.1 (from Samba 1.3)
« Reply #6 on: December 09, 2016, 07:04:52 am »
Regarding the rx4smblib directories on OS/2 (and later ArcaOS)
- Rather sooner than later this will be available as a rpm/yum package and therefore end up in %unixroot%\usr\lib, however we do not endores to put stuff manually there.
- I suggest to put them in \os2\apps\dll or \os2\dll on "pure" OS/2 4.52 systems for now.

As for the version number of vrobj.dll: Watcom couldn't really decide which version number scheme to use - 2.14 = 2.1d (d being 4th in a b c d). Both schemes are found within the product. The 900k version is not lxlited, but otherwise correct.

Herwig Bauernfeind

  • Newbie
  • *
  • Posts: 39
  • Karma: +2/-0
    • View Profile
Re: REXX libraries 1.1.1 (from Samba 1.3)
« Reply #7 on: December 09, 2016, 07:10:13 am »
Dave,
what you see are genuine TCP/IP problems, not Samba.

Please note:
1.) http://searchitchannel.techtarget.com/tip/Assigning-an-IP-address-ending-in-0-or-255
2.) the nmbd stuff (which is responsible for browsing and "seeing" stuff is cached in various buffers in various machines - changing the IP of a running server ist asking for troubles - I know that from my own (test) setups. I may take some time until an IP change has spread to every machine on a network.

David McKenna

  • Hero Member
  • *****
  • Posts: 751
  • Karma: +24/-0
    • View Profile
Re: REXX libraries 1.1.1 (from Samba 1.3)
« Reply #8 on: December 09, 2016, 12:29:15 pm »
 Herwig,

  I agree there is a TCPIP problem.... but it only happens when I try to start the SAMBA server 1.3.0. Version 1.2.0 worked fine. My IP address is 192.168.0.2. For some reason starting the 1.3.0 server causes the IP address to change to whatever the DHCP server gives it. Replacing b4smb.cmd with the version from 1.2.0 stops that, so there must be something in b4smb.cmd that is requesting an IP address from the DHCP server. I haven't yet scrutinized b4smb.cmd to try to figure it out....

Regards,

haraldkamm

  • Guest
Re: REXX libraries 1.1.1 (from Samba 1.3)
« Reply #9 on: December 09, 2016, 02:11:53 pm »
Hello,
I confirm the problem reported by David and find the same logfile entries. The previous Samba versions worked just fine.
Best regards, Harald

Herwig Bauernfeind

  • Newbie
  • *
  • Posts: 39
  • Karma: +2/-0
    • View Profile
Re: REXX libraries 1.1.1 (from Samba 1.3)
« Reply #10 on: December 09, 2016, 07:07:04 pm »
b4smb.cmd is just a "plugin" - a script just run before Samba. No change intended there AFAIR.

ivan

  • Hero Member
  • *****
  • Posts: 1561
  • Karma: +18/-0
    • View Profile
Re: REXX libraries 1.1.1 (from Samba 1.3)
« Reply #11 on: December 09, 2016, 07:18:01 pm »
Maybe the dhcpstrt has something to do with it.  I don't think that is what you want on a fixed IP server, at least we don't.

if DHCPWait then do /* Make sure we got network interfaces up and running */
    address cmd' dhcpstrt'
end

haraldkamm

  • Guest
Re: REXX libraries 1.1.1 (from Samba 1.3)
« Reply #12 on: December 09, 2016, 07:42:19 pm »
dhcpstrt is not related to the problem, afaics. Commenting it out doesn't change the situation, at least on my system. I don't understand why nmbd tries to bind on the socket address 192.168.178.255 instead of 192.168.178.21:

[2016/12/09 19:01:28.402000,  0] lib/util_sock.c:667(open_socket_in)
  bind failed on port 137 socket_addr = 192.168.178.255.
  Error = Can't assign requested address

Where is this configured? Or is it even hardcoded?

David McKenna

  • Hero Member
  • *****
  • Posts: 751
  • Karma: +24/-0
    • View Profile
Re: REXX libraries 1.1.1 (from Samba 1.3)
« Reply #13 on: December 09, 2016, 10:50:07 pm »
 Well, I seem to have gotten it working. Opened b4smb.cmd in a text editor and near the top of the file there is a line:

DHCPWait = 1 /*Wait until an address was obtained by the DHCP server*/

 Set '1' to '0' and the IP address change craziness is gone. Server seems to start OK.

 I installed the server using defaults, but when I run 'smb test' I get 2 errors for deprecated settings that were automatically set. So I turned OFF 'Null Passwords' (using SSCC) under 'Global' and turned ON 'Share Modes' under 'Netlogon'. Errors are now gone.
 Also all my drives were setup and shared by default, but they are setup as, for example, 'C:\', but this is wrong, it should be 'C:'. This can be changed just by browsing for the drive by clicking on the folder to the right.

 Now I can connect to shares on my clients and browse the directories. I'll try sharing and connecting to a printer next....

  Thanks Herwig and everyone at Netlabs for making SAMBA on OS/2 possible!
« Last Edit: December 09, 2016, 10:55:47 pm by David McKenna »

Herwig Bauernfeind

  • Newbie
  • *
  • Posts: 39
  • Karma: +2/-0
    • View Profile
Re: REXX libraries 1.1.1 (from Samba 1.3)
« Reply #14 on: December 10, 2016, 07:07:01 am »
I have put up a (final) updated WPI for rx4smb.wpi  ftp://ftp.netlabs.org/pub/samba/server/rxlib4smb.wpi

- updated pr1util from 1.64 to Paul Ratcliffes last 1.65
- added Alex Taylor VROBJEX.DLL as it is used by all the Samba GUI Tools

Just a sidenote: All efforts to provide the updated Samba Server package were done by bitwise works.