[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: etc win32utils seg faults when a pdc/bdc is queried

Peña, Botp

3/23/2005 2:23:00 AM

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

//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 :-)

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

thanks and kind regards
-botp

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