oi! who changed set_tdbsam to set_tdbsid without also changing all
authorLuke Leighton <lkcl@samba.org>
Mon, 6 Mar 2000 20:01:47 +0000 (20:01 +0000)
committerLuke Leighton <lkcl@samba.org>
Mon, 6 Mar 2000 20:01:47 +0000 (20:01 +0000)
occurrences of get_tdbsam to get_tdbsid!!!!

who added global_sid_S_1_1 to tdb_samr_connect?

source/samrd/srv_samr_dom_tdb.c
source/samrd/srv_samr_usr_tdb.c

index 72ff69cf943718529f357a437d536da1b8664fa3..78a762dfdfe44d0cd42966d30e561da953eea568 100644 (file)
@@ -92,7 +92,7 @@ uint32 _samr_open_domain(const POLICY_HND *connect_pol,
                         const DOM_SID * sid, POLICY_HND *domain_pol)
 {
        /* find the policy handle.  open a policy on it. */
-       if (!get_tdbsam(get_global_hnd_cache(), connect_pol, NULL))
+       if (!get_tdbsid(get_global_hnd_cache(), connect_pol, NULL, NULL))
        {
                return NT_STATUS_INVALID_HANDLE;
        }
index 9cee6fe51ad3e2ecd2de61a52f25a30156240887..f856f8e5d3430cbf9fdec2732439cd0d4fa17d88 100644 (file)
@@ -438,6 +438,8 @@ uint32 _samr_query_userinfo(const POLICY_HND *pol, uint16 switch_value,
        TDB_CONTEXT *tdb_usr = NULL;
        SAM_USER_INFO_21 usr;
 
+       DEBUG(10,("_samr_query_userinfo: %d\n", __LINE__));
+
        /* find the policy handle.  open a policy on it. */
        if (!get_tdbsam(get_global_hnd_cache(), pol, &tdb_usr))
        {