From 8d23a7441b4687458ee021bfe8880558506eddba Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 18 Oct 2001 20:15:12 +0000 Subject: Merge the become_XXX -> change_to_XXX fixes from 2.2.2 to HEAD. Ensure make_conection() can only be called as root. Jeremy. --- source/passdb/nispass.c | 2 +- source/passdb/pass_check.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source/passdb') 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; diff --git a/source/passdb/pass_check.c b/source/passdb/pass_check.c index a57cb2ff06b..44b3b9a2375 100644 --- a/source/passdb/pass_check.c +++ b/source/passdb/pass_check.c @@ -233,7 +233,7 @@ static BOOL dfs_auth(char *user, char *password) } /* - * NB. I'd like to change these to call something like become_user() + * NB. I'd like to change these to call something like change_to_user() * instead but currently we don't have a connection * context to become the correct user. This is already * fairly platform specific code however, so I think -- cgit