[Samba] template shell RFC2307 loginShell

Rowland penny
Mon, 07 Dec 2015 19:25:54 -0000

On 07/12/15 19:13, Jeff Sadowski wrote:
> I had some users with bigger uids then 99999 so I bumped up
> DOMAIN:range to
>
> idmap config DOMAIN:range = 8000-9999999
>
> # getent passwd|wc -l
> 806
>
> yeah I got 5 more users
>
> I wrote a simple loop like so
>
> wbinfo -u|while read i; do id $i|cut -d, -f1; done > users_list.txt
>
> puts out some nice errors
>
> id: guest: no such user
> id: administrator: no such user
> ...
> I'm going to guess none have the uid variable in ad.

Probably not, but the two above probably shouldn't have one anyway.

Rowland
>
>