On Feb 25 11:51, Len Giambrone wrote: > On 02/25/2015 11:18 AM, Corinna Vinschen wrote: > >On Feb 25 11:01, Len Giambrone wrote: > >>[...] > >>The username displays correctly, but the group name does not: > >> > >>$ ls -la foo > >>-rw-rw-r-- 1 build Unix_Group+999 0 Feb 25 10:52 foo > >> > >>And this is confirmed by running getent: > >> > >>$ getent passwd build > >>build:*:1065765:1049089:U-ISCINTERNAL\build,S-1-5-21-112145844-1872675854-1690816760-17189:/home/build:/bin/bash > >> > >>$ getent passwd group > >> > >>I've read > >>https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch-gecos > >>'til I'm blue in the face, and I think this should work. > >>What am I missing? How can I debug? > >If your admin changed your user account to have a gidNumber 999 only, > >then that won't help, Consider: Cygwin tries to find a group with > >gidNumber set to 999. How is it supposed to evaluate the right > >gidNumber value from some arbitrary user account? > > > >What Cygwin needs to get the right connection between a Windows group > >and a gidNumber value is that the *group* entry in AD itself has the > >gidNumber set to the right value. > > > >I don't know if that's really the problem in your case, but that seems > >the most likely. > > > >Please report back. I'm excited that I'm not the only one interested > >in getting this connection between unix and windows ids working :) > > It worked. :) Now I just have to persuade my admin to populate uidNumber > and gidNumber for all our current and new users...
I'm glad to read that. Thanks for your feedback! Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgp4ZGSOTmpW3.pgp
Description: PGP signature