[jcifs] Annoying SMB URL question.

Matthew Tippett matthew at casero.com
Sat Dec 7 03:24:33 EST 2002


Caldarale, Charles R wrote:
>>From: Christopher R. Hertel [mailto:crh at ubiqx.mn.org]
>>Subject: [jcifs] Annoying SMB URL question.
>>
>>So, I was fiddling with the SMB URL syntax again...
>>
>>We currently have:
>>
>>  smb://nt_dom;user:pass@server/
>>
>>That works well with general URL syntax, but I think that 
>>this is more intuitive:
>>
>>  smb://user:pass@nt_dom;server/
> 
> 
> I have to disagree with the assessment of intuitiveness. For those
familiar
> with using MS networks, the userid is normally specified by
> <domain>\<account>. Keeping them in that order on the URL would seem
to be
> more consistent, even if the separator is different.

As an extension of that - chris, can you clarify if on a given NetBIOS 
namespace you can have two machines with the same name but on two 
different Domains.

Which begs the question, if the domain is used for authentication, why 
not leave the user field in the userinfo section of the URL as

   DOMAIN%5Cuser

Since the domain is an integral part of the credentials.

Regards,

Matthew


-----

The information contained in this message is proprietary of Casero Inc.,
protected from disclosure, and may be privileged. The information is
intended to be conveyed only to the designated recipient(s) of the
message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or
copying of this communication is strictly prohibited and may be
unlawful. If you have received this communication in error, please
notify us immediately by replying to the message and deleting it from
your computer. Thank you.




More information about the jcifs mailing list