Re: Mount volume, slash problem
Re: Mount volume, slash problem
- Subject: Re: Mount volume, slash problem
- From: David Blache <email@hidden>
- Date: Wed, 14 Feb 2001 12:46:27 -0600
on 2/14/2001 12:12 PM, Bret Linford (email@hidden) wrote:
>
mount volume "afp://user:email@hidden/volumename"
Running netatalk (1.4b2+asun2.1.4) on redhat 6.2. The account I am logging
into is valid, and netatalk is configured for afp (TCP/IP access).
When the following script is run:
log (mount volume "afp://dude:email@hidden/dblache Linux - dude")
AppleScript generates the following error:
Network file permission error.
On the server side, the following is logged to /var/log/messages when the
connection attempt is made:
Feb 14 13:33:39 dblache afpd[26904]: ASIP session:548(2) from
10.1.5.110:49391(0)
Feb 14 13:33:39 dblache afpd[26901]: server_child[1] 26904 done
Feb 14 13:33:39 dblache afpd[26905]: ASIP session:548(2) from
10.1.5.110:49392(0)
Feb 14 13:33:39 dblache afpd[26905]: 0.07KB read, 0.07KB written
Feb 14 13:33:39 dblache afpd[26901]: server_child[1] 26905 done
Feb 14 13:33:39 dblache afpd[26906]: ASIP session:548(2) from
10.1.5.110:49393(0)
Feb 14 13:33:39 dblache afpd[26901]: server_child[1] 26906 done
Feb 14 13:33:39 dblache afpd[26907]: ASIP session:548(2) from
10.1.5.110:49394(0)
Feb 14 13:33:39 dblache afpd[26907]: 0.07KB read, 0.07KB written
Feb 14 13:33:39 dblache afpd[26901]: server_child[1] 26907 done
The "0.07KB read, 0.07KB written" line indicates that the login must have
failed, because that information is only reported on logout, TMK.
Now if I connect manually via the CHOOSER via TCP/IP, everything works just
fine. Here is what gets logged when the Chooser connects successfully:
Feb 14 13:41:16 dblache afpd[26934]: ASIP session:548(2) from
10.1.5.110:49403(0)
Feb 14 13:41:16 dblache afpd[26901]: server_child[1] 26934 done
Feb 14 13:41:25 dblache afpd[26935]: ASIP session:548(2) from
10.1.5.110:49404(0)
Feb 14 13:41:25 dblache afpd[26935]: cleartext login: dude
Feb 14 13:41:25 dblache PAM_pwdb[26935]: (netatalk) session opened for user
dude by (uid=0)
Feb 14 13:41:25 dblache afpd[26935]: login dude (uid 503, gid 100)
Note that at the same point where we get read/write logout statistics when
connecting via AppleScript, when connecting via the chooser, we see
"cleartext login: dude". This indicates a successful login.
I wonder, could this have something to do with the KeyChain? I know the
Chooser has limited KeyChain support, and suspect AppleScript accesses the
KeyChain for more operations. I've always thought that the KeyChain was
suspect for problems with AppleShare connections.
-David