[PATCH] Use idmap in pdb_set_sam_sids()

Simo Sorce idra at samba.org
Thu Aug 19 11:04:20 GMT 2004


On Thu, 2004-08-19 at 12:05, Luke Howard wrote:
> >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.

Yes I understand that, but I was thinking about all other options too.

Simo.

-- 
Simo Sorce    -  idra at samba.org
Samba Team    -  http://www.samba.org
Italian Site  -  http://samba.xsec.it



More information about the samba-technical mailing list