Meanwhile i've been thinking, i might switch over to python, freenas apparently does support that well, python fits me more. Been programming neural networks, so i can do my stuff easier i saw there was a ADSI and LDAP way to work with. And no freenas wasn't running samba -----Original message----- From: Andrew Walker?<walker.aj325 at gmail.com> Sent: Friday 5th March 2021 18:25 To: Peter Boos <peter.boos at quest-innovations.com> Cc: samba at lists.samba.org Subject: Re: [Samba] vb scripting against samba AD On Fri, Mar 5, 2021 at 8:01 AM Peter Boos via samba <samba at lists.samba.org <mailto: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.?