Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 294169 Details for
Bug 431784
RFE: Support for Directory Server specify account lock attribute
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
ldap backend patch
dirsrv.patch (text/x-patch), 2.66 KB, created by
Simo Sorce
on 2008-02-06 22:28:57 UTC
(
hide
)
Description:
ldap backend patch
Filename:
MIME Type:
Creator:
Simo Sorce
Created:
2008-02-06 22:28:57 UTC
Size:
2.66 KB
patch
obsolete
>diff -ur krb5-1.6.2.orig/src/aclocal.m4 krb5-1.6.2/src/aclocal.m4 >--- krb5-1.6.2.orig/src/aclocal.m4 2007-11-20 11:39:51.000000000 -0500 >+++ krb5-1.6.2/src/aclocal.m4 2007-11-20 12:09:56.000000000 -0500 >@@ -1798,6 +1798,12 @@ > yes | no) ;; > *) AC_MSG_ERROR(Invalid option value --with-edirectory="$withval") ;; > esac], with_edirectory=no)dnl >+AC_ARG_WITH([dirsrv], >+[ --with-dirsrv compile Red Hat/Fedora/Netscape Directory Server database backend module], >+[case "$withval" in >+ yes | no) ;; >+ *) AC_MSG_ERROR(Invalid option value --with-dirsrv="$withval") ;; >+esac], with_dirsrv=no)dnl > > if test $with_ldap = yes; then > if test $with_edirectory = yes; then >@@ -1809,6 +1815,10 @@ > AC_MSG_NOTICE(enabling eDirectory database backend module support) > OPENLDAP_PLUGIN=yes > AC_DEFINE(HAVE_EDIRECTORY,1,[Define if LDAP KDB interface should assume eDirectory.]) >+elif test $with_dirsrv = yes; then >+ AC_MSG_NOTICE(enabling Red Hat/Fedora/Netscape Directory Server database backend module support) >+ OPENLDAP_PLUGIN=yes >+ AC_DEFINE(HAVE_DIRSRV,1,[Define if LDAP KDB interface should assume RHDS/FDS/NDS.]) > else > : # neither enabled > dnl AC_MSG_NOTICE(disabling ldap backend module support) >diff -ur krb5-1.6.2.orig/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c krb5-1.6.2/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c >--- krb5-1.6.2.orig/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c 2006-12-21 23:28:09.000000000 -0500 >+++ krb5-1.6.2/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c 2007-11-20 12:04:10.000000000 -0500 >@@ -2141,6 +2141,22 @@ > } > } > #endif >+#ifdef HAVE_DIRSRV >+ { >+ krb5_timestamp expiretime=0; >+ char *is_login_disabled=NULL; >+ >+ /* LOGIN DISABLED */ >+ if ((st=krb5_ldap_get_string(ld, ent, "nsaccountlock", &is_login_disabled, >+ &attr_present)) != 0) >+ goto cleanup; >+ if (attr_present == TRUE) { >+ if (strcasecmp(is_login_disabled, "TRUE")== 0) >+ entry->attributes |= KRB5_KDB_DISALLOW_ALL_TIX; >+ free (is_login_disabled); >+ } >+ } >+#endif > > if ((st=krb5_read_tkt_policy (context, ldap_context, entry, tktpolname)) !=0) > goto cleanup; >diff -ur krb5-1.6.2.orig/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c krb5-1.6.2/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c >--- krb5-1.6.2.orig/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c 2007-01-03 19:27:26.000000000 -0500 >+++ krb5-1.6.2/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c 2007-11-20 12:00:27.000000000 -0500 >@@ -57,6 +57,9 @@ > "loginexpirationtime", > "logindisabled", > #endif >+#ifdef HAVE_DIRSRV >+ "nsaccountlock", >+#endif > "loginexpirationtime", > "logindisabled", > "modifytimestamp",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 431784
: 294169 |
294170