Does anyone know if it’s possible to run Powershell cmdlets such as Get-ADUser or Set-ADUser against a Samba server? The reason I’m asking is for the purpose of developing Powershell scripts. When my laptop is offline it would be very useful to still be able to run that kind of cmdlets without installing a full Windows Server VM. Best regards, Carl
Doesn't work in my testing. The PowerShell commandlets need Active Directory Web Services running to interface with. On Tue., Mar. 12, 2019, 8:16 a.m. Carl Winbäck via samba, < samba at lists.samba.org> wrote:> Does anyone know if it’s possible to run Powershell cmdlets such as > Get-ADUser > or Set-ADUser against a Samba server? > > The reason I’m asking is for the purpose of developing Powershell scripts. > When > my laptop is offline it would be very useful to still be able to run that > kind > of cmdlets without installing a full Windows Server VM. > > > Best regards, > Carl > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Hi, There's a proof of concept of the commands working (we built our own Active Directory Web Services gateway), but it's still quite a bit away from using it in production. It's mostly lacking a whole raft of testing to make sure that we do the right things. Cheers, Garming On 13/03/19 5:12 AM, Luke Barone via samba wrote:> Doesn't work in my testing. The PowerShell commandlets need Active > Directory Web Services running to interface with. > > On Tue., Mar. 12, 2019, 8:16 a.m. Carl Winbäck via samba, < > samba at lists.samba.org> wrote: > >> Does anyone know if it’s possible to run Powershell cmdlets such as >> Get-ADUser >> or Set-ADUser against a Samba server? >> >> The reason I’m asking is for the purpose of developing Powershell scripts. >> When >> my laptop is offline it would be very useful to still be able to run that >> kind >> of cmdlets without installing a full Windows Server VM. >> >> >> Best regards, >> Carl >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >>
Work on this has been started, but currently only to a proof of concept stage pending further resources becoming available. There are details here: https://bugzilla.samba.org/show_bug.cgi?id=11231 Andrew Bartlett On Tue, 2019-03-12 at 09:12 -0700, Luke Barone via samba wrote:> Doesn't work in my testing. The PowerShell commandlets need Active > Directory Web Services running to interface with. > > On Tue., Mar. 12, 2019, 8:16 a.m. Carl Winbäck via samba, < > samba at lists.samba.org> wrote: > > > Does anyone know if it’s possible to run Powershell cmdlets such as > > Get-ADUser > > or Set-ADUser against a Samba server? > > > > The reason I’m asking is for the purpose of developing Powershell scripts. > > When > > my laptop is offline it would be very useful to still be able to run that > > kind > > of cmdlets without installing a full Windows Server VM. > > > > > > Best regards, > > Carl > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/options/samba > >-- Andrew Bartlett https://samba.org/~abartlet/ Authentication Developer, Samba Team https://samba.org Samba Development and Support, Catalyst IT https://catalyst.net.nz/services/samba