X-Git-Url: http://git.pjr.cc/?p=xmppcentral.git;a=blobdiff_plain;f=design%2Fbeginnings;fp=design%2Fbeginnings;h=522c2d338cf63a11f00ddfcf9007a51e583dc699;hp=0000000000000000000000000000000000000000;hb=7a0de3af644102ae8db81bb8e4f800cbf0600ebd;hpb=3e255d4c5f02a9bcfce445503e1cf193d8cf0afe diff --git a/design/beginnings b/design/beginnings new file mode 100644 index 0000000..522c2d3 --- /dev/null +++ b/design/beginnings @@ -0,0 +1,20 @@ +where to being +============== + +lets start with the system management server. + +to begin with, when installed the sms will ask which xmpp server to talk to. (server needs conference capabilities). + +The main server will be the service responce daemon, once server is connected to, it'll try and attach as the user "hostname@domain/system". +This service is basically responsible for arbitrating interactions with the server. if the server is "localhost" it'll also try and be the +system@domain/super user which means its essentially responsible for "everything" in its domain (i.e. the local machine). Think of it like +an active directory server. + +The first task of the sms is to be the manager of xmpp server. So, if its localhost, it'll need to know how to create users/conferences and +stuff. the system@domain/super will be the thing other machines will talk to if they connect to that host. + +there will also be a user created called root@domain which will be how people "join" the domain. + +once a machine has a domain, its then up to the user to connect as a priveledge user (root for eg) then create users and assign them priveledges + +on multi-machine domains, things get blah blah \ No newline at end of file