Archived
1
0

Fix account creation

This commit is contained in:
Mercier Pierre-Olivier 2013-12-09 22:53:42 +01:00
parent 531864ef8d
commit 744c3db27c

View File

@ -271,7 +271,7 @@ sub cmd_account_create($@)
if (! $ou)
{
my $mesg = $ldap->add( "$oudn",
my $mesg = $ldap->add( "$oudn,dc=acu,dc=epita,dc=fr",
attrs => [
objectclass => [ "top", "organizationalUnit" ],
ou => "$group",
@ -284,7 +284,7 @@ sub cmd_account_create($@)
}
}
my $mesg = $ldap->add( "uid=$login,$oudn",
my $mesg = $ldap->add( "uid=$login,$oudn,dc=acu,dc=epita,dc=fr",
attrs => [
objectclass => [ "top", "epitaAccount" ],
uidNumber => shift,