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

Re: Did the syntax for a samba /etc/fstab entry change?



Michael Marsh wrote:
[CC'ing to d-u for any samba experts out there]

On Sat, Apr 5, 2008 at 12:03 PM, Tom Epperly <tepperly@gmail.com> wrote:
mm>  smbfs has been deprecated in favor of cifs. Depending on your
mm> provider, you may be able to replace "smbfs" with "cifs" and have
mm> everything work. If, like me, you have a "helpful" ISP that treats
mm> unresolvable domains as searches, you'll never hit the local wins
mm> lookup for your SMB server. What worked for me in this case is to
mm> have a line like the following in /etc/nsswitch.conf:
mm>
mm> hosts: files wins mdns4_minimal [NOTFOUND=return] dns mdns4
  
 I tried making these two changes, and it didn't really do anything.  B
 # mount /mnt/PictureArchive
 mount error: could not find target server. TCP name brightlywoven/My
Pictures not found

 No ip address specified and hostname not found

 The error message suggests that it's doing a name looking for
"brightlywoven/My Pictures" rather than "brightlywoven".  Any suggestions?
    
Is "brightlywoven/My Pictures" being advertised as an SMB share?  If
not, you may have to mount just "brightlywoven" (if you can't
configure the server to advertise the directory you want).  I'm not
sure if there's a way to specify a directory on a share.

  
Yes My Pictures is shared.  I tried a couple of other things.

# mount -t cifs //brightlywoven /mnt/PictureArchive
Mounting the DFS root for a particular server not implemented yet
No ip address specified and hostname not found

# mount -t cifs //brightlywoven/SharedDocs /mnt/PictureArchive
mount error: could not find target server. TCP name brightlywoven/SharedDocs not found
No ip address specified and hostname not found


Reply to: