Problem1: --------- If server has share, e.g. named 'ABC', `net share -S server` prints the following output: $ net share -S server -U% |grep ABC ABC ^^^^^^^^^ <- There are odd spaces here. Problem2: --------- If server has share, e.g. named 'ABCDEFGHIJKLMN', `net share -S server` prints the following output: $ net share -S server -U% |grep ABC ABCDEFGHIJKL ^ <- Sharename is truncated here.
Created attachment 392 [details] Patch to fix this problem
Problem3: --------- `net rap share --long -S server` prints share list both of the long and short format. $ net rap share --long -S server -U% Enumerating shared resources (exports) on remote server: Share name Type Description ---------- ---- ----------- public Disk support Disk Support Share webtest Disk webtest IPC$ IPC IPC Service (Samba 2.2.7a-ja-1.1 on fs01) ADMIN$ Disk IPC Service (Samba 2.2.7a-ja-1.1 on fs01) public support webtest IPC$ ADMIN$
Thanks. Patch checked in.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.