diff --git a/model-user.go b/model-user.go index 6a5e8b0..1f1e0e8 100644 --- a/model-user.go +++ b/model-user.go @@ -60,6 +60,7 @@ func get(user User, config *ConfigFile, ldapConn *ldap.Conn) (*User, error) { DN: user.DN, GivenName: searchRes.Entries[0].GetAttributeValue("givenName"), DisplayName: searchRes.Entries[0].GetAttributeValue("displayName"), + Description: searchRes.Entries[0].GetAttributeValue("description"), SN: searchRes.Entries[0].GetAttributeValue("sn"), UID: searchRes.Entries[0].GetAttributeValue("uid"), CN: searchRes.Entries[0].GetAttributeValue("cn"),