[lug] Samba shares without authentication?

Mr Viggy LittleViggy at alum.manhattan.edu
Tue Aug 6 09:14:41 MDT 2002


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

to a "1" to enable plain text passwords.  I don't know if this will fix 
your problem, though.

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
> 
> 
> .
> 





More information about the LUG mailing list