git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
845fb28
)
windows-smb-name-deleted-20080109
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Wed, 9 Jan 2008 15:25:07 +0000 (15:25 +0000)
committer
Jeffrey Altman
<jaltman@secure-endpoints.com>
Wed, 9 Jan 2008 15:25:07 +0000 (15:25 +0000)
LICENSE MIT
if the smb_Listener receives NRC_NAMERR (name deleted) it must be because
an smb shutdown has occurred. do not panic.
src/WINNT/afsd/smb.c
patch
|
blob
|
history
diff --git
a/src/WINNT/afsd/smb.c
b/src/WINNT/afsd/smb.c
index
78a881f
..
31d981c
100644
(file)
--- a/
src/WINNT/afsd/smb.c
+++ b/
src/WINNT/afsd/smb.c
@@
-8086,7
+8086,13
@@
void smb_Listener(void *parmp)
code = Netbios(ncbp);
- if (code == NRC_BRIDGE) {
+ if (code == NRC_NAMERR) {
+ /* An smb shutdown must have taken place */
+ osi_Log2(smb_logp,
+ "NCBLISTEN lana=%d failed with NRC_NAMERR.",
+ ncbp->ncb_lana_num, code);
+ continue;
+ } else if (code == NRC_BRIDGE) {
int lanaRemaining = 0;
lock_ObtainMutex(&smb_StartedLock);