[Samba] net rap session returns just 3 entries

Willem Toorop willem+samba at ahk.nl
Wed Jun 4 21:50:57 GMT 2008


Hi,

When i try:

net rap session -S 10.40.0.33 -w ADM -U administrator%@****** -d 1

I receive just 3 entries:

Computer             User name            Client Type        Opens Idle time
------------------------------------------------------------------------------
[2008/06/04 23:39:58, 1] libsmb/clirap2.c:cli_NetSessionEnum(1918)
  NetSessionEnum gave error 234
\\10.40.1.36         G.SMEETS             Windows 2002 Servi     2 07:05:56
\\10.40.1.19         L.SIEBE              Windows 2002 Servi     2 06:47:56
\\THE-PC-326         R.WEISSMAN           Windows 2000 2195      0 00:09:21


I noticed that error 234 means 'more data to come'.
How do i get the rest of the data?

I'm using samba-3.0.25 on Solaris 9 (sparc), and I'm trying to fetch the 
sessions of a windows 2003 server.

Cheers,

Willem


More information about the samba mailing list