summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2004-01-22 14:44:45 +0000
committerSimo Sorce <idra@samba.org>2004-01-22 14:44:45 +0000
commitd3f269cd833c7452776008881ec1f1b695e0eabf (patch)
tree6ffae54cc0853682a65a332d4d36990a12c0e344 /source3/passdb
parent614d1e31175de7a2defd7002722af8cd43bee701 (diff)
downloadsamba-d3f269cd833c7452776008881ec1f1b695e0eabf.tar.gz
samba-d3f269cd833c7452776008881ec1f1b695e0eabf.tar.bz2
samba-d3f269cd833c7452776008881ec1f1b695e0eabf.zip
fix previously committed old version by mistake
(This used to be commit 4840b25dbd4d2eafc010389a711d42862d5fb0f0)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_gums.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/passdb/pdb_gums.c b/source3/passdb/pdb_gums.c
index 874199e04d..f34d3a94b5 100644
--- a/source3/passdb/pdb_gums.c
+++ b/source3/passdb/pdb_gums.c
@@ -1,6 +1,6 @@
/*
- * 'Gums' password backend for samba
- * Copyright (C) Simo Sorce 2004
+ * GUMS password backend for samba
+ * Copyright (C) Simo Sorce 2003-2004
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
@@ -236,7 +236,7 @@ static NTSTATUS gums_getsampwnam (struct pdb_methods *methods, SAM_ACCOUNT *acco
if (!account || !name)
return NT_STATUS_INVALID_PARAMETER;
- if (!NT_STATUS_IS_OK(ret = ggwd->fns->get_object_from_name(&go, name, GUMS_OBJ_NORMAL_USER))) {
+ if (!NT_STATUS_IS_OK(ret = ggwd->fns->get_object_from_name(&go, global_myname(), name, GUMS_OBJ_NORMAL_USER))) {
DEBUG(10, ("gums_getsampwnam: unable to find account with name %s", name));
return ret;
}