From 4fc36ca802230fbed8bb2b3b959bc2a6afd1ed3d Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 11 Jun 2010 08:25:27 -0400 Subject: s3:auth fix samu->info3 conversion Some pdb_get_ functions where missing because of previous mis-patching --- source3/auth/server_info.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/auth/server_info.c') diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c index 6b43fc6bc3..1ef272489c 100644 --- a/source3/auth/server_info.c +++ b/source3/auth/server_info.c @@ -413,14 +413,17 @@ NTSTATUS samu_to_SamInfo3(TALLOC_CTX *mem_ctx, info3->base.logon_script.string = talloc_strdup(info3, tmp); RET_NOMEM(info3->base.logon_script.string); } + tmp = pdb_get_profile_path(samu); if (tmp) { info3->base.profile_path.string = talloc_strdup(info3, tmp); RET_NOMEM(info3->base.profile_path.string); } + tmp = pdb_get_homedir(samu); if (tmp) { info3->base.home_directory.string = talloc_strdup(info3, tmp); RET_NOMEM(info3->base.home_directory.string); } + tmp = pdb_get_dir_drive(samu); if (tmp) { info3->base.home_drive.string = talloc_strdup(info3, tmp); RET_NOMEM(info3->base.home_drive.string); -- cgit