summaryrefslogtreecommitdiff
path: root/source3/smbd/service.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-09-23 14:52:21 +0000
committerVolker Lendecke <vlendec@samba.org>2003-09-23 14:52:21 +0000
commitc716385220f5ce63fafffd4cff1e9480c5991d02 (patch)
tree93be6842a21e6b8de135bac836d861de34dc7750 /source3/smbd/service.c
parentee868462a0fadcb7a0b18568069dd9190e246d9a (diff)
downloadsamba-c716385220f5ce63fafffd4cff1e9480c5991d02.tar.gz
samba-c716385220f5ce63fafffd4cff1e9480c5991d02.tar.bz2
samba-c716385220f5ce63fafffd4cff1e9480c5991d02.zip
This only touches the fake kaserver support. It adds two parameters:
afs share -- this is an AFS share, do AFS magic things afs username map -- We need a way to specify the cell and possibly weird username codings for several windows domains in the afs cell Volker (This used to be commit 4a3f7a9356cd5068d9ed4fd6e2336d9bf7923fbd)
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