source: trunk/LATMOS-Accounts/man/man8/latmos-accounts.pod

Last change on this file was 2320, checked in by nanardon, 5 years ago

Add LA_ACL_DEBUG env. var.

  • Property svn:keywords set to Id
File size: 6.4 KB
Line 
1# $Id$
2
3=head1 NAME
4
5    Link::Accounts - A multiple accounts base management and synchronisation
6    system
7
8=head1 GENERALITY
9
10=head2 HISTORY
11
12Link::Accounts is born with the need to have same set of groups and users in
13multiples accounts bases:
14
15=over 4
16
17=item OpenLDAP
18
19Standard ldap base w/o any change on basis schema
20
21=item Active Directory
22
23The domain management system for windows. Active Directory is a solution
24including LDAP, Kerberos, Smb protocol and a graphic interface to configure it.
25
26=item Unix file
27
28Standard users base under Unix system, also used for C<NIS>/C<YP> system.
29
30=item Kerberos/Heimdal
31
32Remote access to Kerberos base.
33
34=back
35
36=head2 WORKFLOW
37
38C<Link::Accounts> is made of three components:
39
40=over 4
41
42=item L</Bases>
43
44=item L</Objects>
45
46=item L</Attributes>
47
48=back
49
50=head3 Bases
51
52A base module provide the common way to access a set of data. Usually a base is
53accessed remotely trought a network connection but always.
54
55In an ideal world, all base can be synchronised over another one.
56
57Each data inside a base is represented as objects of differents type. The most
58common type are for sure C<user> and C<group>.
59
60=head3 Objects
61
62Inside a base the objects is the unbreakble subset of data.
63
64Each object are identified uniquely by both a type and an identifier on the
65C<LATMOS::Accounts> side. This mean two object of different type can have the
66same id.
67
68On the other hand the identifier must allow to identify uniquelly the object
69inside the base.
70
71For example in C</Unix file> base each line of F<passwd> is a C<user> object and
72the login is the uniq identifier.
73
74The couple object type/identifier must also allow to find common objects through
75differents bases.
76
77=head3 Attributes
78
79The attributes is the basic data storage for an object.
80
81Each attribute have a name and normally a specific usage, even through base.
82
83Attributes may have different behavior, depending their definition and base
84constraint:
85
86=over 4
87
88=item single or multiple value
89
90=item limited possible values
91
92=item reference to others objects
93
94=back
95
96=head1 CONFIGURATION
97
98All configuration files listed bellow must be stored in the same directory.
99
100By default this directory is F</etc/latmos-accounts>.
101
102It can be overload by setting envirronment variable C<LA_CONFIG>.
103
104=head2 Configuration files list
105
106=over 4
107
108=item latmos-accounts.ini
109
110Bases and synchronisations definitions.
111
112See L<latmos-accounts.ini>
113
114=item la-allowed-values.ini
115
116Attributes values allowed.
117
118See L<la-allowed-values.ini>
119
120=item la-sync-manager.ini
121
122The setup of L<la-sync-manager>, the daemon in charge of pushing values from
123primary base to others.
124
125See L<la-sync-manager.ini>
126
127=item la-acls.ini
128
129Access list configuration, used by Web application
130
131See L<la-acls.ini>
132
133=item la-sync-list.ini
134
135Configuration of mailing synchronisation module
136
137See L<la-sync-list.ini>
138
139=back
140
141=head1 INPUT FILE
142
143The input file is a list of attribute and value separate by a semi-colon.
144Multi-values attributes must be repeated for each value.
145Attributes not listed are left untouched.
146
147Example:
148
149    sn: Myname
150    givenName: Myfirstname
151
152Some object have related objects, for example C<user> have multiple C<address>
153and C<employment>. It can be usefull to create those object in same time the
154main object.
155
156At creation the related object attributes can given using attribute in form
157C<OTYPE.ATTRIBUTE>.
158
159Example:
160
161    sn: Myname
162    givenName: Myfirstname
163    address.streetAddress: 5th Avenue, 123
164
165Multiple objects of same type can be given a key between C<[]>, this key may
166use any letter C<a-z>, C<A-Z> or number C<0-9>.
167
168    sn: Myname
169    givenName: Myfirstname
170    address[0].streetAddress: 5th Avenue, 123
171    address[aa].streetAddress: 5th Avenue, 123
172
173=head1 TOOLS LIST
174
175The tools listed bellow are availlable to administrate the C<Link::Accounts>
176system.
177
178They are low level tools and are designed to be used system administrator, not
179end user (unlike the web interface).
180
181=head2 Configuration Tools
182
183=over 4
184
185=item la-config
186
187Display configuration information.
188
189L<la-config>
190
191=item la-attributes
192
193Display supported object and attributes.
194
195L<la-attributes>
196
197=item la-log-test
198
199Send message using log functions (for testing purpose)
200
201L<la-log-test>
202
203=item la-acls
204
205Check validity of ACL file (eg L<la-acls.ini>).
206
207See: L<la-acls>
208
209=item la-qacls
210
211Test ACLs permission for given user over given object.
212
213See: L<la-qacls>
214
215=back
216
217=head2 Base Content Tools
218
219=over 4
220
221=item la-cli
222
223Interactive command line interface, include online help, completion, etc...
224
225See L<la-cli>
226
227=item la-create
228
229Create an object into main base.
230
231See L<la-create>
232
233=item la-delete
234
235Delete an object from main base
236
237See L<la-delete>
238
239=item la-edit
240
241Modify object into main base.
242
243See L<la-edit>
244
245=item L<la-expired-reminder>
246
247
248=item L<la-graph.pl>
249
250=item L<la-group>
251
252=item L<la-guser>
253
254=item L<la-passwd>
255
256Change the password of users.
257
258=item L<la-query>
259
260The basic tools to query any database
261
262=item L<la-rename>
263
264Allow to rename an object in all configured base simultaneously, then avoiding
265a deletion  and a creation potentially destructive in some base.
266
267To use carrefully
268
269=item L<la-search>
270
271Search object into base.
272
273=item L<la-sync>
274
275=item L<la-sync-manager>
276
277=item L<la-sync-process>
278
279=item L<la-warn-expire>
280
281=item L<la-test-mail>
282
283=back
284
285=head2 SQL Base Tools
286
287=head3 Common tools
288
289=over 4
290
291=item L<la-sql-freeip>
292
293Return an unallocated IP address from the given DHCP zone.
294
295=back
296
297=head3 Maintenance tools
298
299=over 4
300
301=item L<la-sql-rev>
302
303Give the latest internal revision of the base. The revision is a counter
304increase when database is changed.
305
306=item L<la-sql-upgrade>
307
308Upgrade the schema of the SQL database
309
310=item L<la-sql-crypt-passwd>
311
312Tools to managed the reversible encryptage of passaword.
313
314=item L<la-rename-host>
315
316Rename an network host
317
318=item L<la-sql-exchange-hostname>
319
320Exchange the name between two hosts.
321
322=item L<la-sql-exchange-ip>
323
324Exchange two ip address between different hosts.
325
326=item L<la-sql-find-expired>
327
328=item L<la-sql-edit-form>
329
330=item L<la-sql-list-request>
331
332=item L<la-sql-valid-request>
333
334=back
335
336=head1 ENVIRONMENT VARIABLES
337
338=head2 LA_DEBUG
339
340When set print a lot of debug message
341
342=head2 LA_ACL_DEBUG
343
344Print debug message about ACL processing. LA_DEBUG must be set to see
345ACL messages
346
347=head2 LA_USERNAME
348
349The user UID set into this variable will be used as logged user.
350If set ACL will always be used.
351
352=head2 LA_NO_COMMIT
353
354If set no commit will be done in the database.
355
356=head1 BUGS
357
358=head1 AUTHOR
359
360Olivier Thauvin <olivier.thauvin@latmos.ipsl.fr>
Note: See TracBrowser for help on using the repository browser.