Results 1 to 6 of 6

Thread: OpenLDAPClient+NFsv4 problem on different machine

  1. #1
    Join Date
    Nov 2012
    Beans
    11

    OpenLDAPClient+NFsv4 problem on different machine

    Hi all,

    I'm trying to build a lan network for a small group of my university and I need to set up nfsv4 + openldap (kerberos is optional, thanks god). I've started with ubuntu and system administration the last week, but I'm spending too many hours since then. So, this is the problem:

    I'm testing with three VM's:
    - 12.04 Ubuntu Server LTS
    - 11.04 ubuntu Desktop (Client1)
    - 11.04 Ubuntu Desktop (Client2)

    I've created two LDAP users (ldapu and ldapu2) and I can login successfully on the Client1, running nfs4 and automount homes without problem. But there is something wrong with the Client2:
    - I can login with LDAP user, but a bit time later three kinds of errors appears:




    How can I fix it?
    Thanks all and apologizes for my english.

  2. #2
    Join Date
    Sep 2010
    Location
    Indian Capital City
    Beans
    916
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: OpenLDAPClient+NFsv4 problem on different machine

    Do these errors break anything ?

    Maybe those files in the home folder for the respective users are not owned by those user, hence the permission errors and not being able to update

    Try this in the home folder for the user
    Code:
    # Replace username with your user's name
    sudo chown <username>:<username> .ICEauthority
    Similarly for the other files in nautilus
    When you have eliminated the impossible, whatever remains, however improbable, must be the truth !!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Mark it [SOLVED] if the issue has been resolved

  3. #3
    Join Date
    Nov 2012
    Beans
    11

    Re: OpenLDAPClient+NFsv4 problem on different machine

    Hi, thanks for the answer.

    The users of LDAP doesn't 'exists' on the Server machine, but I can login on the clients.

    chown ldapu2:ldapu2 .ICEauthority

    -> invalid user

    However, with ldapsearch -x or slapcat the LDAP users appear.

    What can I do? Thanks for your help.

  4. #4
    Join Date
    Sep 2010
    Location
    Indian Capital City
    Beans
    916
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: OpenLDAPClient+NFsv4 problem on different machine

    I am having bit confusion

    Does invalid user appear on server OR client ?
    When you have eliminated the impossible, whatever remains, however improbable, must be the truth !!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Mark it [SOLVED] if the issue has been resolved

  5. #5
    Join Date
    Nov 2012
    Beans
    11

    Re: OpenLDAPClient+NFsv4 problem on different machine

    It's 'almost' solved.
    ldap: uid 10000 gid 10000
    ldapu2: uid 10001 gid 10000

    With chown <uid:gid> the folders of /home/<nameldapuser> I can login on the Clients and the Desktop it's running and working, but .ICEauthority error still appears.

    Thanks!

  6. #6
    Join Date
    Sep 2010
    Location
    Indian Capital City
    Beans
    916
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: OpenLDAPClient+NFsv4 problem on different machine

    Quote Originally Posted by borjamf View Post
    It's 'almost' solved.
    ldap: uid 10000 gid 10000
    ldapu2: uid 10001 gid 10000

    With chown <uid:gid> the folders of /home/<nameldapuser> I can login on the Clients and the Desktop it's running and working, but .ICEauthority error still appears.

    Thanks!
    The reason I asked earlier question was to propose using UID/GID directly, instead of their names, in the chown command, but looks like you already figured that out

    Anyways, did you check who owns the .ICEauthority file under the users' home folders. If the user doesn't have permission to update those, chown the file for their respective users
    When you have eliminated the impossible, whatever remains, however improbable, must be the truth !!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Mark it [SOLVED] if the issue has been resolved

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
  •