delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/10/10:49:48

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 10 Aug 2012 16:48:44 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: mkpasswd with domain gives The security database is corrupted error
Message-ID: <20120810144844.GH7317@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20120810T002948-294 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20120810T002948-294@post.gmane.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Aug  9 22:37, Orion Poplawski wrote:
> Fresh install of cygwin 1.7.16 on Windows Server 2008 R2.  Trying to add my
> domain users to /etc/passwd, but when I run mkpasswd I get (somewhat obfuscated):
> 
> $ mkpasswd -l -d CO-RA
> SYSTEM:*:18:544:,S-1-5-18::
> LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19::
> NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20::
> Administrators:*:544:544:,S-1-5-32-544::
> TrustedInstaller:*:4294967294:4294967294:U-NT
> SERVICE\TrustedInstaller,S-*::
> Administrator:unused:500:513:U-FONT3\Administrator,S-*
> Guest:unused:501:513:U-FONT3\Guest,S-*:/home/Guest:/bin/bash
> sgeadmin:unused:1000:513:U-FONT3\sgeadmin,S-*:/home/sgeadmin:/bin/bash
> mkpasswd (374): [2247] The security database is corrupted.
> 
> That message led me to trying to check the status to the secedit.sdb database
> with esentutl but that checks out okay.

The error message is a result of an error returned from a simple call to
the Windows function NetUserEnum.  I have no idea what's causing this.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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