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

Commit

Permalink
Add HR and NOC Map field values
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Coretta authored and Jesse Coretta committed Nov 8, 2024
1 parent 4b9e94a commit 20d15fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ds.go
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,7 @@ func (r DITStructureRule) Map() (def DefinitionMap) {
def[`DESC`] = []string{r.Description()}
def[`OBSOLETE`] = []string{bool2str(r.Obsolete())}
def[`FORM`] = []string{r.Form().OID()}
def[`NOC`] = []string{r.NamedObjectClass().OID()}
def[`SUP`] = sups
def[`TYPE`] = []string{r.Type()}
def[`RAW`] = []string{r.String()}
Expand Down
1 change: 1 addition & 0 deletions ls.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ func (r LDAPSyntax) Map() (def DefinitionMap) {
def[`NUMERICOID`] = []string{r.NumericOID()}
def[`DESC`] = []string{r.Description()}
def[`TYPE`] = []string{r.Type()}
def[`HR`] = []string{bool2str(r.HumanReadable())}
def[`RAW`] = []string{r.String()}

// copy our extensions from receiver r
Expand Down

0 comments on commit 20d15fd

Please sign in to comment.