[jcifs] child domain authentication
dhillenb at lexmark.com
dhillenb at lexmark.com
Thu Oct 5 19:41:09 GMT 2006
does anyone have an example of child domain authentication ? I was
originally trying dfs but I can not even get non dfs
child domain authentication to work . Thanks for any help
I have tried
NtlmPasswordAuthentication ntlm = new
NtlmPasswordAuthentication(_childDomain,_username,_password);
loginUrl = "smb://servername/share/;
SmbFile sFile = new SmbFile(loginUrl, ntlm);
dfspath = sFile.getDfsPath();
** ERROR connecting to Url
** NT returned Status error is -> c000006d is = NT_STATUS_LOGON_FAILURE
the NT related message is -> Logon failure: unknown user name or bad
password.
login works with a cifs command
Net use t:\\servername\share /user:_username at _childDomain password
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the jcifs
mailing list