[Samba] Unable to get primary group information when using AD authentication with samba-4.10.4
rpenny at samba.org
Tue Mar 3 11:22:53 UTC 2020
On 03/03/2020 11:07, Goto, Ryoichi wrote:
>> I don't really see why a user needs to run 'wbinfo -a' in the first place ?
> It's not my purpose to look at the meaning of the wbinfo commands while being rude.
I wasn't aiming my comments at you ;-)
> My goal was to see if the administrator of a mail server using AD authentication could just use the "wbinfo -a" as a means to find
> out the group name of the recipients of mail arriving at that server.
> Unfortunately, my goal doesn't seem to be achieved with "wbinfo -a", so I'll look at alternatives.
Ah, I understand your problem a bit better now, it sounds like you want
to check if a user is member of a specific group before delivering mail.
If so, this is probably possible with a script or modification of your
email servers configuration.
More information about the samba