Bug 1676 - Troubles with BSDAUTH (cannot use non-default login class)
Summary: Troubles with BSDAUTH (cannot use non-default login class)
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xdm (show other bugs)
Version: unspecified
Hardware: All All
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-20 05:43 UTC by Pierre LALET
Modified: 2004-10-20 06:03 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.