> I see this is refering to UNIX attributes within AD, but I'm curious about mapping to attributes in LDAP.
>
> => This gets mapped to 'idmap config ... : unix_primary_group' in the
> => internal config.
>
> Does that correspond to setting the smb.conf parameter
>
> unix_primary_group = yes
This corresponds to the smb.conf parameter 'idmap config DOMAIN :
unix_primary_group' = yes. This refers to the id mapping configuration
for the specified domain. See the idmap_ad man page for the Samba
documentation of this parameter.
> Specifically, under Spectrum Scale 5.0.2, if I run:
>
> mmuserauth service create --data-access-method file --ldapmap-domains "DOMAIN(type=stand-alone:ldap_srv=ldapserver:range=1001-65535:usr_dn=ou=People,dc=DC,dc=TLD:grp_dn=ou=Group,dc=DC,dc=TLD)" --type ad
>
> (some args removed in this example), will that map the user's primary group to
>
> the primaryGroupID supplied by AD
> or
> the primaryGroupID LDAP field
> or
> the gidNumber LDAP field
This primary group in this configuration is the primary group in
Active Directory. This is stored in Active Directory in the
primaryGroupID field that refers to the RID of the primary group (the
last part of the SID of the group). This id mapping method currently
does not read the gidNumber of the user. In theory it would be
possible to add this similar to the 'unix_primary_group' from above,
but that should be treated as a new feature and requsting that through
a RFE would be appropriate.
Regards,