Shares disappear in Windows 2000 (Samba 2.2.1a)

MCCALL,DON (HP-USA,ex1) don_mccall at
Wed Oct 10 06:00:03 GMT 2001

Hi Dietrich,
That IS odd.  Try this - log on as anna (or whoever this is happening to),
and see the shares you expect; immediately go to the unix command prompt
and run the smbstatus command; record the processid of the smbd that lists
anna's username and machine.
Then wait (or press F5, whatever) until the shared go away, and then check
1. that smbstatus still shows the user anna from that machine as a
2. that the connection it does show from that machine is to the same PID
   it was (maybe you are loosing your connection in the background)

Perhaps this will give us some more info as to what's going on...
Hope this helps,

-----Original Message-----
From: Joel Hammer [mailto:Joel at]
Sent: Wednesday, October 10, 2001 6:58 AM
To: Dietrich Heise; samba at
Subject: Re: Shares disappear in Windows 2000 (Samba 2.2.1a)

I'm just taking a guess here, likely wrong.
The question is, what does pushing F5 do to samba?
MAYBE, samba is rereading the smb.conf file, and the %U has been changed due
to some odd interaction between 2000 and samba, so the include file is not
being read properly when you hit F5. Does the error only occur with F5?
Don't be shocked by odd things. I just found that in my smb.conf file
the parameter:
include=smb.conf.public.%a was changed to
This must be some samba feature I have yet to learn about.
I have learned never to update my smb.conf file with SWAT.
Your best approach is to up your log level to 3 and pour over the
log.smbd file for clues.
Or, you might experiment with shares that don't use include files.
On Wed, Oct 10, 2001 at 11:16:32AM +0200, Dietrich Heise wrote:
> Hello,
> I have a problem with samba and windows 2000.
> In the smb.conf I have one part "include = smb.conf.%U"
> So that for every user samba will process a seperate file.
> The shares in that file I can see for a moment from the Windows 2000
> But after a short time (ca. 60sec)(I press F5 to refresh the shares) this
> from the include
> file are not longer there.
> This problem does not exists if I connect a share to the Windows 2000
 (I don't know what this means, BTW.) Joel
> What can I do???
> Thanks
> Dietrich Heise
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:

To unsubscribe from this list go to the following URL and read the

More information about the samba mailing list