LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
Search this Thread
Old 04-10-2009, 08:01 AM   #1
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Rep: Reputation: 15
Samba Share = Network Access is Denied


I have Samba running on debian but when i try to access it via Windows, i get the following error
Quote:
\\192.168.1.2\samba is not accessible. You might not have permission to use this netwrok resource. Contact the administrator of this server to find out if you have access permissions.

Network access is denied
here's my smb.conf
Quote:
[global]

workgroup = workgroup
netbios name = datastore1
server string = %h server (Samba %v)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0

[SAMBA]

path=/datastore
browseable=yes
writeable=yes
valid users = administrator
admin users = root
here's an ls -l
Quote:
total 80
drwxr-xr-x 2 root root 4096 2009-04-09 16:31 bin
drwxr-xr-x 3 root root 4096 2009-04-09 16:38 boot
lrwxrwxrwx 1 root root 11 2009-04-09 16:29 cdrom -> media/cdrom
drw-rw-rw- 2 nobody nogroup 4096 2009-04-09 16:41 datastore
drwxr-xr-x 11 root root 3160 2009-09-15 03:07 dev
drwxr-xr-x 48 root root 4096 2009-09-15 03:07 etc
drwxr-xr-x 3 root root 4096 2009-04-09 16:38 home
lrwxrwxrwx 1 root root 28 2009-04-09 16:32 initrd.img -> boot/initrd.img-2.6.26-1-686
drwxr-xr-x 12 root root 4096 2009-04-09 16:40 lib
drwx------ 2 root root 16384 2009-04-09 16:29 lost+found
drwxr-xr-x 4 root root 4096 2009-04-09 16:29 media
drwxr-xr-x 2 root root 4096 2008-12-04 04:22 mnt
drwxr-xr-x 2 root root 4096 2009-04-09 16:30 opt
dr-xr-xr-x 69 root root 0 2009-09-15 03:07 proc
drwxr-xr-x 4 root root 4096 2009-04-09 16:56 root
drwxr-xr-x 2 root root 4096 2009-04-09 16:40 sbin
drwxr-xr-x 2 root root 4096 2008-09-16 03:38 selinux
drwxr-xr-x 2 root root 4096 2009-04-09 16:30 srv
drwxr-xr-x 11 root root 0 2009-09-15 03:07 sys
drwxrwxrwt 4 root root 4096 2009-09-15 03:07 tmp
drwxr-xr-x 11 root root 4096 2009-04-09 16:52 usr
drwxr-xr-x 13 root root 4096 2009-04-09 16:30 var
lrwxrwxrwx 1 root root 25 2009-04-09 16:32 vmlinuz -> boot/vmlinuz-2.6.
PLEASE HELP!!
 
Old 04-10-2009, 12:54 PM   #2
pcunix
Member
 
Registered: Dec 2004
Location: MA
Distribution: Various
Posts: 149

Rep: Reputation: 23
Sometimes the problem is Windows, not Samba.

See my http://aplawrence.com/Unixart/winauth.html article for details.
 
Old 04-10-2009, 01:54 PM   #3
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware 14.1 (multilib) with kernel 3.15.5
Posts: 1,548
Blog Entries: 12

Rep: Reputation: 177Reputation: 177
A few questions:
Are you running everything as root?
Did you add the user root to smbpasswd?
Did you use the alias administrator=root?
Did you want security=user?
A very useful resource:
www.samba.org
 
  


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
Access denied when attempting access samba share warlockvix Linux - Software 1 05-11-2007 02:36 PM
Can't access my linux share through samba. I get permission denied. mlsbraves Linux - Software 1 08-16-2005 07:59 PM
Very stupid, but here we go: pam_mount + samba share = access denied? Thakowbbery Linux - Software 8 05-23-2005 10:43 AM
Samba Share SMB.CONF Access Denied mikeaustn Linux - Software 1 09-28-2004 03:14 PM
Samba Printer Share on Win2K Access Denied, No Connection available MobbyDick Linux - Software 38 07-17-2003 10:12 AM


All times are GMT -5. The time now is 03:55 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