git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1788540
)
Remove current_user_info reference from vfs_expand_msdfs.c
author
Volker Lendecke
<vl@samba.org>
Thu, 19 Jun 2008 13:44:15 +0000
(15:44 +0200)
committer
Volker Lendecke
<vl@samba.org>
Thu, 19 Jun 2008 13:53:43 +0000
(15:53 +0200)
(This used to be commit
05a66980a9b5a7c6222ceb038d819d23fd172186
)
source3/modules/vfs_expand_msdfs.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_expand_msdfs.c
b/source3/modules/vfs_expand_msdfs.c
index 9b85ad2dda486a0b935cb185738a9244f48e0b74..3654ae435124ce6460ae6917a500337432442ed0 100644
(file)
--- a/
source3/modules/vfs_expand_msdfs.c
+++ b/
source3/modules/vfs_expand_msdfs.c
@@
-22,8
+22,6
@@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_VFS
-extern userdom_struct current_user_info;
-
/**********************************************************
Under mapfile we expect a table of the following format:
@@
-149,7
+147,7
@@
static char *expand_msdfs_target(TALLOC_CTX *ctx,
conn->connectpath,
conn->server_info->gid,
conn->server_info->sanitized_username,
-
current_user_info.domain
,
+
pdb_get_domain(conn->server_info->sam_account)
,
targethost);
DEBUG(10, ("Expanded targethost to %s\n", targethost));