I'm trying to get Samba running on a plain vanilla RH 7.1
install. I've made no upgrades to the system since installing it.

I can see the computer on the W98 box's "network neighborhood", and I
can click on it and see the two available shares. Since the login on
the W98 box is the same as one of the users on the Samba box, the home
directory shows up. The one printer on the Samba box also shows
up. However, if I click on either, I am asked for a password. No
password I supply is correct. This is true regardless of whether I
have Samba use encrypted passwords or not.

I also have a testbed Linux box. It can see the available shares:

root@tester # smbclient -L charlesc -N
Added interface ip=192.168.1.12 bcast=192.168.1.255 nmask=255.255.255.0
Domain=[CURLEYNET] OS=[Unix] Server=[Samba 2.0.7]

        Sharename      Type      Comment
        ---------      ----      -------
        IPC$           IPC       IPC Service (Charles' Samba Server)
        lp             Printer   
        nobody         Disk      Home Directories

        Server               Comment
        ---------            -------
        CHARLESC             Charles' Samba Server

        Workgroup            Master
        ---------            -------
        CURLEYNET            CHARLESC

(note the -N: no password!)

I can use smbclient to access the home directory (again, same login),
but only if encrypted passwords are turned off.

root@tester # smbclient \\\\charlesc\\ccurley
Added interface ip=192.168.1.12 bcast=192.168.1.255 nmask=255.255.255.0
Password: 
Domain=[CURLEYNET] OS=[Unix] Server=[Samba 2.0.7]
smb: \>

The linux box is running as follows:

root@tester # rpm -qa | grep -i samba
samba-2.0.5a-3mdk

Questions:

1) How do I determine what passwords to use where? I am aware of
   smbpassword, and can run it as root. So I know what passwords I am
   providing to Samba, but they don't appear to work for the W98 box
   at all or for the testbed when I run encrypted passwords.

2) Has anyone got a simple step-by-step setup set of instructions on
   how to set this up?

3) Do I need to tell the Linux box's smbclient to use encrypted
   passwords, and if so how?

-- 

                -- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley

PGP signature

Reply via email to