[Samba] idamp ad/rid
empbilly at gmail.com
Sat Dec 2 12:05:42 UTC 2017
Found it! :)
I thought in make a script more or less that way.
GUID=10000 # Domain Users
UID=10000 # get the next ID ?
for USER in $(samba-tool group listmembers $GROUP)
samba-tool user edit $USER -H ldap://samdom.example.com \
-U administrato --nis-domain=samdom \
Of course that script is very simple, but is a beginning. :)
Can you help me to make this script?
On Fri, Dec 1, 2017 at 5:03 PM, Rowland Penny via samba <
samba at lists.samba.org> wrote:
> On Fri, 1 Dec 2017 16:51:57 -0200
> Elias Pereira <empbilly at gmail.com> wrote:
> > Can you share with me? :)
> Download the latest Samba tarball and unpack it, you will find it as
> part of user.py in:
> samba-4.7.3 --> python --> samba --> netcmd
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba