[Samba] Incorrect password or unknown username

Abdul-Azeez samba at citizensbankng.com
Mon Jan 12 08:19:19 GMT 2004


I am a 1st timer with Samba and I have read recommended documentations for
newbies. My problem looks very easy, but I have spent days trying to know
what I am doing wrong. My client is win2000 pro. and my samba server is
version 3.0 running on Redhat linux 9.0.

I can see the Linux box in Network neighbourhood and I can list the test
shares I created but I cannot access them. I have put the samba server in
same workgroup as my win2000 workstation. The hostname of the samber server
is :imsd

The following are the error messages I get when I run the some tests
contained in the samba docmentation.

1) From the Linux machine running the samba

 [root at imsd root]# smbclient -L imsd

Anonymous login successful
Domain=[IMSD] OS=[Unix] Server=[Samba 3.0.1]

        Sharename      Type      Comment
        ---------      ----      -------
        abdula         Disk      test share
        homes          Disk
        IPC$           IPC       IPC Service (Samba 3.0.1)
        ADMIN$         IPC       IPC Service (Samba 3.0.1)

        Server               Comment
        ---------            -------
        IMSD                 Samba 3.0.1
        IMSDNET1

        Workgroup            Master
        ---------            -------

        IMSD                 IMSDNET1

2) From the Linux machine running the samba.
abdul is created as a user on the linux machine and also with smbpasswd
command. I get the following when I enter the password.

[root at imsd root]# smbclient //imsd/abdul
added interface ip=128.1.100.244 bcast=128.1.100.255 nmask=255.255.255.0
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

3)From my windows machine, I browse to the samba server, it demands for a
username and password and when I enter it I get the following error message:

incorrect password or unknown username.

A copy of my smb.conf is:
# Samba config file created using SWAT
# from 128.1.100.67 (128.1.100.67)
# Date: 2004/01/12 09:16:33

# Global parameters
[global]
 workgroup = IMSD

[abdula]
 comment = test share
 path = /home/oji/share
 read only = No
 guest ok = Yes

[homes]
 valid users = %S
 read only = No

I will appreciate any help
Abdul



More information about the samba mailing list