Displaying 6 results from an estimated 6 matches for "ee617215".
2016 Jun 13
2
Changing default UID/GID beginning for AD
...to list all users (I don't know these MS commands
but "Get-AdUser -Filter"...) then sending that list to something to modify
received users list ("Set-AdObject -Replace
@{unixhomedirectory='/bin/sh','bin/bash'}" and
https://technet.microsoft.com/en-us/library/ee617215.aspx).
I would have looked into AD schema and configuration DIT (or naming
context?) but first I did a grep on Samba's source tree looking for
"/bin/sh" string but that strnig seems to be used for running commands and
shebangs only, I could easily have missed something anyway.
A che...
2016 Jun 14
3
Changing default UID/GID beginning for AD
...these MS commands
>> but "Get-AdUser -Filter"...) then sending that list to something to modify
>> received users list ("Set-AdObject -Replace
>> @{unixhomedirectory='/bin/sh','bin/bash'}" and
>> https://technet.microsoft.com/en-us/library/ee617215.aspx).
>>
>
> You could always use ldbmodify on the Samba4 DC and the attribute you need
> to change for the users login shell is 'loginShell' :-)
>
Yep, MS doc, the dude who wrote that made a mistake, he tried to help at
least.
>
>
>> I would have looked in...
2016 Jun 13
0
Changing default UID/GID beginning for AD
...don't know these MS commands
> but "Get-AdUser -Filter"...) then sending that list to something to modify
> received users list ("Set-AdObject -Replace
> @{unixhomedirectory='/bin/sh','bin/bash'}" and
> https://technet.microsoft.com/en-us/library/ee617215.aspx).
You could always use ldbmodify on the Samba4 DC and the attribute you
need to change for the users login shell is 'loginShell' :-)
>
> I would have looked into AD schema and configuration DIT (or naming
> context?) but first I did a grep on Samba's source tree looking...
2016 Jun 14
0
Changing default UID/GID beginning for AD
...but "Get-AdUser -Filter"...) then sending that list to
> something to modify
> received users list ("Set-AdObject -Replace
> @{unixhomedirectory='/bin/sh','bin/bash'}" and
> https://technet.microsoft.com/en-us/library/ee617215.aspx).
>
>
> You could always use ldbmodify on the Samba4 DC and the attribute
> you need to change for the users login shell is 'loginShell' :-)
>
>
> Yep, MS doc, the dude who wrote that made a mistake, he tried to help
> at least.
And you passed the mist...
2016 Jun 14
2
Changing default UID/GID beginning for AD
...AdUser -Filter"...) then sending that list to
>> something to modify
>> received users list ("Set-AdObject -Replace
>> @{unixhomedirectory='/bin/sh','bin/bash'}" and
>> https://technet.microsoft.com/en-us/library/ee617215.aspx).
>>
>>
>> You could always use ldbmodify on the Samba4 DC and the attribute
>> you need to change for the users login shell is 'loginShell' :-)
>>
>>
>> Yep, MS doc, the dude who wrote that made a mistake, he tried to help at
>>...
2016 Jun 13
3
Changing default UID/GID beginning for AD
On 13/06/16 07:27, Daniel Thielking wrote:
> Yes of course. We use Samba4 ADDC with winbind to get unix attributes
> from the DC to the clients. But every time we creating a new member in
> the AD we have to change the default shell what is /bin/sh to
> /bin/tcsh. So we want to change the default value of the field in the
> AD that we don't have to change it every time.
>