Page 1 of 1

Network share with different authentication

Posted: 03 May 2007 16:36
by Liquidmantis
Hopefully this isn't already a known issue, search didn't turn up anything.

If I want to browse to a computer that isn't a domain member I don't get challenged for alternate credentials, just an error that it's not available. The usual Explorer behavior is if I type \\standaloneServer I get prompted for a valid login on that machine.

Re: Network share with different authentication

Posted: 03 May 2007 16:59
by admin
When you first log in via Explorer, can you then access that server in XYplorer?

Posted: 03 May 2007 18:40
by Liquidmantis
Just tested. Ayup, that works fine then. Slow to connect, but fine.

I doubt this is related, but DFS shares don't show up either. For example \\mydomain.foo\myDFS\linkedShare\ just displays \\mydomain.foo, the SYSVOL and NETLOGON shares. Somehow my mapped drives work fine though :?

Posted: 03 May 2007 21:49
by admin
Liquidmantis wrote:I doubt this is related, but DFS shares don't show up either. For example \\mydomain.foo\myDFS\linkedShare\ just displays \\mydomain.foo, the SYSVOL and NETLOGON shares. Somehow my mapped drives work fine though :?
Okay, these are binary flags that control which kind of servers I show. Currently (since years) I only use the first two! (for performance reasons, although I'm not 100% sure whether this really makes it faster) Down in the list you'll see SV_TYPE_DFS. Looks like your baby. I'll add in the next upload... You tell me what happens.

Code: Select all

Private Const SV_TYPE_WORKSTATION As Long = &H1
Private Const SV_TYPE_SERVER As Long = &H2
Private Const SV_TYPE_SQLSERVER As Long = &H4
Private Const SV_TYPE_DOMAIN_CTRL As Long = &H8
Private Const SV_TYPE_DOMAIN_BAKCTRL As Long = &H10
Private Const SV_TYPE_TIME_SOURCE As Long = &H20
Private Const SV_TYPE_AFP As Long = &H40
Private Const SV_TYPE_NOVELL As Long = &H80
Private Const SV_TYPE_DOMAIN_MEMBER As Long = &H100
Private Const SV_TYPE_PRINTQ_SERVER As Long = &H200
Private Const SV_TYPE_DIALIN_SERVER As Long = &H400
Private Const SV_TYPE_XENIX_SERVER As Long = &H800
Private Const SV_TYPE_SERVER_UNIX As Long = SV_TYPE_XENIX_SERVER
Private Const SV_TYPE_NT As Long = &H1000
Private Const SV_TYPE_WFW As Long = &H2000
Private Const SV_TYPE_SERVER_MFPN As Long = &H4000
Private Const SV_TYPE_SERVER_NT As Long = &H8000&
Private Const SV_TYPE_POTENTIAL_BROWSER As Long = &H10000
Private Const SV_TYPE_BACKUP_BROWSER As Long = &H20000
Private Const SV_TYPE_MASTER_BROWSER As Long = &H40000
Private Const SV_TYPE_DOMAIN_MASTER As Long = &H80000
Private Const SV_TYPE_SERVER_OSF As Long = &H100000
Private Const SV_TYPE_SERVER_VMS As Long = &H200000
Private Const SV_TYPE_WINDOWS As Long = &H400000 'Windows95 and above
Private Const SV_TYPE_DFS As Long = &H800000 'Root of a DFS tree
Private Const SV_TYPE_CLUSTER_NT As Long = &H1000000 'NT Cluster
Private Const SV_TYPE_TERMINALSERVER As Long = &H2000000 'Terminal Server
Private Const SV_TYPE_DCE As Long = &H10000000 'IBM DSS (Directory and Security Services) or equivalent
Private Const SV_TYPE_ALTERNATE_XPORT As Long = &H20000000 'Return list for alternate transport
Private Const SV_TYPE_LOCAL_LIST_ONLY As Long = &H40000000 'Return local list only
Private Const SV_TYPE_DOMAIN_ENUM As Long = &H80000000 'Return domain list only

Posted: 03 May 2007 22:11
by admin
Liquidmantis wrote:Just tested. Ayup, that works fine then. Slow to connect, but fine.
A working workaround at last. More later when time.

Posted: 04 May 2007 15:59
by Liquidmantis
admin wrote:Down in the list you'll see SV_TYPE_DFS. Looks like your baby. I'll add in the next upload... You tell me what happens.
It's working now. The first time I tried it showed just the SYSVOL and NETLOGON shares but then I tried another DFS share and it worked. I haven't been able to reproduce the problem yet. Strangely when I restart XYplorer after exiting while in a DFS share I get an error message that it can't find \\mydomain.foo\myDFS\linkedShare but then I can immediately type the same path in the address bar and it works.

Thanks for the fix!

Posted: 04 May 2007 16:06
by admin
Liquidmantis wrote:Strangely when I restart XYplorer after exiting while in a DFS share I get an error message that it can't find \\mydomain.foo\myDFS\linkedShare but then I can immediately type the same path in the address bar and it works.
You might try to check Configuration|Advanced: Cache network servers between sessions. Speeds up networking when you always use the same servers. (Then: To refresh the servers select Nethood in Tree and press F5)