source: trunk/LATMOS-Accounts/man/man8/latmos-accounts-base-sql.pod @ 1508

Last change on this file since 1508 was 1508, checked in by nanardon, 9 years ago

Add a configurable delay to allow between two employment

File size: 3.1 KB
Line 
1# $Id$
2
3=head1 DESCRIPTION
4
5=head1 SPECIFIC SETUP PARAMTERS
6
7=head2 db_conn
8
9The C<libpq> connection parameters, eg a semin colon separated paramaters
10containing the server, the database name, user and password, etc...
11
12=head1 FEATURES
13
14=head2 Network managment
15
16Link::Accounts can build automatically some part of your DNS or DHCP
17configuration.
18
19To do this you have to create a C<netzone> object. Such object need a type:
20
21=over 4
22
23=item dns: to build a DNS zone for classic domain
24
25=item reverse: for reverse IP address (168.192.in-addr.arpa)
26
27=item dhcp: ISC dscpd configuration for fixed address
28
29=item puppet: puppet configuration
30
31=back
32
33The way it works is quite simple, each zone will make the code to write a file
34you can include in your server configuration. The match is done by looking the
35zone IP address masks and the host IPs.
36
37For example someone having a zone named C<private.mydomain.com> having masks
38C<192.168.5.0/24>, and having an host named C<foo> with IP C<192.168.5.3> and
39another host C<bar> with IP C<192.168.13.78>. The zone built will look likes:
40
41    foo IN A 192.168.5.3
42
43As you can see this DNS zone is not valid: the goal of such feature is to make
44the repetive work for us, not to manage the full zone (even such feature could
45be possible). The repetitive work is declaring the hundred computers our users
46have.
47
48The output will be happend to a template have the name of the zone suffixed by
49C<.in>. You can put in this template evering about the zone declaration (SOA,
50NS, TXT...).
51
52=head2 User endcircuit
53
54The C<endcircuit> attribute contain the deadline for people to make
55admnistrative task when starting to work.
56If set this attribute take precedence to C<expire> attribute for computed
57attributes (C<accountExpires> for Active Directory).
58
59=head2 User endEmployment
60
61THis attribute compute the next day the user will leave the company according
62the employment object registered.
63
64The parameter C<employment_delay> give the number of days to ignore when a hole
65exists between two employment
66
67=head2 Group AutoMemberFilter
68
69Group objects contains users members by setting either C<members> or
70C<memberUID> attributes.
71
72Sometimes it can be usefull to have group automatically populated by arbitrary
73rules.
74
75This is possible by setting a filter in the C<autoMemberFilter> attribute,
76The filter format is the same the one used by L<la-search>, the attribute is
77multivaluable.
78
79So for example one can create an account automatically a group containing people
80having "Olivier" as first name:
81
82    autoMemberFilter: givenBame=Olivier
83
84A probably more usefull example is a group containing people from two others
85groups:
86
87    autoMemberFilter: memberOf=group1
88    autoMemberFilter: memberOf=group2
89
90The  C<members> or C<memberUID> attribute becomes read-only attribute once
91C<autoMemberFilter> attribute is set.
92
93=head2 Aliases AutoMemberFilter
94
95This attribute allow to create automatics dynamics aliases according filter
96rules exactly like L<Group AutoMemberFilter> works.
97
98The C<forward> attributes is automatically set with email address of selected
99user, user w/o email address are ignored.
Note: See TracBrowser for help on using the repository browser.