public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: "Pierre A. Humblet" <Pierre.Humblet@ieee.org>
To: <cygwin-apps@cygwin.com>
Subject: Re: base-[files|password] for 1.7
Date: Tue, 29 Jul 2008 14:35:00 -0000	[thread overview]
Message-ID: <00da01c8f188$53ba3e60$880410ac@wirelessworld.airvananet.com> (raw)
In-Reply-To: <20080729094644.GR29031@calimero.vinschen.de>


----- Original Message ----- 
From: "Corinna Vinschen" 
To: <cygwin-apps@cygwin.com>
Sent: Tuesday, July 29, 2008 5:46 AM
Subject: Re: base-[files|password] for 1.7


| On Jul 28 14:55, Pierre A. Humblet wrote:
| > Looks like without argument the new mk{passwd/group} will dump the entire
| > passwd/group from the domain server. Some companies have tens of thousands
| > of names and that's why they weren't called with -l -d by default but with -l -c
| > 
| > The -c switch would only create an entry for the current user or the current primary group
| > WITHOUT contacting the domain server. mkpasswd could do a good job for passwd
| > using only local info but mkgroup could not find the group name, so it was
| > calling it "mkgroup-l-d" .
| 
| I thought it's a good idea to have the domain by default.  It's a bit
| strange that a machine is running in a domain but as soon as another
| user logs in, the passwd and possibly group information for this user
| is missing.

Well yes, I don't recall what the complaints were about.
Perhaps long delays.
But it caused problems to NEW cygwin users installing for the first
time and without visibility or knowledge into what's happening.

| Even if we drop back to using mkpasswd -l -c, I don't think it makes
| sense to run mkgroup in a domain environment without fetching all
| domain groups.

Agreed, but it's done under user control.

| > The new mkgroup also has a -c option, which  gets the current primary
| > group name.  That's great, but does it contact the server? If so, how
| 
| No.  The -c options only open the user token and fetch the name
| information from a call to LookupAccountName(NULL, ...).  Since the
| user information for the current user is cached on the local machine,
| there's no server access.

Great. I am surprised we didn't do that before if it worked then.

| > does it behave when a domain user installs cygwin while not connected
| > to the domain server? That case generated complaints in the past.
| 
| Not for -c, but in the default case it will take some time until it
| times out and won't print the domain groups.  Since that's only an
| actual issue at installation time, where's the problem?

Not sure what the old complaints were about...
Do you expect the user and primary group to be put in passwd/group in that case?
 
| > I also noticed that the new mkpasswd -c does not put a guess about the full user name
| > in the comment field
| > old -c:
| > p-humblet:unused_by_nt/2000/xp:11068:11031:p-humblet,U-W...
| > new -c
| > p-humblet:unused:11068:11031: U-W...         <== no p-humblet
| > {old,new} -d
| > p-humblet:unused:11068:11031:Pierre Humblet,U-W...
| 
| Why do you need that?  

No idea why it was done like that in the first place :)
Does it work for domain users in absence of a server?

