Hi Adam
I don't think it's a permissions problem. The way CIFS.HOMEDIR works is
that the share is dynamically created when the user connects. In other
words, the share only exists for that user. This isn't the same as the
traditional practice of "hidden" username$ shares in Windows in general,
where the share is explicitly created by an admin or script, and
therefore exists for everyone.
There is a new option to make them available to admin users as well, but
not regular users.
Peter
-----Original Message-----
From: Adam McDougall [mailto:
mcdouga9@...]
Sent: Tuesday, June 10, 2008 10:40 AM
To: Toasters
Subject: Map CIFS homedir based on share name instead of username?
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.