Hi, Thanks for Pierre and Corinna sugestion. I upgrade my cygwin to the last version yesterday (with a clean reboot), I check my /etc/group, my group are in it. I am on a window server 2003, and my user and his group are defined in the domain (another window server 2003 with ActiveDirectory)
[EMAIL PROTECTED] ~ $ id uid=20238(mind_mgr) gid=10513(Domain Users) groups=545(Users),10513(Domain Users) This user should be in those domain groups too : Grp_Data_5039_BOX-PROD_Read:S-1-5-21-1348827459-882799078-1539857752-8081:18 081: Grp_Data_5039_BOX-PROD_Write:S-1-5-21-1348827459-882799078-1539857752-8082:1 8082: (we use group to give read or read/write access to data, and we want to use cygwin to be able to rsync/ssh from a unix computer) [EMAIL PROTECTED] ~ $ cygcheck.exe -s Cygwin Configuration Diagnostics Current System Time: Fri Apr 29 14:00:56 2005 Windows .NET Server Ver 5.2 Build 3790 Service Pack 1 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\Program Files\Common Files\VERITAS Shared c:\PROGRA~1\VERITAS\NetBackup\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Support\UnixTools C:\cygwin\bin Output from C:\cygwin\bin\id.exe (nontsec) UID: 20238(mind_mgr) GID: 10513(Domain Users) 545(Users) 10513(Domain Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 20238(mind_mgr) GID: 10513(Domain Users) 545(Users) 10513(Domain Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS HOME = `C:\cygwin\home\mind_mgr' MAKE_MODE = `unix' PWD = `/home/mind_mgr' USER = `mind_mgr' Use `-r' to scan registry a: fd N/A N/A c: hd NTFS 17351Mb 25% CP CS UN PA FC d: cd N/A N/A e: hd NTFS 7868603Mb 9% CP CS UN PA New Volume C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode . /cygdrive system binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: c:\Support\UnixTools\cat.exe Found: C:\cygwin\bin\cp.exe Found: c:\Support\UnixTools\cp.exe Not Found: cpp (good!) Found: C:\cygwin\bin\find.exe Found: c:\Support\UnixTools\find.exe Not Found: gcc Not Found: gdb Found: C:\cygwin\bin\grep.exe Found: c:\Support\UnixTools\grep.exe Not Found: ld Found: C:\cygwin\bin\ls.exe Found: c:\Support\UnixTools\ls.exe Found: c:\Support\UnixTools\make.exe Found: C:\cygwin\bin\mv.exe Found: c:\Support\UnixTools\mv.exe Found: C:\cygwin\bin\rm.exe Found: c:\Support\UnixTools\rm.exe Found: C:\cygwin\bin\sed.exe Found: c:\Support\UnixTools\sed.exe Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe Found: c:\Support\UnixTools\tar.exe 55k 2004/09/14 C:\cygwin\bin\cygbz2-1.dll 18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll 7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll 858k 2005/04/11 C:\cygwin\bin\cygcrypto-0.9.7.dll 40k 2004/10/10 C:\cygwin\bin\cygform-8.dll 45k 2001/04/25 C:\cygwin\bin\cygform5.dll 35k 2002/01/09 C:\cygwin\bin\cygform6.dll 48k 2003/08/09 C:\cygwin\bin\cygform7.dll 28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll 30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll 19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll 15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll 15k 2003/08/11 C:\cygwin\bin\cyggdbm_compat-4.dll 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll 29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll 25k 2004/10/12 C:\cygwin\bin\cyghistory6.dll 991k 2004/07/06 C:\cygwin\bin\cygiconv-2.dll 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll 37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll 54k 2004/07/06 C:\cygwin\bin\cygintl-3.dll 21k 2001/06/20 C:\cygwin\bin\cygintl.dll 22k 2004/10/10 C:\cygwin\bin\cygmenu-8.dll 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll 29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll 21k 2004/10/22 C:\cygwin\bin\cygminires.dll 74k 2004/10/10 C:\cygwin\bin\cygncurses++-8.dll 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll 216k 2004/10/10 C:\cygwin\bin\cygncurses-8.dll 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll 224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll 13k 2004/10/10 C:\cygwin\bin\cygpanel-8.dll 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll 19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll 62k 2003/12/11 C:\cygwin\bin\cygpcre-0.dll 63k 2003/04/11 C:\cygwin\bin\cygpcre.dll 9k 2003/12/11 C:\cygwin\bin\cygpcreposix-0.dll 61k 2003/04/11 C:\cygwin\bin\cygpcreposix.dll 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll 148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll 144k 2004/10/12 C:\cygwin\bin\cygreadline6.dll 171k 2005/04/11 C:\cygwin\bin\cygssl-0.9.7.dll 62k 2004/10/10 C:\cygwin\bin\cygz.dll 1163k 2005/04/26 C:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.5.16 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 128 Shared data: 4 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Mon Apr 25 20:26:35 EDT 2005 Shared id: cygwin1S4 Cygwin Package Information Package Version _update-info-dir 00231-1 ash 20040127-1 base-files 3.2-1 base-passwd 2.2-1 bash 2.05b-17 bzip2 1.0.2-6 coreutils 5.3.0-5 cron 3.0.1-19 crypt 1.1-1 cygrunsrv 1.01-1 cygutils 1.2.7-1 cygwin 1.5.16-1 cygwin-doc 1.4-2 diffutils 2.8.7-1 editrights 1.01-1 findutils 20041227-1 gawk 3.1.4-3 gdbm 1.8.3-7 grep 2.5.1a-2 groff 1.18.1-2 gzip 1.3.5-1 less 381-1 libbz2_1 1.0.2-6 libcharset1 1.9.2-1 libgdbm 1.8.0-5 libgdbm-devel 1.8.3-7 libgdbm3 1.8.3-3 libgdbm4 1.8.3-7 libiconv 1.9.2-1 libiconv2 1.9.2-1 libintl 0.10.38-3 libintl1 0.10.40-1 libintl2 0.12.1-3 libintl3 0.14.1-1 libncurses5 5.2-1 libncurses6 5.2-8 libncurses7 5.3-4 libncurses8 5.4-1 libpcre 4.1-1 libpcre0 4.5-1 libpopt0 1.6.4-4 libreadline4 4.1-2 libreadline5 4.3-5 libreadline6 5.0-1 login 1.9-7 man 1.5o1-2 minires 1.00-1 mktemp 1.5-3 more 2.11o-1 ncurses 5.4-1 openssh 4.0p1-1 openssl 0.9.7g-1 readline 5.0-1 rsync 2.6.3-1 sed 4.1.4-1 tar 1.13.25-5 termcap 20050421-1 terminfo 5.4_20041009-1 texinfo 4.8-1 vim 6.3-1 which 1.6-1 zlib 1.2.2-1 Use -h to see help about each section -----Message d'origine----- De : Corinna Vinschen [mailto:[EMAIL PROTECTED] Envoyé : 28 avril 2005 15:58 À : 'cygwin@cygwin.com' Objet : Re: Domain group doesn't work in cygwin On Apr 27 15:48, Mastchenko, Cyrille wrote: > Hi, > > I have a server with users and groups in an Active Directory. > On an other server where I use thoses user with cygwi, cygwin doesn't > seems to understand that a user is in a domain group and don't use it > for the file access. > (domain group are correctly in /etc/group, domain user in /etc/passwd) > > When I do id in my ssh shell, I see my id correctly, my group "Domain user" > but none of my domain group. > We use those domain group to give acces in read or read-write to some files. > > $ id > uid=20238(mind_mgr) gid=10513(Domain Users) > groups=545(Users),10513(Domain Users),10513(Domain Users) It looks like the other domain groups are missing in /etc/group. Use mkgroup to create entries for the missing groups. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. ======================================================================= Avis de confidentialité : L'information contenue dans ce message électronique ainsi que dans les fichiers qui peuvent y être attachés est de nature confidentielle et destinée à l'usage exclusif du destinataire. Si ce message vous est parvenu par erreur ou que vous n'êtes pas le destinataire visé, vous êtes par la présente avisé que tout usage, copie ou distribution de l'information contenue dans ce message est strictement interdit et vous êtes prié d'en aviser l'expéditeur et de détruire ce message. Confidentiality Notice : The information in this e-mail or in any file attached thereto is confidential and is intended solely for the addressee. If this e-mail is mistakenly sent to you or if you are not the intended recipient, you are hereby advised that any use, copying or distribution of any information contained in this message is strictly forbidden and you are requested to inform the sender of such error and to destroy this message. ====================================================================== -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/