Is it good workable to use ADSI in vbscript to manage SAMBA based AD ?. (ADSI ?) I need to create lots of groups (100+), and set some nested memberships based upon some scripting logic The same group input will be used in freenas (that part is solved by a script) to modify permissions. Background On freenas i like to set resource groups as per folder-name. In which per folder several AD groups will become members based upon some script logic.
You can generate LDIF files and import them |with | |ldbmodify -H ||/var/lib/samba/private/sam||.ldb | |or |||ldbadd -H ||/var/lib/samba/private/sam||.ldb|| || || Am 05.03.21 um 13:59 schrieb Peter Boos via samba:> Is it good workable to use ADSI in vbscript to manage SAMBA based AD ?. (ADSI ?) > > I need to create lots of groups (100+), and set some nested memberships based upon some scripting logic > The same group input will be used in freenas (that part is solved by a script) to modify permissions. > > Background > On freenas i like to set resource groups as per folder-name. > In which per folder several AD groups will become members based upon some script logic. >-- Matthias K?hne Senior Webentwickler Datenschutzbeauftragter Ellerhold Aktiengesellschaft Friedrich-List-Str. 4 01445 Radebeul Telefon: +49 (0) 351 83933-61 Telefax: +49 (0) 351 83933-99 Web www.ellerhold.de Twitter www.twitter.com/Ellerhold_AG Youtube www.youtube.com/user/ellerholdgruppe Amtsgericht Dresden / HRB 23769 Vorstand: Stephan Ellerhold, Maximilian Ellerhold Vorsitzender des Aufsichtsrates: Frank Ellerhold ---------------- Diese E-Mail und Ihre Anlagen enthalten vertrauliche Mitteilungen. Sollten Sie nicht der beabsichtigte Adressat sein, so bitten wir Sie um Mitteilung und um sofortiges l?schen dieser E-Mail und der Anlagen. Unsere Hinweise zum Datenschutz finden Sie hier: http://www.ellerhold.de/datenschutz/ This e-mail and its attachments are privileged and confidential. If you are not the intended recipient, please notify us and immediately delete this e-mail and its attachments. You can find our privacy policy here: http://www.ellerhold.de/datenschutz/
On Fri, Mar 5, 2021 at 8:01 AM Peter Boos via samba <samba at lists.samba.org> wrote:> > Is it good workable to use ADSI in vbscript to manage SAMBA based AD ?. > (ADSI ?) > > I need to create lots of groups (100+), and set some nested memberships > based upon some scripting logic > The same group input will be used in freenas (that part is solved by a > script) to modify permissions. > > Background > On freenas i like to set resource groups as per folder-name. > In which per folder several AD groups will become members based upon some > script logic. >Somewhat tangential to the question. Is the FreeNAS server a Domain Controller? If so, do note that this is no longer a supported configuration. The last version supporting it was FreeNAS 11.2 (Samba 4.9), with it (both FN 11.2 and Samba 4.9) being now EOL.