[Samba] XP clients unable to read user profiles (2.2.3a-14.1)

John H Terpstra jht at Samba.Org
Mon Jan 31 15:16:15 GMT 2005


On Monday 31 January 2005 03:26, Martin Pauly wrote:
> Hi everyone,
>
> thanks to John Terpstra's hint (teh old thread started with Msg
> crn5v6$sh8$1 at sea.gmane.org), our xp clients now do
> join the domain :-).
>
> However, they still fail to read user profiles which were created by
> the old Win98 clients.

Windows 9x/Me profiles are not compatible with Windows NT4/2000/XP protfiles 
and can not be shared.

- John T.

>
> The relevant parts of smb.conf look like this:
>
> ---------------------------- begien smb.conf ----------------------------
> [global]
>         domain master = yes
>         printing = bsd
>         encrypt passwords = yes
>         socket options = TCP_NODELAY
>         kernel oplocks = false
>         wins support = yes
>         printcap name = /etc/printcap
>         case sensitive = no
>         logon script = %U.bat
>         interfaces = 192.168.10.10/255.255.255.0
>         keep alive = 30
>         writeable = yes
>         map to guest = Bad User
>         security = user
>         preserve case = yes
>         domain logons = yes
>         workgroup = zentrum
>         load printers = yes
>         os level = 2
>         logon home = \\%L\%U\profile
>         debuglevel = 4
>
> [netlogon]
>         path = /netlogon
>         writeable = yes
>         guest ok = no
>
> [homes]
>    comment = Heimatverzeichnis
>    browseable = yes
>    read only = no
>    writeable = yes
>    create mode = 0750
>
> ---------------------------- end smb.conf ----------------------------
>
> ... and here's a snip form log.smbd:
>
> ---------------------------- begin  log.smbd----------------------------
>
>  unix_clean_name [/profile/xpsp2res.dll]
> [2005/01/30 23:35:28, 3] smbd/trans2.c:call_trans2qfilepathinfo(1634)
>   call_trans2qfilepathinfo: vfs_stat of profile/xpsp2res.dll failed (No
> such file or directory)
> [2005/01/30 23:35:28, 3] smbd/error.c:error_packet(91)
>   error string = No such file or directory
> [2005/01/30 23:35:28, 3] smbd/error.c:error_packet(103)
>   error packet at smbd/trans2.c(1636) cmd=50 (SMBtrans2)
> NT_STATUS_NO_SUCH_FILE
> [2005/01/30 23:35:28, 3] smbd/process.c:process_smb(860)
>   Transaction 125 of length 99
> [2005/01/30 23:35:28, 3] smbd/process.c:switch_message(667)
>   switch message SMBtrans2 (pid 7193)
> [2005/01/30 23:35:28, 4] smbd/uid.c:change_to_user(118)
>   change_to_user: Skipping user change - already user
> [2005/01/30 23:35:28, 3] smbd/trans2.c:call_trans2qfilepathinfo(1613)
>   call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 257
> [2005/01/30 23:35:28, 3] lib/util.c:unix_clean_name(387)
>   unix_clean_name [/profile/shell32.dll]
> [2005/01/30 23:35:28, 3] smbd/trans2.c:call_trans2qfilepathinfo(1634)
>   call_trans2qfilepathinfo: vfs_stat of profile/shell32.dll failed (No such
> file or directory)
> [2005/01/30 23:35:28, 3] smbd/error.c:error_packet(91)
>   error string = No such file or directory
> [2005/01/30 23:35:28, 3] smbd/error.c:error_packet(103)
>   error packet at smbd/trans2.c(1636) cmd=50 (SMBtrans2)
> NT_STATUS_NO_SUCH_FILE
> [2005/01/30 23:35:28, 3] smbd/process.c:process_smb(860)
>   Transaction 126 of length 99
> [2005/01/30 23:35:28, 3] smbd/process.c:switch_message(667)
>   switch message SMBtrans2 (pid 7193)
> [2005/01/30 23:35:28, 4] smbd/uid.c:change_to_user(118)
>   change_to_user: Skipping user change - already user
> [2005/01/30 23:35:28, 3] smbd/trans2.c:call_trans2qfilepathinfo(1613)
>   call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 257
> [2005/01/30 23:35:28, 3] lib/util.c:unix_clean_name(387)
>   unix_clean_name [/profile/shell32.dll]
> [2005/01/30 23:35:28, 3] smbd/trans2.c:call_trans2qfilepathinfo(1634)
>   call_trans2qfilepathinfo: vfs_stat of profile/shell32.dll failed (No such
> file or directory)
> [2005/01/30 23:35:28, 3] smbd/error.c:error_packet(91)
>
> ---------------------------- end log.smbd----------------------------
>
> There are lots of similar messages some of which make sense
> to me (e.g. I don't have a logon script) . But I am suspicious
> of things like
> profile/xpsp2res.dll failed (No such file or directory)
> File permissions are 755 throughout my user profile
> (located, of course, in $HOME/profile).
>
> Any ideas what's wrong?
>
> TIA, Martin
>
> --
>   Dr. Martin Pauly     Fax:    49-6421-28-26994
>   HRZ Univ. Marburg    Phone:  49-6421-28-23527
>   Hans-Meerwein-Str.   E-Mail: pauly at HRZ.Uni-Marburg.DE
>   D-35032 Marburg

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.


More information about the samba mailing list