summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-29 13:23:47 +0200
committerVolker Lendecke <vl@samba.org>2008-05-05 18:28:58 +0200
commit2b3d03d6f16e4110d0000cbb10a087cef2ce9e44 (patch)
treeaab87dbb6367b278bf3d5aac43c14ea151f36101 /source3/passdb
parent1b2bf00fb98417434f653ce869226887d97aaeb2 (diff)
downloadsamba-2b3d03d6f16e4110d0000cbb10a087cef2ce9e44.tar.gz
samba-2b3d03d6f16e4110d0000cbb10a087cef2ce9e44.tar.bz2
samba-2b3d03d6f16e4110d0000cbb10a087cef2ce9e44.zip
Remove unix_homedir from struct user_struct
This makes pdb_get_unix_homedir unused. I wonder if that was ever really used... (This used to be commit 36bfd32f1ff878e827db91e9bf233719ecca5b01)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_get_set.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/passdb/pdb_get_set.c b/source3/passdb/pdb_get_set.c
index c427d41e23..7a8086c63e 100644
--- a/source3/passdb/pdb_get_set.c
+++ b/source3/passdb/pdb_get_set.c
@@ -301,14 +301,6 @@ const char *pdb_get_homedir(const struct samu *sampass)
return sampass->home_dir;
}
-const char *pdb_get_unix_homedir(const struct samu *sampass)
-{
- if (sampass->unix_pw ) {
- return sampass->unix_pw->pw_dir;
- }
- return NULL;
-}
-
const char *pdb_get_dir_drive(const struct samu *sampass)
{
return sampass->dir_drive;