Ignore:
Timestamp:
Jun 4, 2010, 3:11:43 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: merged changes from 3.3

Location:
trunk/server/source3/utils
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/utils/net_usershare.c

    r414 r454  
    946946
    947947        /* Attempt to replace any existing share by this name. */
     948#ifdef __OS2__
     949        close(tmpfd);
     950#endif
    948951        if (rename(full_path_tmp, full_path) != 0) {
    949952                unlink(full_path_tmp);
     
    957960        }
    958961
     962#ifndef __OS2__
    959963        close(tmpfd);
     964#endif
    960965
    961966        if (c->opt_long_list_entries) {
  • trunk/server/source3/utils/net_util.c

    r414 r454  
    100100        int flags = 0;
    101101
     102#ifdef __OS2__
     103        if (!c->opt_user_name || c->opt_user_name == NULL) {
     104                d_printf("The username was not set.\n");
     105                return NT_STATUS_LOGON_FAILURE;
     106        }
     107#endif
     108
    102109        c->opt_password = net_prompt_pass(c, c->opt_user_name);
    103110
Note: See TracChangeset for help on using the changeset viewer.