summaryrefslogtreecommitdiffstats
path: root/source3/include/passdb.h
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-02-21 19:22:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:18 -0500
commit6622ba566ed3cc3ac362c4e257d7c8ed3c437a8a (patch)
tree56a43592ed6122eb6bf66e63ea82c616fdc36751 /source3/include/passdb.h
parent7b9736eb749d3cd55f0cf19c746cc65bdfd45bf7 (diff)
downloadsamba-6622ba566ed3cc3ac362c4e257d7c8ed3c437a8a.tar.gz
samba-6622ba566ed3cc3ac362c4e257d7c8ed3c437a8a.tar.xz
samba-6622ba566ed3cc3ac362c4e257d7c8ed3c437a8a.zip
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)
Diffstat (limited to 'source3/include/passdb.h')
-rw-r--r--source3/include/passdb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h
index 68165ca3d57..3c1e9bb5b74 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 {