diff options
author | Luke Leighton <lkcl@samba.org> | 2000-03-06 20:01:47 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 2000-03-06 20:01:47 +0000 |
commit | ad1409a9b875b1c0216e70a259fd1c10485cd39c (patch) | |
tree | e63fab60e63c049d4634307940bca63e0a1785d0 | |
parent | 10e5544f387bb74ea72cf8cb181636e7166862d9 (diff) | |
download | samba-ad1409a9b875b1c0216e70a259fd1c10485cd39c.tar.gz |
oi! who changed set_tdbsam to set_tdbsid without also changing all
occurrences of get_tdbsam to get_tdbsid!!!!
who added global_sid_S_1_1 to tdb_samr_connect?
-rw-r--r-- | source/samrd/srv_samr_dom_tdb.c | 2 | ||||
-rw-r--r-- | source/samrd/srv_samr_usr_tdb.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source/samrd/srv_samr_dom_tdb.c b/source/samrd/srv_samr_dom_tdb.c index 72ff69cf943..78a762dfdfe 100644 --- a/source/samrd/srv_samr_dom_tdb.c +++ b/source/samrd/srv_samr_dom_tdb.c @@ -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; } diff --git a/source/samrd/srv_samr_usr_tdb.c b/source/samrd/srv_samr_usr_tdb.c index 9cee6fe51ad..f856f8e5d34 100644 --- a/source/samrd/srv_samr_usr_tdb.c +++ b/source/samrd/srv_samr_usr_tdb.c @@ -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)) { |