522c2d338cf63a11f00ddfcf9007a51e583dc699
[xmppcentral.git] / design / beginnings
1 where to being
2 ==============
3
4 lets start with the system management server.
5
6 to begin with, when installed the sms will ask which xmpp server to talk to. (server needs conference capabilities).
7
8 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".
9 This service is basically responsible for arbitrating interactions with the server. if the server is "localhost" it'll also try and be the
10 system@domain/super user which means its essentially responsible for "everything" in its domain (i.e. the local machine). Think of it like
11 an active directory server.
12
13 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
14 stuff. the system@domain/super will be the thing other machines will talk to if they connect to that host.
15
16 there will also be a user created called root@domain which will be how people "join" the domain.
17
18 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
19
20 on multi-machine domains, things get blah blah