SF Bug #3004012 - password sync for sambaSamAccount template broken.

This commit is contained in:
Deon George
2011-04-27 23:09:43 +10:00
parent 9e9960bc3d
commit d5c8d42adc
2 changed files with 12 additions and 3 deletions

View File

@@ -83,7 +83,10 @@ class AttributeFactory {
if (isset($values['type']))
switch ($values['type']) {
case 'password':
return $this->newPasswordAttribute($name,$values,$server_id,$source);
if (! strcasecmp($name,'sambaLMPassword') || ! strcasecmp($name,'sambaNTPassword'))
return $this->newSambaPasswordAttribute($name,$values,$server_id,$source);
else
return $this->newPasswordAttribute($name,$values,$server_id,$source);
case 'multiselect':
case 'select':