[jcifs] child domain authentication
Michael B Allen
mba2000 at ioplex.com
Thu Oct 5 23:13:54 GMT 2006
What is "child domain authentication"?
On Thu, 5 Oct 2006 15:41:09 -0400
dhillenb at lexmark.com wrote:
> 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
--
Michael B Allen
PHP Active Directory SSO
http://www.ioplex.com/
More information about the jcifs
mailing list