• Bug#265279: NCPFS failures: additional information

    From Dr A V Le Blanc@1:229/2 to All on Thu Aug 12 16:50:12 2004
    From: [email protected]

    Here are two examples of outout from nwsfind:

    $ slist|grep MCC-FS
    UK-AC-MCC-FS4 01088105 000000000001 UK-AC-MCC-FS5 01088104 000000000001
    $ nwsfind UK-AC-MCC-FS4
    nwsfind: Server not found (0x8847) when trying to find server
    $ nwsfind UK-AC-MCC-FS5
    01088104:000000000001:0451 UK-AC-MCC-FS5

    And here is an example of failure from ncpmount:

    $ ncpmount -U zzzz -S uk-ac-mcc-newfs1 /local/home/zlsiial/novell
    Logging into uk-ac-mcc-newfs1 as ZZZZ
    Password:
    ncpmount: Server not found (0x8847) when trying to find UK-AC-MCC-NEWFS1

    Here is a successful mount of the same from anther client:

    $ ncpmount -U zzzz -S uk-ac-mcc-newfs1 /mnt
    Logging into UK-AC-MCC-NEWFS1 as ZZZZ
    Password:
    $ ls /mnt/
    SYS VOL3

    Irritating problem!

    -- Owen


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Petr Vandrovec@1:229/2 to Dr A V Le Blanc on Thu Aug 12 17:10:16 2004
    From: [email protected]

    On 12 Aug 04 at 15:15, Dr A V Le Blanc wrote:

    $ nwsfind UK-AC-MCC-FS4
    nwsfind: Server not found (0x8847) when trying to find server
    $ nwsfind UK-AC-MCC-FS5
    01088104:000000000001:0451 UK-AC-MCC-FS5

    What reports nwsfind (without arguments) on the client where it works
    and on the client where it fails? If you run
    'nwbols -S <serverReportedByNWSFINDWithoutArguments> -U <username> -t 4
    -o "UK-AC-MCC-FS*"', do you get back both UK-AC-MCC-FS4 and UK-AC-MCC-FS5,
    or only one? Or none? And if it reports both, what
    'nwbpvalues -S <sameAsBefore> -U <sameAsBefore> -t 4 -o UK-AC-MCC-FS4
    -p NET_ADDRESS' reports?

    Do not live clients which fail on same network subnet?
    Petr Vandrovec




    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Dr A V Le Blanc@1:229/2 to Petr Vandrovec on Fri Aug 13 10:40:09 2004
    From: [email protected]

    Thanks for your prompt reply.

    On Thu, Aug 12, 2004 at 04:56:46PM +0200, Petr Vandrovec wrote:
    What reports nwsfind (without arguments) on the client where it works
    and on the client where it fails?

    On the working client:

    $ nwsfind
    3B573BA4:000000000001:0451 MCC-REPRO

    And on the failing client:

    $ nwsfind
    01033AE3:000000000001:0451 UK-AC-MAN-NTAL

    If you run
    'nwbols -S <serverReportedByNWSFINDWithoutArguments> -U <username> -t 4
    -o "UK-AC-MCC-FS*"', do you get back both UK-AC-MCC-FS4 and UK-AC-MCC-FS5,
    or only one? Or none?

    On the client which works:

    $ nwbols -S MCC-REPRO -U ZLSIIAL -t 4 -o "UK-AC-MCC-FS*"
    Logging into MCC-REPRO as ZLSIIAL
    Password:
    nwbols: . is not on ncpfs filesystem

    And on the other client:

    $ nwbols -S UK-AC-MAN-NTAL -U ZLSIIAL -t 4 -o "UK-AC-MCC-FS*"
    Logging into UK-AC-MAN-NTAL as ZLSIIAL
    Password:
    nwbols: . is not on ncpfs filesystem

    And if it reports both, what
    'nwbpvalues -S <sameAsBefore> -U <sameAsBefore> -t 4 -o UK-AC-MCC-FS4
    -p NET_ADDRESS' reports?

    On the client that works:

    $ nwbpvalues -S MCC-REPRO -U ZLSIIAL -t 4 -o UK-AC-MCC-FS4 -p NET_ADDRESS
    Logging into MCC-REPRO as ZLSIIAL
    Password:
    nwbpvalues: . is not ncpfs file or directory

    And on the client that does not work:

    $ nwbpvalues -S UK-AC-MAN-NTAL -U ZLSIIAL -t 4 -o UK-AC-MCC-FS4 -p NET_ADDRESS
    Logging into UK-AC-MAN-NTAL as ZLSIIAL
    Password:
    nwbpvalues: . is not ncpfs file or directory

    Do not live clients which fail on same network subnet?

    Yes and no. Here's another client which works on the same subnet
    as a client which fails:

    $ nwsfind
    05792C2C:000000000001:0451 UK-AC-MAN-MC-FS6
    $ nwbols -S UK-AC-MAN-MC-FS6 -U ZLSIIAL -t 4 -o "UK-AC-MCC-FS*"
    Logging into UK-AC-MAN-MC-FS6 as ZLSIIAL
    Password:
    nwbols: . is not on ncpfs filesystem
    $ nwbpvalues -S UK-AC-MAN-MC-FS6 -U ZLSIIAL -t 4 -o UK-AC-MCC-FS4
    -p NET_ADDRESS
    Logging into UK-AC-MAN-MC-FS6 as ZLSIIAL
    Password:
    nwbpvalues: . is not ncpfs file or directory

    Please let me know whether I can provide any more information.

    -- Owen
    [email protected]


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Petr Vandrovec@1:229/2 to Dr A V Le Blanc on Fri Aug 13 13:30:09 2004
    From: [email protected]

    On 13 Aug 04 at 7:59, Dr A V Le Blanc wrote:
    On the working client:
    $ nwsfind
    3B573BA4:000000000001:0451 MCC-REPRO
    And on the failing client:
    $ nwsfind
    01033AE3:000000000001:0451 UK-AC-MAN-NTAL

    On the client which works:

    $ nwbols -S MCC-REPRO -U ZLSIIAL -t 4 -o "UK-AC-MCC-FS*"
    Logging into MCC-REPRO as ZLSIIAL
    Password:
    nwbols: . is not on ncpfs filesystem

    Are you sure you typed correct password? If you get this message it
    means that connection to MCC-REPRO as user ZLSIIAL failed, and alternate connection by using your current directory does not exist.

    And same for all other cases below.

    If you cannot get it with -S/-U to work, mount SYS volume from MCC-REPRO
    into some directory, and then run nwbols -t 4 -o .... and nwbpvalues ... without specifying -S and -U from the directory you just mounted.

    Output of UK-AC-MAN-NTAL is more important - I believe that this server
    does not know about all servers you have in your network.
    Petr Vandrovec




    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Dr A V Le Blanc@1:229/2 to Petr Vandrovec on Fri Aug 13 15:40:08 2004
    From: [email protected]

    On Fri, Aug 13, 2004 at 01:14:25PM +0200, Petr Vandrovec wrote:
    Are you sure you typed correct password? If you get this message it
    means that connection to MCC-REPRO as user ZLSIIAL failed, and alternate connection by using your current directory does not exist.

    And same for all other cases below.

    If you cannot get it with -S/-U to work, mount SYS volume from MCC-REPRO
    into some directory, and then run nwbols -t 4 -o .... and nwbpvalues ... without specifying -S and -U from the directory you just mounted.

    Output of UK-AC-MAN-NTAL is more important - I believe that this server
    does not know about all servers you have in your network.

    But I don't have a user name on MCC-REPRO, or on any of the other
    machines mentioned here, only on UK-AC-MCC-NEWFS1. We have, as I
    think I mentioned, a couple of hundred Novell servers, and we tend
    to have user names on one each. If I can't mount the filestore for
    my own user, or for one of the others I happen to know, then
    I can't have a current directory in Novell. If I try

    $ nwsfind
    05792C2C:000000000001:0451 UK-AC-MAN-MC-FS6
    $ ncpmount -S UK-AC-MAN-MC-FS6 -V SYS /local/home/zlsiial/novell
    ncpmount: User name is not specified (0x8834) in find_conn_spec

    So the problem is this: unless I can get through to the one or two
    servers on which I have a user name, it doesn't work.

    Here is what I get when I have successfully ncmounted something:

    $ nwbpvalues -S UK-AC-MCC-NEWFS1 -U ZLSIIAL -t 4 -o UK-AC-MCC-FS4 -p NET_ADDRESS
    (01088105): 000000000001[0451]
    $ nwbpvalues -S UK-AC-MCC-NEWFS1 -U ZLSIIAL -t 4 -o UK-AC-MCC-FS5 -p NET_ADDRESS
    (01088104): 000000000001[0451]
    $ nwbols -S UK-AC-MCC-NEWFS1 -U ZLSIIAL -t 4 -o "UK-AC-MCC-FS*"
    UK-AC-MCC-FS4 544E0300 0004
    UK-AC-MCC-FS5 0E4F0300 0004

    Does this make the situation clearer? I don't really understand what
    you are asking for.

    -- Owen


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Petr Vandrovec@1:229/2 to Dr A V Le Blanc on Fri Aug 13 16:30:16 2004
    From: [email protected]

    On Fri, Aug 13, 2004 at 02:00:53PM +0100, Dr A V Le Blanc wrote:
    On Fri, Aug 13, 2004 at 01:14:25PM +0200, Petr Vandrovec wrote:
    Are you sure you typed correct password? If you get this message it
    means that connection to MCC-REPRO as user ZLSIIAL failed, and alternate connection by using your current directory does not exist.

    And same for all other cases below.

    If you cannot get it with -S/-U to work, mount SYS volume from MCC-REPRO into some directory, and then run nwbols -t 4 -o .... and nwbpvalues ... without specifying -S and -U from the directory you just mounted.

    Output of UK-AC-MAN-NTAL is more important - I believe that this server does not know about all servers you have in your network.

    But I don't have a user name on MCC-REPRO, or on any of the other
    machines mentioned here, only on UK-AC-MCC-NEWFS1. We have, as I
    think I mentioned, a couple of hundred Novell servers, and we tend
    to have user names on one each. If I can't mount the filestore for
    my own user, or for one of the others I happen to know, then
    I can't have a current directory in Novell. If I try

    It is bad... Can you try applying following patch to the ncpfs sources,
    rebuild & reinstall? Currently when you are looking for some specific
    server, ncpfs does:

    (1) Look if there is connection to some other server opened.
    (2) No, no other connection => go to step 4
    (3) Search bindery of connected server for server you are connecting
    to. Worked => great, we found server address and we are done.
    (4) Send specific SAP request to the network. Did somebody answer =>
    => great, we found server...
    (5) Send general SAP request to the network. Did we found server we
    are connecting to in replies => great, we found server...
    (6) Give up, there is no such server. Error 8847.

    Patch below adds step

    (1.5) If there is no server connected, use 'get nearest server'
    service to find nearest server and connect to it.

    Hopefully it will fix problem you see. Though without bindery listing
    from MCC-REPRO I cannot say that for sure.
    Petr Vandrovec

    --- lib/resolve.c.orig 2004-08-13 15:53:15.000000000 +0200
    +++ lib/resolve.c 2004-08-13 15:58:12.000000000 +0200
    @@ -113,7 +113,13 @@
    if (!startConn) {
    err = ncp_next_conn(NULL, &startConn);
    if (err) {
    - return err;
    + if (name != NULL || nameFormat != NWCC_NAME_FORMAT_BIND || transport != NT_IPX) {
    + err = NWCCOpenConnByNameTran(NULL, NULL, NWCC_NAME_FORMAT_BIND,
    + NWCC_OPEN_NEW_CONN, NWCC_RESERVED, NT_IPX, &startConn);
    + }
    + if (err) {
    + return err;
    + }
    }
    } else {
    ncp_conn_use(startConn);


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)