LinuxQuestions.org
Review your favorite Linux distribution.
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-06-2001, 07:32 PM   #1
matt
Member
 
Registered: Jul 2001
Location: Chicago
Distribution: RH7.1 ; OSX
Posts: 62

Rep: Reputation: 15
Question can only samba as a guest


Folks,

I finally got Samba up and running, but now it seems that while I can see shares from Windoze, I cannot access them. Access is denied. Both my Windoze and Linux loggons are the same. I have added and enabled myself as a Samba user as well. My name is in the smbpasswd file, though the smbusers file has only guest and root in it. Is that right?

Anyways, when I check my Samba log file, it says:

'Connect to service matt as user nobody'

Nobody is of course the guest account. The log file then goes on to say that pemission is denied to user nobody.

Ideas please?
 
Old 09-06-2001, 07:35 PM   #2
Jase
Member
 
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113

Rep: Reputation: 15
does the user nobody own the directory/shared directory your are trying to access?
 
Old 09-06-2001, 07:59 PM   #3
sancho5
Member
 
Registered: Jul 2001
Location: Utah
Distribution: RedHat v7.3, OpenBSD 3.3, FreeBSD 5.0
Posts: 327

Rep: Reputation: 30
are you trying to connect as nobody or guest?

Also check to see if you have the following line in your smb.conf file, global section:
Code:
encrypted passwords = yes
if you are using anything above win95a to access the shares, It will send the password encrypted and Samba must be configured to support it.

Any other issues, put in a copy of your smb.conf for reference.
 
Old 09-07-2001, 09:51 AM   #4
matt
Member
 
Registered: Jul 2001
Location: Chicago
Distribution: RH7.1 ; OSX
Posts: 62

Original Poster
Rep: Reputation: 15
Thanks for the replies!

No, 'nobody' doesn't own anything - it's just a dummy guest account for samba.

I do have the ecrypted option set to yes, and 'testparm' reports that everything is cool in smb.conf

I'm not trying to connect as nobody. My main, non-root user on Linux is 'matt' with password 'matthew' - and that's what I'm logging into Windoze with, so I would assume that that's the username and password being shown to linux when I connect, but that's not the case. Instead I'm only granted access with the guest account, as the log file shows.

I'll post my smb.conf file later when I get home.

In the meantime - any other ideas?
 
Old 09-07-2001, 01:38 PM   #5
sancho5
Member
 
Registered: Jul 2001
Location: Utah
Distribution: RedHat v7.3, OpenBSD 3.3, FreeBSD 5.0
Posts: 327

Rep: Reputation: 30
Well.. you say you have encrypted passwords on, and the user Matt exists for both boxes... The only thing I can think of is that you need to make DOUBLE sure you have encrypted SMB passwords setup - you can use the following command to do so:
Code:
smbpasswd -a matt
This will prompt you to enter in the password for the user, which will be identical to the hashed p/w you send during a connection from the windoze box. Once you have done this, restart the daemons and try the connection again.
Make sure you have
Code:
security = user
set also in global conf.
HTH
 
Old 09-07-2001, 01:56 PM   #6
matt
Member
 
Registered: Jul 2001
Location: Chicago
Distribution: RH7.1 ; OSX
Posts: 62

Original Poster
Rep: Reputation: 15
A-ha... I had security set at 'share'

Perhaps this is the problem... I'll try when I get home.

Thanks!

*************

Later that day...

Works now! Thanks.

Last edited by matt; 09-08-2001 at 12:07 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 guest account questions gsgleason Linux - Software 1 10-21-2005 08:59 PM
guest write access through samba? Tangz Linux - Networking 3 07-11-2004 07:23 AM
Samba - guest login problem cferthorney Linux - Networking 0 05-09-2004 03:15 PM
Samba & guest Cybers19 Linux - Networking 1 12-25-2003 07:02 PM
Samba setting default as guest ThaddNZ2003 Linux - Networking 0 03-01-2003 07:59 PM


All times are GMT -5. The time now is 05:08 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration