Win2k & Samba compatibility?

Romeril, Alan a.romeril at ic.ac.uk
Thu Feb 10 14:01:16 GMT 2000


This is not refering to the previous thread, but a new question about the
compatibility between W2K and Samba.

Has anyone else had problems with writing Win2K profiles back to Samba
servers?

We run Samba 2.0.6 on Solaris 2.6 Sun Sparc servers, and our setup works
very well for NT4 Clients.  
But when profiles are written back from Win2K client machines the
permissions on certain files get broken, and the profile useless.

Here`s the profile structure before a W2K logon.
drwxr-x--x   2 sm74     dk           512 Feb 10 12:46 application data
drwxr-x--x   2 sm74     dk           512 Feb 10 12:46 desktop
drwxr-x--x   2 sm74     dk           512 Feb 10 12:46 favorites
drwxr-x--x   2 sm74     dk           512 Feb 10 12:46 nethood
-rwx------   1 sm74     dk        241664 Feb 10 12:46 ntuser.dat
-rwx------   1 sm74     dk          1024 Feb 10 12:46 ntuser.dat.log
drwxr-x--x   2 sm74     dk           512 Feb 10 12:46 personal
drwxr-x--x   2 sm74     dk           512 Feb 10 12:46 printhood
drwxr-x--x   2 sm74     dk           512 Feb 10 12:46 recent
drwxr-x--x   2 sm74     dk           512 Feb 10 12:46 sendto
drwxr-x--x   3 sm74     dk           512 Feb 10 12:46 start menu
drwxr-x--x   2 sm74     dk           512 Feb 10 12:46 templates

in the favorites dir, nothing.

Whereas after a win2k logon
drwxr-x--x   3 sm74     dk           512 Feb 10 13:26 application data
drwxr-x--x   2 sm74     dk           512 Feb 10 13:26 cookies
drwxr-x--x   2 sm74     dk           512 Feb 10 12:46 desktop
drwxr-x--x   3 sm74     dk           512 Feb 10 13:26 favorites
drwxr-x--x   3 sm74     dk           512 Feb 10 13:26 my documents
drwxr-x--x   2 sm74     dk           512 Feb 10 12:46 nethood
-rwx------   1 sm74     dk        315392 Feb 10 13:26 ntuser.dat
-rwx------   1 sm74     dk          1024 Feb 10 13:26 ntuser.dat.log
-rwx------   1 sm74     dk            20 Feb 10 12:03 ntuser.ini
drwxr-x--x   2 sm74     dk           512 Feb 10 12:46 personal
drwxr-x--x   2 sm74     dk           512 Feb 10 12:46 printhood
drwxr-x--x   2 sm74     dk           512 Feb 10 13:26 recent
drwxr-x--x   2 sm74     dk           512 Feb 10 13:26 sendto
drwxr-x--x   3 sm74     dk           512 Feb 10 12:46 start menu
drwxr-x--x   2 sm74     dk           512 Feb 10 13:26 templates

in the favorites dir, 
d---------   2 sm74     dk           512 Feb 10 13:26 links

Now here`s the problem.  Win2K wants to write .lnk files into this
directory, and the permissions are broken.

This fails with every .lnk that gets written by Win2K, for example...
d---------   2 sm79     dk           512 Feb 10 11:59 nts3
d---------   2 sm79     dk           512 Feb 10 11:59 nts4
d---------   2 sm79     dk           512 Feb 10 11:59 nts8

are links to those machines, and are again written with null permissions.
They should have reasonable permissions, and inside the directories a file
such as nts3.lnk but these directories are empty.

Ok, so the profile is written back like this.  The real problem comes in the
download again, as Win2K cannot open the directories to look for the files,
and the download of the profile fails with Access Denied.

Chmod`ing the dirs allows profiles to be downloaded, but any .lnk file that
is created fails as before.

We`ve tried this with Samba 2.0.5a on Linux on a pII, 2.0.6 on Sparc, and
pre2.0.7 on Sparc.  All produce the same results.
So, who wants the debug information, and at what level , and what is
relevant?  :)



Alan Romeril




More information about the samba-technical mailing list