On Thu, 23 Feb 2012, Ondrej Hamada wrote:

> Option '--noac' was added. If set, the ipa-client-install will not call
> authconfig for setting nsswitch.conf and PAM configuration. In
> fact no configuration of nsswitch.conf or PAM would be done at
> all.
> 
> https://fedorahosted.org/freeipa/ticket/2369
NACK.

According to the original request, authconfig will do 
nsswitch/PAM configuration *after* ipa-client-install run so the 
following check in ipa-client-install will fail with --noac:

> +        #Check that nss is working properly
> +        if not options.on_master:
> +            n = 0
> +            found = False
> +            # Loop for up to 10 seconds to see if nss is working properly.
> +            # It can sometimes take a few seconds to connect to the remote 
> provider.
> +            # Particulary, SSSD might take longer than 6-8 seconds.
> +            while n < 10 and not found:
> +                try:
> +                    ipautil.run(["getent", "passwd", "admin"])
> +                    found = True
> +                except Exception, e:
> +                    time.sleep(1)
> +                    n = n + 1


-- 
/ Alexander Bokovoy

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to