On Sun, Aug 26, 2001 at 10:17:28PM -0700, Jason Majors wrote:
> I'm trying to share directories through samba. I have the workgroup and
> server set correctly, because I can see the server in the network
> neighborhood on the win98 client. But it will not allow access. I used
> to change the windoze box to use plain text passwords...but since
> linuxtopia no longer exists, I can't get to the learnto that said how
> to do that.
> I'm going from the smb.conf in an install of 2.2.1a-6, with these
> modifications:
> [homes]
>    comment = Home Directories
>    browseable = yes
>    read only = no
>    create mask = 0755
>    directory mask = 0755
> 
> [oggs]
>   comment = oggs on magneto
>   writable = no
>   locking = no
>   path = /usr/local/oggs
>   public = yes
> 
> Does anyone have any idea how I can get these shared? The first one
> isn't much of a big deal to me, but sharing the oggs is.

If you want to use plain text passwords then nab Ptxt_on which in on the
W98 cd.  It is just a registry hack so you can find the hack on the web
if you can't find the file.

Otherwise set up encrypted passwords.  Read "man smbpasswd" basically in
/etc/samba run -
# smbpasswd -a username

Login on the windows side with the same user and password as you created
with smbpasswd.

Oh and change your smb.conf 

[global]
security = user
encrypt passwords = yes
smb passwd file = /usr/samba/smbpasswd

That is the quick and nasty.  Haven't done it for a while so I hope I
didn't forget something.  You should have the samba book on your system.
Look for using_samba/ch06_04.html.  Lays it all out for you.  The book
is on-line also.  I'm getting kind of bleary eyed so I'm going to stop:)
hth,
kent


Reply via email to