Shares disappear in Windows 2000 (Samba 2.2.1a)
Dietrich Heise
Dietrich.Heise at net-and-works.de
Wed Oct 10 05:33:03 GMT 2001
Hi,
I think that you don't know what my problem is.
Wenn I logged in to the domain on a samba server.
For that user, who logged in, there is one special smb.conf.<user> file!
In that file I have some shares.
here for the user anna (smb.conf.anna):
[NOCHEINE]
path = /samba/ressourcen/nocheine
readonly = no
comment =
[test42]
path = /samba/ressourcen/test42
readonly = yes
comment =
[WASWEISSICH]
path = /samba/ressourcen/wasweissich
readonly = yes
comment =
When user anna logged in. For a short time all works fine.
In the "network neighborhood" are all shares availible (e.g. NOCHEINE, test42
and WASWEISSICH)
here my smb.conf:
[global]
workgroup = IMUG
netbios name = IMUGDATEN
server string = Server %v
interfaces = 192.168.128.240/24
encrypt passwords = Yes
character set = iso8859-1
min password length = 3
map to guest = Never
keepalive = 600
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
unix password sync = no
logon drive = U:
logon home = \\IMUGDATEN\%U
logon path = \\IMUGDATEN\%U\profiles
logon script = logon.bat
wins support = yes
printing = cups
log level = 10
security = domain
log file = /var/log/samba/log.samba
username map = /etc/samba/users.map
[TMP]
comment = Publicverzeichnis fuer alle MA
path = /samba/public
writeable = Yes
create mask = 0777
directory mask = 0777
include = /etc/samba/smb.conf.%U
but after a short time the shares from the smb.conf.anna file are gone, so that
you only see one share
that is the TMP share. And all the other shares are gone.
I hope somone understand what I meen.
Dietrich
Joel Hammer <Joel at HammersHome.com> on 10.10.2001 12:58:14
To: Dietrich Heise/naw/DE at naw, samba at lists.samba.org
cc:
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
include=smb.conf.public.UNKNOWN
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.
Joel
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 Client.
> But after a short time (ca. 60sec)(I press F5 to refresh the shares) this
shares
> from the include
> file are not longer there.
> This problem does not exists if I connect a share to the Windows 2000 Client.
(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: http://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list