Changes between Version 1 and Version 2 of Hesiod

02/23/12 10:20:54 (12 years ago)



  • Hesiod

    v1 v2  
    15Hesiod is a simple string lookup service built on top of the Domain Name System.  Conceptually, the service translates a pair of strings (the "name" and "type") into a set of result strings.  This lookup is done very simply; a DNS lookup is done for and the strings in the resulting TXT records are returned. 
    37Hesiod is used in several places in Debathena: 
    48 * Retrieving a user's entries in the passwd and group databases 
     9  * Due to DNS limitations, the group list is often truncated.  A group must be marked as an "NFS Group" in order for group membership to be propagated to Hesiod. 
    510 * Determining which mail system they're using and if IMAP, which server to speak to 
    611 * Translating a locker name to an AFS path, including the user's homedir 
    1116Hesiod may, in some cases, be used to select a default printer for a specific workstation.  This information is ignored in the public cluster environment. 
    13 Hesiod can be queried with the `hesinfo` command.  The `hes` command in the `consult` locker takes a Hesiod name and iterates over all possible Hesiod types. 
     20Hesiod can be queried with the `hesinfo` command.   
     23$ hesinfo jdreed passwd 
     24jdreed:*:7263:101:Jonathan D Reed,E17-110A,6172530657,:/mit/jdreed:/bin/athena/bash 
     27Because [wiki:NSS] uses a Hesiod backend, you can accomplish the same thing with getent(1) (assuming there is not already a local user with the same name). 
     30$ getent passwd jdreed 
     31jdreed:*:7263:101:Jonathan D Reed,E17-110A,6172530657,:/mit/jdreed:/bin/athena/bash 
     34The `hes` command in the `consult` locker takes a Hesiod name and iterates over all possible Hesiod types. 
     37$ add consult 
     38$ hes jdreed 
     39    PASSWD: jdreed:*:7263:101:Jonathan D Reed,E17-110A,6172530657,:/mit/jdreed:/bin/athena/bash 
     40    FILSYS: AFS /afs/ w /mit/jdreed 
     41     POBOX: POP PO14.MIT.EDU jdreed 
     42   GRPLIST: docsourc:2567:hdops:80547:bugs-acl:967:webmeet-adm:26990:ctug-admin:23752:facdev:14008:chd-home:27063:gsipb:15001:tooltime-acl:18546:cvs-users:18719:tooltime-team:26355:minidev:691:is-archive:29512:is-www:26481:olcdev:367:mcc-www:9235:helpstaff:16886: 
     44$ hes zephyr 
     45    FILSYS: AFS /afs/ w /mit/zephyr 
     46      SLOC: ARILINN.MIT.EDU 
     47      SLOC: NESKAYA.MIT.EDU 
     48   SERVICE: zephyr udp 2102