[OpenAFS] Re: IPA + OpenAFS

Qing Chang qchang@sri.utoronto.ca
Fri, 13 Jul 2012 11:40:37 -0400


This is a multi-part message in MIME format.
--------------030703060104080008070208
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Many many thanks.

After removing the comment line, I got this:
[root@smb1 etc]# vos create  smb1 /vicepa root.cell
Volume 536870915 created on partition /vicepa of smb1

Though I get this the next:
[root@smb1 etc]# fs mkmount /afs/openafs.sri.utoronto.ca  root.cell
fs: cell dynroot not in /usr/vice/etc/CellServDB

[root@smb1 etc]# cat /usr/vice/etc/CellServDB
 >openafs.sri.utoronto.ca        #Cell name
142.76.29.40    #smb1.sri.utoronto.ca

[root@smb1 etc]# ls -l /afs
drwxr-xr-x. 100 root root 4096 Dec 31  1969 openafs.sri.utoronto.ca

Qing

On 13/07/2012 10:47 AM, Andrew Deason wrote:
> On Fri, 13 Jul 2012 10:15:50 -0400
> Qing Chang<qchang@sri.utoronto.ca>  wrote:
>
>> Silly me, I just copied system krb5.conf to the location without
>> really noticing the difference in name and syntax...
>> [root@smb1 etc]# cat /usr/afs/etc/krb5.conf
>> # Realm mapping:
>> SRI.UTORONTO.CA
> The file is krb.conf, not krb5.conf. And don't put any comments in the
> file; the only thing in that file should be the realm name, by itself.
> You want it to look like:
>
> [root@smb1 etc]# cat /usr/afs/etc/krb.conf
> SRI.UTORONTO.CA
> [root@smb1 etc]#
>
>> But I am still stuck:
>> [root@smb1 ~]# fs listacl /afs
>> fs:'/afs': Connection timed out
> That's going to keep happening if you're using dynroot; that's unrelated
> to your issues.
>

--------------030703060104080008070208
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Many many thanks.<br>
    <br>
    After removing the comment line, I got this:<br>
    [root@smb1 etc]# vos create&nbsp; smb1 /vicepa root.cell<br>
    Volume 536870915 created on partition /vicepa of smb1<br>
    <br>
    Though I get this the next:<br>
    [root@smb1 etc]# fs mkmount /afs/openafs.sri.utoronto.ca&nbsp; root.cell<br>
    <font color="#ff0000">fs: cell dynroot not in
      /usr/vice/etc/CellServDB<br>
    </font><br>
    [root@smb1 etc]# cat /usr/vice/etc/CellServDB<br>
    &gt;openafs.sri.utoronto.ca&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #Cell name<br>
    142.76.29.40&nbsp;&nbsp;&nbsp; #smb1.sri.utoronto.ca<br>
    <br>
    [root@smb1 etc]# ls -l /afs<br>
    drwxr-xr-x. 100 root root 4096 Dec 31&nbsp; 1969 openafs.sri.utoronto.ca<br>
    <br>
    Qing<br>
    <br>
    On 13/07/2012 10:47 AM, Andrew Deason wrote:
    <blockquote
      cite="mid:20120713094740.866a69b8.adeason@sinenomine.net"
      type="cite">
      <pre wrap="">On Fri, 13 Jul 2012 10:15:50 -0400
Qing Chang <a class="moz-txt-link-rfc2396E" href="mailto:qchang@sri.utoronto.ca">&lt;qchang@sri.utoronto.ca&gt;</a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">Silly me, I just copied system krb5.conf to the location without
really noticing the difference in name and syntax...
[root@smb1 etc]# cat /usr/afs/etc/krb5.conf
# Realm mapping:
SRI.UTORONTO.CA
</pre>
      </blockquote>
      <pre wrap="">
The file is krb.conf, not krb5.conf. And don't put any comments in the
file; the only thing in that file should be the realm name, by itself.
You want it to look like:

[root@smb1 etc]# cat /usr/afs/etc/krb.conf
SRI.UTORONTO.CA
[root@smb1 etc]#

</pre>
      <blockquote type="cite">
        <pre wrap="">But I am still stuck:
[root@smb1 ~]# fs listacl /afs
fs:'/afs': Connection timed out
</pre>
      </blockquote>
      <pre wrap="">
That's going to keep happening if you're using dynroot; that's unrelated
to your issues.

</pre>
    </blockquote>
  </body>
</html>

--------------030703060104080008070208--