Re: Samba selectively connecting to shares

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2007-05-04 at 15:45 +1000, Simon Slater wrote:
> 	
> Attempts to access /home/simon followed by /pub then the printer to
> print a test page from the windows side gives:
> -  /var/log/messages:
> 
> May  4 15:24:20 Ipex kernel: audit(1178256260.821:137): avc:  denied
> { getattr } for  pid=31602 comm="smbd" name="WtLoss.ods" dev=dm-0
> ino=1302342 scontext=root:system_r:smbd_t:s0
> tcontext=user_u:object_r:user_home_dir_t:s0 tclass=file
> May  4 15:24:20 Ipex kernel: audit(1178256260.821:138): avc:  denied
> { getattr } for  pid=31602 comm="smbd" name="WtLoss.ods" dev=dm-0
> ino=1302342 scontext=root:system_r:smbd_t:s0
> tcontext=user_u:object_r:user_home_dir_t:s0 tclass=file
> May  4 15:24:20 Ipex kernel: audit(1178256260.881:139): avc:  denied
> { getattr } for  pid=31602 comm="smbd" name=".recently-used" dev=dm-0
> ino=1302406 scontext=root:system_r:smbd_t:s0
> tcontext=user_u:object_r:user_home_dir_t:s0 tclass=file
> May  4 15:24:20 Ipex kernel: audit(1178256260.882:140): avc:  denied
> { getattr } for  pid=31602 comm="smbd" name=".recently-used" dev=dm-0
> ino=1302406 scontext=root:system_r:smbd_t:s0
> tcontext=user_u:object_r:user_home_dir_t:s0 tclass=file
> May  4 15:24:55 Ipex smbd[31602]: [2007/05/04 15:24:55, 0]
> smbd/service.c:make_connection_snum(911)
> May  4 15:24:55 Ipex smbd[31602]:   '/usr/spool/samba' does not exist or
> permission denied when connecting to [LexmarkLaser] Error was No such
> file or directory
> May  4 15:26:57 Ipex smbd[31641]: [2007/05/04 15:26:57, 0]
> lib/util_sock.c:read_data(534)
> May  4 15:26:57 Ipex smbd[31641]:   read_data: read failure for 4 bytes
> to client 192.168.0.3. Error = Connection reset by peer
> 
> 
> -  /var/log/samba/toshiba.log
> 
> [2007/05/04 15:24:20, 1] smbd/service.c:make_connection_snum(941)
>   toshiba (192.168.0.2) signed connect to service simon initially as
> user simon (uid=500, gid=500) (pid 31602)
> [2007/05/04 15:24:55, 0] smbd/service.c:make_connection_snum(911)
>   '/usr/spool/samba' does not exist or permission denied when connecting
> to [LexmarkLaser] Error was No such file or directory
> 
> 
> Between these 2 entries was an attempt to connect to /pub share but
> nothing logged.
> 
> net use x:\\Ipex\pub returns Error 67.  Everything else from the Samba
> Checklist checks out.  Windows error messages are "not accessible".
> Access from Konqueror gives an error of "does not exist".

Are you running selinux on that system?  I can't tell if it's the
problem or not, but you may or may not need to relabel (or whatever that
is) your system.  If not sure or no one chimes in soon, at least boot
with selinux=0 at the kernel prompt and then see if it works with
selinux off.

Other thatn that, only thing I can bring up, is did you add the user(s)
to samba as well?  I believe it's smbpasswd -a user (might need to add
"guest" (as in the actual word guest) as well ), but I could be wrong.

-- 
Mike Chambers
Madisonville, KY


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux