Hello,

perhaps fixing the problem mentioned by my colleague, please see the attached
patch to samba-tool.

It adds an option to create a UID/SID mapping when creating a user, replacing
the ldbedit step in
https://wiki.samba.org/index.php/Samba4/HOWTO#Step_1:_Adding_Users_into_Samba_4_Active_Directory
by
samba-tool create user alice --match-unix-uid --unix-uid 12345

I guess using samba-tool this way will not work on a remote server since using
IDmapDB needs access to the local ldb files. Also, perhaps some similar 
mechanism
for groups should be implemented.



Ciao,

Alexander Wuerstlein.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to