svn commit: samba r9698 - in branches/SAMBA_4_0/source: include lib/ldb/ldb_map lib/ldb/samba lib/ldb/tests scripting/ejs

Jelmer Vernooij jelmer at vernstok.nl
Sun Aug 28 11:27:20 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Tridge,

tridge at samba.org wrote:

> Jelmer,
>
>> + /* sAMAccountName -> cn */ + { + .local_name =
>> "sAMAccountName", + .type = MAP_RENAME, + .u.rename.remote_name
>> = "cn", + },
>>
>> I think 'uid' is the appropriate mapping here.
>
> Might it be better to have these mappings in a file? I imagine that
> we will need to fine tune these mappings, and have different
> mappings for different directry structures.

I'm not sure - some of them are like this - e.g. same name in the
original and the new backend or only a name change,
but there are also places where more changes are needed that can't be
stored in plaintext - for example, think of the conversion
from sambaPrimaryGroupSID to primaryGroupID or from sambaSIDList to
member.

I guess we could end up reading some of them from a text file (or LDB
database), but I'd rather wait a bit with that until I've got the
current system working correctly.

Cheers,

Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDEZ+YPa9Uoh7vUnYRAq+XAJ40sq7ypD4hR1L70uALRek5gTDanQCdEyrW
KLFi/aC6XT+36JF3SOvcCVk=
=JNJ8
-----END PGP SIGNATURE-----



More information about the samba-technical mailing list