[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jcifs
Subject:    Re: [jcifs] SmbFile.exist: subnet, connection to domain controller
From:       Jean-Marc Autexier <jmau2002 () web ! de>
Date:       2009-12-10 8:46:06
Message-ID: 1853986599 () web ! de
[Download RAW message or body]

Hi Mike, 

> -----Ursprüngliche Nachricht-----
> Von: "Michael B Allen" <ioplex@gmail.com>
> Gesendet: 09.12.09 20:23:11
> An: Jean-Marc Autexier <jmau2002@web.de>
> CC: jcifs@lists.samba.org
> Betreff: Re: [jcifs] SmbFile.exist: subnet, connection to domain controller


> On Wed, Dec 9, 2009 at 6:40 AM, Jean-Marc Autexier <jmau2002@web.de> wrote:
> >> > Hi Jean-Marc,
> >> >
> Hi Jean-Marc,
> 
> Because if you supply an SMB URL like:
> 
>   smb://foo.example.com/path/to/file
> 
> JCIFS cannot know if foo.example.com is a domain or hostname.

This is understood. 

Unfortunately I'm not deep enough into CIFS internals to know if doing  
DFS referal by default (and first check for domain) is the best way, all I 
see is that my Windows XP doesn't do it. Not sure if there is some 
other windows magic in the background.
Maybe the default should be to first check if it is a hostname and only 
then check if it is a domain. But you probably know better why it is 
implemented like it is. 

Anyway, jcifs.smb.client.dfs.disabled solved my problem so far. 

Thanks again,
Jean-Marc
___________________________________________________________
Preisknaller: WEB.DE DSL Flatrate für nur 16,99 Euro/mtl.! 
http://produkte.web.de/go/02/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic