i guess i'm the only one this ever annyoed...
[ira/wip.git] / source3 / libsmb / samlogon_cache.c
index 7863ad7727eadbf44af2575c9658b5251a11cd05..72c10007bf4ab84fea2f249dede6c5ac2f55292e 100644 (file)
@@ -143,7 +143,7 @@ BOOL netsamlogon_cache_store(TALLOC_CTX *mem_ctx, NET_USER_INFO_3 *user)
                data.dsize = prs_offset( &ps );
                data.dptr = prs_data_p( &ps );
 
-               if (tdb_store_by_string(netsamlogon_tdb, keystr, data, TDB_REPLACE) != -1)
+               if (tdb_store_bystring(netsamlogon_tdb, keystr, data, TDB_REPLACE) != -1)
                        result = True;
                
                prs_mem_free( &ps );