Pierre

  reply	other threads:[~2008-07-29 14:35 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-17 15:53 New Cygwin 1.7.0-18 in release-2 Corinna Vinschen
2008-07-18  0:18 ` Eric Blake
2008-07-18  7:33   ` Corinna Vinschen
2008-07-18  7:53     ` Corinna Vinschen
2008-07-18  8:08       ` Corinna Vinschen
2008-07-18 12:07         ` Corinna Vinschen
2008-07-22 21:19           ` Corinna Vinschen
2008-07-18 16:37 ` Marco Atzeri
2008-07-18 17:08   ` Corinna Vinschen
2008-07-18 17:56     ` Christopher Faylor
2008-07-18 18:18       ` Corinna Vinschen
2008-07-18 23:59         ` Brian Dessent
2008-07-19 10:15         ` Marco Atzeri
2008-07-18 19:29 ` Bill Hoffman
2008-07-19 12:24   ` Corinna Vinschen
2008-07-19 14:16 ` Cygwin 1.7.0-19 (was Re: New Cygwin 1.7.0-18 in release-2) Corinna Vinschen
2008-07-22 17:42   ` Cygwin 1.7.0-20 (was Re: Cygwin 1.7.0-19 (was Re: New Cygwin 1.7.0-18 in release-2)) Corinna Vinschen
2008-07-25  8:10     ` Corinna Vinschen
2008-07-25 11:00       ` 1.7.0-21 broken Corinna Vinschen
2008-07-25 18:08         ` Corinna Vinschen
2008-07-28 14:52     ` base-[files|password] for 1.7 (was Re: Cygwin 1.7.0-20 (was Re: Cygwin 1.7.0-19 (was Re: New Cygwin 1.7.0-18 in release-2))) John Morrison
2008-07-28 15:27       ` Corinna Vinschen
2008-07-28 16:34         ` base-[files|password] for 1.7 John Morrison
2008-07-29  9:32           ` Corinna Vinschen
2008-07-29 11:50             ` Eric Blake
2008-07-28 18:56         ` Pierre A. Humblet
2008-07-29  9:45           ` Corinna Vinschen
2008-07-29 14:35             ` Pierre A. Humblet [this message]
2008-07-29 14:53               ` Corinna Vinschen
2008-07-29 16:24                 ` Pierre A. Humblet
2008-07-29 22:22                   ` Pierre A. Humblet
2008-07-30  9:14                     ` Corinna Vinschen
2008-07-28 19:00         ` base-[files|password] for 1.7 (was Re: Cygwin 1.7.0-20 (was Re: Cygwin 1.7.0-19 (was Re: New Cygwin 1.7.0-18 in release-2))) Christopher Faylor
2008-07-29 11:37         ` Eric Blake
2008-07-29 11:56           ` John Morrison
2008-07-29 12:01             ` base-[files|password] for 1.7 Eric Blake
2008-07-29 12:28               ` Corinna Vinschen
2008-07-29 14:31                 ` Christopher Faylor
2008-07-29 14:56                   ` Corinna Vinschen
2008-07-29 16:18                     ` John Morrison
2008-07-29 18:00                       ` Christopher Faylor
2008-07-30  1:39                         ` Christopher Faylor
2008-07-30  9:22                           ` Corinna Vinschen
2008-07-30 15:20                             ` Christopher Faylor
2008-07-30 17:39                               ` Corinna Vinschen
2008-07-21 23:42 ` New Cygwin 1.7.0-18 in release-2 Yaakov (Cygwin Ports)
2008-07-22  9:32   ` Corinna Vinschen
2008-07-23 17:26     ` Yaakov (Cygwin Ports)
2008-07-23 18:00       ` Corinna Vinschen
2008-07-23 20:44         ` John Morrison
2008-07-24  9:08           ` Corinna Vinschen
2008-07-24  9:18             ` John Morrison
2008-07-24  9:26               ` Corinna Vinschen
2008-07-25 10:07           ` Andrew Schulman
2008-07-24  3:45         ` Yaakov (Cygwin Ports)
2008-07-24  9:24           ` Corinna Vinschen
2008-07-24 16:18             ` Yaakov (Cygwin Ports)
2008-07-24 17:46               ` Corinna Vinschen
2008-07-31  6:57 ` Yaakov (Cygwin Ports)
2008-07-31  7:39   ` Corinna Vinschen
2008-07-31  8:28     ` Yaakov (Cygwin Ports)
2008-07-31 11:44       ` Corinna Vinschen
2008-07-31 13:00         ` Charles Wilson
2008-07-31 13:23           ` Corinna Vinschen
2008-07-31 13:31             ` Corinna Vinschen
2008-07-31 14:10               ` Corinna Vinschen
2008-07-31 20:16                 ` Corinna Vinschen
2008-07-31 15:06         ` Yaakov (Cygwin Ports)
2008-07-31 15:41           ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00da01c8f188$53ba3e60$880410ac@wirelessworld.airvananet.com' \
    --to=pierre.humblet@ieee.org \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).