Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Marsaud Smb2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Marsaud Smb2
Commits
b88b6e24
Commit
b88b6e24
authored
Dec 18, 2015
by
Fabrice Marsaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Temporary fixes
parent
08003d55
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
13 deletions
+23
-13
lib/tools/ms_erref.js
lib/tools/ms_erref.js
+13
-13
lib/tools/smb2-connection.js
lib/tools/smb2-connection.js
+10
-0
No files found.
lib/tools/ms_erref.js
View file @
b88b6e24
...
...
@@ -88,10 +88,10 @@ var facilities = {
"code":"FACILITY_SECURITY"
, "message":"The source of the error code is the Security API layer."
}
,
9
:{
"
code
"
:
"
FACILITY_SSPI
"
,
"
message
"
:
"
The source of the error code is the Security API layer.
"
}
//
, 9:{
//
"code":"FACILITY_SSPI"
//
, "message":"The source of the error code is the Security API layer."
//
}
, 10:{
"code":"FACILITY_CONTROL"
, "message":"The source of the error code is the control mechanism."
...
...
@@ -292,10 +292,10 @@ var ntStatus = {
"code":"STATUS_ABANDONED"
, "message":"The caller attempted to wait for a mutex that has been abandoned."
}
,
"
0x00000080
"
:{
"
code
"
:
"
STATUS_ABANDONED_WAIT_0
"
,
"
message
"
:
"
The caller attempted to wait for a mutex that has been abandoned.
"
}
//
, "0x00000080":{
//
"code":"STATUS_ABANDONED_WAIT_0"
//
, "message":"The caller attempted to wait for a mutex that has been abandoned."
//
}
, "0x000000BF":{
"code":"STATUS_ABANDONED_WAIT_63"
, "message":"The caller attempted to wait for a mutex that has been abandoned."
...
...
@@ -7016,10 +7016,10 @@ var ntStatus = {
"code":"STATUS_FWP_TOO_MANY_BOOTTIME_FILTERS"
, "message":"The maximum number of boot-time filters has been reached."
}
,
"
0xC0220018
"
:{
"
code
"
:
"
STATUS_FWP_TOO_MANY_CALLOUTS
"
,
"
message
"
:
"
The maximum number of callouts has been reached.
"
}
//
, "0xC0220018":{
//
"code":"STATUS_FWP_TOO_MANY_CALLOUTS"
//
, "message":"The maximum number of callouts has been reached."
//
}
, "0xC0220019":{
"code":"STATUS_FWP_NOTIFICATION_DROPPED"
, "message":"A notification could not be delivered because a message queue has reached maximum capacity."
...
...
@@ -18240,4 +18240,4 @@ var win32ErrorCodes = {
"code":"ERROR_SYSTEM_DEVICE_NOT_FOUND"
, "message":"The requested system device cannot be found."
}
}
\ No newline at end of file
}
lib/tools/smb2-connection.js
View file @
b88b6e24
...
...
@@ -38,6 +38,16 @@ SMB2Connection.requireConnect = function(method){
connect
(
connection
,
function
(
err
){
// process the cb
var
cb
=
args
.
pop
();
if
(
typeof
cb
!==
'
function
'
)
{
args
.
push
(
cb
)
cb
=
function
(
err
)
{
if
(
err
)
{
if
(
!
err
instanceof
Error
)
{
err
=
new
Error
(
String
(
err
))
}
throw
err
}
}
cb
=
scheduleAutoClose
(
connection
,
cb
);
args
.
push
(
cb
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment