mirror of
https://github.com/samba-team/samba.git
synced 2025-09-19 13:44:20 +03:00
r21249: Now the ldif is generated correctly, but still rpc is not happy
(This used to be commit 3367f2fe69
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
cce1a4d323
commit
f68a4f3d60
@@ -328,11 +328,13 @@ qx.Proto.getLdif = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var ldif = "# Add operation\n";
|
var ldif = "# Add operation\n";
|
||||||
ldif = ldif + "dn: " + this._rdn + "," + this._basedn + "\n";
|
ldif = ldif + "dn: " + this._rdn.getValue() + "," + this._basedn.getValue() + "\n";
|
||||||
|
|
||||||
for (var c in this._attrArea.getChildren()) {
|
c = this._attrArea.getChildren();
|
||||||
if (c instanceof qx.ui.layout.HorizontalBoxLayout) {
|
|
||||||
ldif = ldif + c.getUserData("attrName") + ": " + c.getUserData("attrVal").getValue() + "\n";
|
for (var i = 0; i < c.length; i++) {
|
||||||
|
if (c[i] instanceof qx.ui.layout.HorizontalBoxLayout) {
|
||||||
|
ldif = ldif + c[i].getUserData("attrName") + ": " + c[i].getUserData("attrVal").getComputedValue() + "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// terminate ldif record
|
// terminate ldif record
|
||||||
|
Reference in New Issue
Block a user