The Samba-Bugzilla – Attachment 940 Details for
Bug 2301
fake kaserver doesn't call VIOCUNLOG
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
adds afs_unlog() to afs.c and calls it from close_cnum()
samba-afsunlog.patch (text/plain), 916 bytes, created by
Klas Lindfors
on 2005-02-03 01:56:26 UTC
(
hide
)
Description:
adds afs_unlog() to afs.c and calls it from close_cnum()
Filename:
MIME Type:
Creator:
Klas Lindfors
Created:
2005-02-03 01:56:26 UTC
Size:
916 bytes
patch
obsolete
>Index: samba3/source/smbd/service.c >=================================================================== >--- samba3/source/smbd/service.c (revision 5156) >+++ samba3/source/smbd/service.c (working copy) >@@ -858,6 +858,11 @@ > standard_sub_conn(conn,cmd,sizeof(cmd)); > smbrun(cmd,NULL); > } >+#ifdef WITH_FAKE_KASERVER >+ if(lp_afs_share(SNUM(conn))) { >+ afs_unlog(); >+ } >+#endif > > conn_free(conn); > } >Index: samba3/source/lib/afs.c >=================================================================== >--- samba3/source/lib/afs.c (revision 5156) >+++ samba3/source/lib/afs.c (working copy) >@@ -207,6 +207,13 @@ > For the comments "Alice" is the User to be auth'ed, and "Bob" is the > AFS server. */ > >+void afs_unlog(void) >+{ >+ struct ViceIoctl vi; >+ memset(&vi, 0, sizeof(vi)); >+ syscall(SYS_afs_syscall, AFSCALL_PIOCTL, 0, VIOCUNLOG, &vi, 0); >+} >+ > BOOL afs_login(connection_struct *conn) > { > DATA_BLOB ticket;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2301
: 940