Ignore:
Timestamp:
Nov 12, 2012, 5:38:52 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: update branche to 3.5.16

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.5.x/source3/auth/auth_server.c

    r414 r736  
    274274                                         auth_serversupplied_info **server_info)
    275275{
    276         struct server_security_state *state = talloc_get_type_abort(
    277                 my_private_data, struct server_security_state);
    278         struct cli_state *cli;
     276        struct server_security_state *state = NULL;
     277        struct cli_state *cli = NULL;
    279278        static bool tested_password_server = False;
    280279        static bool bad_password_server = False;
     
    282281        bool locally_made_cli = False;
    283282
     283        DEBUG(10, ("check_smbserver_security: Check auth for: [%s]\n",
     284                user_info->smb_name));
     285
     286        if (my_private_data == NULL) {
     287                DEBUG(10,("check_smbserver_security: "
     288                        "password server is not connected\n"));
     289                return NT_STATUS_LOGON_FAILURE;
     290        }
     291
     292        state = talloc_get_type_abort(my_private_data, struct server_security_state);
    284293        cli = state->cli;
    285294       
Note: See TracChangeset for help on using the changeset viewer.