Changeset 454 for trunk/server/source3/utils
- Timestamp:
- Jun 4, 2010, 3:11:43 PM (15 years ago)
- Location:
- trunk/server/source3/utils
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/utils/net_usershare.c
r414 r454 946 946 947 947 /* Attempt to replace any existing share by this name. */ 948 #ifdef __OS2__ 949 close(tmpfd); 950 #endif 948 951 if (rename(full_path_tmp, full_path) != 0) { 949 952 unlink(full_path_tmp); … … 957 960 } 958 961 962 #ifndef __OS2__ 959 963 close(tmpfd); 964 #endif 960 965 961 966 if (c->opt_long_list_entries) { -
trunk/server/source3/utils/net_util.c
r414 r454 100 100 int flags = 0; 101 101 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 102 109 c->opt_password = net_prompt_pass(c, c->opt_user_name); 103 110
Note:
See TracChangeset
for help on using the changeset viewer.