Mail Archives: cygwin-developers/2002/07/15/08:51:41
Corinna,
On Mon, Jul 15, 2002 at 11:07:33AM +0200, Corinna Vinschen wrote:
> So, basically the current implementation is more correct than the old
> implementation. I don't see how to make it better.
But, the current implementation causes sshd and cron to fail for domain
users when their server is disconnected from its PDC. IMO, this is not
good.
> [snip]
>
> We *could* change it this way to succeed more often:
>
> GetPDC();
> if (has_pdc)
> {
> get_domain_groups_of_account();
> get_local_groups_of_account();
> if (!has_primary_group)
> get_primary_group_of_account();
> }
> if (!has_primary_group)
> get_primary_group_from_etc_passwd();
> get_supplementary_groups_from_etc_group();
>
>
> That could leave you with a somewhat restricted token, though.
I haven't fully evaluated the above ramifications, but IMO, some
relaxation of the current implementation is needed.
What do others think?
Thanks,
Jason
- Raw text -