summaryrefslogtreecommitdiff
path: root/source3/smbd/service.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-09-24 15:16:57 +0000
committerGerald Carter <jerry@samba.org>2003-09-24 15:16:57 +0000
commit602ad283b4724acac0a416cd1fd1124ce89ee316 (patch)
tree0a0a995abaa76d3a350d450ddb996ee260ca4f3a /source3/smbd/service.c
parent4b10dd945476a93fd9a7d3e047cff7592935ad34 (diff)
downloadsamba-602ad283b4724acac0a416cd1fd1124ce89ee316.tar.gz
samba-602ad283b4724acac0a416cd1fd1124ce89ee316.tar.bz2
samba-602ad283b4724acac0a416cd1fd1124ce89ee316.zip
* sync more files from 3.0
* set version string to "CVS 3.1.0alpha1" (This used to be commit c6a61ffcbd0c95afd94bd33fd832b24bc8209de5)
Diffstat (limited to 'source3/smbd/service.c')
-rw-r--r--source3/smbd/service.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 70126b9e7f..44d73b2ab2 100644
--- a/source3/smbd/service.c
+++ b/source3/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