From 6622ba566ed3cc3ac362c4e257d7c8ed3c437a8a Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 21 Feb 2006 19:22:49 +0000 Subject: r13601: * Remove unused code from pdb_ldap.c * Add a 'struct passwd *' to the struct samu for later reference (I know this may be controversial but its easily reverted which is is why I'm checking this is as a seaparate patch before I get too deep). * Remove unix_homedir from struct samu {} and update the pdb wrapper functions associated with it. (This used to be commit 92c251fdf0f1f566cfeca3c75ba2284b644aef5d) --- source3/include/passdb.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/passdb.h b/source3/include/passdb.h index 68165ca3d5..3c1e9bb5b7 100644 --- a/source3/include/passdb.h +++ b/source3/include/passdb.h @@ -154,7 +154,6 @@ struct samu { const char *domain; /* Windows Domain name */ const char *nt_username; /* Windows username string */ const char *full_name; /* user's full name string */ - const char *unix_home_dir; /* UNIX home directory string */ const char *home_dir; /* home directory string */ const char *dir_drive; /* home directory drive string */ const char *logon_script; /* logon script string */ @@ -189,7 +188,10 @@ struct samu { const struct pdb_methods *backend_private_methods; void *backend_private_data; void (*backend_private_data_free_fn)(void **); + + /* maintain a copy of the user's struct passwd */ + struct passwd *unix_pw; }; struct acct_info { -- cgit