delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/25/16:05:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040625155332.032cdda0@pop.prospeed.net>
X-Sender:
Date: Fri, 25 Jun 2004 15:58:39 -0400
To: las AT atp DOT dk, Cygwin List <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: Vedr.: Re: Vedr.: Re: OpenSSH under the CYGWIN package, does not read domain groups in /etc/group file.
In-Reply-To: <OF235674EA.8507533E-ONC1256EBE.00279357-C1256EBE.00287510@ atp.dk>
References: <OF235674EA DOT 8507533E-ONC1256EBE DOT 00279357-C1256EBE DOT 00287510 AT atp DOT dk>
Mime-Version: 1.0

At 03:21 AM 6/25/2004, you wrote:

>I have been making both the passwd and group files using the -d option.
>
>When I log on as a domain user I get the same result as previus:
>><snip>
>>
>>>Output from d:\programmer\cygwin\bin\id.exe (nontsec)
>>>UID: ) GID: )
>>
>>^^^^^^^^^^^^^^^
>>This doesn't look good.  Did you edit this output?
>>
>>
>>>Output from d:\programmer\cygwin\bin\id.exe (ntsec)
>>>UID: ) GID: )
>>
>>^^^^^^^^^^^^^^^^^
>>Ditto
>>
>>
>>
>>
>><snip>
>If I log on as the local administrator I get this:
>Output from d:\programmer\cygwin\bin\id.exe (nontsec)
>UID: 500(Administrator) GID: 544(Administrators)
>544(Administrators)
>
>Output from d:\programmer\cygwin\bin\id.exe (ntsec)
>UID: 500(Administrator) GID: 544(Administrators)
>0(root)                 513(None)
>544(Administrators)     545(Users)
>10545(mkgroup-l-d)
>
>This looks much better, I think.
>
>I still think, this might have something to do, with my security settings.
>When I try to run MKGROUP on the server, as the local admin. I get this
>result:
>$ mkgroup -d
>NetGroupEnum() failed with 1326
>
>And the mkpasswd command:
>$ mkpasswd -d -u las -p /home
>mkpasswd: [1326] Logon failure: unknown user name or bad password.
>
>The way I have been making those 2 files, is I've run the commands on my
>workstation, and copied them to the server (they are on the same domain).
>


So it looks like the user you're running as can't access the domain on 
the server.  I seem to recall a hazy memory of some problems with 
this in the past but I can't find a reference.  Anyway, that does sound
like a local (server machine) security configuration issue like you said.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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