LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Setting up SAMBA

[ILUG] Setting up SAMBA

Conor Wynne weeboy at conorwynne.com
Wed Feb 16 08:02:16 GMT 2005


> Ive set up SAMBA server on a Fedora 3 box with it im using a minimal
> smb.conf  which contains
>
> [global]
>     workgroup = home
>     username map /etc/samba/smbusers
>     netbios name = dell
>
> [share1]
>     path = /tmp
>     read only = no
>     guest ok = no
>
> [david]
>     path= /home/david
>     writeable = yes
>
> This passes testparm
>
> However when I try  smbclient //dell/root Im asked for a password and I
> get back session start up failed: NT_STATUS_LOGIN_FAILURE
> This also occurs if I try smbclient //dell/david and the appropriate
> password. Ive googled for the NT_STATUS_LOGIN_FAILURE error but the
> information is inconclusive.  If I go though Computer both pc's
> connected are listed - dell shows the two shares /temp and /david but
> (obviously) nothing on toshiba.

In the above example, you have no share caled "root". So its normal you do
not have access to it.

To see all published shares try:

smbclient -L localhost
or
//dell/share1 from a windows client.

> Going to toshiba (the windows pc - im using the pcs makes as hostnames)
> in my network places both are machines shown  but if I click on dell it
> asks me for a password for david and wont accept the password.
>
> Im guessing my configuration is close to being correct but not close
> enough!

As others have suggested, did you use "smbpasswd -a user1"

Oh and "service smb restart" might be an idea if you've edited smb.conf

> Regards
>
> David

Regards
Conor.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell