From: Matthew K. <kel...@po...> - 2001-04-06 15:58:12
|
I recommend, on a lark, trying the Clear Text UAM and seeing how that works. I'm especially concerned with the inappropriate IOCTL's. There have been problems with the DHX UAM, so I'd like to rule that out (or confirm it) first. On 06 Apr 2001 08:40:28 -0700, Scott Gruby wrote: > I've read the messages complaining about getting an OS X machine to > connect to netatalk and I'd like to help track this down as I see the > same problem. While I write software for a living, I write Mac and > Palm OS, so if someone could help walk me through the steps I need to > provide information to the correct sources, I'd be more than happy to > do this. > > Yesterday I snagged the sources from CVS and built (there appears to > be a bug with the configure script where it wants to place the config > files in NONE/etc or something like that instead of /usr/local/etc > where I think is the default config. > > My setup is as follows: > RedHat 6.1 with 2.2.18 kernel > > I use the following to configure netatalk: > > ./configure --with-pam --with-config-dir=/etc/atalk --with-msg-dir=/etc/atalk > /msg --with-uams-path=/etc/atalk/uams > > When I connect with a Mac OS 9 machine via TCP/IP, I don't have a > problem. Also, AppleTalk works fine as I have papd running and can > print from OS X with lpr to my AppleTalk LaserWriter. When I connect > via TCP/IP from Mac OS X, I can authenticate, see the list of > volumes, and after I select a volume, the Finder crashes and the > server disconnects. Here is the log from my (working) Mac OS 9 > connection: > > Apr 5 15:55:07 linux afpd[5831]: ASIP session:548(2) from 192.168.1.4:51648(0) > Apr 5 15:55:07 linux afpd[5831]: dhx login: scott > Apr 5 15:55:07 linux afpd[5831]: uams_dhx_pam.c :PAM: PAM Success -- > Interrupte > d system call > Apr 5 15:55:07 linux PAM_pwdb[5831]: (netatalk) session opened for > user scott b > y (uid=0) > Apr 5 15:55:07 linux afpd[5831]: uams_dhx_pam.c :PAM: PAM Auth OK!: > (null) -- I > nappropriate ioctl for device > Apr 5 15:55:07 linux afpd[5831]: login scott (uid 500, gid 500) > Apr 5 15:55:13 linux afpd[5831]: setdirowner: chown -1/0 .AppleDouble/.Parent: > Operation not permitted > Apr 5 15:56:12 linux afpd[5811]: shutting down on signal 15 > Apr 5 15:56:12 linux PAM_pwdb[5831]: (netatalk) session closed for user scott > Apr 5 15:56:12 linux afpd[5831]: 145.43KB read, 24.49KB written > Apr 5 15:56:12 linux afpd[5831]: Connection terminated > Apr 5 15:56:12 linux afpd[5811]: server_child[1] 5831 done > > And here is the log from my failed OS X attempts: > > > Apr 5 16:00:31 linux afpd[5962]: ASIP session:548(2) from 192.168.1.4:49162(0) > Apr 5 16:00:31 linux afpd[5962]: dhx login: scott > Apr 5 16:00:31 linux afpd[5962]: uams_dhx_pam.c :PAM: PAM Success -- > Interrupte > d system call > Apr 5 16:00:31 linux PAM_pwdb[5962]: (netatalk) session opened for > user scott b > y (uid=0) > Apr 5 16:00:31 linux afpd[5962]: uams_dhx_pam.c :PAM: PAM Auth OK!: > (null) -- I > nappropriate ioctl for device > Apr 5 16:00:31 linux afpd[5962]: login scott (uid 500, gid 500) > Apr 5 16:00:36 linux afpd[5962]: dsi_stream_read(0): No such process > Apr 5 16:00:36 linux PAM_pwdb[5962]: (netatalk) session closed for user scott > Apr 5 16:00:36 linux afpd[5962]: 0.52KB read, 8.60KB written > Apr 5 16:00:36 linux afpd[5962]: Connection terminated > Apr 5 16:00:36 linux afpd[5923]: server_child[1] 5962 exited 1 > Apr 5 16:00:45 linux afpd[5963]: ASIP session:548(2) from 192.168.1.4:49163(0) > Apr 5 16:00:45 linux afpd[5923]: server_child[1] 5963 done > > It appears that there is some type of problem with dsi_stream_read. > > Please let me know what I can do to help solve this problem for other > OS X users. > > Thanks! > -- > Scott Gruby > <mailto:sc...@gr...> > <http://www.gruby.org/> > > _______________________________________________ > Netatalk-devel mailing list > Net...@li... > http://lists.sourceforge.net/lists/listinfo/netatalk-devel > -- Matthew Keller Enterprise System Analyst Computing & Technology Services Information Services Division State University of NY at Potsdam http://mattwork.potsdam.edu/ |