I had samba working fine then I decided to try to set up NFS sharing the same directory; now samba no longer works. I've gone through the troubleshooting section and it I can't figure out what is going wrong. I can manually 'mount' the share but can't access anything and when I try to mount it with Nautilus I get "Unable to mount location / Failed to mount Windows share."
I'm really hoping someone here can point me in the correct direction because after spending a week googling and failing to resolve the issue I'm just about ready to do a re-install.
Relevant data (following basically the troubleshooting section of Samba /Diagnosis.
testparm:
Everything I try at the prompt '\>' gives the same error
The only thing I've found from Google was a similar fault on Solaris where SELinux was the culprit so I'm completely lost.
If any more info is needed please let me know. I have all my important files on this server, including about 200 Gb of photos of my wife's recently passed pug and I know if I lost them she'd kill me. I haven't resorted to rsync because my desktop hdd probably can't hold everything on the server. I figured that having a mirrored ZFS FreeBSD server would be safe for all our important files but I foolishly didn't consider what would happen if the server somehow failed.
I'm usually pretty good at fixing issues but I'm absolutely stuck on this one.
Thank you in advance.
I'm really hoping someone here can point me in the correct direction because after spending a week googling and failing to resolve the issue I'm just about ready to do a re-install.
Relevant data (following basically the troubleshooting section of Samba /Diagnosis.
testparm:
Code:
$ testparm
Load smb config files from /usr/local/etc/smb.conf
max_open_files: increasing sysctl_max (11095) to minimum Windows limit (16384)
rlimit_max: increasing rlimit_max (11095) to minimum Windows limit (16384)
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
server string = Samba Server
log file = /var/log/samba/log.%m
max log size = 50
dns proxy = No
idmap config * : backend = tdb
[public]
comment = %h Shared Public Directory
path = /server/samba/public
force user = nobody
force group = nogroup
read only = No
force create mode = 0777
force directory mode = 0777
guest ok = Yes
Code:
josh@Lappy2000:~$ smbclient -L 192.168.1.19
Enter josh's password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.1]
Sharename Type Comment
--------- ---- -------
public Disk beastie Shared Public Directory
IPC$ IPC IPC Service (Samba Server)
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.1]
Server Comment
--------- -------
BEASTIE Samba Server
Workgroup Master
--------- -------
WORKGROUP BEASTIE
Code:
josh@Lappy2000:~$ nmblookup -B beastie __SAMBA__
querying __SAMBA__ on 192.168.1.19
192.168.1.19 __SAMBA__<00>
Everything I try at the prompt '\>' gives the same error
Code:
josh@Lappy2000:~$ smbclient //beastie/public
Enter josh's password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.1]
smb: \>
NT_STATUS_ACCESS_DENIED listing \*
The only thing I've found from Google was a similar fault on Solaris where SELinux was the culprit so I'm completely lost.
If any more info is needed please let me know. I have all my important files on this server, including about 200 Gb of photos of my wife's recently passed pug and I know if I lost them she'd kill me. I haven't resorted to rsync because my desktop hdd probably can't hold everything on the server. I figured that having a mirrored ZFS FreeBSD server would be safe for all our important files but I foolishly didn't consider what would happen if the server somehow failed.
I'm usually pretty good at fixing issues but I'm absolutely stuck on this one.
Thank you in advance.