Quantcast
Channel: How can I list all of the groups given user belongs to in the samba4 domain? - Server Fault
Browsing latest articles
Browse All 3 View Live

Answer by jaysponsored for How can I list all of the groups given user...

You can use ''id'': $ id eduardomozart uid=3000011(NETHOUSE\eduardomozart) gid=100(users) grupos=100(users),3000011(NETHOUSE\eduardomozart),3000005(NETHOUSE\domain admins),3000002(NETHOUSE\denied rodc...

View Article



Answer by Esa Jokinen for How can I list all of the groups given user belongs...

I don't think samba-tool has anything for that, but LDAP is more powerful for this kind of queries, e.g. ldapsearch -LLL -b "dc=example,dc=com" "(&(cn=*)(memberUid=user))" dn

View Article

How can I list all of the groups given user belongs to in the samba4 domain?

I have a samba4-based domain. How can I list all of the groups to which given user belongs? I know I can go the reverse way - iterate via all the groups [ samba-tool group list ] and see their...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images