summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-02-11 15:20:17 +0000
committerGerald Carter <jerry@samba.org>2004-02-11 15:20:17 +0000
commitb11fa6146ba9f2a51d495e859357e182a18a7e84 (patch)
tree2a3c25a5e2a8d6f0e4e9157a2331859e4931d250
parent49a9596c6223573a6a38cf310d366e713a3c1555 (diff)
downloadsamba-b11fa6146ba9f2a51d495e859357e182a18a7e84.tar.gz
samba-b11fa6146ba9f2a51d495e859357e182a18a7e84.tar.bz2
samba-b11fa6146ba9f2a51d495e859357e182a18a7e84.zip
fix broken compile after andrew's changes
(This used to be commit c77baee0f17fd44e333c8db6a9cae33f649a6701)
-rw-r--r--source3/sam/gums_api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/sam/gums_api.c b/source3/sam/gums_api.c
index f90cbbc951..5aafa7695f 100644
--- a/source3/sam/gums_api.c
+++ b/source3/sam/gums_api.c
@@ -346,7 +346,7 @@ const DATA_BLOB gums_get_user_nt_pwd(const GUMS_OBJECT *obj)
if (!obj || obj->type != GUMS_OBJ_NORMAL_USER)
return data_blob(NULL, 0);
- smbpasswd_sethexpwd(p, (unsigned char *)(obj->user->nt_pw.data), 0);
+ pdb_sethexpwd(p, (unsigned char *)(obj->user->nt_pw.data), 0);
DEBUG(100, ("Reading NT Password=[%s]\n", p));
return obj->user->nt_pw;
@@ -359,7 +359,7 @@ const DATA_BLOB gums_get_user_lm_pwd(const GUMS_OBJECT *obj)
if (!obj || obj->type != GUMS_OBJ_NORMAL_USER)
return data_blob(NULL, 0);
- smbpasswd_sethexpwd(p, (unsigned char *)(obj->user->lm_pw.data), 0);
+ pdb_sethexpwd(p, (unsigned char *)(obj->user->lm_pw.data), 0);
DEBUG(100, ("Reading LM Password=[%s]\n", p));
return obj->user->lm_pw;
@@ -586,7 +586,7 @@ NTSTATUS gums_set_user_nt_pwd(GUMS_OBJECT *obj, const DATA_BLOB nt_pwd)
obj->user->nt_pw = data_blob_talloc(obj->mem_ctx, nt_pwd.data, nt_pwd.length);
memcpy(r, nt_pwd.data, 16);
- smbpasswd_sethexpwd(p, r, 0);
+ pdb_sethexpwd(p, r, 0);
DEBUG(100, ("Setting NT Password=[%s]\n", p));
return NT_STATUS_OK;
@@ -606,7 +606,7 @@ NTSTATUS gums_set_user_lm_pwd(GUMS_OBJECT *obj, const DATA_BLOB lm_pwd)
obj->user->lm_pw = data_blob_talloc(obj->mem_ctx, lm_pwd.data, lm_pwd.length);
memcpy(r, lm_pwd.data, 16);
- smbpasswd_sethexpwd(p, r, 0);
+ pdb_sethexpwd(p, r, 0);
DEBUG(100, ("Setting LM Password=[%s]\n", p));
return NT_STATUS_OK;