Comment 84 for bug 207072

Revision history for this message
Steve Langasek (vorlon) wrote :

Yet another updated patch; the counter in the auth callback assumed that the callback would only be called once for each smbc_opendir() attempt, which means that each authentication method (kerberos, anonymous, password) was being tried twice for no reason.

In traces, I still see a problem that the first time do_mount is called, it loops through without ever prompting the user for a username and password, so it still takes us twice as long to get to a password prompt as it should (i.e., 4 connections to the server instead of 2). I'm not sure if this is a problem with the patch or a pre-existing problem with gvfs-smb-browse; will investigate further.

WRT my earlier comment about being prompted for a password when connecting to servers that do allow anonymous share lists - I'm not now able to reproduce this problem, so I guess we should consider that part "resolved".