diff options
author | Simo Sorce <idra@samba.org> | 2010-06-11 08:25:27 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-06-11 08:26:39 -0400 |
commit | 4fc36ca802230fbed8bb2b3b959bc2a6afd1ed3d (patch) | |
tree | 8e4ba997d052e45d590ba9fa54df565b30c3dea9 /source3/auth | |
parent | d5cf6482ed0cd9a11448ca04944b2e01200a7c89 (diff) | |
download | samba-4fc36ca802230fbed8bb2b3b959bc2a6afd1ed3d.tar.gz samba-4fc36ca802230fbed8bb2b3b959bc2a6afd1ed3d.tar.bz2 samba-4fc36ca802230fbed8bb2b3b959bc2a6afd1ed3d.zip |
s3:auth fix samu->info3 conversion
Some pdb_get_ functions where missing because of previous mis-patching
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/server_info.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |