[PATCH] samba-tools: add computer subcommand

Andrew Bartlett abartlet at samba.org
Wed Feb 7 23:18:39 UTC 2018

On Wed, 2018-02-07 at 10:56 +0100, Javier Bahillo via samba-technical
> HI:
> There are actually a number of subcommands which does not look to make 
> much sense for me. Others are fine, and I don't mind at all to reuse the 
> code from the "user" subcommand, but not doing a copy and paste. 
> Specially caught my attention  the "force user to change password at 
> next login" as a computer will not have the ability to do this.
> Therefore I would suggest Joeg to inpect inside each subcommand and 
> think about it and think whether it would be useful for a computer 
> account or not, and to remove the not useful ones
> Just my two cents ;)

Any chance you could help out and cut it down for him?  I would be
great to have a hand getting this in.

Originally this task started as the create/delete task, and in
hindsight that much should have been proposed for comment first. 

I mentioned in the office (rather that on the list, oops) that would
leave a weird situation where the administrator needs to know that
computers really are users too, and to use those subcommands, so why
not try and re-use those.  

The challenge was that simple re-direction didn't work (confusing help,
trailing $) and suddenly this became a big cut/paste job. 

If you could help us cut this down to the parts that makes sense as an
administrator that would be really helpful.

(Joe is on leave, as he mentioned, but I can help land this if we can
all decide what to land...)


Andrew Bartlett
Andrew Bartlett
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   

More information about the samba-technical mailing list