Displaying 13 results from an estimated 13 matches for "cmdlets".
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
> > of...
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 $gr...
2023 Apr 28
1
LAPS support
Le 28/04/2023 ? 09:51, Arnaud FLORENT via samba a ?crit?:
>
> Le 28/04/2023 ? 09:40, Arnaud FLORENT via samba a ?crit?:
>>
>> Le 28/04/2023 ? 09:12, Arnaud FLORENT via samba a ?crit?:
>>>
>>> Le 28/04/2023 ? 01:03, Andrew Bartlett via samba a ?crit?:
>>>> On Thu, 2023-04-27 at 18:18 +0200, Arnaud FLORENT via samba wrote:
>>>>> so it
2023 May 03
1
LAPS support
finally i got LAPS GPO working ( there was errors in my first schema
update ldif files)
i had to set "Enable password encryption" to disabled in LAPS GPO.
after reading wiki
(https://wiki.samba.org/index.php/Samba_AD_schema_extensions), before
install on production, i would like to have some advice
should i wait for this schema update to be integrated in samba source,
or this
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}
>...
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}
&g...
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}
>>>
>>&g...
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;unixHomeDirect...
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