[PATCH] Use idmap in pdb_set_sam_sids()

Luke Howard lukeh at PADL.COM
Thu Aug 19 10:05:44 GMT 2004


>On Thu, 2004-08-19 at 11:16, Luke Howard wrote:
>> The attached patch attempts to fix this issue by extending the API to
>> indicate whether non-algorithmic UID/GID mapping is to be used. Hence
>> smbpasswd_getsampwnam() can avoid calling uid_to_sid(), whilst the
>> authentication subsystem can still have it called implicitly.
>
>This is an interesting approach, but requires you to extend the code
>more. If you set the proper config options in smb.conf you may be
>required to use always the algorithmic mapping IIRC.

I'm not sure I really understand this, but I'll explain my setup. I am
using nss_ldap with winbindd (using idmap_ad, as distributed in PADL's
xad_oss_plugins package). There is no smbpasswd file, only POSIX users
and groups that have SID mappings.

-- Luke



More information about the samba-technical mailing list