Testers needed: New passwd/group handling in Cygwin
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Feb 13 19:50:00 GMT 2014
On Feb 13 22:59, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
>
> > The group attributes utilized by Cygwin are:
>
> > cn If set, will be used as Cygwin group name.
>
> sambaPrimaryGroupSID
Apples/Oranges. "cn" is used as the Cygwin group name for an existing
Windows group. It's just a name change. I don;'t know if anybody is
interested in this at all, but it was possible with /etc/group.
For instance, you just hate the group name "Domain Users", so
you set the cn attribute to "HiveAnts", and Cygwin will use the
name "HiveAnts" as Cygwin user name.
> ?
> (Yeah, I have Samba3/LDAP domain...)
>
>
> > The <cygwin .../> string can start at any point in the comment, but
> > you have to follow the rules:
>
> > - It starts with "<cygwin " and ends with "/>".
> > - The "cygwin" string and the key names have to be lowercase.
> > - No spaces between key and "value", just the equal sign.
> > - The value must be placed within double quotes and it must not
> > contain a double quote itself. The double quotes are required
> > for the decimal values as well!
>
> > CMD example:
>
> > net use corinna /comment:"<cygwin home=\"/home/foo\"/>"
>
> net user corinna /comment:"<cygwin home=\"/home/foo\"/>"
> ---------^
Yup, shame on me.
> > Bash example (use single quotes):
>
> > net use corinna /comment:'<cygwin home="/home/foo"/>'
>
> Same as above. (I'm actually surprised, it works, though.)
>
> > However, setting up winbindd isn't for everybody, and it fails to map
> > Windows accounts to already existing UNIX users or groups.
>
> Oh?... it really depends on the curvature of admin's hands.
> Properly setup Samba accounting transparently map users through PAM.
As I wrote. It's not for everybody. I never managed it :}
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/20140213/3cb4c530/attachment.sig>
More information about the Cygwin
mailing list