Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/lib/errmap_unix.c

    r414 r745  
    106106        { ECANCELED, ERRDOS, ERRbadfid, NT_STATUS_CANCELLED},
    107107#endif
    108 
     108#ifdef ENOTSUP
     109        { ENOTSUP, ERRSRV, ERRnosupport, NT_STATUS_NOT_SUPPORTED},
     110#endif
    109111        { 0, 0, 0, NT_STATUS_OK }
    110112};
     
    138140        /* Default return */
    139141        return NT_STATUS_ACCESS_DENIED;
     142}
     143
     144/* Convert a Unix error code to a WERROR. */
     145WERROR unix_to_werror(int unix_error)
     146{
     147        return ntstatus_to_werror(map_nt_error_from_unix(unix_error));
    140148}
    141149
Note: See TracChangeset for help on using the changeset viewer.