Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 12 Jul 2002 09:16:27 +0200 From: Corinna Vinschen To: Cygwin Subject: Re: cron and NT domains Message-ID: <20020712091627.B10982@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: Cygwin References: <20020711172057 DOT GE1852 AT tishler DOT net> <20020711164840 DOT B1660 AT SmartSC DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020711164840.B1660@SmartSC.com> User-Agent: Mutt/1.3.22.1i On Thu, Jul 11, 2002 at 04:48:40PM -0700, David MacMahon wrote: > On Thu, Jul 11, 2002 at 01:20:57PM -0400, Jason Tishler wrote: > > Do you have an entry for your login domain? If not, add one. If so, > > then I don't know how to help you more. > > Yes, I have an entry for my login domain ID. Without this, I can't > login via telnet/ftp (I think). One other interesting piece of info is > that mkpasswd fails when listing my login domain, but when listing my > PC's domain. When listing my login domain, I get a message something like > "mkpasswd: [5] Access is denied." I'm not at work today, so I can't > verify that until tomorrow, but that's the basic concept. Are you able to request just your own account as in mkpasswd -g -u ? I assume your servers are running a active directory domain? It's possible that your admin(s) did restrict access to the network managment functionality so that could be a reason you're unable to get that info. If so, create a /etc/passwd entry by hand. It should look like jatis:::U-PALO-ALTO\JATIS,:/home/jatis:/bin/bash How to get the SID? Just look into the registry: ls -l /proc/registry/HKEY_USERS There are two registry keys begining with S-1-5-21-. Use the one w/o the trailing "_Classes". Use the last number as uid. Enter 10513 as gid. Edit /etc/group. Add or modify a group 10513: domusers::10513: As SID use the same as for your user entry, except for the last number in the SID, which you have used for your uid. Replace it by 513. Example: $ ls -l /proc/registry/HKEY_USERS total 0 dr-xr-x--- 14 root SYSTEM 0 Jun 30 16:34 S-1-5-21-1844237615-436374069-1060284298-1003 dr-xr-x--- 1 root SYSTEM 0 Feb 24 17:25 S-1-5-21-1844237615-436374069-1060284298-1003_Classes ==> /etc/passwd: jatis:1003:10513:U-PALO-ALTO\JATIS,S-1-5-21-1844237615-436374069-1060284298-1003:/home/jatis:/bin/bash ==> /etc/group: domusers:S-1-5-21-1844237615-436374069-1060284298-513:10513: Perhaps that helps, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/