LDAP/ObjectClass/PosixAccount.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« LDAP/ObjectClass/Person.pm ↑ Summary LDAP/ObjectClass/PosixGroup.pm »
1 package App::LDAP::ObjectClass::PosixAccount;
2  
3 4 ▶use Modern::Perl;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 4 extends qw(App::LDAP::ObjectClass::Top);
8  
9 4 has cn => (
10 is => "rw",
11 isa => "ArrayRef[Str]",
12 required => 1,
13 );
14  
15 4 has [qw(uid uidNumber gidNumber homeDirectory)] => (
16 is => "rw",
17 isa => "Str",
18 required => 1,
19 );
20  
21 4 has [qw(userPassword loginShell gecos description)] => (
22 is => "rw",
23 isa => "Str",
24 );
25  
26 4 __PACKAGE__->meta->make_immutable;
27 4 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
28  
29 4 1;
30  
31 =pod
32  
33 =head1 NAME
34  
35 App::LDAP::ObjectClass::PosixAccount - schema of posixAccount
36  
37 =head1 DEFINITION
38  
39 objectclass (
40 1.3.6.1.1.1.2.0
41 NAME 'posixAccount'
42 DESC 'Abstraction of an account with POSIX attributes'
43 SUP top
44 AUXILIARY
45 MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
46 MAY ( userPassword $ loginShell $ gecos $ description )
47 )
48  
49 =cut
50  
« LDAP/ObjectClass/Person.pm ↑ Summary LDAP/ObjectClass/PosixGroup.pm »