You are not logged in.

#1 2009-12-05 03:47:47

surfed
Member
From: Vienna Austria
Registered: 2009-10-30
Posts: 86

Samba Headaches

I am trying to set up Samba but seem to have hit a wall. I have two Pc's on my network, one running Arch, the other ubuntu. I can access my Ubuntu shares from my arch box with no problem, but when trying to access my arch shares i get a "folder does not exist". I can see my server and the shared folders but when trying to enter them, they simply do not exist....? I also get permission errors in my logs even though i have security set to "share"
What am i missing?

my samba conf:

#======================= Global Settings =====================================
[global]
netbios name = Fir
server string = Samba Server

#    share, user, server, domain and ads
security = share
null password = yes

log level = 2
log file = /var/log/samba/%m.log
max log size = 50

dns proxy = no
syslog = 0
usershare allow guests = yes

#============================ Share Definitions ==============================

[Public]
comment = Share
path = /home/sascha/Public/
guest ok = yes
read only = no
create mask = 0666
directory mask = 0777
public = yes
writeble = yes

[MUSIC]
path = /home/sascha/Music/

[SOFTWARE]
path = /home/sascha/Software
guest ok = yes

[VIDEOS]
path = /home/sascha/Videos
guest ok = yes

in my samba log i get this:

[2009/12/04 19:28:52,  0] smbd/service.c:1188(make_connection)
  fir (::ffff:192.168.1.151) couldn't find service
[2009/12/04 19:28:52,  0] smbd/service.c:1188(make_connection)
  fir (::ffff:192.168.1.151) couldn't find service
[2009/12/04 19:28:52,  0] smbd/service.c:1188(make_connection)
  fir (::ffff:192.168.1.151) couldn't find service
[2009/12/04 19:28:53,  0] smbd/service.c:1188(make_connection)
  fir (::ffff:192.168.1.151) couldn't find service
[2009/12/04 19:28:53,  0] smbd/service.c:1188(make_connection)
  fir (::ffff:192.168.1.151) couldn't find service

my __ffff_192.168.1.151.log

[2009/12/04 19:31:25,  2] smbd/reply.c:458(reply_special)
  netbios connect: local=fir remote=fir, name type = 0
[2009/12/04 19:31:25,  0] smbd/service.c:1009(make_connection_snum)
  '/home/sascha/Public' does not exist or permission denied when connecting to [Public] Error was Permission denied
[2009/12/04 19:31:25,  2] smbd/service.c:623(create_connection_server_info)
  Invalid username/password for [MUSIC]
[2009/12/04 19:31:25,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_WRONG_PASSWORD
[2009/12/04 19:31:25,  2] smbd/service.c:623(create_connection_server_info)
  Invalid username/password for [MUSIC]
[2009/12/04 19:31:25,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_WRONG_PASSWORD
[2009/12/04 19:31:25,  0] smbd/service.c:1009(make_connection_snum)
  '/home/sascha/Software' does not exist or permission denied when connecting to [SOFTWARE] Error was Permission denied
[2009/12/04 19:31:26,  0] smbd/service.c:1009(make_connection_snum)
  '/home/sascha/Public' does not exist or permission denied when connecting to [Public] Error was Permission denied
[2009/12/04 19:31:26,  2] smbd/reply.c:451(reply_special)
  netbios connect: name1=FIR             name2=FIR
[2009/12/04 19:31:26,  2] smbd/reply.c:458(reply_special)
  netbios connect: local=fir remote=fir, name type = 0
[2009/12/04 19:31:26,  0] smbd/service.c:1009(make_connection_snum)
  '/home/sascha/Videos' does not exist or permission denied when connecting to [VIDEOS] Error was Permission denied
[2009/12/04 19:31:26,  0] smbd/service.c:1009(make_connection_snum)
  '/home/sascha/Public' does not exist or permission denied when connecting to [Public] Error was Permission denied
[2009/12/04 19:31:26,  0] smbd/service.c:1009(make_connection_snum)
  '/home/sascha/Public' does not exist or permission denied when connecting to [Public] Error was Permission denied
[2009/12/04 19:31:26,  2] smbd/service.c:623(create_connection_server_info)
  Invalid username/password for [MUSIC]
[2009/12/04 19:31:26,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_WRONG_PASSWORD
[2009/12/04 19:31:27,  0] smbd/service.c:1009(make_connection_snum)
  '/home/sascha/Software' does not exist or permission denied when connecting to [SOFTWARE] Error was Permission denied
[2009/12/04 19:31:27,  0] smbd/service.c:1009(make_connection_snum)
  '/home/sascha/Videos' does not exist or permission denied when connecting to [VIDEOS] Error was Permission denied

Offline

#2 2009-12-05 04:35:17

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Samba Headaches

What user are you trying to log in as?

Basically the errors you are getting are saying either A) the directory doesn't exist or B) the user you are login in as (samba) doesn't have permission to access those files.

What does

ls -ld /home/sascha/
ls -ld /home/sascha/Public
ls ld /home/sascha/Videos

show?

Last edited by pyther (2009-12-05 04:35:40)


Website - Blog - arch-home
Arch User since March 2005

Offline

#3 2009-12-05 04:42:25

surfed
Member
From: Vienna Austria
Registered: 2009-10-30
Posts: 86

Re: Samba Headaches

thanks for your reply. I am trying to have this set up as guest access, i believe thats what the line security = share and public = yes does.

my permissions on /home/sascha/Public are
drwxr-xr-x

Offline

Board footer

Powered by FluxBB