Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
NFS mounts with different username
Results 1 to 6 of 6

Thread: NFS mounts with different username

  1. #1

    NFS mounts with different username

    Hi,

    I have a NFS server and three NFS client machines. when I mount it on client it mounts perfectly with the same username as in server but in one NFS client it mounts with the different username. WHy this happens? How do I mount it with the same username as in server.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    The user on the client must have the same UID/GID as represented on the server.
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

  3. #3
    ya you are right, the UID of the user is different in both server and client, How do I configure the NFS with username instead of using UID

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  4. #4
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    You can't the easy way would be to assign the user at the troubled client the same UID as on the server, change their files on the client to be owned by the new UID and hope it dosn't inflict with any other users on that client.

    The more problematic way would be to change UID of the user on the server aswell as on all the clients that are showing no error to represent the UID on the troubled client.

    And the completely stupid way, make a new strategy of what UID every user should have, convert every client/server to follow this new strategy and hope nothing goes wrong with this comprehensive change.
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

  5. #5
    Thanks redhead, I have fixed it following your thought. I read in google that the new version of NFS can be configured with username. Do you have any idea regarding.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  6. #6
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    There is no such thing as configuring with username where the UID differ on teh client/server configuration.
    A way to make sure there won't be any conflicting permission is to configure NFS with LDAP, that way every client will have a login server (usualy the same as offering NFS) and it's the UID/GID from that every user will inherit.
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

Similar Threads

  1. Fedora 8 username and password
    By hedleyq in forum Redhat / Fedora
    Replies: 4
    Last Post: 03-28-2008, 01:27 AM
  2. opennms username,passwd
    By pavangogineni in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 02-14-2006, 07:26 AM
  3. username => uid and vice versa (C)
    By gorn in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 10-01-2002, 04:22 AM
  4. Slackware Username
    By -JhAzEr- in forum Linux - General Topics
    Replies: 3
    Last Post: 09-19-2002, 03:31 PM
  5. ftp/scp username/password via script
    By Blaqb0x in forum Programming
    Replies: 3
    Last Post: 08-06-2002, 01:47 PM

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
  •