gecos from AD? (was Re: timeout in LDAP access)
Denis Excoffier
cygwin@Denis-Excoffier.org
Tue Jun 17 23:07:00 GMT 2014
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
More information about the Cygwin
mailing list