Re: [Firebird-devel] WNET future

2021-11-30 Thread Dmitry Yemanov

30.11.2021 22:47, Leyne, Sean wrote:



With dropping this option ability to open database file from mounted
network drive also will be dropped (or at least must be heavily reworked).


Why?

Support for being a WNET server/listening for WNET connections should be 
un-related to accessing database files on CIFS, SMB or NFS shares


By default (RemoteFileOpenAbility = 0), Firebird does not open remote 
files directory, instead it extracts a host name from the share and 
connects remotely (using WNET for SMB shares or TCP for NFS shares).



Dmitry


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] WNET future

2021-11-30 Thread Leyne, Sean


> Leyne, Sean wrote 30.11.2021 17:15:
> > (We have 200+ servers deployed and none of them use (have never)
> WNET
> 
>With dropping this option ability to open database file from mounted
> network drive also will be dropped (or at least must be heavily reworked).

Why?

Support for being a WNET server/listening for WNET connections should be 
un-related to accessing database files on CIFS, SMB or NFS shares (even though 
I would only consider using SMB v3 with RDMA for connecting to remote files)


Sean



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] WNET future

2021-11-30 Thread liviuslivius
What is a reason of droping it?Regards,Karol Bieniaszewski
 Oryginalna wiadomość Od: Dmitry Yemanov  
Data: 30.11.2021  18:25  (GMT+01:00) Do: For discussion among Firebird 
Developers  Temat: Re: [Firebird-devel] 
WNET future 30.11.2021 20:10, Dimitry Sibiryakov wrote:>>> Then reworking seems 
easy. Just preserve ISC_analyze_pclan() to >> extract the lanman hostname and 
then try connecting via TCP.> > The question is port number. It is changed more 
frequently than pipe > name.True, but the same applies to NFS shares. Sad, but 
this is not a commonly used feature anyway.DmitryFirebird-Devel mailing list, 
web interface at https://lists.sourceforge.net/lists/listinfo/firebird-develFirebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] WNET future

2021-11-30 Thread Dmitry Yemanov

30.11.2021 20:10, Dimitry Sibiryakov wrote:


Then reworking seems easy. Just preserve ISC_analyze_pclan() to 
extract the lanman hostname and then try connecting via TCP.


The question is port number. It is changed more frequently than pipe 
name.


True, but the same applies to NFS shares. Sad, but this is not a 
commonly used feature anyway.



Dmitry


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] WNET future

2021-11-30 Thread Dimitry Sibiryakov

Dmitry Yemanov wrote 30.11.2021 18:06:
Then reworking seems easy. Just preserve ISC_analyze_pclan() to extract the 
lanman hostname and then try connecting via TCP.


  The question is port number. It is changed more frequently than pipe name.

--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] WNET future

2021-11-30 Thread Dmitry Yemanov

30.11.2021 20:01, Dimitry Sibiryakov wrote:


It can\t be reworked reliably - nobody can guarantee that DNS host 
name matches lanman name.


Fortunately modern versions of gethostbyname() can resolve lanman 
names as well.


Then reworking seems easy. Just preserve ISC_analyze_pclan() to extract 
the lanman hostname and then try connecting via TCP.



Dmitry


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] WNET future

2021-11-30 Thread Dimitry Sibiryakov

Alex Peshkoff via Firebird-devel wrote 30.11.2021 17:57:
It can\t be reworked reliably - nobody can guarantee that DNS host name matches 
lanman name.


  Fortunately modern versions of gethostbyname() can resolve lanman names as 
well.

is ability to mount network share on a letter still popular? 


  I'm afraid so.

--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] WNET future

2021-11-30 Thread Alex Peshkoff via Firebird-devel

On 11/30/21 19:54, Dimitry Sibiryakov wrote:

Leyne, Sean wrote 30.11.2021 17:15:

(We have 200+ servers deployed and none of them use (have never) WNET


  With dropping this option ability to open database file from mounted 
network drive also will be dropped (or at least must be heavily 
reworked).




It can\t be reworked reliably - nobody can guarantee that DNS host name 
matches lanman name. On the other hand - is ability to mount network 
share on a letter still popular?





Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] WNET future

2021-11-30 Thread Dimitry Sibiryakov

Leyne, Sean wrote 30.11.2021 17:15:

(We have 200+ servers deployed and none of them use (have never) WNET


  With dropping this option ability to open database file from mounted network 
drive also will be dropped (or at least must be heavily reworked).


--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] WNET future

2021-11-30 Thread Leyne, Sean

> On 30/11/2021 10:24, Jiří Činčura wrote:
> > My vote goes to dropping it.
> >
> 
> Agreed.

+1

(We have 200+ servers deployed and none of them use (have never) WNET


Sean

Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] WNET future

2021-11-30 Thread Mark Rotteveel

On 30-11-2021 15:26, Adriano dos Santos Fernandes wrote:

On 30/11/2021 10:24, Jiří Činčura wrote:

My vote goes to dropping it.



Agreed.


I have no opinion on this.

Mark
--
Mark Rotteveel


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] WNET future

2021-11-30 Thread Adriano dos Santos Fernandes
On 30/11/2021 10:24, Jiří Činčura wrote:
> My vote goes to dropping it. 
> 

Agreed.


Adriano


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] WNET future

2021-11-30 Thread Jiří Činčura
My vote goes to dropping it. 

-- 
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] WNET future

2021-11-30 Thread Dmitry Yemanov

All,

We had discussed in the past that supporting WNET does not make sense, 
as it has nearly zero advantages over TCP and pretty much nobody uses it 
nowadays.


Could we please make a final decision about that? Should it be dropped 
in v5 or somewhat later? Or should it be preserved during a foreseeable 
future?



Dmitry


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel