git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* sync more files from 3.0
[nivanova/samba-autobuild/.git]
/
source
/
smbd
/
service.c
diff --git
a/source/smbd/service.c
b/source/smbd/service.c
index 70126b9e7fc9eed9f32fde4e39fb555906d49541..44d73b2ab27b8382c4994969dc60c8508f0ebd1b 100644
(file)
--- a/
source/smbd/service.c
+++ b/
source/smbd/service.c
@@
-644,7
+644,9
@@
static connection_struct *make_connection_snum(int snum, user_struct *vuser,
}
#ifdef WITH_FAKE_KASERVER
- afs_login(user);
+ if (lp_afs_share(SNUM(conn))) {
+ afs_login(conn);
+ }
#endif
#if CHECK_PATH_ON_TCONX