[Bug 1676] New: Troubles with BSDAUTH (cannot use non-default login class)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 20 05:43:33 PDT 2004


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1676        
   
           Summary: Troubles with BSDAUTH (cannot use non-default login
                    class)
           Product: xorg
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: App/xdm
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: pierre at droids-corp.org


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.        
   
   
--         
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list