summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 40ce002)
raw | patch | inline | side by side (parent: 40ce002)
| author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
| Fri, 11 Dec 2009 14:07:03 +0000 (14:07 +0000) | ||
| committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
| Fri, 11 Dec 2009 14:07:03 +0000 (14:07 +0000) |
Moved shadow attribute writing some lines down to be not overwritten. Closes #810
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14893 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14893 594d385d-05f5-0310-b6e9-bd551577e9d8
| gosa-core/include/functions.inc | patch | blob | history |
index 1234a6d44cf6090ad67c60779b3c0da574ae019b..d7921871bec4b6ff74053fbdc5b294c326fde589 100644 (file)
// Not for groups
if ($mode == 0){
+ // Create SMB Password
+ $attrs= generate_smb_nt_hash($password);
if ($shadow != 0){
$attrs['shadowLastChange']= $shadow;
}
-
- // Create SMB Password
- $attrs= generate_smb_nt_hash($password);
}
$attrs['userPassword']= array();