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 ... 110 111 [112] 113 114 ... 140
1666
Programming / Re: Compiling PMMail with GCC 4.9.2
« on: July 09, 2019, 01:58:52 am »
After building pmmail we discovered an odd issue with the gcc compilers. The popen function is hard coded to use sh as its shell which doesn't play well with path names containing back slashes and of course fails on systems where sh isn't installed.  This problem exists in 4.9.2 (I haven't tried the RPM version) and 8.3.0 (only ones I have tried). Apparently this wasn't true for 3.3.5. I have reported this on Paul's Mantis site.

umm popen is part of libc, not the compiler......

1667
Networking / Re: Samba 4.9.0 based client
« on: June 09, 2019, 07:10:33 am »
Hi Gregg,

smbspool.exe is broken in 4.9.4 and higher (tried 4.9.5 & 4.10.1). I am using the SMB printer port which works with version 4.4 and 4.7.7. These are the only versions I have tried.

I get "Error 1 during spooling to smb://USERNAME:****@CATMASTER/PIPPIN/Printer" Error 1 is NT_STATUS_ACCESS_VIOLATION. See ticket 2528 on the AN mantis site for more details. Thanks

See updates in ticket 2528 at the AN site, but smbspool is working fine here - this is some kind of authentication issue with your Samba 3.x server - most likely due to increased security in newer Samba releases.

Cheers,

Paul

1668
Networking / Re: Samba 4.9.0 based client
« on: June 03, 2019, 10:49:41 am »
Server entry is still wrong...

needs to be Server: 192.168.56.1 NOT \\192.168.56.1\

I went for this entry after having tested the different combinations of "\" symbol (only \\ before, only \ after, completely without), and with my choice was the only one without error messages yesterday.
But today the message is  : "The smbfs resource was not mounted to Mount point L:\   Error code: 58"

While the way you suggest gives this error message after pressing DONE: 
"The smbfs resource was not mounted to Mount point L:\   Error code: 65"

Do you have a ndpsmb.log at all?

1669
Networking / Re: Samba 4.9.0 based client
« on: May 31, 2019, 11:43:44 pm »
Server entry is still wrong...

needs to be Server: 192.168.56.1 NOT \\192.168.56.1\

1670
Networking / Re: Samba 4.9.0 based client
« on: May 31, 2019, 04:48:14 am »
Also.... your parameters to configure the plugin are wrong....

you have \\192.168.56.1\Users as the share

This needs to be:

Server: 192.168.56.1
Share:  Users


1671
Networking / Re: Samba 4.9.0 based client
« on: May 31, 2019, 04:46:15 am »
Hi Mauro,

mauro:
Can you post the specific versions of the installed components you have?


Hi Dariusz, here are the installed components:

-Samba client 4.9.4-4 i686 (rpm package from Arcaos Subscription repository)
-Heimdal 7.5.0-3 i686 (rpm package linked to samba package)
-Heimdal lib 7.5.0-3 i686 (rpm package linked to samba package)
-Netdrive  3.1.6.876 (executable package)
-smbfs plugin 2.1.5 GA (wpi package)

If you really have 'smbfs plugin 2.1.5 GA (wpi package)' installed, this is your issue with Windows 10. the 2.1.5 package uses Samba 3.x which only understands the SMB1 protocol.

For security reasons, Windows 10 (by default) only talks SMB2+

There should be a rpm package for a ndpsmb that talks to -Samba client 4.9.4-4 i686 (rpm package from Arcaos Subscription repository)

Cheer,s

Paul.

1672
Networking / Re: Samba 4.9.0 based client
« on: May 29, 2019, 11:33:50 am »
Hi,

It sounds as if your win 10 is the problem.  For supposed security reasons win 10 CIFS/SMB defaults to version 2 and I think that our CIFS/SMB is version 1.  We have been seeing a lot of problems on the D-Link NAS forums where people with win 10 find they are unable to connect to the NAS CIFS/SMB because the NAS uses the 'old' v1 and win uses the 'new' v2.  There should be a setting in win10 that allows you to set CIFS/SMB back to v1.

Hi, it seems I've succeeded to make the proper adjustment under Windows 10 after having applied Sean Casey suggestion; while before I could not obtain any smb> prompt in an OS2 window, now the command line get the correct output from the called Win 10 resource, which should indicate it is working and I could manage everything from there if I were smart enough whith OS2 commands, unfortunately I'm not that good.

Agree that if smbclient can view the windows 10 share, then ndpsmb should be able to as well.

Logs will help us understand what's happening.

Create a file ndpsmb.dbg in the root directory of the drive where netdrive is installed. Restart ndctl (or reboot).

try and access your windows 10 share - and after, send me a copy of ndpsmb.log (not sure where this will get created on a Warp 4 install).

Cheers,

Paul

1673
Programming / Re: Which GCC compiler version do people recommend?
« on: May 05, 2019, 09:19:06 am »
For the brave.... http://smedley.id.au/tmp/gcc-9.1.0-os2-20190505.zip

Builds itself and Samba 4.10.1....

1674
Programming / Re: Which GCC compiler version do people recommend?
« on: May 05, 2019, 01:54:52 am »
I got it to build but it doesn't run. No error message when I tried from command line. I have this in popuplog.os2.

05-04-2019  16:12:33  SYS2070  PID 0ceb  TID 0001  Slot 00f1
G:\PMMAIL\BIN\PMMAIL.EXE
PMMAIL->GCC1.___gthread_os2_mutex_lock
127

Any suggestions? Thanks

libgcc has changed/added functions since the GCC 4.9.2 version and corresponding libgcc1.dll

To avoid having to rely on an updated libgcc1.dll; I recommend you link with -static-libgcc which helps avoid a DLL dependency

Cheers,

Paul

1676
Programming / Re: Which GCC compiler version do people recommend?
« on: May 04, 2019, 10:26:56 pm »
Hi Gregg, I'm using GCC 8.3.0 for my work, and I got GCC 9.1.0 building last night, so I'll probably switch to that soon.

1677
Applications / Re: Using a scanner with hplip?
« on: April 29, 2019, 11:33:56 am »
Hey Pete,

No need to send any logs, just glad it helped diagnose the problem!

Cheers,

Paul

1678
Applications / Re: Using a scanner with hplip?
« on: April 27, 2019, 08:53:07 am »
Hey Pete,

Paul has the same software installed and, judging by his log snippet, it has no problem reading the file so probably not line endings.

In fact I am not convinced that the file is found and think this is the underlying reason that the file is not read.
Reason: I deleted the file but still got the same error message - which includes the correct full /path/filename.

What we cannot work out is why the file is not found on 2 systems (now) here but is found and accessed successfully on Pauls system. I tend to suspect that somewhere in the *nixy support chain I have something that is not at the right version - or is missing completely.

My best idea to move forwards is for you to install the logging version of libc066.dll - which should be in ftp://ftp.netlabs.org/pub/libc/GCC-3.3.5-csd6.zip as libc066.logchk

Copy libc066.logchk to the same directory as scanimage.exe and save it as libc066.dll

Start scanimage with libpathstrict=t or copy c:\programs\firefox!.exe to the same folder as scanimage.exe but calling it scanimage!l.exe to use run! to set libpathstrict=t for you

Send me the resulting libc*.log file - within it, it should show the full path that's being used to open models.dat

edit: I also think you're using models.dat from rpm still? Try unzipping http://smedley.id.au/tmp/models.zip

Cheers,

Paul

1679
Applications / Re: Using a scanner with hplip?
« on: April 27, 2019, 12:15:25 am »
If I put hplip.conf in %ETC% - that is M:\MPTN\ETC - I prefix the drive letter "J:" - the drive hplip,cups,sane are installed to - to the paths in hplip.conf which will respond with "no envy_photo_6200_series attributes found in J:/hplip/share/hplip/data/models/models.dat"

Can I suggest you *don't* modify paths in hplip.conf ?

Provided sane and /hplip are on the same drive, drive letters won't be required. It's possible that hplip needs to be educated on drive letters, and that because you have a drive letter, it's considering that path to be a relative path, and pre-pending the current working directory, resulting in the path not being found.

Good news on the printing!

Cheers,

Paul

1680
Applications / Re: Using a scanner with hplip?
« on: April 26, 2019, 05:21:55 am »
Mea Culpa - I had an old hpaio.dll in place.  However, similar results to what I had previously:

[dll] sane_open: trying to open `hpaio:/net/envy_photo_6200_series?ip=192.168.1.252'
[dll] load: searching backend `hpaio' in `./lib/sane;/sane/lib/sane'
[dll] load: trying to load `./lib/sane/hpaio.dll'
[dll] load: dlopen()ing `./lib/sane/hpaio.dll'
[dll] init: initializing backend `hpaio'
[sanei_debug] Setting debug level of hpaio to 255.
[hpaio] sane_hpaio_init(): scan/sane/hpaio.c 348
[dll] init: backend `hpaio' is version 1.0.0
[hpaio] sane_hpaio_open(/net/envy_photo_6200_series?ip=192.168.1.252): scan/sane/hpaio.c 387 scan_type=7 scansrc=1
MIB search path: C:\Home/.snmp/mibs;/net-snmp/share/snmp/mibs
Cannot find module (:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:HOST-RESOURCES-TYPES:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-FRAMEWORK-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:UCD-DLMOD-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB): At line 0 in (none)
U:\sane\scanimage.exe: open of device hpaio:/net/envy_photo_6200_series?ip=192.168.1.252 failed: Error during device I/O
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `hpaio's exit function
[hpaio] sane_hpaio_exit(): scan/sane/hpaio.c 363
[dll] sane_exit: finished

Cheers,

Paul

Pages: 1 ... 110 111 [112] 113 114 ... 140