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

Geoff Stitt grstitt at somanetworks.com
Fri Apr 4 21:24:57 GMT 2003


Sorry,

I am not being descriptive enough.

In my smb.conf I have the entry

logon path = \\%L\profiles\%U\%a

Hence the reason why you see "iitest\Win2K\ntuser.ini", etc. in the log.

The "Win2K" portion is what is substituted for %a.

In fact, when I look in /var/spool/samba/profiles I see the directories
"ittest\Win2K\","username\Win2K\",etc., which is what I wanted as it
keeps profiles for different architectures separate.


Thx.
On Fri, 2003-04-04 at 15:46, Thomas Bork wrote:
> 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
-- 
Geoff Stitt
Information Technology Dept.
SOMA Networks, Inc.
312 Adelaide Street West
Suite 700
Toronto, CANADA M5V 1R2
Phone +1 416 977 1414, x1611
Fax   +1 416 977 1505 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20030404/3c47bc54/attachment.bin


More information about the samba mailing list