Page 28 of 137 FirstFirst ... 1826272829303878128 ... LastLast
Results 271 to 280 of 1362

Thread: Mount samba shares with utf8 encoding using cifs

  1. #271
    Join Date
    Apr 2007
    Beans
    38
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Mount samba shares with utf8 encoding using cifs

    Hi again dmizer
    Thought you may need to have a look at callisto's (the server) fstab too...
    Here it is:

    Code:
    UUID=8e31cb81-ccce-40ef-82e0-f217d6114ff1 	/              	ext3    		defaults,errors=remount-ro 				0	1
    /dev/hdb1 				/home/shares/hdb1 	ext3 		defaults 						0	1
    /dev/hdc1 				/home/shares/hdc1 	ext3 		defaults 						0 	1
    /dev/hdd        				/media/cdrom0   	udf,iso9660 	user,noauto     						0	0
    proc            				/proc           	proc    		defaults        						0	0
    UUID=54b6497f-63e2-42e2-aba1-25ca76db3819 	none            	swap    		sw              						0	0

  2. #272
    Join Date
    Apr 2007
    Beans
    38
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Mount samba shares with utf8 encoding using cifs

    Here's the SMBTREE output...

    Code:
    CIUSSIGROUP
            \\XP07CLONE                     XP_07_CLONE
    cli_start_connection: failed to connect to XP07CLONE<20> (0.0.0.0)
            \\GANYMEDE       
    cli_start_connection: failed to connect to GANYMEDE<20> (0.0.0.0)
            \\EUROPA                        europa server (Samba, Ubuntu)
                    \\EUROPA\IPC$                   IPC Service (europa server (Samba, Ubuntu))
                    \\EUROPA\SHARED         
                    \\EUROPA\print$                 Printer Drivers
            \\CALLISTO                      callisto
                    \\CALLISTO\ruggero              Home
                    \\CALLISTO\ADMIN$               IPC Service (callisto)
                    \\CALLISTO\IPC$                 IPC Service (callisto)
                    \\CALLISTO\USB                  USB
                    \\CALLISTO\hdc1                 hdc1
                    \\CALLISTO\hdb1                 hdb1
                    \\CALLISTO\hda1                 hda1
                    \\CALLISTO\netlogon             Network Logon Service

  3. #273
    Join Date
    Mar 2007
    Beans
    24

    Re: Mount samba shares with utf8 encoding using cifs

    Another low-tech answer to my problem...meaning no editing configs etc.

    I tried konquerer to view my network shares and still could not get the shares to work.

    I finally loaded smb4k and now I can access my windows shares

    I had to configure smb4k to mount the windows shares as a super user (sudo) but now I can view through conqueror.

    Anyway, that's how I got it to work.

    the following is my samba conf

    Now with the minimum conf I have a share with no users but I have a hardware firewall. Eventually I will work on users but off to get cups working now.

    [global]
    workgroup = @home
    security = share
    wins support = yes

    # CUPS printing. See also the cupsaddsmb( manpage in the
    # cupsys-client package.
    ; printing = cups
    ; printcap name = cups

    [Share]
    path = /home/craig/Desktop/Share
    available = yes
    browsable = yes
    public = yes
    writable = yes

    [Movies and Pictures]
    path = /media/NETHDD_/Movies and Pictures
    available = yes
    browsable = yes
    public = yes
    writable = yes

  4. #274
    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

    noMScraig: this howto focusses on a CLI answer so as to answer the problems faced by all ubuntu systems (including those without a gui installed)

    also, if you try to save a document to your samba shares from open office ... can you save directly to your share when mounting by smb4k? this is usually the biggest limitation of a gui mounting method.

    finally, if your server is linux, and you are trying to access those shares from another linux box, you should use nfs instead of samba.

    either way though, glad you got it working to your satisfaction.

  5. #275
    Join Date
    Oct 2005
    Beans
    81

    Re: Mount samba shares with utf8 encoding using cifs

    Thanks dmizer for howto, it's really helpful.

    Quote Originally Posted by v4ebp View Post
    thank you all, great guide.
    Works for me except for the following error messae:

    [18.312000] CIFS VFS: Server not responding
    [18.312000] No response for cmd 5 mid 8

    displayed at the end of shutdown process. Hangs around on screen for several seconds befor switch off.
    Any ideas what is causing it and how to get rid of it?
    I'm having this same problem after a new installation.

  6. #276
    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

    those of you with the "server not responding" problem on shutdown, are you using the fstab solution or the command line solution?

  7. #277
    Join Date
    Oct 2005
    Beans
    81

    Re: Mount samba shares with utf8 encoding using cifs

    I'm using fstab

  8. #278
    Join Date
    Dec 2005
    Location
    Vienna, Austria
    Beans
    6
    Distro
    Dapper Drake Testing/

    Re: Mount samba shares with utf8 encoding using cifs

    also experienced the shutdown-problem "occasionally", using fstab, on both Edgy and Feisty, both x86 and PPC, with KDE 3.5.6 - not anymore on 3.5.7 it seems until now.

    On a sidenote, I am currently struggling with a "Permission denied"-problem on a new share although all other shares are configured the same way and work fine (?!):
    Cannot even "touch" a file as superuser (?!).

    Here is my fstab (I tried both "gid=100" (for users-group access) and "1000" to no avail):
    Code:
    //jagor/grexdox     /media/grexdox    cifs   exec,credentials=/home/grexe/.smbcredentials,iocharset=utf8,uid=1000,gid=1000  0  0
    //jagor/backup      /media/backup     cifs   credentials=/home/grexe/.smbcredentials,iocharset=utf8,uid=1000,gid=100  0  0
    Currently I am stuck and would consider nfs if there were only Linux-clients in my network... (is it much overhead to run a NFS-server alongside Samba?)
    Last edited by Grexe; June 6th, 2007 at 06:46 PM.

  9. #279
    Join Date
    Dec 2005
    Location
    Vienna, Austria
    Beans
    6
    Distro
    Dapper Drake Testing/

    Re: Mount samba shares with utf8 encoding using cifs

    Solved - maybe worth a hint in the FAQ...:
    I did not have write access to the directory on the server... I saw this before but did not look further as the other shares' directories had the same (root) user and group, only with the difference that the shares I use in the end lie in directories one level beneath, with correct user and group privileges... confusing

  10. #280
    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

    Quote Originally Posted by v4ebp View Post
    thank you all, great guide.
    Works for me except for the following error message:

    [18.312000] CIFS VFS: Server not responding
    [18.312000] No response for cmd 5 mid 8

    displayed at the end of shutdown process. Hangs around on screen for several seconds befor switch off.
    Any ideas what is causing it and how to get rid of it?
    those of you with the above error on shutdown, please test with the the "users" option. please only test this option if you have configured fstab to mount your share.
    Code:
    //netbiosname/sharename    /media/sharename        cifs    credentials=/root/.smbcredentials,users,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
    Last edited by dmizer; June 7th, 2007 at 01:20 AM.

Page 28 of 137 FirstFirst ... 1826272829303878128 ... 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
  •