From c43d537d5bb0eeb491153b00cdefcb54a6178187 Mon Sep 17 00:00:00 2001 From: ned Date: Sun, 23 Nov 2014 12:03:05 -0700 Subject: Implemented other LDAP server operations (add/delete/modify/extended/etc.) and tests. --- modify.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modify.go') 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 -- cgit v1.2.3