summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ab252ca)
raw | patch | inline | side by side (parent: ab252ca)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 4 Apr 2007 08:59:42 +0000 (08:59 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 4 Apr 2007 08:59:42 +0000 (08:59 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5972 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/generic.tpl | patch | blob | history | |
plugins/personal/posix/generic.tpl | patch | blob | history | |
plugins/personal/samba/class_sambaAccount.inc | patch | blob | history |
index 141bcbf58533c502f6d71e7c5ebaed7694bf54a1..1ccd5cab07ade325458b11550fc124161738cb4e 100644 (file)
<LABEL for="gidNumber">{t}Force GID{/t}</LABEL>
{render acl=$gidNumberACL}
- <input name="gidNumber" size=5 maxlength=5 id="gidNumber" {$forceMode} value="{$gidNumber}" title="{t}Forced ID number{/t}">
+ <input name="gidNumber" size=9 maxlength=9 id="gidNumber" {$forceMode} value="{$gidNumber}" title="{t}Forced ID number{/t}">
{/render}
</td>
</tr>
index 7f55d6ec8079680df63b37b5e58be6782661e280..cb5f443acb27bd04c483e590d61c47f253c528b1 100644 (file)
</td>
<td>
{render acl=$uidNumberACL}
- <input id="uidNumber" name="uidNumber" size=5 maxlength=5 {$forceMode} value="{$uidNumber}">
+ <input id="uidNumber" name="uidNumber" size=9 maxlength=9 {$forceMode} value="{$uidNumber}">
{/render}
</td>
</tr>
</td>
<td>
{render acl=$gidNumberACL}
- <input id="gidNumber" name="gidNumber" size=5 maxlength=5 {$forceMode} value="{$gidNumber}">
+ <input id="gidNumber" name="gidNumber" size=9 maxlength=9 {$forceMode} value="{$gidNumber}">
{/render}
</td>
</tr>
diff --git a/plugins/personal/samba/class_sambaAccount.inc b/plugins/personal/samba/class_sambaAccount.inc
index c99544ea53285d363d241fc6c763ccf8130f8ffe..879f4e6ba5a6d76b1a66e747ad0c8b901e839049 100644 (file)
unset($this->attrs['uid']);
unset($this->attrs['uidNumber']);
unset($this->attrs['gidNumber']);
+
+ /* Remove objectClass for sambaIdmapEntry */
+ $tmp= array();
+ for ($i= 0; $i<count($this->attrs["objectClass"]); $i++){
+ if ($this->attrs['objectClass'][$i] != 'sambaIdmapEntry'){
+ $tmp[]= $this->attrs['objectClass'][$i];
+ }
+ }
+ $this->attrs['objectClass']= $tmp;
+
@DEBUG (DEBUG_LDAP, __LINE__, __FUNCTION__, __FILE__,
$this->attributes, "Save");
$ldap->cd($this->dn);