[lug] Samba shares without authentication?

rm at fabula.de rm at fabula.de
Tue Aug 6 10:10:33 MDT 2002


On Tue, Aug 06, 2002 at 09:14:41AM -0600, Mr Viggy wrote:
> I don't have an exact answer, but Win2K uses encrypted 
> username/passwords by default.  Samba (as far as I know) can't handle 
> this.  You need to modify the registry to tell Win2k to use plain text 
> passwords:
> 
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters
> 
> Set the key:
> 
> enableplaintextpassword

One word: DON'T!  
This is old and outated and will open up major security holes in
your network. Sending plaintext passwords is a really bad idea.
And then we Linux-people walk arround and tell everyone how insecure
Linux is ... ;-)

> to a "1" to enable plain text passwords. 


>                                         I don't know if this will fix 
> your problem, though.

No, most likely not. Set up a guest account.

 Ralf Mattes

> 
> Viggy
> 
> Brian Jarrett wrote:
> >I'm trying to find an answer to my problem quickly, so I'm posting this
> >message while I'm searching the web for an answer.
> >
> >I have need of a SMB share that doesn't require any sort of 
> >authentication.  I
> >believe Win98 does this by default and I need my linux server to do it 
> >now. I've tried setting the share to public, writable, and browsable and 
> >I've got
> >the default allow set for my class c addresses.  I've used testparm to make
> >sure other machines on the network would be allowed and they are.  I'm 
> >still
> >not having any success in connecting to the share from a Win2k server.  
> >(I'm
> >also going to try it from a few other machines, now that I think about it
> >more.)
> >
> >To be really specific, I have a situation where the smb packet has a blank
> >"Account" parameter and I want Samba to allow the connection regardless of 
> >the
> >account or password given.
> >_______________________________________________
> >Web Page:  http://lug.boulder.co.us
> >Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> >
> >
> >.
> >
> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug



More information about the LUG mailing list