Changeset 235 for branches/samba-3.2.x/source/utils
- Timestamp:
- May 27, 2009, 12:08:58 PM (16 years ago)
- Location:
- branches/samba-3.2.x/source/utils
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/utils/net_rpc.c
r233 r235 6281 6281 nt_status = rpccli_samr_Connect2(pipe_hnd, mem_ctx, 6282 6282 pipe_hnd->cli->desthost, 6283 SA_RIGHT_SAM_ OPEN_DOMAIN,6283 SA_RIGHT_SAM_LOOKUP_DOMAIN, 6284 6284 &connect_hnd); 6285 6285 if (!NT_STATUS_IS_OK(nt_status)) { -
branches/samba-3.2.x/source/utils/smbpasswd.c
r232 r235 431 431 432 432 if((local_flags & LOCAL_SET_PASSWORD) && (new_passwd == NULL)) { 433 struct passwd *passwd = getpwnam_alloc(NULL, user_name); 434 435 if (!passwd) { 436 fprintf(stderr, "Cannot locate Unix account for " 437 "'%s'!\n", user_name); 438 exit(1); 433 struct passwd *passwd; 434 435 if (remote_machine == NULL) { 436 passwd = getpwnam_alloc(NULL, user_name); 437 438 if (!passwd) { 439 fprintf(stderr, "Cannot locate Unix account for " 440 "'%s'!\n", user_name); 441 exit(1); 442 } 443 TALLOC_FREE(passwd); 439 444 } 440 TALLOC_FREE(passwd);441 445 442 446 new_passwd = prompt_for_new_password(stdin_passwd_get);
Note:
See TracChangeset
for help on using the changeset viewer.