Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Paul Smedley

Pages: 1 ... 129 130 [131] 132 133 ... 167
1951
Programming / Re: Python 3.x?
« on: July 01, 2020, 11:26:53 pm »
Hi all - making progress - running Samba 4.12.3 configure with it now..... I still have a fair amount of work to do to incorporate patches.....

Update - Samba configure completed successfully. Trying to build Samba with Python 3.8.3 now...

1952
Programming / Re: Python 3.x?
« on: July 01, 2020, 11:18:55 am »
Hi Valery,

Paul, good luck with porting Python 3! I also would like to have Python 3 on OS/2, because I have some things I'd like
to have, like Electrum Bitcoin wallet, which requires a latest and greatest Python to work ok. I use it on Linux and it is good
to have on OS/2 too. Also, Web Automation tools, like Selenium, use Python 3 too. And many more programs written in
Python 3

PS: Electrum uses  PyQt for user interface, which is quite big. Though, we seem to already have PyQt4 for Python 2.x.

I'd suggest that unless I discover some issues in the next day or two, I'll have some sort of binary package for testing over the weekend.

I don't have any real plans to build PyQt - but you never know - my real need for this is solely due to Samba....

Cheers,

Paul

1953
Programming / Re: Python 3.x?
« on: July 01, 2020, 11:15:25 am »
Hi all - making progress - running Samba 4.12.3 configure with it now..... I still have a fair amount of work to do to incorporate patches.....

1954
Programming / Re: Python 3.x?
« on: July 01, 2020, 01:34:21 am »
Far from being tested.... but....

{0}[u:\dev\python-3.8.3] python.exe PC\os2emx\script.py
Goodbye, World!

{0}[u:\dev\python-3.8.3] cat PC\os2emx\script.py
print("Goodbye, World!")

1955
Programming / Re: Python 3.x?
« on: June 30, 2020, 12:00:14 pm »
Slowly making progress....

Python path configuration:
  PYTHONHOME = '/dev/python-3.8.3'
  PYTHONPATH = (not set)
  program name = 'U:\dev\python-3.8.3\python.exe'
  isolated = 0
  environment = 1
  user site = 1
  import site = 1
  sys._base_executable = 'U:\\dev\\python-3.8.3\\python.exe'
  sys.base_prefix = '/dev/python-3.8.3'
  sys.base_exec_prefix = '/dev/python-3.8.3'
  sys.executable = 'U:\\dev\\python-3.8.3\\python.exe'
  sys.prefix = '/dev/python-3.8.3'
  sys.exec_prefix = '/dev/python-3.8.3'
  sys.path = [
    '/dev/python-3.8.3/lib/python38.zip',
    '/dev/python-3.8.3/lib/python3.8/./Lib',
    '/dev/python-3.8.3/lib/python3.8/./Lib/plat-os2emx',
    '/dev/python-3.8.3/lib/python3.8/./Lib/lib-dynload',
    '/dev/python-3.8.3/lib/python3.8/./Lib/site-packages',
    '/dev/python-3.8.3/lib/python3.8/lib-dynload',
  ]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x20036680 (most recent call first):
<no Python frame>

1956
Programming / Re: Python 3.x?
« on: June 29, 2020, 08:26:25 am »
python38.dll built; now to get an executable to call it - then start debugging - probably starting with path stuff - then to get modules building...

Got a python.exe and the associated modules - of course - it doesn't work yet - I need to start applying patches - starting with path separator stuff....

1957
Programming / Re: Python 3.x?
« on: June 28, 2020, 11:53:19 pm »
python38.dll built; now to get an executable to call it - then start debugging - probably starting with path stuff - then to get modules building...

1958
Programming / Re: Python 3.x?
« on: June 28, 2020, 11:30:52 pm »
Brief status update:
I've started trying to compile using Andy Mac's build files that were formerly located in pc\os2emx - mainly as I don't have the energy right now to battle hacking configure script - and porting Python.

I nearly have a python38.dll - just missing a few symbols that I'm working through. I then need to make it work :) I don't intend on applying *all* of the old patches as there is a lot of cruft there from vacpp and emx that we don't need anymore - the aim is to apply only the minimal patches required to make it work.

I'll try and update status here periodically...

Cheers,

Paul

1959
Programming / Re: Python 3.x?
« on: June 28, 2020, 12:58:25 am »
OK I'll start exploring what's required. bear in mind there is zero commitment to producing something that works. There's every chance something else shiny will pop up and distract me from this :)

1960
Programming / Python 3.x?
« on: June 27, 2020, 11:55:26 am »
Hi All,

Wondering how much interest there might be in a Python 3.x port? OS/2 support was removed from the source code around Python 3.3 - so it will be a reasonable amount of work to re-instate it. However, Samba keeps marching towards Python 3.x, and I fear that soon our 2.7.x build won't be good enough to keep Samba current....

Cheers,

