summaryrefslogtreecommitdiff
path: root/source/passdb/nispass.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-10-18 20:15:12 +0000
committerJeremy Allison <jra@samba.org>2001-10-18 20:15:12 +0000
commit8d23a7441b4687458ee021bfe8880558506eddba (patch)
treea1d58b46bde8898a9c04cce7fe931fdc9b8f2aff /source/passdb/nispass.c
parentd8262286ddb6105a9d3b0730912447ea2401a3fb (diff)
downloadsamba-8d23a7441b4687458ee021bfe8880558506eddba.tar.gz
Merge the become_XXX -> change_to_XXX fixes from 2.2.2 to HEAD.
Ensure make_conection() can only be called as root. Jeremy.
Diffstat (limited to 'source/passdb/nispass.c')
-rw-r--r--source/passdb/nispass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/passdb/nispass.c b/source/passdb/nispass.c
index 04b3765d592..a595cabb37b 100644
--- a/source/passdb/nispass.c
+++ b/source/passdb/nispass.c
@@ -297,7 +297,7 @@ static BOOL make_sam_from_nisp_object(struct sam_passwd *pw_buf, nis_object *obj
if (pw_buf->smb_name[strlen(pw_buf->smb_name)-1] != '$') {
/* XXXX hack to get standard_sub_basic() to use sam logon username */
- /* possibly a better way would be to do a become_user() call */
+ /* possibly a better way would be to do a change_to_user() call */
pstrcpy(samlogon_user, pw_buf->smb_name);
sam_logon_in_ssb = True;