Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33529 - chntpw -- change nt password
Summary: chntpw -- change nt password
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Troy Dack
URL: http://home.eunet.no/~pnordahl/ntpasswd/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-14 19:52 UTC by Daniel Fullmer
Modified: 2004-09-19 17:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild (chntpw-0.99.1.ebuild,740 bytes, text/plain)
2003-11-14 19:53 UTC, Daniel Fullmer
Details
patch (chntpw-source-030126-gentoo.diff,1.29 KB, patch)
2003-11-14 19:54 UTC, Daniel Fullmer
Details | Diff
chntpw-0.99.1.ebuild (chntpw-0.99.1.ebuild,772 bytes, text/plain)
2003-11-17 14:01 UTC, Daniel Fullmer
Details
chntpw-0.99.1.030126.ebuild (chntpw-0.99.1.030126.ebuild,538 bytes, text/plain)
2004-01-16 13:37 UTC, Daniel Fullmer
Details
chntpw-0.99.1.030126.diff (chntpw-0.99.1.030126.diff,1.45 KB, patch)
2004-01-16 13:37 UTC, Daniel Fullmer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Fullmer 2003-11-14 19:52:28 UTC
Hey,

This is my first attempted ebuild. chntpw enables you to view information and change user passwords in a Windows NT SAM userdatabase file.

chntpw homepage - http://home.eunet.no/~pnordahl/ntpasswd/

attached is my ebuild and a patch that will compile it without changing the Makefile.

<lsmod@hotmail.com> Daniel Fullmer
Comment 1 Daniel Fullmer 2003-11-14 19:53:44 UTC
Created attachment 20765 [details]
ebuild
Comment 2 Daniel Fullmer 2003-11-14 19:54:24 UTC
Created attachment 20767 [details, diff]
patch
Comment 3 Daniel Fullmer 2003-11-15 15:43:51 UTC
typo
>attached is my ebuild and a patch that will compile it without changing the Makefile.
attached is my ebuild and a patch that will compile it by changing the Makefile.
Comment 4 Daniel Fullmer 2003-11-17 14:01:33 UTC
Created attachment 20875 [details]
chntpw-0.99.1.ebuild

added a line of "sed" to enable CFLAGS in the make.conf
Comment 5 Daniel Fullmer 2003-11-17 14:07:52 UTC
Anyway, i was wondering how i would define the version number on this ebuild. Portage doesn't like chntpw-0.99.1-030126.ebuild which i what i think it really should be.

chntpw version 0.99.1 030126, (c) Petter N Hagen

Any comments on how the version number should be.
Comment 6 Daniel Fullmer 2003-11-21 17:30:40 UTC
another typo...
>added a line of "sed" to enable CFLAGS in the make.conf
added a line of "sed" to enable CFLAGS in the Makefile

:-)
Comment 7 Daniel Fullmer 2004-01-16 13:37:15 UTC
Created attachment 23945 [details]
chntpw-0.99.1.030126.ebuild

Well, now that i have a little more experiance with making ebuilds, i remade my
old chntpw ebuild. The new ebuild is a lot cleaner than the old one.

Anyway, i was wondering what was up with line 108 of chntpw.c. I have no idea
what the author is trying to do here, as des_set_odd_parity is already defined
in des.h. I just removed the line to make it compile, and the program seems to
work. (don't know how my old ebuild even worked because of this line. maybe
it's because i had an older gcc than i do now)
Comment 8 Daniel Fullmer 2004-01-16 13:37:45 UTC
Created attachment 23946 [details, diff]
chntpw-0.99.1.030126.diff
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-09-19 17:20:28 UTC
I didn't find this bug before, so I've done up by own ebuild for the latest version and placed it in the tree.