[Samba] Wierdness using Samba PDC with WinXP-Pro and Win2K-Pro clients

Joe Samba samba at gnosys.biz
Tue Sep 24 16:50:02 GMT 2002

Hi All-

Please tell me if I'm posting to the wrong list.  I looked for the list called 
samba-ntdom (listed at http://us1.samba.org/samba/archives.html) because it 
seemed a more appropriate forum, but it looks like that list has been 
dissolved.  Has the discussion for that list moved to some other list?

Anyway, here's the problem that I'm hoping someone can help me with:

I have just finished making a change to the server machine in a 3-node 
network.  Before, it was running Win2K Server, and now it's running SuSE 
Linux 8.0 and the default samba package installed with that distribution 

The Win2K Server OS was acting as the PDC for the LAN, and the two client 
machines (one running Win2K Pro and the other running WinXP Pro) were 
connected to the domain offered by that Win2K server.  Now, the same machine 
is running SuSE 8.0 and it is acting as the PDC for the LAN and the same two 
clients are now using the SuSE box as the PDC and they are now connected to 
the new domain created on the SuSE box.  The server also serves up an SMB 
share to the client machines.  The client machines map this network file 
share to the local F: drive for each client.

This LAN is in a business office running a database application based upon 
FoxPro.  The file share served up by the server contains the database 
application executables and data.  The two client machines should both run 
copies of the database application simultaneously, and this worked without 
problems when the PDC and file share were being provided by Win2K server OS.

But the wierdness is this:  The arrangement still works fine with the SuSE box 
as the PDC and SMB file server, BUT... ONLY if I start the database 
application on the Win2K client machine FIRST, and then, once it is running, 
I subsequently start the database application on the WinXP client.  If I 
start up the apps on the clients in that order, then all is well, and the app 
apparently runs noticably faster on both clients with the SuSE box as the 
server than it did with Win2K server.

But if I start up the app on the WinXP client first, and subsequently start up 
the app on the Win2K client, then the Win2K client is very, VERY slow in 
loading the app (maybe 5-10 times longer than usual) and the app running on 
the WinXP client crashes in flames with the next operation of any sort.  The 
error message that it offers before going down is, "Insufficient Memory" 
which is undoubtedly completely unrelated to the real problem (the client 
machine has 128 MB of RAM).

The database application is pretty simple.  It is not a client/server 
application.  The very same executable file is fired up on each client, but 
the working directory for one client machine's application is different from 
that of the other client machine (this seems to be the way that the database 
application's programmers have implemented the system to avoid file locking 
problems---apparently, the data files that live in the app's working 
directory are synchronized periodically with the app's main directory).

More specifically, the working directories for each client are sub-directories 
of the file share served up by the server.  The working directory for the 
WinXP client is the database app's main directory, and the working directory 
for the Win2K client is another directory.

Domain logons all seem to work just fine, and all other aspects of filesystem 
browsing seem ok.

To try and solve the problem myself, I have moved the XP client machine's 
working directory to a separate directory from the app's main directory (just 
a thought).  This made no difference in the wierdness.  I also have read the 
smb.conf man page pretty thoroughly for the options that show up in the SWAT 
sections entitled: protocol options, tuning options, and locking options.  
Nothing there seems to address this issue.

I've browsed through many of the archived articles for this list and the older 
ntdom list, but there seems to be no searchable archives, so that was 
certainly not comprehensive.

I have implemented the windows registry hack for the WinXP machine that allows 
it to be a member of this domain.

Can anyone think of anything else that I should try?  I'm thinking that there 
must be some locking option that Windows XP handles incorrectly or something 
like that.  I'd really appreciate any thoughts on the issue.

Thank you in advance for any help.


More information about the samba mailing list