Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67060 - smbpwman-0.5-r2 (new package)
Summary: smbpwman-0.5-r2 (new package)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: /http://uranus.it.swin.edu.au/~jn/lin...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-10-11 02:07 UTC by chris-gentoo
Modified: 2007-02-03 14:29 UTC (History)
1 user (show)

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


Attachments
smbpwman ebuild (smbpwman-0.5-r2.ebuild,1.39 KB, text/plain)
2004-10-11 02:10 UTC, chris-gentoo
Details
Patch to clean passwords (secure-pwman.patch,2.88 KB, patch)
2004-10-11 02:16 UTC, chris-gentoo
Details | Diff
Fix race condition in clearing passwords (fix-race.patch,4.20 KB, patch)
2004-10-11 02:19 UTC, chris-gentoo
Details | Diff
Create shared library for interaction with daemon (shared-lib.patch,1.02 KB, patch)
2004-10-11 02:20 UTC, chris-gentoo
Details | Diff
Prevent daemon from auto starting (no-auto-start.patch,921 bytes, patch)
2004-10-11 02:21 UTC, chris-gentoo
Details | Diff
Patch to expire cache entries (expire-cache.patch,10.27 KB, patch)
2004-10-11 02:22 UTC, chris-gentoo
Details | Diff
Retry connection to daemon (socket-retry.patch,719 bytes, patch)
2004-10-11 02:23 UTC, chris-gentoo
Details | Diff
Fix locking to prevent multiple daemons from running (fix-lock.patch,1.53 KB, patch)
2004-10-11 02:23 UTC, chris-gentoo
Details | Diff
Patch to enable debugging (debug.patch,954 bytes, patch)
2004-10-11 02:24 UTC, chris-gentoo
Details | Diff
init.d script (smbpwman.rc6,470 bytes, text/plain)
2004-10-11 02:25 UTC, chris-gentoo
Details
Cron job to flush the cache (flush-smbpwman.cron,118 bytes, text/plain)
2004-10-11 02:26 UTC, chris-gentoo
Details
Fixed smbpwman ebuild (smbpwman-0.5-r2.ebuild,1.41 KB, text/plain)
2004-10-11 02:28 UTC, chris-gentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chris-gentoo 2004-10-11 02:07:27 UTC
smbpwman is a password caching daemon (or more simply it just caches keys and values). Originally written for automatic mounting of samba shares at any time.
I've created a patched version of pam_mount that makes use of this to work around a problem when using openssh (see bug #24213). Also attached are patches that I used on smbpwman for this purpose to reduce the time it cached passwords for and to have it clean the memory containing passwords before it deallocated it.
Comment 1 chris-gentoo 2004-10-11 02:10:38 UTC
Created attachment 41513 [details]
smbpwman ebuild
Comment 2 chris-gentoo 2004-10-11 02:16:51 UTC
Created attachment 41514 [details, diff]
Patch to clean passwords

Patch to overwrite passwords in memory with 0's before freeing the memory
Comment 3 chris-gentoo 2004-10-11 02:19:11 UTC
Created attachment 41515 [details, diff]
Fix race condition in clearing passwords

Patch to fix race condition by introducing reference counter.
Add some debugging ability
Comment 4 chris-gentoo 2004-10-11 02:20:22 UTC
Created attachment 41516 [details, diff]
Create shared library for interaction with daemon
Comment 5 chris-gentoo 2004-10-11 02:21:10 UTC
Created attachment 41517 [details, diff]
Prevent daemon from auto starting
Comment 6 chris-gentoo 2004-10-11 02:22:18 UTC
Created attachment 41518 [details, diff]
Patch to expire cache entries

Patch to expire cache entries after 2 seconds
Comment 7 chris-gentoo 2004-10-11 02:23:06 UTC
Created attachment 41519 [details, diff]
Retry connection to daemon
Comment 8 chris-gentoo 2004-10-11 02:23:48 UTC
Created attachment 41520 [details, diff]
Fix locking to prevent multiple daemons from running
Comment 9 chris-gentoo 2004-10-11 02:24:21 UTC
Created attachment 41521 [details, diff]
Patch to enable debugging
Comment 10 chris-gentoo 2004-10-11 02:25:23 UTC
Created attachment 41522 [details]
init.d script
Comment 11 chris-gentoo 2004-10-11 02:26:13 UTC
Created attachment 41523 [details]
Cron job to flush the cache
Comment 12 chris-gentoo 2004-10-11 02:28:37 UTC
Created attachment 41524 [details]
Fixed smbpwman ebuild

Fixed to prevent installation of cron job for vanilla builds, and fixed some
white space problems.
Comment 13 Wolfram Schlich (RETIRED) gentoo-dev 2006-01-11 05:44:11 UTC
I would also like to have that in Portage.
Current version is 0.6.
Should we reassign it to maintainer-wanted@gentoo.org?
Comment 14 Christian Andreetta (RETIRED) gentoo-dev 2006-02-01 08:56:22 UTC
Yes, I think it is better to reassign to maintainer-wanted@g.o
If anyone volunteers :-)
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2007-02-03 14:29:59 UTC
No way we are adding an ebuild that requires zillions of patches to work. Reopen with an updated ebuild if upstream fixed those meanwhile and is still alive.

WONTFIX meanwhile.