Samba problem...

Samba problem...

Post by Ming » Thu, 20 Jan 2000 04:00:00



Hi,

I have a RH 5.0 with smbd and nmbd running. I've configured my Win98 so that
it can see the RH machine in Network neighbourhood.
My problem is that when I set "security = user" in smb.conf, I can't view
the share without giving a password. If I set "security = share", then I can
go one level down and see the share "homes" and the one as my username "stm"
in my case. I have the account "stm" in RH with password and I also use stm
with no password to logon my Win98 machine. When I click on either homes or
stm share, it ask me for password, but it keep on saying that my password is
invalid. I can browse if "public = yes" is given to a share.

Anyone can help me?

 
 
 

Samba problem...

Post by Michel Verbis » Thu, 20 Jan 2000 04:00:00


I had some trouble too.
The following configuration finally worked.

  security = user
  encrypt passwords = yes
  smb passwd file = /etc/smbpasswd

  password level = 30
  username level = 30

The encryption is needed for W98
and the <level>'s may be needed for uppercase/lowercase mixe-up.

After all this, you must add your users to the smbpasswd file.
To do this, run smbpasswd as root, with option -a, and enable those users
(see man smbpasswd)

Hope this helps.
Michel Verbist


Quote:> Hi,

> I have a RH 5.0 with smbd and nmbd running. I've configured my Win98 so
that
> it can see the RH machine in Network neighbourhood.
> My problem is that when I set "security = user" in smb.conf, I can't view
> the share without giving a password. If I set "security = share", then I
can
> go one level down and see the share "homes" and the one as my username
"stm"
> in my case. I have the account "stm" in RH with password and I also use
stm
> with no password to logon my Win98 machine. When I click on either homes
or
> stm share, it ask me for password, but it keep on saying that my password
is
> invalid. I can browse if "public = yes" is given to a share.

> Anyone can help me?


 
 
 

Samba problem...

Post by ge.. » Wed, 09 Feb 2000 04:00:00




Quote:> Hi,

> I have a RH 5.0 with smbd and nmbd running.

I've configured my Win98 so that
Quote:> it can see the RH machine in Network
neighbourhood.
> My problem is that when I set "security = user"

in smb.conf, I can't view
Quote:> the share without giving a password. If I set

"security = share", then I can
Quote:> go one level down and see the share "homes" and

the one as my username "stm"
Quote:> in my case. I have the account "stm" in RH with

password and I also use stm
Quote:> with no password to logon my Win98 machine.

When I click on either homes or
Quote:> stm share, it ask me for password, but it keep

on saying that my password is
Quote:> invalid. I can browse if "public = yes" is
given to a share.

> Anyone can help me?

If you're using Win98,
you should have a file in samba docs that's called
"w95_PlainPasswordText.reg",  put that file and
execute it on the Win98 computer and reboot,
that will disable the encryption password between
Samba and Win98.

Cioa,
Rick

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

1. Samba problems: Samba not in Network Neighborhood

I have (the latest) Samba installed and have two problems that I can't
seem to solve.

First, my setup: Machine 1 is linux/samba machine.  Machine 2 is Win
95 and Machine 3 is WfWG 3.11 with TCP/IP.  They connect with
ethernet.  All machines can ping each other and the other TCP stuff
works fine.

Machines 2 and 3 can mount each other's drives and printers fine.
Machine 2 can mount the Samba shares but only after I run the "Find
Computer" tool.  It doesn't appear in the Network Neighborhood with
the other machines.

I used smbclient to verify that Machine 1 can mount look at the shares
on all three machines and the Workgroup name is the same.

I was able to drag a shortcut into network neightborhood but that's
not the same as actually being there.

A possibly related problem is machine 3, the Win 3.11 one, cannot see
the samba shares at all.  The server doesn't appear.

Is there some Samba option that I don't have enabled?  With the Win 95
machine it's only annoying not having it in the Neighborhood but it is
entirely unusable from machine 3.  This I really need to fix.

BTW: One further problem I haven't looked at too closely: All the
mounted shares are done as "pcguest" and not as the username logged in
to win 95.  I have the same username/password on both machines.  Is
there a Win 95 option somewhere I need to change?

thanks, jv


    Graphics                "Purveyors to the Froup"

2. Does USR Sportster x2 Int work?

3. Samba- Problem: path too long/ cvs- Problem: cvs import stucks

4. PANIC: cannot exec /etc/init: SCO OSR5.0.2

5. Very strange Samba problem - please advise

6. Replacing /bin/login under AIX 3.1

7. samba problem - only root can write - TIA

8. hdparm, Triton-PCI and Kernel 1.3.58

9. samba problem

10. Samba Problem

11. Samba problem

12. Another Samba Problem ...