[jcifs] Annoying SMB URL question.

Christopher R. Hertel crh at ubiqx.mn.org
Fri Dec 6 16:29:47 EST 2002


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/

This second option parses differently:

     userinfo @ host
     ^             ^
    / \           / \
user : pass nt_dom ; server

So the authentication host must be pulled out of the server name string 
instead of the the user name string.

So the questions are:

1) Is it actually more intuitive? (to the user, I'd say yes)
2) Is it worth it?
3) Would reversing the order (server;nt_dom instead of nt_dom;server)
   make even more sense, or is it better this way with all the auth 
   information gathered together?

I think #2 is the sticking point.

Chris -)-----

-- 
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org



More information about the jcifs mailing list