Patch: add spn manipulation to net command

Matthieu Patou mat at
Mon Jun 28 05:43:16 MDT 2010

  On 28/06/2010 14:32, Stefan (metze) Metzmacher wrote:
> Hi Matthieu,
>> This patch add the spn manipulation to net in order to be able to do
>> some stuff that setspn is also able.
>> Manipulating spn is really helpful when you start to use kerberized
>> service (http, ssh, ...).
>> Patch is located at:
> why does net spn delete doesn't take the user name?
Because it search for all the spns the one that we want to remove ? 
unless one SPN can be affected to more than 1 "user" (but I don't 
understand how the KDC find the good user when a ticket for this spn is 
requested then).

> +class cmd_spn_list(Command):
> +    """Create a new spn."""
> +    synopsis = "%prog spn add<name>  <user>"
> synopsis doesn't match the command
Oups cut'n paste.

Matthieu Patou
Samba Team

More information about the samba-technical mailing list