LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-13-2007, 09:05 AM   #1
muhammednavas
LQ Newbie
 
Registered: Nov 2006
Posts: 26

Rep: Reputation: 15
Lightbulb samba share cannot access


Hai
i just share a directory under my home named test via samba. but i cant access the share from any system.
error: permission denied

But i can access share that i shared from /. but not from home directory. my smb.conf file looking like this

[global]
workgroup = MYGROUP
server string = samba server
security = share
[test]
path = /home/user/test
writable = yes
browsable = yes
guest ok = yes
public = yes

>>>>>>>>>>>>>>>>>>>>>>.

Anybody can help me||||||||||
 
Old 06-14-2007, 02:54 AM   #2
opensourcedevelopmen
LQ Newbie
 
Registered: Jun 2007
Location: Delhi
Distribution: Linux
Posts: 21

Rep: Reputation: 16
The best solution is
useradd -d /home/username username
passwd username
smbpasswd -a username

Done
Let me know if any issue
 
Old 06-14-2007, 04:49 AM   #3
farkewie
LQ Newbie
 
Registered: Jun 2007
Distribution: UBUNTU 8.04 Hardy
Posts: 10

Rep: Reputation: 0
Hi im really new to linux but ive spent the last 2 days trying to get this working in the end i uninstall samba and reinstall made my smb.conf like below and all is working.


Code:
[global]
	workgroup = MSHOME
	netbios name = suse
	security = share
[homes]
	comment = Home Directories
	valid users = %S, %D%w%S
	browseable = No
	read only = No
	inherit acls = Yes
[Programs]
	comment = All Programs
	path = /windows/data/Programs
	read only = No
[Pictures]
	comment = All groups
	path = /windows/tyron/Pictures
	read only = No
[printers]
	comment = All Printers
	path = /var/tmp
	printable = Yes
	create mask = 0600
	browseable = No
[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @ntadmin root
	force group = ntadmin
	create mask = 0664
	directory mask = 0775
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access denied when attempting access samba share warlockvix Linux - Software 1 05-11-2007 02:36 PM
Samba Share access Spadge67 Fedora 3 11-19-2005 06:57 PM
Samba: can't access share thorax Linux - Software 4 02-13-2005 12:39 PM
Samba Share Access Issue gauge73 Linux - Software 0 06-16-2003 10:49 AM
access a samba share from windowsXP sigi Linux - Software 7 11-13-2002 03:37 AM


All times are GMT -5. The time now is 01:29 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
Open Source Consulting | Domain Registration