This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mkpasswd with domain gives The security database is corrupted error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]