Etc win32utils seg faults when a pdc/bdc is queried

Hm...that's strange. Does it help if you put a "\\" in front of the domain controller name? I believe NT requires that (while 2k and later do not).

Still, it shouldn't segfault. I'll look into it.

Regards,

Dan

···

-----Original Message-----
From: "Peña, Botp" [mailto:botp@delmonte-phil.com]
Sent: Tuesday, March 22, 2005 12:19 AM
To: ruby-talk ML
Subject: Re: etc win32utils seg faults when a pdc/bdc is queried

Hi Win32 team,

Etc seg faults when a pdc or bdc (domain controller) is
queried. Is support for domain controllers not up yet?

kind regards -botp

note: domain controller tested is just NT and not 2K/AD

---------8<------------
C:\family\ruby>ruby -rwin32/etc -e "p
Win32::Etc.getpwnam('Administrator','pdc')"

-e:1: [BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [i386-mswin32]

This application has requested the Runtime to terminate it in
an unusual way. Please contact the application's support team
for more information.