- config.inc.php :

-> Ajout d'une configuration Multi-niveau utilisant LSeecompany
- LSeecompany :
  -> Refonte
  -> Définition dans le schéma LSexample
- LSldapOject :
  -> container_auto_create : auto création des containers de LSobject dans les
  LSobjects définissant les subDn
  -> Ajout de trigger :
    -> Avant suppression beforeDelete() et après afterDelete()
      -> Gestion des LSrelations définies et ayant une méthode remove_function
      définie
    -> Après la création : afterCreate()
      -> auto création des containers de LSobject dans les LSobjects
      définissant les subDn
- LSldap :
  -> Nouvelle méthode getNewEntry()
  -> méthode getEntry() : utilisation de getNewEntry() en cas de nouvelle entrée
- create.php :
  -> Plus de redirection vers la fiche de l'objet après création si des erreurs
  sont définies.
- LSexample :
  -> Ajout de l'objectClass LSeecompany
  -> Adaptation du fichier ldif
This commit is contained in:
Benjamin Renard 2008-08-06 17:04:03 +00:00
parent 2e67cd7361
commit 5b7570fe12
10 changed files with 620 additions and 81 deletions

View file

@ -22,20 +22,21 @@
$GLOBALS['LSobjects']['LSeecompany'] = array ( $GLOBALS['LSobjects']['LSeecompany'] = array (
'objectclass' => array( 'objectclass' => array(
'top',
'lscompany' 'lscompany'
), ),
'rdn' => 'o', 'rdn' => 'ou',
'container_dn' => 'ou=companies', 'container_dn' => 'ou=companies',
'select_display_attrs' => '%{dc}', 'select_display_attrs' => '%{ou}',
'label' => _('Sociétés'), 'label' => _('Sociétés'),
'attrs' => array ( 'attrs' => array (
'o' => array ( 'ou' => array (
'label' => _('Nom'), 'label' => _('Nom'),
'ldap_type' => 'ascii', 'ldap_type' => 'ascii',
'html_type' => 'text', 'html_type' => 'text',
'required' => 1, 'required' => 1,
'check_data' => array ( 'check_data' => array (
'alphanumeric' 'alphanumeric' => NULL
), ),
'view' => 1, 'view' => 1,
'rights' => array( 'rights' => array(
@ -43,15 +44,15 @@ $GLOBALS['LSobjects']['LSeecompany'] = array (
'admin' => 'w' 'admin' => 'w'
), ),
'form' => array ( 'form' => array (
'modify' => 1, 'modify' => 0,
'create' => 1 'create' => 1
) )
), ),
'dc' => array ( 'description' => array (
'label' => _('Domaine'), 'label' => _('Description'),
'ldap_type' => 'ascii', 'ldap_type' => 'ascii',
'html_type' => 'text', 'html_type' => 'textarea',
'required' => 1, 'required' => 0,
'rights' => array( 'rights' => array(
'user' => 'r', 'user' => 'r',
'admin' => 'w' 'admin' => 'w'

View file

@ -27,6 +27,15 @@ $GLOBALS['LSobjects']['LSeegroup'] = array (
), ),
'rdn' => 'cn', 'rdn' => 'cn',
'container_dn' => 'ou=groups', 'container_dn' => 'ou=groups',
'container_auto_create' => array(
'objectclass' => array(
'top',
'organizationalUnit'
),
'attrs' => array(
'ou' => 'groups'
)
),
'select_display_attrs' => '%{cn}', 'select_display_attrs' => '%{cn}',
'label' => _('Groupes'), 'label' => _('Groupes'),
'attrs' => array ( 'attrs' => array (

View file

@ -29,6 +29,15 @@ $GLOBALS['LSobjects']['LSeepeople'] = array (
), ),
'rdn' => 'uid', 'rdn' => 'uid',
'container_dn' => 'ou=people', 'container_dn' => 'ou=people',
'container_auto_create' => array(
'objectclass' => array(
'top',
'organizationalUnit'
),
'attrs' => array(
'ou' => 'people'
)
),
'before_save' => 'valid', 'before_save' => 'valid',
'after_save' => 'valid', 'after_save' => 'valid',
'select_display_attrs' => '%{cn}', 'select_display_attrs' => '%{cn}',

View file

@ -128,6 +128,18 @@ $GLOBALS['LSerror_code'] = array (
'msg' => _("LSldapObject : Erreur durant les actions après renomage."), 'msg' => _("LSldapObject : Erreur durant les actions après renomage."),
'level' => 'c' 'level' => 'c'
), ),
38 => array (
'msg' => _("LSldapObject : Erreur durant les actions avant suppression."),
'level' => 'c'
),
39 => array (
'msg' => _("LSldapObject : Erreur durant les actions après suppresion."),
'level' => 'c'
),
40 => array (
'msg' => _("LSldapObject : Erreur durant les actions après la création. L'objet est pour autant créé."),
'level' => 'c'
),
// LSattribute // LSattribute
41 => array ( 41 => array (

View file

@ -60,8 +60,7 @@ $GLOBALS['LSconfig'] = array(
'authobject_pwdattr' => 'userPassword', 'authobject_pwdattr' => 'userPassword',
'LSaccess' => array( 'LSaccess' => array(
'LSeepeople', 'LSeepeople',
'LSeegroup', 'LSeegroup'
'LSeecompany'
), ),
'recoverPassword' => array( 'recoverPassword' => array(
'mailAttr' => 'mail', 'mailAttr' => 'mail',
@ -76,7 +75,78 @@ $GLOBALS['LSconfig'] = array(
'msg' => "Votre nouveau mot de passe : %{mdp}" 'msg' => "Votre nouveau mot de passe : %{mdp}"
) )
), ),
'emailSender' => 'noreply@lsexample.net' 'emailSender' => 'noreply@lsexample.net',
'LSobjects' => array (
'LSeepeople',
'LSeegroup'
)
),
array (
'name' => 'LSexample - multi-sociétés',
'ldap_config'=> array(
'host' => '127.0.0.1',
'port' => 389,
'version' => 3,
'starttls' => false,
'binddn' => 'uid=ldapsaisie,ou=sysaccounts,o=ls',
'bindpw' => 'toto',
'basedn' => 'o=ls',
'options' => array(),
'filter' => '(objectClass=*)',
'scope' => 'sub'
),
'LSadmins' => array (
'o=ls' => array (
'uid=eeggs,ou=people,o=ls' => NULL,
'cn=adminldap,ou=groups,o=ls' => array (
'attr' => 'uniqueMember',
'LSobject' => 'LSeegroup'
)
)
),
'authobject' => 'LSeepeople',
'levelLabel' => _('Société'),
'subDn' => array(
'== Toutes ==' => array(
'dn' => 'o=ls',
'LSobjects' => array(
'LSeepeople',
'LSeegroup',
'LSeecompany'
)
),
'LSobject' => array(
'LSeecompany' => array(
'LSobjects' => array(
'LSeepeople',
'LSeegroup'
)
)
)
),
'cacheLSrights' => true,
'cacheSearch' => true,
'authobject_pwdattr' => 'userPassword',
'recoverPassword' => array(
'mailAttr' => 'mail',
'passwordAttr' => 'userPassword',
'recoveryHashAttr' => 'lsRecoveryHash',
'recoveryEmailSender' => 'noreply-recover@lsexample.net',
'recoveryHashMail' => array(
'subject' => 'LSexample : Récupération de votre mot de passe.',
'msg' => "Pour poursuivre le processus de récupération de votre mot de passe,\nmerci de cliquer de vous rendre à l'adresse suivante :\n%{url}"
),
'newPasswordMail' => array(
'subject' => 'LSexample : Votre nouveau mot de passe.',
'msg' => "Votre nouveau mot de passe : %{mdp}"
)
),
'emailSender' => 'noreply@lsexample.net',
'LSobjects' => array (
'LSeepeople',
'LSeegroup',
'LSeecompany'
)
) )
) )
); );

View file

@ -48,7 +48,7 @@ if($LSsession -> startLSsession()) {
} }
if ($form->validate()) { if ($form->validate()) {
// MàJ des données de l'objet LDAP // MàJ des données de l'objet LDAP
if ($object -> updateData('create')) { if (($object -> updateData('create'))&&(!$GLOBALS['LSerror']->errorsDefined())) {
header('Location: view.php?LSobject='.$LSobject.'&dn='.$object -> getDn()); header('Location: view.php?LSobject='.$LSobject.'&dn='.$object -> getDn());
} }
} }

View file

@ -193,16 +193,18 @@ class LSldap {
//foreach($obj_conf['attrs'] as $attr_name => $attr_conf) { //foreach($obj_conf['attrs'] as $attr_name => $attr_conf) {
// $newentry->add(array($attr_name => $attr_conf['default_value'])); // $newentry->add(array($attr_name => $attr_conf['default_value']));
//} //}
$attributes = array( $attributes = array();
'objectclass' => $obj_conf['objectclass']
);
foreach($obj_conf['attrs'] as $attr_name => $attr_conf) { foreach($obj_conf['attrs'] as $attr_name => $attr_conf) {
if( isset($attr_conf['default_value']) ) { if( isset($attr_conf['default_value']) ) {
$attributes[$attr_name]=$attr_conf['default_value']; $attributes[$attr_name]=$attr_conf['default_value'];
} }
} }
$newentry = Net_LDAP2_Entry::createFresh($dn,$attributes);
$newentry = $this -> getNewEntry($dn,$obj_conf['objectclass'],$attributes);
if (!$newentry) {
return;
}
return array('entry' => $newentry,'new' => true); return array('entry' => $newentry,'new' => true);
} }
else { else {
@ -215,6 +217,28 @@ class LSldap {
} }
} }
/**
* Retourne une nouvelle entrée
*
* @param[in] $dn string Le DN de l'objet
* @param[in] $objectClass array Un tableau contenant les objectClass de l'objet
* @param[in] $attrs array Un tabeau du type array('attr_name' => attr_value, ...)
*
* @retval mixed Le nouvelle objet en cas de succès, false sinon
*/
function getNewEntry($dn,$objectClass,$attrs,$add=false) {
$newentry = Net_LDAP2_Entry::createFresh($dn,array_merge(array('objectclass' =>$objectClass),(array)$attrs));
if(Net_LDAP2::isError($newentry)) {
return false;
}
if($add) {
if(!$this -> cnx -> add($newentry)) {
return;
}
}
return $newentry;
}
/** /**
* Met à jour une entrée dans l'annuaire * Met à jour une entrée dans l'annuaire
* *

View file

@ -512,9 +512,11 @@ class LSldapObject {
*/ */
function submitChange($idForm) { function submitChange($idForm) {
$submitData=array(); $submitData=array();
$new = $this -> isNew();
foreach($this -> attrs as $attr) { foreach($this -> attrs as $attr) {
if(($attr -> isUpdate())&&($attr -> isValidate())) { if(($attr -> isUpdate())&&($attr -> isValidate())) {
if(($attr -> name == $this -> config['rdn'])&&(!$this -> isNew())) { if(($attr -> name == $this -> config['rdn'])&&(!$new)) {
$new = true;
debug('Rename'); debug('Rename');
if (!$this -> beforeRename()) { if (!$this -> beforeRename()) {
$GLOBALS['LSerror'] -> addErrorCode(36); $GLOBALS['LSerror'] -> addErrorCode(36);
@ -546,7 +548,16 @@ class LSldapObject {
if($dn) { if($dn) {
$this -> dn=$dn; $this -> dn=$dn;
debug($submitData); debug($submitData);
return $GLOBALS['LSldap'] -> update($this -> getType(),$dn, $submitData); if (!$GLOBALS['LSldap'] -> update($this -> getType(),$dn, $submitData)) {
return;
}
if ($new) {
if (!$this -> afterCreate()) {
$GLOBALS['LSerror'] -> addErrorCode(40);
return;
}
}
return true;
} }
else { else {
$GLOBALS['LSerror'] -> addErrorCode(33); $GLOBALS['LSerror'] -> addErrorCode(33);
@ -958,7 +969,18 @@ class LSldapObject {
* @retval boolean True si l'objet à été supprimé, false sinon * @retval boolean True si l'objet à été supprimé, false sinon
*/ */
function remove() { function remove() {
return $GLOBALS['LSldap'] -> remove($this -> getDn()); if ($this -> beforeDelete()) {
if ($GLOBALS['LSldap'] -> remove($this -> getDn())) {
if ($this -> afterDelete()) {
return true;
}
$GLOBALS['LSerror'] -> addErrorCode(39);
}
}
else {
$GLOBALS['LSerror'] -> addErrorCode(38);
}
return;
} }
/** /**
@ -1005,18 +1027,16 @@ class LSldapObject {
} }
/** /**
* Methode executant les actions nécéssaires avant le changement du DN de * Methode créant la liste des objets en relations avec l'objet courant et qui
* l'objet. * la met en cache ($this -> _relationsCache)
*
* Cette méthode n'est qu'un exemple et elle doit être certainement réécrite
* pour les objets plus complexe.
* *
* @retval True en cas de cas ce succès, False sinon. * @retval True en cas de cas ce succès, False sinon.
*/ */
function beforeRename() { function updateRelationsCache() {
$this -> _relationsCache=array();
if (is_array($this->config['relations'])) { if (is_array($this->config['relations'])) {
foreach($this->config['relations'] as $relation_name => $relation_conf) { foreach($this->config['relations'] as $relation_name => $relation_conf) {
if ( isset($relation_conf['list_function']) && isset($relation_conf['rename_function']) ) { if ( isset($relation_conf['list_function']) ) {
if ($GLOBALS['LSsession'] -> loadLSobject($relation_conf['LSobject'])) { if ($GLOBALS['LSsession'] -> loadLSobject($relation_conf['LSobject'])) {
$obj = new $relation_conf['LSobject'](); $obj = new $relation_conf['LSobject']();
if (method_exists($obj,$relation_conf['list_function'])) { if (method_exists($obj,$relation_conf['list_function'])) {
@ -1041,6 +1061,19 @@ class LSldapObject {
return true; return true;
} }
/**
* Methode executant les actions nécéssaires avant le changement du DN de
* l'objet.
*
* Cette méthode n'est qu'un exemple et elle doit être certainement réécrite
* pour les objets plus complexe.
*
* @retval True en cas de cas ce succès, False sinon.
*/
function beforeRename() {
return $this -> updateRelationsCache();
}
/** /**
* Methode executant les actions nécéssaires après le changement du DN de * Methode executant les actions nécéssaires après le changement du DN de
* l'objet. * l'objet.
@ -1060,6 +1093,7 @@ class LSldapObject {
} }
foreach($this -> _relationsCache as $relation_name => $objList) { foreach($this -> _relationsCache as $relation_name => $objList) {
if (isset($this->config['relations'][$relation_name]['rename_function'])) {
foreach($objList as $obj) { foreach($objList as $obj) {
$meth = $this->config['relations'][$relation_name]['rename_function']; $meth = $this->config['relations'][$relation_name]['rename_function'];
if (method_exists($obj,$meth)) { if (method_exists($obj,$meth)) {
@ -1072,8 +1106,92 @@ class LSldapObject {
} }
} }
} }
}
return !$error; return !$error;
} }
/**
* Methode executant les actions nécéssaires avant la suppression de
* l'objet.
*
* Cette méthode n'est qu'un exemple et elle doit être certainement réécrite
* pour les objets plus complexe.
*
* @retval True en cas de cas ce succès, False sinon.
*/
function beforeDelete() {
return $this -> updateRelationsCache();
}
/**
* Methode executant les actions nécéssaires après la suppression de
* l'objet.
*
* Cette méthode n'est qu'un exemple et elle doit être certainement réécrite
* pour les objets plus complexe.
*
* @retval True en cas de cas ce succès, False sinon.
*/
function afterDelete() {
$error = 0;
foreach($this -> _relationsCache as $relation_name => $objList) {
if (isset($this->config['relations'][$relation_name]['remove_function'])) {
foreach($objList as $obj) {
$meth = $this->config['relations'][$relation_name]['remove_function'];
if (method_exists($obj,$meth)) {
if (!($obj -> $meth($this))) {
$error=1;
}
}
else {
$error=1;
}
}
}
}
return !$error;
}
/**
* Methode executant les actions nécéssaires après la création de
* l'objet.
*
* Cette méthode n'est qu'un exemple et elle doit être certainement réécrite
* pour les objets plus complexe.
*
* @retval True en cas de cas ce succès, False sinon.
*/
function afterCreate() {
debug('after');
$error = 0;
if ($GLOBALS['LSsession'] -> isSubDnLSobject($this -> getType())) {
if (is_array($GLOBALS['LSsession'] -> ldapServer['subDn']['LSobject'][$this -> getType()]['LSobjects'])) {
foreach($GLOBALS['LSsession'] -> ldapServer['subDn']['LSobject'][$this -> getType()]['LSobjects'] as $type) {
if ($GLOBALS['LSsession'] -> loadLSobject($type)) {
if (isset($GLOBALS['LSobjects'][$type]['container_auto_create'])&&isset($GLOBALS['LSobjects'][$type]['container_dn'])) {
$dn = $GLOBALS['LSobjects'][$type]['container_dn'].','.$this -> getDn();
if(!$GLOBALS['LSldap'] -> getNewEntry($dn,$GLOBALS['LSobjects'][$type]['container_auto_create']['objectclass'],$GLOBALS['LSobjects'][$type]['container_auto_create']['attrs'],true)) {
debug("Impossible de créer l'entrée fille : ".print_r(
array(
'dn' => $dn,
'objectClass' => $GLOBALS['LSobjects'][$type]['container_auto_create']['objectclass'],
'attrs' => $GLOBALS['LSobjects'][$type]['container_auto_create']['attrs']
)
,true));
$error=1;
}
}
}
else {
$GLOBALS['LSerror'] -> addErrorCode(1004,$type);
$error=1;
}
}
}
}
return !$error;
}
} }
?> ?>

View file

@ -43,6 +43,14 @@ objectclass (LsLDAPObjectClass:4
DESC 'LS system account Objectclass' DESC 'LS system account Objectclass'
STRUCTURAL STRUCTURAL
MUST ( uid ) MUST ( uid )
MAY (userPassword $ description)) MAY (userpassword $ description))
objectclass ( LsLDAPObjectClass:5
NAME 'lscompany'
SUP organizationalUnit
STRUCTURAL
MUST ( ou )
MAY ( description ))
# </Ls Objectclass> # </Ls Objectclass>

View file

@ -70,7 +70,9 @@ gidNumber: 102001
sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205003 sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205003
sambaGroupType: 2 sambaGroupType: 2
structuralObjectClass: lsgroup structuralObjectClass: lsgroup
uniqueMember: uid=secretariat,ou=people,o=ls uniqueMember: uid=hmartin,ou=people,o=ls
uniqueMember: uid=ls,ou=people,o=ls
uniqueMember: uid=eeggs,ou=people,o=ls
dn: cn=informatique,ou=groups,o=ls dn: cn=informatique,ou=groups,o=ls
objectClass: top objectClass: top
@ -82,7 +84,6 @@ sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205019
sambaGroupType: 2 sambaGroupType: 2
structuralObjectClass: lsgroup structuralObjectClass: lsgroup
cn: informatique cn: informatique
uniqueMember: uid=eeggs,ou=people,o=ls
dn: cn=direction,ou=groups,o=ls dn: cn=direction,ou=groups,o=ls
objectClass: top objectClass: top
@ -94,6 +95,7 @@ gidNumber: 102007
sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205015 sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205015
sambaGroupType: 2 sambaGroupType: 2
structuralObjectClass: lsgroup structuralObjectClass: lsgroup
uniqueMember: uid=eeggs,ou=people,o=ls
dn: cn=administratif,ou=groups,o=ls dn: cn=administratif,ou=groups,o=ls
objectClass: top objectClass: top
@ -128,26 +130,148 @@ objectClass: top
objectClass: lspeople objectClass: lspeople
objectClass: posixAccount objectClass: posixAccount
objectClass: sambaSamAccount objectClass: sambaSamAccount
uid: eeggs
uidNumber: 100000 uidNumber: 100000
sambaSID: S-1-5-21-2421470416-3566881284-3047381809-201000 sambaSID: S-1-5-21-2421470416-3566881284-3047381809-201000
structuralObjectClass: lspeople structuralObjectClass: lspeople
gidNumber: 102009
mail: eeggs@ldapsaisie.biz
facsimileTelephoneNumber: 030000000 facsimileTelephoneNumber: 030000000
lsallowedservices: MAIL lsAllowedServices: MAIL
lsallowedservices: FTP lsAllowedServices: FTP
description: Utilisateur test Easter-eggs description: Utilisateur test Easter-eggs
cn: Easter Eggs cn: Easter Eggs
sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-205019 sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-205019
personalTitle: M. personalTitle: M.
userPassword: toto
sambaLMPassword: AAD3B435B51404EEAAD3B435B51404EE
sambaNTPassword: 31D6CFE0D16AE931B73C59D7E0C089C0
homeDirectory: /home/eeggs
loginShell: /bin/false loginShell: /bin/false
givenName: Easter
sn: Eggs sn: Eggs
givenName: Easter
jpegPhoto:: iVBORw0KGgoAAAANSUhEUgAAALUAAAC4CAIAAAAqrzogAAAAA3NCSVQICAjb4U/gAA
AbHklEQVR4Xu2d25Ncx13HZ/dI1mpXl5UcY1uSLVlgORceiOPcwIEqUlxywwEnxYMfqKLIi18oHnj
mD+CBN7+E4oUqqqAM2BViKCqBmHBxYmERWwnxpRDBiiwjS1pdVhaWzi7fmd/sb37z+3X36XOdc3bO
1JZ0pk/3r3+XT/+6T885MwuLB7986/UvD/pX7wGXBxZdhX1Z74GxBxbSi3/RO6P3gM8Dff7weaYvH
3qg56PnIOSBno+Qd/pzPR89AyEP9HyEvNOf6/noGQh5YMdgYSF0vj833x7o88d8xz/L+p6PLA/N9/
mej/mO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iVAI64861cIx1LYAUz4bulJOuIR9bW05d+4cAsBM0OKUxisq0ynIJF
boAMfqUtZXTimH/rVdowSgy3KeQGUK4atZeUAP3hWO8jzy4QzAsHD3Izb8RACVMx8MB5eriQCRJhQ
kH1SoSvgtHWzeeNGr3vQJhQhUsnwcOXIEjQrDgbY9H5HhaGk1osQJx+HDh0vCgeZtuT+5pe5vvVqU
G5B71MqjEjh6Plof/wgFCZHl5WXs6xMlFT4h0c8vERHoSBW161Nm2cEWg4+phXFHXNGr6fZAsmd8J
V9VWN18VN6N25q+tPUecPPRerV7BRvyQH/90pCjO9pNz0dHA9eQ2tvq89uGfDZP3fT5Y56ind/Wno
/8PpunFj0f8xTt/Lb+P/9KYhzCyOqxAAAAAElFTkSuQmCC
uid: eeggs
homeDirectory: /home/eeggs
gidNumber: 102009
userPassword: toto
sambaLMPassword: BAC14D04669EE1D1AAD3B435B51404EE
sambaNTPassword: FBBF55D0EF0E34D39593F55C5F2CA5F2
mail: eeggs@ls.com
dn: uid=invite,ou=people,o=ls dn: uid=invite,ou=people,o=ls
objectClass: top objectClass: top
@ -166,9 +290,9 @@ userPassword: toto
sambaAcctFlags: [U ] sambaAcctFlags: [U ]
sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-203019 sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-203019
sambaSID: S-1-5-21-2421470416-3566881284-3047381809-203024 sambaSID: S-1-5-21-2421470416-3566881284-3047381809-203024
lsallowedservices: MAIL lsAllowedServices: MAIL
lsallowedservices: SAMBA lsAllowedServices: SAMBA
lsallowedservices: FTP lsAllowedServices: FTP
mail: invite@ldapsaisie.biz mail: invite@ldapsaisie.biz
structuralObjectClass: lspeople structuralObjectClass: lspeople
sambaNTPassword: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX sambaNTPassword: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
@ -190,9 +314,9 @@ givenName: Henri
sn: MARTIN sn: MARTIN
gidNumber: 102001 gidNumber: 102001
mail: henri.martin@ldapsaisie.biz mail: henri.martin@ldapsaisie.biz
lsallowedservices: MAIL lsAllowedServices: MAIL
lsallowedservices: SAMBA lsAllowedServices: SAMBA
lsallowedservices: FTP lsAllowedServices: FTP
cn: Henri MARTIN cn: Henri MARTIN
sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-205003 sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-205003
personalTitle: M. personalTitle: M.
@ -219,9 +343,9 @@ givenName: Secretariat
sn: Secretariat sn: Secretariat
gidNumber: 70513 gidNumber: 70513
mail: secretariat@ldapsaisie.biz mail: secretariat@ldapsaisie.biz
lsallowedservices: MAIL lsAllowedServices: MAIL
lsallowedservices: SAMBA lsAllowedServices: SAMBA
lsallowedservices: FTP lsAllowedServices: FTP
cn: Secretariat Secretariat cn: Secretariat Secretariat
sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-513 sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-513
@ -244,9 +368,9 @@ givenName: _
sn: LdapSaisie sn: LdapSaisie
gidNumber: 102001 gidNumber: 102001
mail: ls@ldapsaisie.biz mail: ls@ldapsaisie.biz
lsallowedservices: MAIL lsAllowedServices: MAIL
lsallowedservices: SAMBA lsAllowedServices: SAMBA
lsallowedservices: FTP lsAllowedServices: FTP
cn: LS cn: LS
sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-205003 sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-205003
@ -265,9 +389,9 @@ structuralObjectClass: lspeople
sn: PAGEARD sn: PAGEARD
gidNumber: 102009 gidNumber: 102009
mail: erwan.page@ldapsaisie.biz mail: erwan.page@ldapsaisie.biz
lsallowedservices: MAIL lsAllowedServices: MAIL
lsallowedservices: SAMBA lsAllowedServices: SAMBA
lsallowedservices: FTP lsAllowedServices: FTP
cn: Erwan PAGE cn: Erwan PAGE
sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-205019 sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-205019
personalTitle: M. personalTitle: M.
@ -275,3 +399,167 @@ givenName: Erwan
userPassword: toto userPassword: toto
sambaLMPassword: BAC14D04669EE1D1AAD3B435B51404EE sambaLMPassword: BAC14D04669EE1D1AAD3B435B51404EE
sambaNTPassword: FBBF55D0EF0E34D39593F55C5F2CA5F2 sambaNTPassword: FBBF55D0EF0E34D39593F55C5F2CA5F2
dn: uid=eeggs2,ou=people,o=ls
objectClass: top
objectClass: lspeople
objectClass: posixAccount
uid: eeggs2
uidNumber: 1000000
gidNumber: 102009
facsimileTelephoneNumber: 030000000
lsAllowedServices: MAIL
lsAllowedServices: FTP
description: Utilisateur test Easter-eggs 2
cn: Easter Eggs 2
personalTitle: M.
homeDirectory: /home/eeggs
loginShell: /bin/false
sn: Eggs
givenName: Easter
mail: bn8@zionetrix.net
userPassword: toto
structuralObjectClass: lspeople
dn: uid=eeggs3,ou=people,o=ls
objectClass: top
objectClass: lspeople
objectClass: posixAccount
uid: eeggs3
uidNumber: 10000000
gidNumber: 102009
facsimileTelephoneNumber: 030000000
lsAllowedServices: MAIL
lsAllowedServices: FTP
description: Utilisateur test Easter-eggs 2
cn: Easter Eggs 2
personalTitle: M.
homeDirectory: /home/eeggs
loginShell: /bin/false
sn: Eggs
givenName: Easter
mail: bn8@zionetrix.net
userPassword: toto
structuralObjectClass: lspeople
dn: ou=companies,o=ls
objectClass: organizationalUnit
objectClass: top
ou: companies
structuralObjectClass: organizationalUnit
dn: ou=company2,ou=companies,o=ls
objectClass: top
objectClass: lscompany
ou: company2
description:: dGVzdCAyIA==
structuralObjectClass: lscompany
dn: ou=people,ou=company2,ou=companies,o=ls
objectClass: top
objectClass: organizationalUnit
ou: people
structuralObjectClass: organizationalUnit
dn: ou=groups,ou=company2,ou=companies,o=ls
objectClass: top
objectClass: organizationalUnit
ou: groups
structuralObjectClass: organizationalUnit
dn: ou=company1,ou=companies,o=ls
objectClass: top
objectClass: lscompany
ou: company1
description: Test company 1
structuralObjectClass: lscompany
dn: ou=people,ou=company1,ou=companies,o=ls
objectClass: top
objectClass: organizationalUnit
ou: people
structuralObjectClass: organizationalUnit
dn: ou=groups,ou=company1,ou=companies,o=ls
objectClass: top
objectClass: organizationalUnit
ou: groups
structuralObjectClass: organizationalUnit
dn: ou=company3,ou=companies,o=ls
objectClass: top
objectClass: lscompany
ou: company3
description: test 3
structuralObjectClass: lscompany
dn: ou=people,ou=company3,ou=companies,o=ls
objectClass: top
objectClass: organizationalUnit
ou: people
structuralObjectClass: organizationalUnit
dn: ou=groups,ou=company3,ou=companies,o=ls
objectClass: top
objectClass: organizationalUnit
ou: groups
structuralObjectClass: organizationalUnit
dn: cn=test,ou=groups,ou=company2,ou=companies,o=ls
objectClass: lsgroup
objectClass: posixGroup
cn: test
gidNumber: 102010
structuralObjectClass: lsgroup
dn: cn=group1,ou=groups,ou=company1,ou=companies,o=ls
objectClass: lsgroup
objectClass: posixGroup
cn: group1
gidNumber: 102011
structuralObjectClass: lsgroup
uniqueMember: uid=user1,ou=people,ou=company1,ou=companies,o=ls
dn: uid=user1,ou=people,ou=company1,ou=companies,o=ls
objectClass: top
objectClass: lspeople
objectClass: posixAccount
objectClass: sambaSamAccount
givenName: prenom1
loginShell: /bin/false
personalTitle: M.
uid: user1
uidNumber: 10000001
sn: nom1
cn: prenom1 nom1
gidNumber: 101009
sambaSID: S-1-5-21-2421470416-3566881284-3047381809-20001002
homeDirectory: /home/user1
mail: user1@ls.com
description: user1
userPassword: toto
sambaLMPassword: FC26CDB2863917C1AAD3B435B51404EE
sambaNTPassword: 00B2C85DDFBD8CC81602D6FC7340EB0B
structuralObjectClass: lspeople
dn: uid=user2,ou=people,ou=company1,ou=companies,o=ls
objectClass: top
objectClass: lspeople
objectClass: posixAccount
objectClass: sambaSamAccount
givenName: prenom2
loginShell: /bin/false
personalTitle: M.
uid: user2
uidNumber: 10000002
sn: nom2
cn: prenom2 nom2
gidNumber: 102001
sambaSID: S-1-5-21-2421470416-3566881284-3047381809-20001004
homeDirectory: /home/user2
mail: user2@ls.com
userPassword: toto
sambaLMPassword: C53D7C8685D27214AAD3B435B51404EE
sambaNTPassword: C549EE84021E5E8372E10CEDEAFD02A8
structuralObjectClass: lspeople