[jcifs] Authentication domain

James Nord teilo at teilo.net
Thu May 30 00:43:46 EST 2002


according to the spec it's   smb://domain;user:pass@server/share/path

/James

SCHERUGA Horst wrote:

>How to I set a domain for authentication within an url?
>
>The following works fine:
>  jcifs.Config.setProperty("jcifs.smb.client.domain", "rznt");
>  SmbFileInputStream in = new
>SmbFileInputStream("smb://zebrascala:zebrascala@10.3.10.103/scala/Capitalinv
>est/XBB0503100.000");
>
>but I want to set the authentication domain within the url.
>The following fails:
>  SmbFileInputStream in = new
>SmbFileInputStream("smb://rznt\\zebrascala:zebrascala@10.3.10.103/scala/Capi
>talinvest/XBB0503100.000");
>or
>  SmbFileInputStream in = new
>SmbFileInputStream("smb://rznt/zebrascala:zebrascala@10.3.10.103/scala/Capit
>alinvest/XBB0503100.000");
>
>So how do I set the authentication domain within the url correctly?
>
>Thanks in advance
>DI Horst Scheruga
>  
>







More information about the jcifs mailing list