delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/06/17/19:07:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=lBdkcjmK6d2l2UuY77V9Tmcecfp3
7pnjWK6fA6P2rFWa8+PITcX3UR7JW8yBwKPWFWE3FkucAfh6TJZB9fALgt39BkcK
gQJ309G43jPFrRvQjxEK5w3y2vVhWQi+AfprpJdSV3AeO4RPHOiWg1AZdleyJjo4
nNXTGTvVf2/5w50=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=4kknLDCqjSTEcFhGtcyu+eCS0xk=; b=oB
OPKbZGPORFV4XULHYmPJ6i+8zuTGG4C6smob4mZos7ykpdf+CNB88eYO1lbGcxKx
fYjTmmgX6Obncury6CnMBvelAalcCk8913plteVtH6f7Z0noFzjGrf4Uy0zAJ4tl
A/+VpbgXFn1TC8QFmvqBZh+fCDtQ2ZqgCPJzMd1Ew=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: smtp4-g21.free.fr
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\))
Subject: Re: gecos from AD? (was Re: timeout in LDAP access)
From: Denis Excoffier <cygwin AT Denis-Excoffier DOT org>
In-Reply-To: <20140617125154.GR23700@calimero.vinschen.de>
Date: Wed, 18 Jun 2014 01:07:39 +0200
Message-Id: <D37584EE-6FF3-4EDC-8EF9-83CF1BD411AD@Denis-Excoffier.org>
References: <F312783D-AD66-4614-922B-E44403C7E372 AT Denis-Excoffier DOT org> <20140617100011 DOT GL23700 AT calimero DOT vinschen DOT de> <20140617103014 DOT GP23700 AT calimero DOT vinschen DOT de> <20140617125154 DOT GR23700 AT calimero DOT vinschen DOT de>
To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s5HN7tmE015312

On 2014-06-17 14:51, Corinna Vinschen wrote:
> On Jun 17 12:30, Corinna Vinschen wrote:
>> On Jun 17 12:00, Corinna Vinschen wrote:
>>> On Jun 16 22:39, Denis Excoffier wrote:
>>>> Another (unrelated and less important) problem is that 'getent'
>>>> happily produces lines with some extra ‘:’, in particular when the
>>>> gecos field itself contains ‘:’.
>>> 
>>> Wow, that *is* important.  All fields returned from the server have to
>>> get their colons converted to commas.  I'll fix that.
> 
> On second thought, removing colons should only occur for gecos.  The
> other fields shouldn't contain colons anyway since their content has to
> be POSIX-compatible anyway.
> 
> So, either I add code to remove the colons from the gecos field …
This.
> 
> 
>> While we're at it... do we really need the gecos info?  Cygwin fills
>> out this field with the Windows username and SID info for internal
>> purposes, and then adds the gecos info from AD.  However, it's just
>> informational and usually only used by the finger(1) tool.
>> 
>> Shall I just remove fetching the gecos fields from AD entirely?
> 
> ... or that.
Not that.

Denis Excoffier.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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