Find the answer to your Linux question:
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 23 of 23

Thread: Samba woes

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21

    don't mean to commit necromancy on this one but I went for a pretty simple solution for this problem in mounting my smb shares through scripts under kubuntu 8.04 as I was having the same original problem (no messing with wins, config files, etc.)

    I just started using something like this in my scripts...

    IPADDRESS=`nmblookup hostname | tail -n 1 | sed 's/\(.*\..*.\.*.\.*\) .*/\1/'`
    sudo mount -t smbfs //$IPADDRESS/share /path/to/mount/target -o workgroup=WORKGROUP,username=username

    this prompts for a password for protected shares but you can figure out how to put that on the command line (I like to be prompted as opposed to putting passwords in scripts).

  2. #22

    MACOS on DELL

    Quote Originally Posted by Baloo View Post
    Actually the following did the trick in 10.2
    edit /etc/nsswitch.conf:
    change: hosts: files dns
    to: hosts: files dns wins
    ...
    I am using YOSEMITE on DELL INSPIRON.

    Leaving linux for the same reasons

  3. #23
    Quote Originally Posted by viabsb View Post
    Leaving linux for the same reasons
    10 years later?
    whatever those reasons are - it's hardly relevant anymore.
    Tapatalk: Kill it with fire!
    How to ask smart questions | Don't be a Help Vampire | How to Use Code Tags
    You can post a link by removing "http://www." from it.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •