Displaying 2 results from an estimated 2 matches for "ntndom".
Did you mean:
ntdom
2019 Aug 20
0
winbind on DC : how use gidNumber instead of primaryGroupID as user's primary group
...ername |awk -F"=" '{ print $2 }'|cut -d"(" -f1
$2 = GID
$3 = primary group.
Ok so above was with a user the does have a UID + GID assigned.
id username-NOGID |/usr/bin/awk -F"=" '{ print $2 }'|/usr/bin/cut -d"(" -f1
3000165 ( is : ,3000165(NTNDOM\username-NOGID)
Ok, so thats wrong..
id username |awk -F"gid=" '{ print $2 }'|cut -d"(" -f1
10000
Which is correct
I've verified the last line : id username |awk -F"gid=" '{ print $2 }'|cut -d"(" -f1
With AD user with UID+GID
With A...
2019 Aug 20
3
winbind on DC : how use gidNumber instead of primaryGroupID as user's primary group
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Prunk Dump via samba
> Verzonden: dinsdag 20 augustus 2019 10:20
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] winbind on DC : how use gidNumber
> instead of primaryGroupID as user's primary group
>
> Le lun. 19 ao?t 2019 ? 12:37, Rowland penny via samba