Ignore:
Timestamp:
Jul 1, 2011, 4:02:23 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update vendor to version 3.5.8

Location:
vendor/current/source3/passdb
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/passdb/pdb_interface.c

    r414 r594  
    255255        const char *guestname = lp_guestaccount();
    256256
    257         if ( !(pwd = getpwnam_alloc(talloc_autofree_context(), guestname ) ) ) {
     257        if ( !(pwd = Get_Pwnam_alloc(talloc_autofree_context(), guestname ) ) ) {
    258258                DEBUG(0,("guest_user_info: Unable to locate guest account [%s]!\n",
    259259                        guestname));
     
    14241424           The primary group SID is only of real use to Windows clients */
    14251425
    1426         if ( !(pw = getpwnam_alloc(mem_ctx, username)) ) {
     1426        if ( !(pw = Get_Pwnam_alloc(mem_ctx, username)) ) {
    14271427                return NT_STATUS_NO_SUCH_USER;
    14281428        }
  • vendor/current/source3/passdb/pdb_ldap.c

    r478 r594  
    44854485
    44864486 retry:
    4487         if (state->current_entry == NULL) {
    4488                 return false;
    4489         }
    4490 
    44914487        if ((state->entries == NULL) && (state->pagedresults_cookie == NULL))
    44924488                return False;
     
    44954491            !ldapsam_search_nextpage(search))
    44964492                    return False;
     4493
     4494        if (state->current_entry == NULL) {
     4495                return false;
     4496        }
    44974497
    44984498        result = state->ldap2displayentry(state, search,
  • vendor/current/source3/passdb/pdb_smbpasswd.c

    r414 r594  
    11971197                /* If the user specified a RID, make sure its able to be both stored and retreived */
    11981198                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());
    12001200                        if (!passwd) {
    12011201                                DEBUG(0, ("Could not find guest account via getpwnam()! (%s)\n", lp_guestaccount()));
  • vendor/current/source3/passdb/util_unixsids.c

    r414 r594  
    5757        struct passwd *pwd;
    5858
    59         pwd = getpwnam_alloc(talloc_autofree_context(), name);
     59        pwd = Get_Pwnam_alloc(talloc_autofree_context(), name);
    6060        if (pwd == NULL) {
    6161                return False;
Note: See TracChangeset for help on using the changeset viewer.