Is it possible to use the ‘occ’ command to get a list of LDAP mapped users along with their CN (or even another attribute such as sAMAccountName)?
occ user:list outputs the displayName, which is hard to work with (because of the spaces and special characters).
This is an example of my current output:
AAAAAAAA-1111-BBBB-2222-CCCCCCCCCCCC: José Gonçalves Júnior
The CN or sAMAccountName for that user would look like this: jose.junior
Can I get that info using ‘occ’ or the only way to do that is selecting directly from the database?