<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>Domain login problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>Hi,<BR>
<BR>
<BR>
We are having 3 domains dom1,dom2 and dom3 in Active directory.<BR>
I am using "ldapsearch -I -Y NTLM -H ldap://ldap.example.com -b 'ou=users,ou=readmanager' 'cn=dhruva ts.' " to search the user.<BR>
<BR>
By default, always, it is taking "dom1" as the domain in type 3 NTLM message domain name field .<BR>
How can I authenticate with the server using the user who is there in some other domain, other than "dom1".<BR>
<BR>
Can I give the username as "dom2\dhruva" ? when the ldapsearch asks for username?<BR>
<BR>
<BR>
<BR>
Thanks and regards,<BR>
Dhruva<BR>
</FONT>
</P>
<pre>
</pre></BODY>
</HTML>