[PATCH] Support flat name in the full_name_format
by Jakub Hrozek
Hi,
the attached patches add support for using flat name in the FQDN output
specifier.
The problem with this RFE was that the format is a printf-like format
specifier and backwards compatibility must be maintained. I used an idea
that originally came from Sumit to add a new expansion to the existing
name and domain ones. But in order to avoid compile-time warnings, I had
to make sure the format specifier and the arguments match 1:1 -- so the
code adds the unused format specifier and defaults the unused arguments
to "".
[PATCH 1/3] Add utility functions for formatting fully-qualified names
Instead of using printf-like functions directly, provide two wrappers
that would encapsulate formatting the fully-qualified names. No
functional change is present in this patch.
[PATCH 2/3] Check the validity of FQname format prior to using it
Adds a sanity check of the fqname pattern. Fails if the username pattern
is not specified at all and warns if the domain pattern is not
specified.
[PATCH 3/3] Allow flat name in the FQname format
https://fedorahosted.org/sssd/ticket/1648
Adds another expansion in the printf format that allows the user to use
the domain flat name in the format. Includes a unit test.
10 years, 11 months
[PATCH] tests: Link fqnames_tests with libsss_test_common.la
by Jakub Hrozek
Pushed to master under the one-liner rule.
When I was rebasing my patches on top of Lukas' change to tests, I
linked with his new library to make sure the tests pass before pushing
but I forgot to commit this change. Sorry for the churn.
10 years, 11 months
[PATCH] Remove empty directories after tests run.
by Lukas Slebodnik
ehlo,
This patch removes empty directories after tests run.
Files common_dom.c and common_tev.c were moved to libsss_test_common.la.
Empty directory tests_path was removed in function test_dom_suite_cleanup.
Function test_dom_suite_cleanup was reused in tests.
Patch attached.
LS
10 years, 11 months
[PATCH] Four small patches related to GC lookups
by Jakub Hrozek
Hi,
I fond these small issues while working on the GC lookups. I'm sending
them separately b/c they can be reviewed without any knowledge about GC
and do not break any existing functionality.
[PATCH 1/4] IPA: Check for ENOMEM
Just an allocation check.
[PATCH 2/4] Remove unneeded comment
Not needed anymore I think
[PATCH 3/4] FO: Fix setting status of duplicate
The fo_set_port_status() function was performing its own duplicate
detection which is wrong because it duplicates existing code and doesn't
take the private user_data structure into account.
[PATCH 4/4] AD dyndns: extract the host name from URI
Because the AD provider might connect to LDAP on different ports
depending on whether it is a Global Catalog or pure LDAP, we need to
extract the hostname using LDAP function calls, not just grab the server
name part from the URI.
10 years, 11 months
[PATCH] Fix dyndns timer initialization
by Jakub Hrozek
When working on the GC lookups I found out that the recent dyndns
patches were scheduling the periodic updates even if dyndns_update was
set to false. The attached patch fixes that. Sorry for the breakage.
10 years, 11 months
1.10beta1 error
by steve
Hi
Successful build and install (no errors)
sssd fails with:
sudo sssd -i -d3
(Mon May 27 00:50:31 2013) [sssd[be[default]]] [load_backend_module]
(0x0010): Unable to load ad module with path
(/usr/local/lib/sssd/libsss_ad.so),
error: /usr/local/lib/sssd/libsss_ldap_common.so: undefined symbol:
sss_idmap_calculate_range
(Mon May 27 00:50:31 2013) [sssd[be[default]]] [be_process_init]
(0x0010): fatal error initializing data providers
sssd.conf
[sssd]
#debug_level = 6
services = nss, pam
config_file_version = 2
domains = default
[nss]
[pam]
[domain/default]
#debug_level=6
dyndns_update=true
#dyndns_refresh_interval=16
ad_hostname = oliva.hh3.site
ad_server = hh16.hh3.site
ad_domain = hh3.site
ldap_schema = ad
id_provider = ad
access_provider = simple
enumerate = FALSE
cache_credentials = true
auth_provider = krb5
chpass_provider = krb5
krb5_realm = HH3.SITE
krb5_server = hh16.hh3.site
krb5_kpasswd = hh16.hh3.site
ldap_id_mapping=false
ldap_referrals = false
ldap_uri = ldap://hh16.hh3.site
ldap_search_base = dc=hh3,dc=site
#ldap_tls_cacertdir = /usr/local/samba/private/tls
#ldap_id_use_start_tls = true
#entry_negative_timeout = 1
ldap_user_object_class = user
ldap_user_name = samAccountName
ldap_user_uid_number = uidNumber
ldap_user_gid_number = gidNumber
ldap_user_home_directory = unixHomeDirectory
ldap_user_shell = loginShell
ldap_group_object_class = group
ldap_group_search_base = dc=hh3,dc=site
ldap_group_name = cn
ldap_group_member = member
ldap_sasl_authid = OLIVA$(a)HH3.SITE
ldap_krb5_keytab = /etc/krb5.keytab
ldap_krb5_init_creds = true
10 years, 11 months