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/nsswitch/winbind_nss_linux.c

    r414 r745  
    7272                                 size_t buflen, int *errnop);
    7373
     74/*************************************************************************
     75 ************************************************************************/
     76
     77#ifdef DEBUG_NSS
     78static const char *nss_err_str(NSS_STATUS ret)
     79{
     80        switch (ret) {
     81                case NSS_STATUS_TRYAGAIN:
     82                        return "NSS_STATUS_TRYAGAIN";
     83                case NSS_STATUS_SUCCESS:
     84                        return "NSS_STATUS_SUCCESS";
     85                case NSS_STATUS_NOTFOUND:
     86                        return "NSS_STATUS_NOTFOUND";
     87                case NSS_STATUS_UNAVAIL:
     88                        return "NSS_STATUS_UNAVAIL";
     89#ifdef NSS_STATUS_RETURN
     90                case NSS_STATUS_RETURN:
     91                        return "NSS_STATUS_RETURN";
     92#endif
     93                default:
     94                        return "UNKNOWN RETURN CODE!!!!!!!";
     95        }
     96}
     97#endif
     98
    7499/* Prototypes from wb_common.c */
    75100
Note: See TracChangeset for help on using the changeset viewer.