[Samba] %a reports a Windows XP client as having a "Win2K"architecture.

Thomas Bork tombork at web.de
Fri Apr 4 20:46:38 GMT 2003


Hi Geoff Stitt,

you wrote:

> Still, when I log in from a Windows XP Professional client "Win2K" is
> still used.
[..]
> [2003/04/04 13:01:42, 2] smbd/open.c:open_file(246)
>   ittest opened file ittest/Win2K/ntuser.ini read=Yes write=No
> (numopen=2)

Your log says only, that user ittest opened the file

ittest/Win2K/ntuser.ini

nothing more, nothing less. This has nothing to do with the macro %a.
If you want to know, from which share (service) the file was opened,
search in the log above for

[2003/04/04 22:38:08, 1] smbd/service.c:make_connection(636)
  ??? (xxx.xxx.xxx.xxx) connect to service ??? as user ittest (uid=?,
gid=?) (pid ???)


Example from my machine:

[2003/04/04 22:38:08, 1] smbd/service.c:make_connection(636)
  xp (192.168.0.11) connect to service root as user root (uid=0, gid=0)
(pid 12321)
[2003/04/04 22:38:13, 2] smbd/open.c:open_file(246)
  Administrator opened file profile/ntuser.ini read=Yes write=No
(numopen=2)
[2003/04/04 22:38:13, 2] smbd/close.c:close_normal_file(229)
  root closed file profile/ntuser.ini (numopen=1)


I opened \\root\profile\ntuser.ini in my homedir.


der tom



More information about the samba mailing list