"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/libdsm/src/smb_auth.c" between
dacs-1.4.45.txz and dacs-1.4.46.txz

About: DACS (Distributed Access Control System) is a light-weight single sign-on and role-based access control system for web servers and server-based software.

smb_auth.c  (dacs-1.4.45.txz):smb_auth.c  (dacs-1.4.46.txz)
/* /*
* Copyright (c) 2003-2018 * Copyright (c) 2003-2021
* Distributed Systems Software. All rights reserved. * Distributed Systems Software. All rights reserved.
*/ */
/* /*
* *
* It does not appear to be necessary to provide a workgroup or domain * It does not appear to be necessary to provide a workgroup or domain
* parameter, but your mileage may vary. * parameter, but your mileage may vary.
* This program and the DACS libdsm library have tested successfully against * This program and the DACS libdsm library have tested successfully against
* accounts on Windows 10 and Windows Server 2012. * accounts on Windows 10 and Windows Server 2012.
*/ */
skipping to change at line 33 skipping to change at line 33
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <iconv.h> #include <iconv.h>
#include "libdsm.h" #include "libdsm.h"
#include "smb_types.h" #include "smb_types.h"
#ifndef lint #ifndef lint
static MAYBE_UNUSED const char copyright[] = static MAYBE_UNUSED const char copyright[] =
"Copyright (c) 2003-2018\n\ "Copyright (c) 2003-2021\n\
Distributed Systems Software. All rights reserved."; Distributed Systems Software. All rights reserved.";
static MAYBE_UNUSED const char revid[] = static MAYBE_UNUSED const char revid[] =
"$Id: smb_auth.c 2986 2018-01-26 00:26:30Z brachman $"; "$Id: smb_auth.c 3182 2021-06-08 20:03:55Z brachman $";
#endif #endif
static inline MAYBE_UNUSED int static inline MAYBE_UNUSED int
streq(const char *p, const char *q) streq(const char *p, const char *q)
{ {
return(strcmp(p, q) == 0); return(strcmp(p, q) == 0);
} }
static int static int
skipping to change at line 165 skipping to change at line 165
return((rc == NT_STATUS_SUCCESS) ? 0 : -1); return((rc == NT_STATUS_SUCCESS) ? 0 : -1);
} }
char * char *
libdsm_version_string(void) libdsm_version_string(void)
{ {
static char buf[512]; static char buf[512];
extern int _libiconv_version; extern int _libiconv_version;
snprintf(buf, sizeof(buf), snprintf(buf, sizeof(buf),
"libdsm-DACS-%d.%d.%d (libtasn1-%s, libiconv-%d.%d)", "libdsm-DACS-%d.%d.%d%s (libtasn1-%s, libiconv-%d.%d)",
LIBDSM_VERSION_CURRENT, LIBDSM_VERSION_REVISION, LIBDSM_VERSIO N_AGE, LIBDSM_VERSION_CURRENT, LIBDSM_VERSION_REVISION, LIBDSM_VERSIO N_AGE,
LIBDSM_VERSION_PATCHLEVEL,
ASN1_VERSION, ASN1_VERSION,
_libiconv_version >> 8, _libiconv_version & 0xff); _libiconv_version >> 8, _libiconv_version & 0xff);
return(buf); return(buf);
} }
 End of changes. 5 change blocks. 
4 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)