aboutsummaryrefslogtreecommitdiff
path: root/modify.go
diff options
context:
space:
mode:
authorned <[email protected]>2014-11-23 12:03:05 -0700
committerned <[email protected]>2014-11-23 12:03:05 -0700
commitc43d537d5bb0eeb491153b00cdefcb54a6178187 (patch)
tree45187fde4a720d3f53d13ec45ac4fea8e27356e4 /modify.go
parentf4e67fa4cd924fbe6f271611514caf5589e6a6e5 (diff)
Implemented other LDAP server operations (add/delete/modify/extended/etc.) and tests.
Diffstat (limited to 'modify.go')
-rw-r--r--modify.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/modify.go b/modify.go
index 7decf2c..6ffe314 100644
--- a/modify.go
+++ b/modify.go
@@ -42,6 +42,12 @@ const (
ReplaceAttribute = 2
)
+var LDAPModifyAttributeMap = map[uint64]string{
+ AddAttribute: "Add",
+ DeleteAttribute: "Delete",
+ ReplaceAttribute: "Replace",
+}
+
type PartialAttribute struct {
attrType string
attrVals []string