LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-15-2007, 11:07 PM   #1
sonirajesh
LQ Newbie
 
Registered: Jul 2007
Posts: 7

Rep: Reputation: 0
Samba Problem


Hi,

I am using FC7 and i got a problem with access linux shared directory in windows.

when i access linux system via IP, i can see folder but i cannot access them. it say "you donot have permission to access this folder please contact to administrator" and say same thing for all shared directory.


all 777 permission is there and i created default user.

%createuser smart
%passwd smart
%smbpasswd smart

Please help
 
Old 07-16-2007, 01:39 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You will probably need to post your smb.conf file. Posting the global and the share definition should be enough.

If this is for a home network, and anyone can access it, you might try using the "Force User" and "Force Group" options. Then someone connecting will get a username/password box initially but it won't matter what they enter.
See the "Samba 3 by Example" book for details. You may have a samba-doc package that has the book, or it may be installed with the samba package. You can also download it from the Samba.org website.

The "Samba 3 Reference & Howto" book also has a trouble shooting section that might help.

Also check the samba logs. They may indicate what the exact problem is.
 
Old 07-16-2007, 07:47 AM   #3
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
Make sure that you have added the users for Samba as well. If you haven't you won't be able to browse the shares. The users in Samba will need to mirror the users in Windows (name, password) on the machines that they will be using. Take a look at that and then repost if needed.
 
Old 07-20-2007, 09:58 PM   #4
germany2006
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Rep: Reputation: 0
The problem I have encountered is a very annoying. Which Internet experts hope to help us solve this problem.
 
Old 07-20-2007, 10:04 PM   #5
germany2006
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Rep: Reputation: 0
The problem I have encountered is a very annoying. Which Internet experts hope to help us solve this problem.
 
  


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 - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 04:07 PM
Samba sharing problem (user permission problem) beikokutn Linux - Software 4 03-11-2008 05:55 AM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
Samba Problem oopicmaster Linux - Software 4 01-27-2004 09:42 AM
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 - Security

All times are GMT -5. The time now is 01:38 AM.

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