summaryrefslogtreecommitdiffstats
path: root/modify.go
diff options
context:
space:
mode:
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