commented out strupper before key check against internal db, it's no good
authorSimo Sorce <idra@samba.org>
Sun, 4 Aug 2002 14:25:32 +0000 (14:25 +0000)
committerSimo Sorce <idra@samba.org>
Sun, 4 Aug 2002 14:25:32 +0000 (14:25 +0000)
to check for uppercased strings when we store them not uppercased.

jerry, this fix is needed to make usrmgr.exe work again.
meanwhile we found out that NT_STATUS code may not be appropriate there.
In particular it seem that an NT PDC will send back 02 as error
(ERRbadfile) not 0xc000000f (NT_STATUS_NO_SUCH_FILE NT)

I think further investigation is need to understand which are aprropriate
return codes here.
(This used to be commit 2ad0e81c8da62b7e15ab3e414b5e15a94fe5de87)

source3/registry/reg_db.c

index b4c8f60ccf5257f2dbb78737f49bbccb7e38420e..db32568f1576628f58e2792ea1cc9d0542151522 100644 (file)
@@ -248,7 +248,7 @@ int regdb_fetch_reg_keys( char* key, REGSUBKEY_CTR *ctr )
        
        /* convert to key format */
        pstring_sub( path, "\\", "/" ); 
-       strupper_m( path );
+       /*strupper_m( path );*/
        
        dbuf = tdb_fetch_by_string( tdb_reg, path );