View previous topic :: View next topic |
Author |
Message |
Nahor n00b
Joined: 05 Jun 2003 Posts: 51
|
Posted: Thu Nov 15, 2007 7:17 pm Post subject: Samba 3.0.26 upgrade: home directories not working anymore |
|
|
Hey,
I updated samba on my server from samba-3.0.24-r3 to samba-3.0.26a-r2 and now, I can't access my home directory from a Windows machine using "\\<hostname>\<username>". I can still access it using "\\<ip>\<username>" or "\\<hostname>\homes", but not "\\<hostname>\<username>". It says:
Code: | \\<hostname>\<username> refers to a location that is unavailable. It could be on a hard drive on this computer, or on a network. Check to make sure that the disk is properly inserted, or that you are connected to the Internet or your network, and then try again. If it still cannot be located, the information might have been moved to a different location. |
I don't see any thing out of the ordinary in Samba's log.
Has anyone seen this before? Any idea how to fix it? |
|
Back to top |
|
|
ipic Guru
Joined: 29 Dec 2003 Posts: 430 Location: UK
|
Posted: Fri Nov 16, 2007 1:30 pm Post subject: Re: Samba 3.0.26 upgrade: home directories not working anymo |
|
|
Nahor wrote: |
Code: | \\<hostname>\<username> refers to a location that is unavailable. It could be on a hard drive on this computer, or on a network. Check to make sure that the disk is properly inserted, or that you are connected to the Internet or your network, and then try again. If it still cannot be located, the information might have been moved to a different location. |
|
I saw a similar problem - some saved shortcuts worked, others didn't.
My solution was to reboot the Windows machine - all shares worked after that.
Regards
Ian |
|
Back to top |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1225 Location: Motown
|
Posted: Fri Nov 16, 2007 3:36 pm Post subject: |
|
|
Probably due to this from the release notes archive:
Quote: | Changes to MS-DFS Root Share Behavior
=====================================
Please be aware that the initial value for the "msdfs root" share
parameter was changed in the 3.0.25 release series and that this
option is now disabled by default. Windows clients frequently require
a reboot in order to clear any cached information about MS-DFS
root shares on a server and you may experience failures accessing
file services on Samba 3.0.25 servers until the client reboot
is performed. Alternately, you may explicitly re-enable the
parameter in smb.conf. Please refer to the smb.conf(5) man page
for more details. |
Not really a good idea to blindly upgrade such a package. RTFM! _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
|
Zaister n00b
Joined: 08 Apr 2004 Posts: 20 Location: Germany
|
Posted: Fri Nov 16, 2007 4:14 pm Post subject: |
|
|
I have similar problem: I have Samba shares on my fileserver that I can no longer access from a Linux client after both machines have been updated to Samba 3.0.27. Accessing the server from a Windows client worked after rebooting the client, but rebooting the Linux client did not help. Trying to mount a share results in this error:
Code: | mount: wrong fs type, bad option, bad superblock on //mercutio/music,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so |
Checking out dmesg brings up this message:
Code: | CIFS VFS: cifs_mount failed w/return code = -22 |
Any ideas? _________________ Regards,
Stefan. |
|
Back to top |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1225 Location: Motown
|
Posted: Fri Nov 16, 2007 4:21 pm Post subject: |
|
|
The ebuild notes inform to emerge net-fs/mount-cifs if desired, as Gentoo has split that support from the main Samba install in order to simplify for those that just want the helper without the full Samba package. _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
|
Zaister n00b
Joined: 08 Apr 2004 Posts: 20 Location: Germany
|
Posted: Fri Nov 16, 2007 4:31 pm Post subject: |
|
|
darkphader wrote: | The ebuild notes inform to emerge net-fs/mount-cifs if desired, as Gentoo has split that support from the main Samba install in order to simplify for those that just want the helper without the full Samba package. |
Thank you, that worked. _________________ Regards,
Stefan. |
|
Back to top |
|
|
Nahor n00b
Joined: 05 Jun 2003 Posts: 51
|
Posted: Fri Nov 16, 2007 5:15 pm Post subject: |
|
|
Indeed, just rebooting the client fixed it. Thanks |
|
Back to top |
|
|
JackxSt007 n00b
Joined: 18 Nov 2007 Posts: 12
|
Posted: Sun Nov 18, 2007 9:25 am Post subject: |
|
|
darkphader wrote: | The ebuild notes inform to emerge net-fs/mount-cifs if desired, as Gentoo has split that support from the main Samba install in order to simplify for those that just want the helper without the full Samba package. | That is nice, but i got some problem with the names.. when i try to use Code: | mount -t cifs //workgroup/dir /mnt/smb | it is not working. Solution is to use the ip and not the name. Code: | mount -t cifs //192.168.5.23/dir /mnt/smb |
I have only installed net-fs/mount-cifs and not samba. If samba is installed it works, of course. |
|
Back to top |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1225 Location: Motown
|
Posted: Sun Nov 18, 2007 2:50 pm Post subject: |
|
|
JackxSt007 wrote: | when i try to use Code: | mount -t cifs //workgroup/dir /mnt/smb | it is not working. Solution is to use the ip and not the name. Code: | mount -t cifs //192.168.5.23/dir /mnt/smb |
I have only installed net-fs/mount-cifs and not samba. If samba is installed it works, of course. |
If Samba is just installed? Or actually running?
You may not have any NetBIOS (or otherwise) name resolution. _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
|
JackxSt007 n00b
Joined: 18 Nov 2007 Posts: 12
|
Posted: Sun Nov 18, 2007 6:41 pm Post subject: |
|
|
darkphader wrote: |
If Samba is just installed? Or actually running?
You may not have any NetBIOS (or otherwise) name resolution. |
If samba is installed, (not running) it works. But without the package samba, I can only use the ip. Maybe it will be changed in later versions of mount-cifs. |
|
Back to top |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1225 Location: Motown
|
Posted: Sun Nov 18, 2007 8:00 pm Post subject: |
|
|
JackxSt007 wrote: | If samba is installed, (not running) it works. But without the package samba, I can only use the ip. Maybe it will be changed in later versions of mount-cifs. |
Hmm...that's very odd. If mount.cifs is installed the rest of the Samba package should have nothing to add.
If you're mounting as a user make sure that mount.cifs is suid. _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
|
whig l33t
Joined: 27 Nov 2004 Posts: 973 Location: New Zealand
|
Posted: Mon Nov 19, 2007 2:39 am Post subject: |
|
|
Like this bug details I downgraded to fix a problem in 3.0.27. |
|
Back to top |
|
|
tam Guru
Joined: 04 Mar 2003 Posts: 569
|
Posted: Fri Jan 11, 2008 2:53 pm Post subject: |
|
|
darkphader wrote: | The ebuild notes inform to emerge net-fs/mount-cifs if desired, as Gentoo has split that support from the main Samba install in order to simplify for those that just want the helper without the full Samba package. |
Thanks for your help _________________ http://tam.belchenstuermer.de/ |
|
Back to top |
|
|
|