[jcifs] Annoying SMB URL question.

Matthew Tippett matthew at casero.com
Sat Dec 7 01:42:42 EST 2002

Christopher R. Hertel wrote:
> 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/

To me the question comes down to what is the purpose of the domain in 
the URL.  Is it to assist in resolution of the system or is it to allow 
selection of the credentials.

In the former, then nt_dom;server makes sense because that is pure 
server information.

In the latter, then nt_dom;user:pass makes sense because the credentials
are placed together in the userinfo section.

But I would agree that nt_dom;server is still sexier as URLs go.



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