home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!sun-barr!ames!agate!dog.ee.lbl.gov!news!nosc!spectra!jain
- From: jain@spectra.com (Sadhana Jain)
- Subject: Problems with XDM and XDMCP on X11r5?
- Message-ID: <1992Nov20.002104.14284@spectra.com>
- Sender: jain@spectra.com (Sadhana Jain)
- Organization: Spectragraphics Corporation
- Date: Fri, 20 Nov 92 00:21:04 GMT
- Lines: 48
-
- Hi!
-
- I am testing user-based access on Spectragraphics X terminal running X11r5
- providing login facility through XDM (compiled with HASXDMAUTH flag)
- running on an HP workstation allowing XDM-AUTHORIZATION-1 user-based
- authorization scheme. We also provide XDM-AUTHENTICATION-1 scheme
- which uses a priavtely shared magic cookie between the server and
- the XDM, to authenticate XDM. While doing the testing I ran into
- following problems. I am quite sure that there are bugs
- in XDM (or it's not configured properly) which is causing these problems
- but would like your comments/input if you have run into similar problems.
-
- We have incorporated patches in server/xdm/xlib code upto fixes17.
-
- 1. While testing XDM-AUTHENTICATION-1 scheme I found that if the magic
- cookie value provided by the server doesn't match with the one xdm uses
- (given in xdm-keys file), the server aborts. It's fine so far. But if I
- reboot the server (after making sure that the keys are now matching), it
- still aborts due to authentication failure. The problem goes away if I
- kill and restart the XDM. By running XDM in the debug mode, I found that
- it keeps using the old session id to create new sessions when the login
- process doesn't complete. Since the server aborts after receiving Accept
- packet (due to authentication failure), the manage packet is never sent and
- thus xdm never disposes off the old session data and keeps using it for
- the subsequent sessions and thus causing the same error on the server side
- even though it shouldn't.
-
- 2. the XDM_AUTHORIZATION-1 scheme also doesn't seem to work correctly.
- The user is not allowed to logon to the server unless host-based access
- for the host running XDM is also enabled. The XDM tries to make three
- connection before bringing up the login window and it is suppose to pass
- the authorization data (including the key) to the server during the
- connection process. I found that xdm does send the authorization info
- for the first and the third connection but it send nothing for the second
- and thus server doesn't allow it to connect. On the other hand
- MIT_MAGIC-COOKIE-1 scheme works just fine. Please note that the
- AUTHORIZATION-1 scheme is used in conjunction with the AUTHENTICATION-1
- scheme. Again, it seems like XDM is somehow not sending the authorization
- data for the second connection - I don't know why?
-
- If anybody has seen similar problems and/or know solutions, please respond
- to jain@spectra.com.
-
- Thanks a lot.
- Sadhana Jain.
-
-
-
-