search for: cmdlet

Displaying 13 results from an estimated 13 matches for "cmdlet".

Did you mean: cmdlen
2019 Mar 12
3
Using Samba for Powershell queries
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
2019 Mar 12
1
Using Samba for Powershell queries
...;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 > > o...
2015 Mar 17
2
How to know which protocol version clients use?
Hello, I currently run samba with server min protocol = NT1 but I need to move towards server min protocol = SMB2 is there any way I can detect which clients still use the older protocol versions? I would like to estimate the impact of the change before i do close NT1/SMB1. Thank and kind regards, Heiner Billich
2015 Jan 29
3
rfc2307 deprecated in Windows 2012 R2?
...used in automatic winbind UID/GID generation to be able to coexist in an environment where not all hosts are migrated to rfc2307 yet. If you want it I can give it to you, but as you proably would want to write your own powershell-script you would set properties for users and groups using these two cmdlets and some foreach-logic looping over your search bases, users and groups: Set-ADUser -Identity $username -Replace @{uidNumber=$uid;gidNumber=$primary_group_gid;unixHomeDirectory=$homedir;loginShell=$login_shell} Set-ADGroup -Identity $groupname -Replace @{gidNumber=$gid} On 29 January 2015 at 21...
2015 Jan 29
2
rfc2307 deprecated in Windows 2012 R2?
...eneration >> to be able to coexist in an environment where not all hosts are >> migrated to rfc2307 yet. If you want it I can give it to you, but as >> you proably would want to write your own powershell-script you would >> set properties for users and groups using these two cmdlets and some >> foreach-logic looping over your search bases, users and groups: >> >> Set-ADUser -Identity $username -Replace >> >> @{uidNumber=$uid;gidNumber=$primary_group_gid;unixHomeDirectory=$homedir;loginShell=$login_shell} >> >> Set-ADGroup -Identity $g...
2023 Apr 28
1
LAPS support
...idea on how to set this permission to backup the managed account >> password? > > found it here: > > https://learn.microsoft.com/en-us/windows-server/identity/laps/laps-scenarios-windows-server-active-directory > > > > i need to move computer to OU and run powershell cmdlet from windows > Set-LapsADComputerSelfPermission it works partially i get "LAPS successfully updated Active Directory with the new password." in windows member event log. Computer object in AD? get updated (with msLAPS-Password and msLAPS-PasswordExpirationTime) i can login with...
2023 May 03
1
LAPS support
...o backup the managed account >>> password? >> >> found it here: >> >> https://learn.microsoft.com/en-us/windows-server/identity/laps/laps-scenarios-windows-server-active-directory >> >> >> >> i need to move computer to OU and run powershell cmdlet from windows >> Set-LapsADComputerSelfPermission > > it works partially > > i get "LAPS successfully updated Active Directory with the new > password." in windows member event log. > > Computer object in AD? get updated (with msLAPS-Password and > msLAPS-P...
2015 Jan 30
3
rfc2307 deprecated in Windows 2012 R2?
...able to coexist in an environment where not all hosts are >>>> migrated to rfc2307 yet. If you want it I can give it to you, but as >>>> you proably would want to write your own powershell-script you would >>>> set properties for users and groups using these two cmdlets and some >>>> foreach-logic looping over your search bases, users and groups: >>>> >>>> Set-ADUser -Identity $username -Replace >>>> >>>> @{uidNumber=$uid;gidNumber=$primary_group_gid;unixHomeDirectory=$homedir;loginShell=$login_shell} &g...
2015 Jan 29
0
rfc2307 deprecated in Windows 2012 R2?
...ic winbind UID/GID generation >to be able to coexist in an environment where not all hosts are >migrated to rfc2307 yet. If you want it I can give it to you, but as >you proably would want to write your own powershell-script you would >set properties for users and groups using these two cmdlets and some >foreach-logic looping over your search bases, users and groups: > >Set-ADUser -Identity $username -Replace >@{uidNumber=$uid;gidNumber=$primary_group_gid;unixHomeDirectory=$homedir;loginShell=$login_shell} > >Set-ADGroup -Identity $groupname -Replace @{gidNumber=$gid} &...
2015 Jan 29
0
rfc2307 deprecated in Windows 2012 R2?
...t;> to be able to coexist in an environment where not all hosts are >>> migrated to rfc2307 yet. If you want it I can give it to you, but as >>> you proably would want to write your own powershell-script you would >>> set properties for users and groups using these two cmdlets and some >>> foreach-logic looping over your search bases, users and groups: >>> >>> Set-ADUser -Identity $username -Replace >>> >>> @{uidNumber=$uid;gidNumber=$primary_group_gid;unixHomeDirectory=$homedir;loginShell=$login_shell} >>> >>&...
2015 Jan 29
3
rfc2307 deprecated in Windows 2012 R2?
But if they take it away how to set them in future? Am 29. Januar 2015 19:50:22 MEZ, schrieb Andrew Bartlett <abartlet at samba.org>: >On Wed, 2015-01-28 at 17:22 +0100, Tim wrote: >> I got the chance to test samba 4 with windows 2012 R2 domain >> controller on its highest functional level. >> >> Possibly it's important to know that M$ says that the
2015 Jan 30
0
rfc2307 deprecated in Windows 2012 R2?
...xist in an environment where not all hosts are >>>>> migrated to rfc2307 yet. If you want it I can give it to you, but as >>>>> you proably would want to write your own powershell-script you would >>>>> set properties for users and groups using these two cmdlets and some >>>>> foreach-logic looping over your search bases, users and groups: >>>>> >>>>> Set-ADUser -Identity $username -Replace >>>>> >>>>> >>>>> @{uidNumber=$uid;gidNumber=$primary_group_gid;unixHomeDirec...
2023 Dec 06
1
Is a mixed MS/Samba DC environment doable?
On Wed, 2023-12-06 at 11:34 +0100, Anders ?stling via samba wrote: > Hi > I'd like to learn more on the pros and cons of a mixed domain that > consists > of both MS and Samba domain controllers and member servers. This is a situation that is meant to work, but is not actively tested (all our tests are pure Samba), but seems to work for some folks. However given the way Windows