[BACK]Return to ldap.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / sudo

Diff for /src/usr.bin/sudo/Attic/ldap.c between version 1.7 and 1.8

version 1.7, 2008/01/21 19:44:29 version 1.8, 2008/07/31 16:44:03
Line 71 
Line 71 
 #include "parse.h"  #include "parse.h"
   
 #ifndef lint  #ifndef lint
 __unused static const char rcsid[] = "$Sudo: ldap.c,v 1.11.2.36 2008/01/21 16:08:26 millert Exp $";  __unused static const char rcsid[] = "$Sudo: ldap.c,v 1.11.2.38 2008/04/11 14:03:51 millert Exp $";
 #endif /* lint */  #endif /* lint */
   
 #ifndef LINE_MAX  #ifndef LINE_MAX
Line 82 
Line 82 
 # define LDAP_OPT_SUCCESS LDAP_SUCCESS  # define LDAP_OPT_SUCCESS LDAP_SUCCESS
 #endif  #endif
   
   #ifndef LDAPS_PORT
   # define LDAPS_PORT 636
   #endif
   
 #define DPRINTF(args, level)    if (ldap_conf.debug >= level) warnx args  #define DPRINTF(args, level)    if (ldap_conf.debug >= level) warnx args
   
 #define CONF_BOOL       0  #define CONF_BOOL       0
Line 1189 
Line 1193 
                 if (setenv_implied)                  if (setenv_implied)
                     def_setenv = TRUE;                      def_setenv = TRUE;
                 sudo_ldap_parse_options(ld, entry);                  sudo_ldap_parse_options(ld, entry);
   #ifdef HAVE_SELINUX
                   /* Set role and type if not specified on command line. */
                   if (user_role == NULL)
                       user_role = def_role;
                   if (user_type == NULL)
                       user_type = def_type;
   #endif /* HAVE_SELINUX */
                 /* make sure we don't reenter loop */                  /* make sure we don't reenter loop */
                 ret = VALIDATE_OK;                  ret = VALIDATE_OK;
                 /* break from inside for loop */                  /* break from inside for loop */

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8