Changeset 594 for vendor/current/source3/passdb
- Timestamp:
- Jul 1, 2011, 4:02:23 PM (14 years ago)
- Location:
- vendor/current/source3/passdb
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/passdb/pdb_interface.c
r414 r594 255 255 const char *guestname = lp_guestaccount(); 256 256 257 if ( !(pwd = getpwnam_alloc(talloc_autofree_context(), guestname ) ) ) {257 if ( !(pwd = Get_Pwnam_alloc(talloc_autofree_context(), guestname ) ) ) { 258 258 DEBUG(0,("guest_user_info: Unable to locate guest account [%s]!\n", 259 259 guestname)); … … 1424 1424 The primary group SID is only of real use to Windows clients */ 1425 1425 1426 if ( !(pw = getpwnam_alloc(mem_ctx, username)) ) {1426 if ( !(pw = Get_Pwnam_alloc(mem_ctx, username)) ) { 1427 1427 return NT_STATUS_NO_SUCH_USER; 1428 1428 } -
vendor/current/source3/passdb/pdb_ldap.c
r478 r594 4485 4485 4486 4486 retry: 4487 if (state->current_entry == NULL) {4488 return false;4489 }4490 4491 4487 if ((state->entries == NULL) && (state->pagedresults_cookie == NULL)) 4492 4488 return False; … … 4495 4491 !ldapsam_search_nextpage(search)) 4496 4492 return False; 4493 4494 if (state->current_entry == NULL) { 4495 return false; 4496 } 4497 4497 4498 4498 result = state->ldap2displayentry(state, search, -
vendor/current/source3/passdb/pdb_smbpasswd.c
r414 r594 1197 1197 /* If the user specified a RID, make sure its able to be both stored and retreived */ 1198 1198 if (rid == DOMAIN_USER_RID_GUEST) { 1199 struct passwd *passwd = getpwnam_alloc(NULL, lp_guestaccount());1199 struct passwd *passwd = Get_Pwnam_alloc(NULL, lp_guestaccount()); 1200 1200 if (!passwd) { 1201 1201 DEBUG(0, ("Could not find guest account via getpwnam()! (%s)\n", lp_guestaccount())); -
vendor/current/source3/passdb/util_unixsids.c
r414 r594 57 57 struct passwd *pwd; 58 58 59 pwd = getpwnam_alloc(talloc_autofree_context(), name);59 pwd = Get_Pwnam_alloc(talloc_autofree_context(), name); 60 60 if (pwd == NULL) { 61 61 return False;
Note:
See TracChangeset
for help on using the changeset viewer.