Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67060

Summary: smbpwman-0.5-r2 (new package)
Product: Gentoo Linux Reporter: chris-gentoo
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: wschlich
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: All   
URL: /http://uranus.it.swin.edu.au/~jn/linux/smbfs/index.html#smbpwman
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: smbpwman ebuild
Patch to clean passwords
Fix race condition in clearing passwords
Create shared library for interaction with daemon
Prevent daemon from auto starting
Patch to expire cache entries
Retry connection to daemon
Fix locking to prevent multiple daemons from running
Patch to enable debugging
init.d script
Cron job to flush the cache
Fixed smbpwman ebuild

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.