Page 10 of 137 FirstFirst ... 891011122060110 ... LastLast
Results 91 to 100 of 1362

Thread: Mount samba shares with utf8 encoding using cifs

  1. #91
    Join Date
    Aug 2006
    Beans
    3
    Distro
    Ubuntu 6.06

    Re: Mount samba shares with utf8 encoding using cifs

    I've been searching the net over and over for a manual on how to correctly mount my server's shares on my ubuntu box.
    Your instructions work like a charm, your post is the best that happened to me since my switch.

    my sincere thanks!

    Meik

  2. #92
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mount samba shares with utf8 encoding using cifs

    glad to know it helped. but thanks also need to go to the good folks who have posted here and helped me refine the howto.

    enjoy.

  3. #93
    Join Date
    Jul 2006
    Beans
    436
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Mount samba shares with utf8 encoding using cifs

    Have allowed read/write access from the windows machine, used the second line in fstab, mount -a gives:

    Code:
    root@UBUNTU:~# mount -a
    mount: wrong fs type, bad option, bad superblock on //DESKTOP/C,
           missing codepage or other error
           In some cases useful info is found in syslog - try
           dmesg | tail  or so

  4. #94
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mount samba shares with utf8 encoding using cifs

    what is the output of smbtree? also post dmesg | tail

  5. #95
    Join Date
    Aug 2005
    Location
    belgium
    Beans
    61
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Mount samba shares with utf8 encoding using cifs

    hi.
    first of all, very helpfull guide! made a lot of things clear for me. thanks for that. but i still have a problem...
    accessing my ubuntu-laptop from mij windows-desktop is no problem. the other way round doesnt work...
    i did everything in the tutorial (with DHCP) and i get no errors, but when i do
    Code:
    sudo mount -a
    , nothing happens. or it takes a long time and then i just ctrl-c. so i suppose i did something wrong. i'm not at all an expert, so if you explain something to me, please do it like in your tutorial
    thanks in advance...

    Maarten

    ps: if there's anything else you need to know from me, please ask.

  6. #96
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mount samba shares with utf8 encoding using cifs

    first, please post the line you've added to fstab
    also ... post the output of smbtree

    thank you

  7. #97
    Join Date
    Aug 2005
    Location
    belgium
    Beans
    61
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Mount samba shares with utf8 encoding using cifs

    ok, this is the fstab thingy:
    //MAARTEN/Pbs2 /mnt/samba cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_ mode=0777 0 0
    smbtree:
    WORKGROUP
    \\MAARTEN blackbox
    timeout connecting to 10.61.16.155:445
    timeout connecting to 10.61.16.155:139
    Error connecting to 10.61.16.155 (Operation already in progress)
    cli_start_connection: failed to connect to MAARTEN<20> (10.61.16.155)
    \\CRAPTOP
    \\CRAPTOP\ADMIN$ IPC Service ()
    \\CRAPTOP\IPC$ IPC Service ()
    \\CRAPTOP\MyFiles
    \\CRAPTOP\print$
    SAL
    MSHOME
    timeout connecting to 10.91.16.57:445
    timeout connecting to 10.91.16.57:139
    Error connecting to 10.91.16.57 (Operation already in progress)
    cli_start_connection: failed to connect to 10.91.16.57<20> (10.91.16.57)
    timeout connecting to 10.91.16.57:445
    timeout connecting to 10.91.16.57:139
    Error connecting to 10.91.16.57 (Operation already in progress)
    cli_start_connection: failed to connect to PIE<20> (10.91.16.57)
    but it's different from the last time...
    also, sometimes, in nautilus, 'MAARTEN' appears (which is the windows pc), but when i click it, they say: "couldn't display all the contents" or something like that.
    i must note that there are several other computers in the network, with different workgroup names, i haven't configured those. so for now i don't ware about them. i'd just like to get on \\MAARTEN
    \\craptop is the ubuntu laptop.
    thanks for the quick reply

  8. #98
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mount samba shares with utf8 encoding using cifs

    humm ... try this instead:
    Code:
    smbtree --authentication-file=/root/.smbcredentials
    also post the error that follows when you do this:
    Code:
    sudo mount /mnt/samba
    Last edited by dmizer; November 30th, 2006 at 10:27 AM.

  9. #99
    Join Date
    Aug 2005
    Location
    belgium
    Beans
    61
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Mount samba shares with utf8 encoding using cifs

    Code:
    maarten@craptop:~$ smbtree --authentication-file=/root/.smbcredentials
    ERROR: Unable to open credentials file!
    maarten@craptop:~$ sudo smbtree --authentication-file=/root/.smbcredentials
    Password:
    WORKGROUP
            \\MAARTEN                       blackbox
    timeout connecting to 10.61.16.155:445
    timeout connecting to 10.61.16.155:139
    Error connecting to 10.61.16.155 (Operation already in progress)
    cli_start_connection: failed to connect to MAARTEN<20> (10.61.16.155)
            \\CRAPTOP
                    \\CRAPTOP\ADMIN$                IPC Service ()
                    \\CRAPTOP\IPC$                  IPC Service ()
                    \\CRAPTOP\MyFiles
                    \\CRAPTOP\print$
    maarten@craptop:~$ sudo mount /mnt/samba
    mount error 22 = Invalid argument
    Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
    the mount took a long time again

  10. #100
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mount samba shares with utf8 encoding using cifs

    have you installed and configured firestarter on your ubuntu machine? how about a windows firewall? (zone alarm, norton, xp's firewall)

    you should be able to authenticate to the share with smbtree unless there is something blocking your access. so if you have firewalls turned on, try disabling them temporarily.

Page 10 of 137 FirstFirst ... 891011122060110 ... LastLast

Bookmarks

Posting Permissions

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