[jcifs] Status 59 in NetServerEnum2 response?

Gary Rambo grambo at aventail.com
Fri Feb 13 19:24:48 GMT 2004


Last word:

I'm guessing the "Small Business Server 2000" is the crucial piece of information here: SBS seems to allow for a single NT domain; the SBS server is the PDC and is unable to establish trust relations with other domains, so it's not surprising that it wouldn't respond well to a request to enumerate domains.

The event log on the SBS server has a not-very-helpful "The server service is unable to map code 1355".

Gary

Gary Rambo wrote:
> Chris,
> 
> Jcifs is using ports 137/139, 139 for this exchange, and it's the status
> 
> code in the RAP. Initially I thought it was W2K3 but it now appears to 
> be a W2K server:
> 
> Windows 2000 server with service pack 4
> Small business server 2000
> WINS
> DNS Services
> Active directory
> SBS is on a 15 user license
> 
> Transmission Control Protocol, Src Port: netbios-ssn (139), Dst Port:
> 33082 (33082), Seq: 4187936874, Ack: 1344227611, Len: 68
> NetBIOS Session Service
> SMB (Server Message Block Protocol)
>     SMB Header
>         Server Component: SMB
>         Response to: 4
>         Time from request: 0.001246000 seconds
>         SMB Command: Trans (0x25)
>         Error Class: Success (0x00)
>         Reserved: 00
>         Error Code: No Error
>         Flags: 0x98
>         Flags2: 0x8001
>         Process ID High: 0
>         Signature: 0000000000000000
>         Reserved: 0000
>         Tree ID: 6151
>         Process ID: 47034
>         User ID: 14337
>         Multiplex ID: 968
>     Trans Response (0x25)
> SMB Pipe Protocol
> Microsoft Windows Lanman Remote API Protocol
>     Function Code: NetServerEnum2 (104)
>     Status: Unknown (59)
>     Convert: 0
>     Entry Count: 0
> 
> 
> Thanks.
> 
> Gary
> 
> Christopher R. Hertel wrote:
> 
> 
>>Is that the Status code in the SMB header or the RAP status code.
>>(Yeah, 
>>there are two of them.)
>>
>>If the latter, and if the system you're talking to is W2K, please let
> 
> me
> 
>>know what ports jCIFS is using.  I've recently had someone point out to
>>me 
>>that W2K and W2K3 won't handle some (any?) RAP calls on port 445.
>>
>>Chris -)-----
>>
>>On Wed, Feb 04, 2004 at 11:50:17PM -0800, Gary Rambo wrote:
>> 
>>
>>
>>>Greetings,
>>>
>>>I'm sending a NetServerEnum2 request (Domain Enum) to the first
>>>   
>>>
>>
>>browser 
>> 
>>
>>
>>>that answers my __MSBROWSE__ NBNS broadcast. One server, which I think
>>>   
>>>
>>
>> 
>>
>>
>>>is W2K3, returns a response with Entry Count zero and status 59.
>>>   
>>>
>>
>>Status 
>> 
>>
>>
>>>59 is not covered in the list of NERR_ values in SmbException.java.
>>>
>>>Does anyone know what status 59 means? Is there any way around it?
>>>
>>>Thanks.
>>>
>>>Gary
>>>
>>>   
>>>
>>
>> 
>>
> 
> 

-- 
Gary Rambo
Aventail Corporation
Secure access for the real world.
www.aventail.com


More information about the jcifs mailing list