How to find Server Validation Level

Gerald Carter gcarter at valinux.com
Fri Dec 22 09:52:35 GMT 2000


P Ranjit Kumar wrote:
> 
> What I am talking about is Validation Level thats 
> set when Samba sends a RPC Netlogon validation request. 
> For example this is hard coded to 3 in file
> rpc_client/rpc_netlogon.c , function cli_net_sam_logon(). 
> It is passed to the server over NETLOGON Pipe using 
> the structure net_q_sam_logon_info (from 
> include/rpc_netlogon.h).

Check the MSDN docs, but IIRC this is actually the level used
to indicate the structure type used (in our case here
NET_USER_INFO_3).

> I think validation level indicates what level of 
> user info does the server support.

You choose which one to issue and check for error codes
in the server response.  This is not something like
the capabilities bits which let you know for example 
whether the server supports MS-DFS.







Cheers, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )







More information about the samba-technical mailing list