Bug#394886: [Adduser-devel] Bug#394886: adduser does not work if libpam-smbpass is enabled

Stephen Gran sgran at debian.org
Mon Oct 23 22:38:20 UTC 2006

tags 394886 +for-the-rewrite
tags 394886 +patch-appreciated
merge 394886 36019
thanks, bot
This one time, at band camp, Markus Wiederkehr said:
> The reason is that the adduser script invokes groupadd, useradd and passwd,
> in that order. The invocation of passwd fails because the user does not 
> yet exist in the local smbpasswd file. It is necessary to invoke "smbpasswd
> -a -n $user" after useradd but before passwd.
> Please provide some kind of hook that can be used for this purpose. A
> similiar hook would be needed in deluser in order to invoke "smbpasswd
> -x $user" at the right moment.

This is similar to the other "add hooks" features requested, so I am
going to merge this with them for now.

This is going to have to wait for a substantial rewrite.  On the up
side, I have a high level architecture scoped out, and a lot of code
written.  On the downside, life has gotten busier, and I don't see a
chance to finish in the near future.  Maybe I'll dig up the code and
just dump it on svn.d.o for others to have a poke at.

Take care,
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran at debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20061023/8556164d/attachment.pgp

More information about the Adduser-devel mailing list