rpcclient from tng

Luke Kenneth Casson Leighton lkcl at samba.org
Tue Feb 8 16:53:36 GMT 2000


oops, it may be too long (large) for the current regenum code.  does
anyone with some MSDN / Reg* experience want to take a look at the code
and try and fix this?  the api is pretty much identical except it will be
reg_enum_values not RegEnumValues etc :)

On Wed, 9 Feb 2000, Seth Vidal wrote:

> hi folks,
>  I know this is a more mundane question than the current controversy
> but...
> 
> I downloaded and built tng (well rpcclient out of tng at least) and I've
> connected into an NT machine to registry edits.
> the situation:
> 
> HKLM\SOFTWARE\COMPANYNAME\SOFTWARENAME\LICENSEKEY\
> 
> the only (default) key under this tree is a string type licensekey.
> 
> How do I set the value for the default entry?
> As well when I do a regenum It never lists the  current value.
> the errors I see:
> [skvidal at JORDAN]$ regenum "HKEY_LOCAL_MACHINE\SOFTWARE\PASCO
> Scientific\DataStudio\LicenseKey"
> regenum "HKEY_LOCAL_MACHINE\SOFTWARE\PASCO Scientific\DataStudio\LicenseKey"
> vuid_init_db: failed
> Key Name:   HKEY_LOCAL_MACHINE\SOFTWARE\PASCO Scientific\DataStudio\LicenseKey
> Key Values
> ----------
> REG_ENUM_VALUE: 
> 
> [skvidal at JORDAN]$ regenum "HKEY_LOCAL_MACHINE\SOFTWARE\PASCOScientific\DataStudio\SerialNumber" 
> regenum "HKEY_LOCAL_MACHINE\SOFTWARE\PASCO Scientific\DataStudio\SerialNumber"
> vuid_init_db: failed
> Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\PASCOScientific\DataStudio\SerialNumber
> Key Values
> ----------
> 	:	string:	5895
> 
> 
> so you see the next key does have values but the licensekey doesn't.
> 
> I've checked the machine and there is an entry.
> 
> what does vuid_init_db: failed mean?
> 
> thanks
> -sv
> 
> 

<a href="mailto:lkcl at samba.org"   > Luke Kenneth Casson Leighton    </a>
<a href="http://www.cb1.com/~lkcl"> Samba and Network Development   </a>
<a href="http://samba.org"        > Samba Web site                  </a>
<a href="http://www.iss.net"      > Internet Security Systems, Inc. </a>
<a href="http://mcp.com"          > Macmillan Technical Publishing  </a>

 ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals



More information about the samba-ntdom mailing list