Samba and Application Response Measurement (ARM 4.0)

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Mar 10 19:12:05 GMT 2008

On Mon, Mar 10, 2008 at 07:59:25PM +0100, Sven Kubiak wrote:
> Is there any technical documentation where i can find which part of the
> source code (or function) is responsible for:
> - user authentication (to PDC)
> - loading the user profile
> - mounting paths and printers

All these very much depend on what you actually want to
measure. The user authentication proper can be nailed pretty
easily in a single call, but a workstation does tons of
other things except the samLogon call before it believes
that the user is authenticated correctly. For example, would
you consider executing the logon script to be part of user
authentication? Probably not, but that part of the logon
sequence can completely dominate the run time of the user
logon time the user experiences. An approximation for the
start of it might be the tconX to the netlogon share, but I
don't know if a workstation reliably disconnects from it

Loading the user profile can not be nailed exactly, that is
a long process that involves potentially thousands of
operations. Likewise with connecting to printers.

The best you could do is to stare at a sniff and try to
identify the calls that you are interested in.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the samba-technical mailing list