LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-08-2004, 04:51 AM   #1
nyk
Member
 
Registered: Jan 2004
Location: Berne, Switzerland
Distribution: FC4, Gentoo
Posts: 112

Rep: Reputation: 15
Problem with samba!!


I run the samba server on my gentoo system. I configured just one share, that I can see with smbclient -L!

But when I try to connect with
mount -t smbfs -o username=nyk,password=password //izblapaz/sound /mnt/sound

I always get:
6187: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed

I get prompted for a password no matter whether I specify one in the mount options, and login always fails... I tried to connect from a Mac and there was a user/pw error too!!
Am I guessing correct that I should use my normal linux password, or something else? No passwort doesn't work also..

This is my smb.conf:
  • [global]
    workgroup = IZB
    netbios name = izblapaz
    server string = Samba Server %v
    security = user
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    log file = /var/log/samba-log.%m
    lock directory = /var/lock/samba
    share modes = yes

    [sound]
    comment = Sound
    path = /home/nyk/mp3
    valid users = nyk
    public = no
    writable = no
    printable = no
    create mask = 0765

Here the smbclient -L output:
  • Domain=[IZB] OS=[Unix] Server=[Samba 3.0.5]

    Sharename Type Comment
    --------- ---- -------
    sound Disk Sound
    IPC$ IPC IPC Service (Samba Server 3.0.5)
    ADMIN$ IPC IPC Service (Samba Server 3.0.5)

    Server Comment
    --------- -------
    IZBLAPAZ Samba Server 3.0.5

    Workgroup Master
    --------- -------
    IZB IZBLAPAZ
    WORKGROUP IMBSEKR2

Last edited by nyk; 09-08-2004 at 05:01 AM.
 
Old 09-08-2004, 08:33 AM   #2
DertyolBA$HTARD
Member
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 10
Posts: 86

Rep: Reputation: 15
You need to use matching user name and password for samba to authenticate correctly.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 04:07 PM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
samba problem. bruse Linux - Networking 1 08-13-2005 10:08 AM
Samba Problem tied2 Linux - Newbie 5 06-17-2002 09:41 PM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration