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).

C:\family\ruby>ruby -rwin32/etc -e "p
Win32::Etc.getpwnam('Administrator','\\pdc')"
-e:1:in `getpwnam': unknown error/invalid server (Win32::Etc::EtcError)
        from -e:1

i also tested it on more than 2 backslashes :slight_smile:

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

thanks and kind regards
-botp

//
//Regards,
//
//Dan
//

···

Berger, Daniel [mailto:Daniel.Berger@qwest.com] wrote: