Hi All,
Probably simple question: I want to make a share for sharing an lmhosts
file which gets included by the clients. This share has to be very
public and accept nullsessions (whatever that me be (no username and
password?)).
I want this because I need to generate aliases on the fly for for our
fileserver for some clients (terminalservers specifically). So I thought
that having an server side maintained lmhosts file that is included by
the terminalserver clients would do the trick.
The lmhosts file on the clients contains:
===================================================================
172.16.16.9 fileserver #PRE #DOM:network
#BEGIN_INCLUDE
#INCLUDE \\fileserver\public\lmhosts
#END_INCLUDE
===================================================================
The share on the fileserver (which is running in userlevel security) has
been defined as:
===================================================================
[public]
path = /usr/local/samba/public
guest ok = yes
guest only = yes
map to guest = Bad Password
read only = yes
===================================================================
Although I suspected this would do the trick the logfile shows the
following messages:
===================================================================
asisis (172.16.64.3) connect to service public as user smbguest
(uid=97, gid=9
7) (pid 14578)
[2003/02/16 20:11:21, 1] smbd/reply.c:reply_sesssetup_and_X(1001)
Rejecting user 'root': authentication failed
[2003/02/16 20:12:04, 1] smbd/reply.c:reply_sesssetup_and_X(1001)
Rejecting user 'root': authentication failed
[2003/02/16 20:12:42, 1] smbd/service.c:close_cnum(677)
asisis (172.16.64.3) closed connection to service public
===================================================================
Why is user root rejected? This share is totally public isn't it?
TIA
--
René Nieuwenhuizen
Afdeling Informatietechnologie
Centraal Planbureau
Bezoekadres: Van Stolkweg 14, 2585 JR Den Haag
Postadres: Postbus 80510, 2508 GM Den Haag
T (070) 3383 342
F (070) 3383 350
I http://www.cpb.nl/nl/general/org/afdelingen/it/
--
================================================================================
Aan dit bericht kunnen geen rechten worden ontleend.
Het bericht is alleen bestemd voor de geadresseerde.
Indien dit bericht niet voor u is bestemd, verzoeken wij u dit onmiddellijk aan
ons te melden en de inhoud van het bericht te vernietigen.
This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and
delete its contents.
================================================================================
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
- [Samba] How to define share for sharing lmhosts? René Nieuwenhuizen
- [Samba] How to define share for sharing lmhosts? René Nieuwenhuizen
- [Samba] How to define share for sharing lmhosts? René Nieuwenhuizen