Paul

1961
Networking / Re: Samba Server v4.11.9
« on: June 26, 2020, 10:44:24 am »
Hi Mike,


NTLMv1 was disabled by default a few Samba versions ago. If you want to keep Win10 compatible with Samba 3.6, you can add (I think)
ntlm auth = yes
to the global section of your smb.conf

That did the trick. I can't go up to the security level of Samba 4 by now, because we still run an old file server (with eCS2.0RC6a) with an old Samba 3.0 server - Never touch a running system :).
And the Win 10 machine must see this old file server.

Thanks for your help to solve the issue.
Wish you a nice weekend.

Glad it helped. Given you run both Samba 3.0 and now 4.11.9 I'm really interested in any comments on performance, stability, etc

Cheers,

Paul

1962
Networking / Re: Samba Server v4.11.9
« on: June 25, 2020, 11:17:09 pm »
Hi Mike,

Most useful would be a log.smbd.exe with debuglevel of 3 and an attempt to connect from win10...

Here you are.

Greetings,
Mike

Here's the relevant part:
[2020/06/25 16:11:47.936000,  2] ../../libcli/auth/ntlm_check.c:429(ntlm_password_check)
  ntlm_password_check: NTLMv1 passwords NOT PERMITTED for user Mike
[2020/06/25 16:11:47.936000,  3] ../../libcli/auth/ntlm_check.c:436(ntlm_password_check)
  ntlm_password_check: NEITHER LanMan nor NT password supplied for user Mike
[2020/06/25 16:11:47.936000,  2] ../../source3/auth/auth.c:343(auth_check_ntlm_password)
  check_ntlm_password:  Authentication for user [Mike] -> [Mike] FAILED with error NT_STATUS_WRONG_PASSWORD, authoritative=1

As suspected, it looks like you've downgraded Win10 to use a lower grade authentication scheme to be compatible with older Samba versions...

NTLMv1 was disabled by default a few Samba versions ago. If you want to keep Win10 compatible with Samba 3.6, you can add (I think)
ntlm auth = yes

to the global section of your smb.conf

Of course, the better option for security would be to move 100% to Samba 4.x and fix Win10 :)

Cheers,

Paul

1963
Networking / Re: Samba Server v4.11.9
« on: June 25, 2020, 11:24:10 am »
Most useful would be a log.smbd.exe with debuglevel of 3 and an attempt to connect from win10...

1964
As messages to this group are censored and silently deleted don't use this group (apache2@googlegroups.com).

Anyone knows a serious place where to discuss Apache for OS/2 topics without censorship?

I suspect it's more a case that new users are put on moderated posting and the moderator (Brian Havard?) has lost interest.

I'd try the ecs-isp list:
This message is sent to you because you are subscribed to
 the mailing list <ecs-isp@2rosenthals.com>.
To unsubscribe, E-mail to: <ecs-isp-off@2rosenthals.com>
To switch to the DIGEST mode, E-mail to <ecs-isp-digest@2rosenthals.com>
To switch to the INDEX mode, E-mail to <ecs-isp-index@2rosenthals.com>
Send administrative queries to  <ecs-isp-request@2rosenthals.com>
To subscribe (new addresses), E-mail to: <ecs-isp-on@2rosenthals.com> and reply to the confirmation email.
Web archives are publicly available at: http://lists.2rosenthals.com

1965
Networking / Re: Samba Server v4.11.9
« on: June 24, 2020, 11:06:50 pm »
Hi Mike,

The only 'unusual' dependency should be GTLS30.DLL from komh's GNUTLS 3.5.8 package http://hobbes.nmsu.edu/download/pub/os2/dev/unix/gnutls-3.5.8.zip

If nmbd isn't starting, is there anything in popuplog.os2 or x:\mptn\etc\samba\log\log.nmbd ?

It would also be worth checking dependency DLL's with pmdll.exe


I just gave it another try and placed your files again in my working environment.
pmDLL.exe showed no missing DLLs.
GNUTL is already installed with ANPM.
So I tried to start the Samba server again and now it is working, no failure message any longer. I have absolutely no clue what happened yesterday.
Accessing files on the Samba server from Win7 is working fine.
Win10 sees the Samba server but tells me that the password to access the files is wrong.
Going back to 3.6.25 =>W10 is working fine as well.

Glad to see the servers are starting for you now.

For Win 10 - I'm going to suspect that at some time you had to 'modify' things to work with the old Samba 3.6 - something like https://centosfaq.org/centos/samba-issues-with-win-10/

This may have set security settings in Win10 that are now not allowed by Samba 4.11.x. For example - you may have forced SMB1 to be used by Win10 - this protocol is disabled by default in Samba 4.11 - but can be enabled by adding 'client min protocol=NT1' to the [global] section of smb.conf

Cheers,

Paul

Pages: 1 ... 129 130 [131] 132 133 ... 167