Fix account creation
This commit is contained in:
parent
531864ef8d
commit
744c3db27c
@ -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,
|
||||
|
Reference in New Issue
Block a user