Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Commit 20d15fd

Browse files
Jesse CorettaJesse Coretta
Jesse Coretta
authored and
Jesse Coretta
committed
Add HR and NOC Map field values
1 parent 4b9e94a commit 20d15fd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ds.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,6 +1272,7 @@ func (r DITStructureRule) Map() (def DefinitionMap) {
12721272
def[`DESC`] = []string{r.Description()}
12731273
def[`OBSOLETE`] = []string{bool2str(r.Obsolete())}
12741274
def[`FORM`] = []string{r.Form().OID()}
1275+
def[`NOC`] = []string{r.NamedObjectClass().OID()}
12751276
def[`SUP`] = sups
12761277
def[`TYPE`] = []string{r.Type()}
12771278
def[`RAW`] = []string{r.String()}

ls.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ func (r LDAPSyntax) Map() (def DefinitionMap) {
455455
def[`NUMERICOID`] = []string{r.NumericOID()}
456456
def[`DESC`] = []string{r.Description()}
457457
def[`TYPE`] = []string{r.Type()}
458+
def[`HR`] = []string{bool2str(r.HumanReadable())}
458459
def[`RAW`] = []string{r.String()}
459460

460461
// copy our extensions from receiver r

0 commit comments

Comments
 (0)