I had my server setup to share the folders over my network (using SAMBA). I'm running the Fedora 14 version of Amahi. On Friday, I was able to access the shares via Windows XP, but when I tried to access them via Ubuntu this evening, it failed.
If I try to use sudo mount -a, I get the following messages for the shares (I have three of them "Music" "Movies" and "Docs" set to be shared).
Code: Select all
$sudo mount -a
[sudo] password for patrickdickey:
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Code: Select all
$cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=2ac208b7-b9fc-401b-815c-4802004d1648 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=71035841-f7c7-4678-97ad-994adf790baa none swap sw 0 0
//hda/Movies /home/patrickdickey/Videos cifs credentials=/home/patrickdickey/.smbfscredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
//hda/Music /home/patrickdickey/Music cifs credentials=/home/patrickdickey/.smbfscredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
//hda/Docs /home/patrickdickey/nfs-shares cifs credentials=/home/patrickdickey/.smbfscredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
Code: Select all
# This file is automatically generated for WORKGROUP setup.
# Any manual changes MAY BE OVERWRITTEN
# Amahi configuration, generated on Fri Sep 21 06:08:15 -0500 2012
[global]
log file = /var/log/samba/%m.log
large readwrite = yes
load printers = yes
display charset = LOCALE
guest account = nobody
socket options = TCP_NODELAY
map to guest = Bad User
encrypt passwords = yes
time server = yes
veto files = /*.nws/riched20.dll/*.{*}/
printer admin = root, @ntadmin, administrator
wins support = true
unix extensions = no
netbios name = hda
cups options = raw
username map script = /usr/share/hda-platform/hda-usermap
printing = cups
server string = local.lan
wide links = yes
dos charset = CP850
workgroup = DICKEY
os level = 60
printcap name = cups
security = user
preferred master = yes
unix charset = UTF8
max log size = 150
log level = 0
[homes]
comment = Home Directories
valid users = %S
browseable = no
writable = yes
create mask = 0644
directory mask = 0755
[print$]
path = /var/lib/samba/drivers
read only = yes
force group = root
write list = @ntadmin root
force group = root
create mask = 0664
directory mask = 0775
guest ok = yes
[printers]
path = /var/spool/samba
writeable = yes
browseable = yes
printable = yes
public = yes
[Books]
comment = Books
path = /var/hda/files/books
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
[Pictures]
comment = Pictures
path = /var/hda/files/pictures
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
[Movies]
comment = Movies
path = /var/hda/files/movies
writeable = yes
browseable = yes
create mask = 0777
force create mode = 0664
directory mask = 0777
force directory mode = 0777
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
[Music]
comment = Music
path = /var/hda/files/music
writeable = yes
browseable = yes
create mask = 0777
force create mode = 0664
directory mask = 0777
force directory mode = 0777
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
[Docs]
comment = Docs
path = /var/hda/files/docs
writeable = yes
browseable = yes
create mask = 0777
force create mode = 0664
directory mask = 0777
force directory mode = 0777
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
[pcbackups]
comment = pcbackups
path = /var/hda/files/pcbackups
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
[dbbackups]
comment = dbbackups
path = /var/hda/files/dbbackups
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
[Software]
comment = Software
path = /var/hda/files/Software
writeable = yes
browseable = yes
create mask = 0777
force create mode = 0664
directory mask = 0777
force directory mode = 0777
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
[patrickdickey]
comment = patrickdickey
path = /var/hda/files/patrickdickey
writeable = no
browseable = yes
valid users = patrickdickey
write list = patrickdickey
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
[ashleymiles]
comment = ashleymiles
path = /var/hda/files/ashleymiles
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
Code: Select all
[root@hda ~]# cd /var/hda
[root@hda hda]# ls -l
total 40
drwxr-xr-x. 19 apache apache 4096 Aug 10 20:09 apps
drwxr-xr-x. 5 apache apache 4096 Mar 17 2012 calendar
drwxr-xr-x. 2 apache apache 4096 Apr 16 2011 dbs
drwxr-xr-x. 4 apache apache 4096 Mar 17 2012 domain-settings
drwxr-xr-x. 2 apache apache 4096 Apr 16 2011 drives
drwxr-xr-x. 2 apache apache 4096 Apr 16 2011 elevated
drwxr-xr-x. 15 patrickdickey users 4096 Apr 9 2012 files
drwxr-xr-x. 4 apache apache 4096 Mar 17 2012 platform
drwxr-xr-x. 2 apache apache 4096 Apr 16 2011 shares
drwxr-xr-x. 15 apache apache 4096 Aug 10 20:09 web-apps
[root@hda hda]# cd files
[root@hda files]# ls -l
total 172
drwxrwxr-x 2 patrickdickey users 4096 Mar 21 2012 ashleymiles
drwxrwxr-x. 7 patrickdickey users 12288 Dec 18 07:56 books
drwxrwxr-x 6 patrickdickey users 4096 Dec 30 03:29 dbbackups
drwxrwxr-x. 4 patrickdickey users 4096 Sep 19 19:55 docs
drwxr-xr-x 9 root root 4096 Dec 16 01:55 drives
drwxr-xr-x 12 root root 4096 Dec 16 01:58 gh
drwxrwxr-x. 2 patrickdickey users 16384 Mar 17 2012 lost+found
drwxrwxr-x. 7 patrickdickey users 12288 Dec 28 14:21 movies
drwxrwxr-x. 300 patrickdickey users 49152 Dec 18 07:48 music
drwxrwxr-x 80 patrickdickey users 28672 Dec 18 22:19 patrickdickey
drwxrwxr-x 4 patrickdickey users 4096 Dec 27 09:10 pcbackups
drwxrwxr-x. 26 patrickdickey users 20480 Apr 23 2012 pictures
drwxrwxr-x 10 patrickdickey users 4096 May 5 2012 Software
[root@hda files]#
Code: Select all
$smbclient -L //hda -U patrickdickey
Enter patrickdickey's password:
Domain=[DICKEY] OS=[Unix] Server=[Samba 3.5.11-79.fc14]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (local.lan)
ashleymiles Disk ashleymiles
patrickdickey Disk patrickdickey
Software Disk Software
dbbackups Disk dbbackups
pcbackups Disk pcbackups
Docs Disk Docs
Music Disk Music
Movies Disk Movies
Pictures Disk Pictures
Books Disk Books
print$ Disk
Domain=[DICKEY] OS=[Unix] Server=[Samba 3.5.11-79.fc14]
Server Comment
--------- -------
DCKY-WINDOWS
HDA local.lan
Workgroup Master
--------- -------
DICKEY HDA
MSHOME DCKY-MYTHBUNTU
Code: Select all
smbclient -Upatrickdickey //hda/Music
Enter patrickdickey's password:
Domain=[DICKEY] OS=[Unix] Server=[Samba 3.5.11-79.fc14]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Thanks for any help, and have a great day:)
Patrick.