delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/25/18:54:31

X-Spam-Check-By: sourceware.org
Message-ID: <44C6A114.2020304@cygwin.com>
Date: Tue, 25 Jul 2006 18:54:12 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060112 Fedora/1.5-1.fc4.remi Thunderbird/1.5 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: MS Windows 2k3 domain users issue
References: <599515fa0607251506t38ecf38aga64d95f8db8c3ea6 AT mail DOT gmail DOT com>
In-Reply-To: <599515fa0607251506t38ecf38aga64d95f8db8c3ea6@mail.gmail.com>
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

MyStiC wrote:
>> From: "Larry Hall (Cygwin)"
>> It's not clear whether your '/etc/groups' file is up-to-date on your XP
>> machine.  Try running 'mkgroup -l -d >/etc/group'.  If you have trouble
> 
> XP machine is at my office and the w2k3 server is at my residence.
> The 'etc/group' file on the XP box was build local to the machine and
> the domain it is connected to as well as the password file.  According
> to the documentation I've seen on this, the client side (connecting
> from) 'group & passwd' files do not 'participate' in the
> authentication to the server.  That the 'server side' is unable to
> properly validate the incoming client credentials against the 'server
> side' '/etc/group & /etc/passwd' files.


So you're saying that the user you're connecting to your server with is
in the '/etc/passwd' file on the server and that the '/etc/group' on
that server contains the group specified in the '/etc/passwd' for that
user?


>> doing this, check if you need to specify your domain as well.
> 
> Example of SSH connection process:
> SSH ssh_server_domain_name -l username
> 
> adding the @ and domain behind the username also does not work.
> Administrators have no problem connecting, but no other users can.


My reference to the domain was relative to generating proper '/etc/passwd'
and '/etc/group' files on your server for the users in question.  See
'man mkpasswd' and 'man mkgroup'.

Can a non-domain user connect?  Sounds to me like this is a permissions
issue.  Have you checked that Cygwin thinks the user has access to his/her
home directory, etc?

You may also find it useful to run a version of the server with
verbosity/debugging turned on so you can see any messages that may get
generated.  It's often helpful in these cases.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (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