1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-20 16:23:51 +03:00
Files
samba-mirror/source/rpc_server/srv_ldap_helpers.c
Luke Leighton fcfb40d2b0 - dce/rpc code
- removed debug info in struni2 and unistr2 (security risk)

- rpc_pipe function was getting pointer to data then calling realloc *dur*

- password check function, the start of "credential checking",
  user, wks, domain, pass as the credentials (not just user,pass which
  is incorrect in a domain context)

- cli_write needs to return ssize_t not size_t, because total can be -1
  if the write fails.

- fixed signed / unsigned warnings (how come i don't get those any more
  when i compile with gcc???)

- nt password change added in smbd.  yes, jeremy, i verified that the
  SMBtrans2 version still works.
-

15 lines
215 B
C

#ifdef USE_LDAP
#include "includes.h"
#include "lber.h"
#include "ldap.h"
extern int DEBUGLEVEL;
#else /* USE_LDAP */
/* this keeps fussy compilers happy */
void ldap_helper_dummy(void)
{}
#endif /* USE_LDAP */