Ignore:
Timestamp:
Apr 24, 2008, 7:23:34 PM (17 years ago)
Author:
Yuri Dario
Message:

Strip also printer shares from server enumeration. ticket:58.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/ndpsmb/smbwrp.c

    r128 r129  
    10121012        smbwrp_fileinfo finfo = {0};
    10131013
    1014         if (strcmp(share,"IPC$") == 0) return;
     1014        // strip administrative names and printers from list
     1015        if (type == STYPE_PRINTQ || strcmp(share,"IPC$") == 0) return;
    10151016
    10161017        ZERO_STRUCT(finfo);
Note: See TracChangeset for help on using the changeset viewer.