Bug 1676

Summary: Troubles with BSDAUTH (cannot use non-default login class)
Product: xorg Reporter: Pierre LALET <pierre>
Component: App/xdmAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Pierre LALET 2004-10-20 05:43:33 UTC
With BSDAUTH, it is not possible to use a login class different from the default
one. This is due to a call to auth_call() without specifying the login class.

This bug is really easy to correct : in xc/programs/xdm/greeter/greeter.c,
function verify(), the call to auth_call() :

	auth_call(as, path, style, "-s", "response", greet->name, 
		  (void *)NULL);

must be replaced with

	auth_call(as, path, style, "-s", "response", greet->name, 
		  lc->lc_class, (void *)NULL);

This fix has been tested and works properly under OpenBSD 3.5.
Comment 1 Matthieu Herrb 2004-10-20 23:03:53 UTC
Fix has been committed. Thanks for the report.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.