Displaying 3 results from an estimated 3 matches for "a_base_dn_that_contain_all_my_users".
2019 Aug 20
1
winbind on DC : how use gidNumber instead of primaryGroupID as user's primary group
...te
value. As on DC winbind always give "Domain Users" as gid I can't use
the "id" or "wbinfo' command to get the "gidNumber" attribute value.
So my question is : Is there a faster equivalent of this command :
ldbsearch -H /var/lib/samba/private/sam.ldb -b
a_base_dn_that_contain_all_my_users '(cn=myusername)' gidNumber | grep
gidNumber | sed 's/gidNumber: //'
Is there a samba command to get as fast as possible an user LDAP
attribute values ?
Regards,
Baptiste.
2019 Aug 19
3
winbind on DC : how use gidNumber instead of primaryGroupID as user's primary group
Le lun. 19 ao?t 2019 ? 11:01, L.P.H. van Belle via samba
<samba at lists.samba.org> a ?crit :
>
> Hai,
>
> Fist of all, i must say it not very wise to have you NFS server on the AD-DC.
>
> I do about the same but my NFS server is on a member.
>
> Have you configured /etc/nsswitch.conf ?
> If not do that.
>
> If you run : id username
> I see :
2019 Aug 20
3
winbind on DC : how use gidNumber instead of primaryGroupID as user's primary group
...d always give "Domain Users" as gid I can't use
> the "id" or "wbinfo' command to get the "gidNumber" attribute value.
> So my question is : Is there a faster equivalent of this command :
>
> ldbsearch -H /var/lib/samba/private/sam.ldb -b
> a_base_dn_that_contain_all_my_users '(cn=myusername)' gidNumber | grep
> gidNumber | sed 's/gidNumber: //'
>
> Is there a samba command to get as fast as possible an user LDAP
> attribute values ?
>
> Regards,
>
> Baptiste.
>
> --
> To unsubscribe from this list go to the followin...