Web lists-archives.com

Re: [Samba] idamp ad/rid




Rowland,

I found something related that you were doing.

"[PATCH] samba-tool: Easily edit a users object in AD"

Did you finish the script?

On Fri, Dec 1, 2017 at 3:24 PM, Rowland Penny via samba <
samba@xxxxxxxxxxxxxxx> wrote:

> On Fri, 1 Dec 2017 15:00:39 -0200
> Elias Pereira <empbilly@xxxxxxxxx> wrote:
>
> > Thanks Rowland for the quick answer!! :)
> >
> >  If you are going to use more
> > > than one Unix domain member as a fileserver, then you will probably
> > > be better off using the winbind ad backend, this way you can ensure
> > > your users and groups have the same ID everywhere.
> >
> >
> > Maybe in the near future I'll set up a new fileserver. That way, I
> > believe that ad as a backend is the best choice.
> >
> > I have about 1000 users in our DC. They are all without unix
> > attributes configured, as I inserted them via script + samba-tool. I
> > know I can edit each user via "samba-too user edit <options>".
> > Knowing this, I believe it is possible to insert these attributes via
> > script.
> >
> > In the script I commented above, I inserted users by reading a csv
> > file that contained those users. Can I read these users directly from
> > DC to insert the new attributes?
> >
>
> Probably, you could read them via ldap or 'samba-tool user list' or
> 'wbinfo -u', etc
>
> Rowland
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



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