AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  mount windows share on AIX!!!

    Posted Tue March 17, 2009 06:44 AM

    Originally posted by: clevi


    Hi

    i'm trying to mount windows share from my windows XP(part of domain) to my AIX 5.3 machine.
    i've installed the cifs_fs package.
    when i'm executing the following command with ROOT user on the aix machine:
    mount -v cifs -n myxp/my_domain_user/my_domain_password -o wrkgrp=mydomain,fmode=755 /win_share /aix_mountpoint
    its works!

    but...i need to execute this with regular user, with my NIS user on the AIX machine and its always gives me the error:
    There was an error connecting the share or the server.
    Make sure the lsdev command shows that device nsmb0 is in
    the Available state. Also make sure that the share name,
    user name and password are accurate.

    how can i mount windows share with regular user?? and not root....
    as i've said in AIX we are using NIS, the users name are the same as our domain users.

    please help!

    Thanks


  • 2.  Re: mount windows share on AIX!!!

    Posted Fri March 20, 2009 04:11 PM

    Originally posted by: jnordtome


    Are you trying to mount the directory while you're logged in as a user other then root or are you just specifying a different "myxp/my_domain_user/my_domain_password" string to the mount command. If it's the first, this is from the mount man page:

    "Only users with root authority or are members of the system group and have write access to the mount point can issue file or directory mounts."

    If it's the latter, it should work just fine.


  • 3.  Re: mount windows share on AIX!!!

    Posted Sun March 22, 2009 04:40 AM

    Originally posted by: clevi


    Hi

    Thanks for the answer.
    this is exactly the problem.
    i'm trying to mount with reguler user (not root) and it gives me error.
    i saw that entry from the mount command, but i have problem to believe this is the problem cause with mount -t cifs (other thing i've tried) on solaris for example it does work with single user.

    i need to give my people execute mount command but i cant give them the root user...