mwilliams
cat /etc/gromox/ldap_adaptor.cfg | grep company
ldap_user_attributes=company companyname
I am using TCP 389 over TLS and I can query all those attributes using ldapsearch from the Grommunio Server host.
ldapsearch -x -D "<account>@ads.domain.tld" -b "ou=accounts,dc=ads,dc=domain,dc=tld" -H ldap://dc1.ads.domain.tld:389/ -W sAMAccountName=<account> -Z
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <ou=accounts,dc=ads,dc=domain,dc=tld> with scope subtree
# filter: sAMAccountName=<account>
# requesting: ALL
#
# <user>, accounts, ads.domain.tld
dn: CN=<user>,OU=accounts,DC=ads,DC=domain,DC=tld
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: <user>
sn: user
c: XY
l: A
st: B
title: C
description: Description
postalCode: 123
postOfficeBox: PO
physicalDeliveryOfficeName: Office
telephoneNumber: 123
facsimileTelephoneNumber: Fax
givenName: <user>
initials: ABC
distinguishedName: CN=<user>,OU=accounts,DC=ads,DC=domain,DC=tld
instanceType: 4
whenCreated: 20221023125114.0Z
whenChanged: 20240329194032.0Z
displayName: <user>
uSNCreated: 20776
info: Notes
uSNChanged: 2392427
co: Germany
department: IT
company: IT
proxyAddresses: <user>@domain2.tld
streetAddress: Street
wWWHomePage: https://domain.tld
name: <user>
objectGUID:: eH5AD04Rr0On1IZdflFGAA==
userAccountControl: 66048
badPwdCount: 0
codePage: 0
countryCode: 276
badPasswordTime: 133560157520691569
lastLogoff: 0
lastLogon: 133560158633503273
pwdLastSet: 133111205335569807
primaryGroupID: 513
objectSid:: AQUAAAAAAAUVAAAAtJSUVcrtAV3lgemOUAQAAA==
accountExpires: 9223372036854775807
logonCount: 64
sAMAccountName: <account>
sAMAccountType: 805306368
otherMailbox: <user>@domain2.tld
userPrincipalName: <account>@ads.domain.tld
lockoutTime: 0
ipPhone: IP Phone
objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=ads,DC=domain,DC=tld
dSCorePropagationData: 16010101000000.0Z
lastLogonTimestamp: 133558526451174462
mail: <user>@domain.tld
manager: CN=Test,OU=accounts,DC=ads,DC=domain,DC=tld
homePhone: 123
mobile: 123
pager: Pager
# search result
search: 3
result: 0 Success
# numResponses: 2
# numEntries: 1