[Samba] samba-tool user add - weird resulting

Franta Hanzlik franta at hanzlici.cz
Wed Aug 14 07:24:03 UTC 2024


When creating AD user using 'samba-tool user add <username> ...',
there are switches for some human name parts specification:
  --surname=SURNAME          User's surname
  --given-name=GIVEN_NAME    User's given name
  --initials=INITIALS        User's initials

and samba-tool (or Samba daemon itself?) assembles other (LDB) attributes
from them:

dn :          as "$GIVEN_NAME $INITIALS $SURNAME,OU=...,DC=..."
displayName : as "$GIVEN_NAME $INITIALS $SURNAME"
name :        as "$GIVEN_NAME $INITIALS $SURNAME"

Despite that the insertion of initials into any of the derived attributes
seems stupid to me, would like to have the values ​​of these attributes
different.
Is this somehow possible?
Doesn't samba-tool have any hidden switches for this?
-- 
Thanks in advance, Franta Hanzlik



More information about the samba mailing list