delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/21/13:38:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <400EC700.1BAF2C6B@ieee.org>
Date: Wed, 21 Jan 2004 13:37:52 -0500
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Reply-To: Pierre DOT Humblet AT ieee DOT org
MIME-Version: 1.0
To: stefan AT zachow DOT org, cygwin AT cygwin DOT com
Subject: Re: problem with mkgroup -d DOMAIN
References: <400E6184 DOT 5000009 AT zib DOT de>


Stefan Zachow wrote:
> 
> Dear cygwin experts,
> 
> I encountered some problems with the mkgroup command during
> my trial to get cygwin running on a Windows 2003 server machine
> (Topic: running the latest cygwin on a windows 2003 server)
> 
> The domain controller is a Linux system running Samba for file
> system sharing.
> 
> The 'mkpasswd -d DOMAIN' command works fine and I did
> append this information to /etc/passwd
> 
> The 'mkgroup -d DOMAIN' command, however, failed for
> some reason I don't know, yet. The output is:
> 
> LookupAccountName (\\Host, Domain Admins) failed with error 1332
> LookupAccountName (\\Host, Domain Users) failed with error 1332
> 
> For the entire cygwin tree the user of the files is administrator
> and the group is mkgroup (!?). Even with chgrp I am not able
> to temporarily change the group to 'Users' for example.
> 
> Actually, even after reading the user's guide I have some problems
> on understanding the grouping scheme. Why do I have the following
> entry in my /etc/group?
> 
> mkgroup-1-d:S-1-5-32-545:10545
> 
> and how is it mapped to the users that are taken from the
> domain controller generated passwd database?

Edit /etc/group by hand and place this in it:

root:S-1-5-32-544:0:
SYSTEM:S-1-5-18:18:
Administrators:S-1-5-32-544:544:
Users:S-1-5-32-545:545:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Remote Desktop Users:XXXXXXX:900:   where XXXX is the sid for 
       Remote Desktop Users that you have in /etc/passwd (I think).

I can make more suggestions if you send your passwd file.

Regarding the CreateFileMapping problem, the message you report is
   *** CreateFileMapping, Win32 error 0. Terminating.
but the code in Cygwin is

     api_fatal ("CreateFileMapping %s, %E.  Terminating.", mapname);
The *** in front is added elsewhere, but you are missing the space
after CreateFileMapping and the mapname (which could be null).

So, what version of Cygwin are you using?

From a cmd window in c:\cygwin\bin, what does
strace true
produce?

Are the non privileged users running from the console or from
terminal services? 
Do they have the "create global object" privilege? If not, try
  to assign it.
You say it's working on Win2000. What service pack? Also, on that
machine, what are the answers to the 2 questions above?

Pierre

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019