Ignore:
Timestamp:
Jul 2, 2011, 3:35:33 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update trunk to 3.5.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/lib/util.c

    r454 r596  
    14081408        uid_t u;
    14091409
    1410         pass = getpwnam_alloc(talloc_autofree_context(), name);
     1410        pass = Get_Pwnam_alloc(talloc_autofree_context(), name);
    14111411        if (pass) {
    14121412                u = pass->pw_uid;
     
    30713071        return s;
    30723072}
     3073
     3074bool tevent_req_poll_ntstatus(struct tevent_req *req,
     3075                              struct tevent_context *ev,
     3076                              NTSTATUS *status)
     3077{
     3078        bool ret = tevent_req_poll(req, ev);
     3079        if (!ret) {
     3080                *status = map_nt_error_from_unix(errno);
     3081        }
     3082        return ret;
     3083}
Note: See TracChangeset for help on using the changeset viewer.