[Demi-devel] Concept code up

Guido Trotter ultrotter@debian.org
Mon, 16 Feb 2004 14:28:43 +0100


On Mon, Feb 16, 2004 at 09:55:16PM +1000, Andrew Pollock wrote:

Hi,

> We can certainly factor this in. It does go against the initial security
> model I have in mind, in that it must work in an environment where the
> demi-server is in a segment that doesn't allow direct inbound (like where I
> work). So this automatic registration functionality is going to have to be
> optional.
>  

Of course! It can be structured like:

$reg = "Would you like to register this machine to a demi server?" (yes/no)

if $reg == "yes":

	$server = "What server would you like to register to?" (string)

	$pass = "What's the password for registering to this demi server?" (password)

	register($server,$pass);

else:

	"You'll need to register the machine directly on your server in order to
	make demi work. Please follow the instructions on your server to do that."

endif;


> Sure. I'm worried that I'm going to start making the whole thing too
> complicated before it gets off the ground though. I'm trying to think of
> ways to future-proof things, but I dare say we're going to have to break
> backwards compatibility as we go along to introduce new features.
> 

Well, maybe we can leave LDAP support for later... And also it would be
better to implement it only on the server side, leaving the registration
process working only through http/https, so the client doesn't need to know
what backend the server uses...

Thanks,

Guido