1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

commented out strupper before key check against internal db, it's no good

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 commit is contained in:
Simo Sorce
-
parent eb3354aa6c
commit 2ad0e81c8d

View 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 );