Changeset 280


Ignore:
Timestamp:
Jun 23, 2009, 4:07:34 PM (16 years ago)
Author:
Silvan Scherrer
Message:

fix to NULL user

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/utils/net_util.c

    r224 r280  
    9797        NTSTATUS nt_status;
    9898        int flags = 0;
    99 
     99#ifdef __OS2__
     100        if (!c->opt_user_name || c->opt_user_name == NULL) {
     101                d_printf("The username was not set.\n");
     102                return NT_STATUS_LOGON_FAILURE;
     103        }
     104#endif
    100105        c->opt_password = net_prompt_pass(c, c->opt_user_name);
    101106
Note: See TracChangeset for help on using the changeset viewer.