RFC: 1.7.33 problem with user's home directory
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Nov 27 17:41:00 GMT 2014
On Nov 26 21:56, Corinna Vinschen wrote:
> The meaning of the schemata depend on the setting:
>
> db_home:
>
> windows AD and SAM: Utilizes the setting of the homeDrive or
> homeDirectory attributes, or their SAM "Home folder"
> counterparts. The Windows path is converted to a
> POSIX path.
I'm not really happy with this. It requires to write some value to the
homeDrive/homeDirectory attributes, because it doesn't fall back to the
Windows default values.
So, another question is this: Shall "db_home: windows" fall back
to the default Windows home dir if homeDrive/homeDirectory are empty?
> cygwin AD only: Shortcut for the cygwinHome attribute from
> the predefined cygwinUser auxiliary class. POSIX path
> expected.
>
> unix AD only: Shortcut for the unixHomeDirectory attribute
> from the posixAccount auxiliary class. POSIX path
> expected.
>
> desc AD and SAM: Fetch the home="..."
> setting from the user's description attribute.
> POSIX path expected.
>
> @ad_attribute AD-only: Read AD attribute "ad_attribute" as POSIX
> path.
>
> However, I'm contemplating to allow a Windows path
> here, too. Does this make sense to you?
I implemented this now. It doesn't hurt.
> /path POSIX path. Remember the wildcards.
>
> fallback If nothing works, the fallback is /home/$USERNAME
> (Windows username).
>
>
> db_shell:
>
> windows Ignored. Do you want CMD instead?
Would be interesting for symmetry only, I guess...
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141127/07d6d3bc/attachment.sig>
More information about the Cygwin
mailing list