~ubuntu-branches/ubuntu/lucid/openssh/lucid

« back to all changes in this revision

Viewing changes to auth2-none.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-01-26 13:07:40 UTC
  • mfrom: (1.13.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100126130740-d7r70jqrqlbvz3r0
Tags: 1:5.3p1-1ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Add support for registering ConsoleKit sessions on login.
  - Drop openssh-blacklist and openssh-blacklist-extra to Suggests; they
    take up a lot of CD space, and I suspect that rolling them out in
    security updates has covered most affected systems now.
  - Convert to Upstart.  The init script is still here for the benefit of
    people running sshd in chroots.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
{
62
62
        none_enabled = 0;
63
63
        packet_check_eom();
64
 
#ifdef HAVE_CYGWIN
65
 
        if (check_nt_auth(1, authctxt->pw) == 0)
66
 
                return (0);
67
 
#endif
68
64
        if (options.password_authentication)
69
65
                return (PRIVSEP(auth_password(authctxt, "")));
70
66
        return (0);