Samba 3 to Samba 4 Migration. (myldap-pub.py patch)

Stefan (metze) Metzmacher metze at samba.org
Wed Nov 3 09:04:45 MDT 2010


Hi Lukasz,

here's my current version of the script (based on your -08 version).

- I added the --create_user_principal_name option (disabled by default)
  not everybody wants to have that.

- I fixed the 'member' handling for the primary group of a user.

- I removed some lines like:
    self.insert_organizationalUnit(self.groups.importdn)
  where importdn is only the partial dn.

- I removed IMPORT_TYPE_TRUSTS from IMPORT_TYPE_ALL for now

metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myldap-pub.py
Type: text/x-python
Size: 59342 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101103/35f2b19b/attachment-0001.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101103/35f2b19b/attachment-0001.pgp>


More information about the samba-technical mailing list