Mail Archives: cygwin/2002/04/18/04:52:15
On Wed, Apr 17, 2002 at 11:25:53AM -0400, Jason Tishler wrote:
> After some more digging, I believe that I have found the root cause to
> the above problem. The new way, via NetGetDCName(), causes two extra
> backslashes to be prepended to the PDC name as demonstrated by the
> attached test program:
>
> NetServerEnum PDC = PALO-ALTO-PDC
> NetGetDCName PDC = \\PALO-ALTO-PDC
>
> This causes the NetUserGetGroups() call in get_user_groups() to SEGV
> (at least under gdb) and hence, ultimately create_token() fails.
Ok, that explains it.
> My WAG regarding domain vs. workgroup was correct because the workgroup
> path through this code does not cause extra backslashes to be prepended.
>
> I will submit a patch to cygwin-patches to correct this problem.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -