samba-tool user setexpiry with filter

Sean Dague sdague at
Fri Oct 28 12:08:37 MDT 2011

Through expanding the unit tests I've found that setexpiry with a filter 
fails if the filter matches more than one user, which seems odd to me. I 
would have expected that the use of a filter here was to expire all the 
accounts at a branch office, or similar.

Question: is it expected behavior? should this only work with filters 
that return a singleton?

If not, I can fix it to handle the multi user case.


Sean Dague
IBM Linux Technology Center
email: sldague at
alt-email: sdague at

More information about the samba-technical mailing list