Page 97 of 137 FirstFirst ... 47879596979899107 ... LastLast
Results 961 to 970 of 1362

Thread: Mount samba shares with utf8 encoding using cifs

  1. #961
    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

    Well, first of all smbfs hasn't only depreciated, it doesn't even exist in Ubuntu anymore. So even though your mount command says smbfs, you're actually mounting with cifs.

    This is not something I've had to deal with (many people using the same computer), so I'll do some reasearch and get back to you.

  2. #962
    Join Date
    Jun 2009
    Location
    Indiana
    Beans
    56
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Mount samba shares with utf8 encoding using cifs

    Ah gotcha. I didn't realize that. I had to install smbfs in order to make it work. But, if it's using cifs as default even with smbfs in the line then I guess it doesn't matter. That's just what I got to work anyway. But, thanks for taking the time to do some research. I've been banging my head about it. Lol. I've been looking the last week or two trying to figure it out. And, if the only way to get it to work is by adding each individual student on there, then I guess that's fine.

    Another thing I was thinking was writing a batch file to run on login. With that, it would inject the code into fstab and then mount as well after. However, if the login is not in the sudoers file, would that be possible?

  3. #963
    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

    No need for a batch file, just use pam_mount: http://www.novell.com/coolsolutions/feature/15354.html

    Edit:
    Take a look here for a full example with cifs: http://ubuntuforums.org/showthread.php?t=878685

    Smbfs is a metapackage which contains all the necessary parts for mounting Windows shares. Oddly enough (in this case) the smbfs metapackage doesn't contain the actual smbfs package.
    Last edited by dmizer; June 15th, 2009 at 03:02 PM.

  4. #964
    Join Date
    Jun 2009
    Location
    Indiana
    Beans
    56
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Mount samba shares with utf8 encoding using cifs

    Interesting. Well thanks for the help. I'll keep you posted on my progress and let you know if I need any more help. Haha. If this does work like I need it to, then I'll be on cloud nine. If not, no biggie... I'll keep working to get something working. If anything I could always fall back on using fstab and manually do it. It may be a pain, but it does work. This being said, so far, without trying pam yet. So... I'll be working on that now. Haha

    Thanks again

  5. #965
    Join Date
    Jun 2009
    Location
    Indiana
    Beans
    56
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Mount samba shares with utf8 encoding using cifs

    Lol okay here's a dumb question. In the Cool Solutions page you posted, it says to edit the main mounting configuration, which is in "/etc/security/pam_mount.conf" However... That's not there for me. Do I have to apt-install something, or what?

  6. #966
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Mount samba shares with utf8 encoding using cifs

    I think you need to install libpam-mount

    Code:
    sudo apt-get install libpam-mount
    Last edited by bodhi.zazen; June 16th, 2009 at 05:06 PM.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  7. #967
    Join Date
    Jun 2009
    Location
    Indiana
    Beans
    56
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Mount samba shares with utf8 encoding using cifs

    Quote Originally Posted by bodhi.zazen View Post
    I think you need to install libpam-mount

    Code:
    sudo apt-get -s install libpam-mount
    I did that, but it's still not in /etc/security or anywhere that I see.

  8. #968
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Mount samba shares with utf8 encoding using cifs

    I have not installed / configured it.

    Look in /etc/pam.d
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  9. #969
    Join Date
    Jun 2009
    Location
    Indiana
    Beans
    56
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Mount samba shares with utf8 encoding using cifs

    Unfortunately it's still no where to be found. I've looked just about everywhere, even folders I knew it wouldn't be in. Lol

  10. #970
    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 ZackM View Post
    Unfortunately it's still no where to be found. I've looked just about everywhere, even folders I knew it wouldn't be in. Lol
    From man pam_mount
    Code:
    Configuration
           The   primary   configuration   file   for   the  pam_mount  module  is
           pam_mount.conf.xml.   On  most  platforms  this  file  is   read   from
           /etc/security/pam_mount.conf.xml.  On  OpenBSD pam_mount reads its con‐
           figuration file from  /etc/pam_mount.conf.xml.   See  pam_mount.conf(5)
           documenting its use.
    After installing ->
    Code:
    dmizer@ubuntu-jaunty:~$ ls /etc/security/
    access.conf  limits.conf     namespace.init  pam_env.conf        sepermit.conf
    group.conf   namespace.conf  opasswd         pam_mount.conf.xml  time.conf
    It would probably be quite helpful to at least scan through the man pages for more information, as I really can't offer much help.
    Last edited by dmizer; June 16th, 2009 at 02:17 PM.

Page 97 of 137 FirstFirst ... 47879596979899107 ... 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
  •