Map CIFS homedir based on share name instead of username?

From: Adam McDougall (mcdouga9@egr.msu.edu)
Date: Tue Jun 10 2008 - 13:39:58 EDT

  • Next message: Hadrian Baron: "At which point does high disk utilization impact IO requests?"

    Without manually creating a share for each user, is it possible for the
    filer to use the supplied share name as the connecting user, instead of
    the username from the credentials? I am trying to mimic the samba
    behavior where I can connect to \\samba\someuser with ANY credentials,
    and if those credentials do not work, it prompts me for user/pass. I
    added our home directory paths in cifs_homedir.cfg and tried different
    settings for cifs.home_dir_namestyle but they all seem to use the
    username from the credentials that are connecting, not the requested
    share name. For example, if I am logged into windows as mcdouga9, I can
    connect to \\filer\mcdouga9 just fine, but if I connect to
    \\filer\anothervaliduser, it claims "\\filer\anothervaliduser No
    network provider accepted the given network path.". I'd rather be
    prompted for credentials so I can enter the username/password. It does
    work if I supply the username/pass while connecting. Thanks.



    This archive was generated by hypermail 2b29 : Tue Jun 10 2008 - 14:14:57 EDT