WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

wNT
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Port Required for WntUserGetDat


Question:

I've a firewall and need know what port are required for use WntUserGetDat?

Answer:

The WntUserGetDat function uses the Windows API NetUserGetInfo. So in other words if you can determine what port is used for that API then you will have your answer.

Here is a 'Port reporter' tool from Microsoft that might help:
http://support.microsoft.com/default.aspx?scid=kb;en-us;837243

More:

To establish a domain trust or a security channel across a firewall, the following ports must be opened. Note that there may be hosts functioning with both client and server roles on both sides of the firewall. Because of this, ports rules may need to be mirrored.

Windows NT

Client Port(s)    Server Port      Service 
1024-65535/TCP    135/TCP          RPC * 
137/UDP           137/UDP          NetBIOS Name 
138/UDP           138/UDP          NetBIOS Netlogon and Browsing 
1024-65535/TCP    139/TCP          NetBIOS Session 
1024-65535/TCP    42/TCP           WINS Replication 
Windows Server 2003 and Windows 2000 Server
For a mixed-mode domain with either Windows NT domain controllers or legacy clients or trust relationship between two Windows Server 2003-based or Windows 2000 Server-based domain controllers that are not in the same forest, all of the preceding ports for Windows NT may need to be opened in addition to the following ports:
Client Port(s)         Server Port    Service 
1024-65535/TCP         135/TCP        RPC * 
1024-65535/TCP/UDP     389/TCP/UDP    LDAP 
1024-65535/TCP         636/TCP        LDAP SSL 
1024-65535/TCP         3268/TCP       LDAP GC 
1024-65535/TCP         3269/TCP       LDAP GC SSL 
53,1024-65535/TCP/UDP  53/TCP/UDP     DNS 
1024-65535/TCP/UDP     88/TCP/UDP     Kerberos 
1024-65535/TCP         445/TCP        SMB 

Article ID:   W17063
File Created: 2007:07:03:14:28:02
Last Updated: 2007:07:03:14:28:02