Newsgroup: it.comp.macintosh
Titolo: MacOS X e Atalk

Ciao a tutti,
sto cercando di creare un file server linux con Atalk (1.5pre6) per una rete
di MacOS misti (da 9.2 a 10.4) purtroppo però non gli OS 10.x non eseguono
correttamente il logon sulla share del server mentre gli OS 9 si.
E' un problema conosciuto ? Dove posso trovare degli hint che mi aiutino a
risolverlo ?
Grazie in anticipo.
Rizio
--
So many women and so little time

 po' di casini ?
Stavo giusto leggendo il changelog su sourceforge :)
sono solo un po' timoroso perchč devo installarlo su una RedHat 7.1 un po'
vecchiotta e non manutenuta perciň non volevo "procacciarmi" casini, tu
cosa dici ?
Di fatto non ho trovato l'RPM  della 2 ma solo i sorgenti e la cosa mi fa
stare in parte piů tranquillo.
Me lo consigli ? Molte cose che ho letto nel changelog non le conosco a
causa della mia ignoranza del mondo mac perciň faccio fatica a valutare.
-- 


 breve.
Grazie mille,
ora provo anche questa poi ti dico... in attesa di valutare netatalk 2
-- 


 correttamente il logon sulla share del server mentre gli OS 9 si.
Anche se non si dovrebbe fare ti rispondo di corsa:
10.4 questo e' il problema: appletalk non e' piu' supportato ma non so
dirti se su TCP si (io ho 10.3 3 Atalk 1.4b?)
In teoria il Transport Protocols configurato di default per Atalk
dovrebbe comprendere sia TCP sia ddp (vedi il file afpd.conf di Linux)
Si potrebbe tentare di configurando come il Transport Protocols solo su
TCP (-tcp -noddp)
Fammi sapere perche devo migrare a 10.4 e rifare il server Linux a
breve.
-- 
http://www.theanimalrescuesite.com
 - 
http://www.thechildhealthsite.com
http://www.thehungersite.com
 - 
http://www.thebreastcancersite.com
http://www.therainforestsite.com
 - 
http://www.theliteracysite.com

 netatalk Version: 2.0.2-3
# atalkd -v
atalkd (version 1.5.5)
saluti ci sentiamo domani (vado a prendere Luca al nido)


A me rimane un problema di autenticazione;  verdo i server ma non come afp
solo come smb e lì mi da il problema di autenticazione.
Riguardo all'afp mi dice che il server esegue una versione errata di
atalk ??? 
Aggiorno a netatalk 2 ?
-- 


 Da Tiger quando provo a connesstermi.
hai provato a vedere
negli archivi della mail list di netatalk se c'e' qualcosa
http://sourceforge.net/mailarchive/forum.php?thread_id=7307684&forum_id=
8099
(io oggi ho tutto il giorno dei consulenti e non ho tempo e poi non sono
molto ferrato con l'"inglish")


 "connettermi" :-P
-transall -ipaddr 10.2.2.4 -loginmesg "Benwenuto in Indus"
e io che davo "Benwenuto" da un po di anni :-))


 Aggiorno a netatalk 2 ?
con la redhat 7.1? dubito che tu riesca a compilare
Io suggerirei per adesso:
Os9 condivisione con atalk
OSX 10.4 condivisione con samba


 AppleVolumes.default? Li trovi in /etc/netatalk, ad occhio.
/usr/local/etc/netatalk
Ecco i files, prima l'afdp.conf e poi l'altro, se serve altro chiedi.
Ps, il contenuto della dir e' il seguente:
-rw-r--r--  1 root root 11158 2005-01-11 17:29 afpd.conf
-rw-r--r--  1 root root  5010 2005-01-11 17:29 AppleVolumes.default
-rw-r--r--  1 root root 25124 2005-01-11 17:29 AppleVolumes.system
-rw-r--r--  1 root root  1059 2005-01-11 17:29 atalkd.conf
-rw-r--r--  1 root root  1431 2005-01-11 17:29 netatalk.conf
-rw-r--r--  1 root root  1479 2005-01-11 17:29 papd.conf
drwxr-xr-x  2 root root   272 2005-01-11 17:29 uams
 
#
# CONFIGURATION FOR AFPD
#
# Each line defines a virtual server that should be available.
# Empty lines and lines beginning with `#' are ignored.
# Options in this file will override both compiled-in defaults
# and command line options.
#
# Format:
#  - [options]                to specify options for the default server
#  "Server name" [options]   to specify an additional server
#
# The following options are available:
#   Transport Protocols:
#     -[no]tcp       Make AFP-over-TCP [not] available
#     -[no]ddp       Make AFP over AppleTalk [not] available. if you
#                    have -proxy specified, specify -uamlist "" to 
#                    prevent ddp connections from working.
#
#     -transall      Make both available (default)
#
#   Transport Options:
#     -ipaddr <w.x.y.z>   Specifies the IP address the server should
respond
#                         to (default is the first IP address of the
system)
#                         This option also allows one machine to
advertise
#                         TCP/IP for another machine.
#     -server_quantum <number> 
#                         Specifies the DSI server quantum. The minimum
#                         value is 1MB. The max value is 0xFFFFFFFF. If
you 
#                         specify a value that is out of range, you'll
get 
#                         the default value (currently the minimum).
#     -admingroup <groupname>
#                         Specifies the group of administrators who
should all
#                         be seen as the superuser when they log in.
Default
#                         is disabled.
#     -ddpaddr x.y        Specifies the DDP address of the server. the 
#                         default is to auto-assign an address
#                         (0.0). this is only useful if you're running
#                         on a multihomed host.
#     -port <number>      Specifies the TCP port the server should
respond
#                         to (default is 548)
#     -fqdn <name:port>   specify a fully-qualified domain name (+
#                         optional port). this gets discarded if the
#                         server can't resolve it. this is not honored
#                         by appleshare clients <= 3.8.3 (default: none)
#     -proxy              Run an AppleTalk proxy server for specified
AFP/TCP
#                         server (if address/port aren't given, then
#                         first IP address of the system/548 will be
used).
#                         if you don't want the proxy server to act as
#                         a ddp server as well, set -uamlist to an
#                         empty string.
#     -noslp              Don't register this server with the Service
#                         Location Protocol.
#
#
#   Authentication Methods:
#     -uampath <path>  Use this path to look for User Authentication
Modules.
#                      (default: /usr/local/etc/netatalk/uams)
#     -uamlist <a,b,c> Comma-separated list of UAMs. (default:
#                      uams_guest.so,uams_clrtxt.so,uams_dhx.so) 
#
#                      some commonly available UAMs:
#                      uams_guest.so: Allow guest logins
#
#                      uams_clrtxt.so: (uams_pam.so or uams_passwd.so)
#                                     Allow logins with passwords
#                                     transmitted in the clear. 
#
#                      uams_randnum.so: Allow Random Number and Two-Way
#                                      Random Number exchange for
#                                      authentication.
#
#                      uams_dhx.so: (uams_dhx_pam.so or
uams_dhx_passwd.so)
#                                   Allow Diffie-Hellman eXchange
#                                   (DHX) for authentication.
#
#   Password Options:
#     -[no]savepassword   [Don't] Allow clients to save password locally
#     -passwdfile <path>  Use this path to store Randnum
#                         passwords. (Default:
/usr/local/etc/netatalk/afppasswd. The only
#                         other useful value is ~/.passwd. See 'man
afppasswd'
#                         for details.)
#     -passwdminlen <#>   minimum password length. may be ignored.
#     -[no]setpassword    [Don't] Allow clients to change their
passwords.
#     -loginmaxfail <#>   maximum number of failed logins. this may be
#                         ignored if the uam can't handle it.
#
#   AppleVolumes files:
#     -defaultvol <path>  Specifies path to AppleVolumes.default file
#                         (default
/usr/local/etc/netatalk/AppleVolumes.default,
#                         same as -f on command line)
#     -systemvol <path>   Specifies path to AppleVolumes.system file
#                         (default
/usr/local/etc/netatalk/AppleVolumes.system,
#                         same as -s on command line)
#     -[no]uservolfirst   [Don't] read the user's ~/AppleVolumes or
#                         ~/.AppleVolumes before reading
#                         /usr/local/etc/netatalk/AppleVolumes.default
#                         (same as -u on command line)
#     -[no]uservol        [Don't] Read the user's volume file
#
#
#   Miscellaneous:
#     -authprintdir <path> Specifies the path to be used (per server) to
#                          store the files required to do CAP-style
#                          print authentication which papd will examine
#                          to determine if a print job should be
allowed.
#                          These files are created at login and if they
#                          are to be properly removed, this directory
#                          probably needs to be umode 1777
#     -guestname "user"   Specifies the user name for the guest login
#                         (default "nobody", same as -g on command line)
#     -loginmesg "Message"  Client will display "Message" upon logging
in
#                         (no default, same as -l "Message" on
commandline)
#     -nodebug            Switch off debugging
#     -client_polling     With this switch enabled, afpd won't advertise
#                         that it is capable of server notifications, so
that
#                         connected clients poll the server every 10
seconds
#                         to detect changes in opened server windows.
#                         Note: Depending on the number of
simultaneously
#                         connected clients and the network's speed,
this can
#                         lead to a significant higher load on your
network!
#     -sleep   <number>   AFP 3.x wait number hours before disconnecting
#                         clients in sleep mode. Default 10 hours
#     -tickleval <number> Specify the tickle timeout interval (in
seconds).
#                         Note, this defaults to 30 seconds, and really
#                         shouldn't be changed.  If you want to control
#                         the server idle timeout, use the -timeout
option.
#     -timeout <number>   Specify the number of tickles to send before
#                         timing out a connection.  The default is 4,
therefore
#                         a connection will timeout in 2 minutes.
#     -icon               Use the platform-specific icon.
#     -[un]setuplog "<logtype> <loglevel> [<filename>]"
#                         Specify that the given loglevel should be
applied
#                         to log messages of the given logtype and that
#                         these messages should be logged to the given
file.
#                         If the filename is ommited the loglevel
applies to 
#                         messages passed to syslog.  
#                         Each logtype may have a loglevel applied to
syslog 
#                         and a loglevel applied to a single file.
Latter
#                         -setuplog settings will override earlier ones
of
#                         the same logtype (file or syslog).
#                         logtypes:  Default, Core, Logger, CNID,
AFPDaemon
#                         loglevels: LOG_SEVERE, LOG_ERROR, LOG_WARN,
LOG_NOTE,
#                                    LOG_INFO, LOG_DEBUG, LOG_DEBUG6,
LOG_DEBUG7, 
#                                    LOG_DEBUG8, LOG_DEBUG9,
LOG_MAXDEBUG
#
#                         for example:
#                    -setuplog "logger log_maxdebug
/var/log/netatalk-logger.log"
#                    -setuplog "afpdaemon log_maxdebug
/var/log/netatalk-afp.log"
#                    -unsetuplog "default level file" 
#                    -setuplog "default log_maxdebug"
#
#     -signature { user:<text> | host }
#                         Specify a server signature. This option is
useful while
#                         running multiple independent instances of afpd
on one 
#                         machine (eg. in clustered environments, to
provide fault
#                         isolation etc.). "host" signature type allows
afpd generating
#                         signature automatically (based on machine
primary IP address).
#                         "user" signature type allows administrator to
set up a signature
#                         string manually. Examples: three servers
running on one machine:
#           first       -signature user:USERS
#           second      -signature user:USERS
#           third       -signature user:ADMINS
#                First two servers will act as one logical AFP service -
if user logs in to 
#                first one and then  connects to second one, session
will be automatically 
#                redirected to the first one. But if client connects to
first and then to third, 
#                will be asked for password twice and will see
resources of both servers. 
#                Traditional method of signature generation causes two
independent afpd instances
#                to have the same signature and thus cause clients to be
redirected automatically
#                to server (s)he logged in first.
#     -k5service <service>
#     -k5realm <realm>
#                These are required if the server supports Kerberos 5
authentication
#
#   Codepage Options:
#      -unixcodepage <CODEPAGE>     Specifies the servers unix codepage,
e.g. "ISO-8859-15" or "UTF8".
#                                   This is used to convert strings
to/from the systems locale, e.g.
#                                   for authenthication. Defaults to
LOCALE if your system supports it, 
#                                   otherwise ASCII will be used.
#
#      -maccodepage <CODEPAGE>      Specifies the mac clients codepage,
e.g. "MAC_ROMAN".
#                                   This is used to convert strings to
the systems locale, e.g. 
#                                   for authenthication and SIGUSR2
messaging. This will also be
#                                   the default for volumes maccharset.
#
#   CNID related options:
#      -cnidserver ipaddress:port   Specifies the IP address and port of
a cnid_metad server.
#
 
#               
# Some examples:
#
#       The simplest case is to not have an afpd.conf.
#
#       4 servers w/ names server1-3 and one w/ the hostname. servers
#       1-3 get routed to different ports with server 3 being bound 
#       specifically to address 192.168.1.3
#               -
#               server1 -port 12000
#               server2 -port 12001
#               server3 -port 12002 -ipaddr 192.168.1.3
#
#       a dedicated guest server, a user server, and a special
#       ddp-only server:
#               "Guest Volume" -uamlist uams_guest.so -loginmesg
"Welcome guest!"
#               "User Volume" -uamlist uams_clrtxt.so -port 12000
#               "special" -notcp -defaultvol <path> -systemvol <path>
#
# default:
# - -transall -uamlist uams_clrtxt.so,uams_dhx.so -nosavepassword
*******************************************************
# This file looks empty when viewed with "vi".  In fact, there is one
# '~', so users with no AppleVolumes file in their home directory get
# their home directory by default.
# 
# volume format:
# :DEFAULT: [all of the default options except volume name]
# path [name] [casefold:x] [options:z,l,j] \
#   [allow:a,@b,c,d] [deny:a,@b,c,d] [dbpath:path] [password:p] \
#   [rwlist:a,@b,c,d] [rolist:a,@b,c,d] [limitsize:value in bytes]\
#   [preexec:cmd] [root_preexec:cmd] [postexec:cmd]  [root_postexec:cmd]
#
#
# name:      volume name. it can't include the ':' character and is
limited
#            to 27 characters in length.
#
# variable substitutions:
# you can use variables for both <path> and <name> now. here are the
# rules:
#     1) if you specify an unknown variable, it will not get converted.
#     2) if you specify a known variable, but that variable doesn't have
#        a value, it will get ignored.
#
# the variables:
# $b   -> basename of path
# $c   -> client's ip or appletalk address
# $d   -> volume pathname on server    
# $f   -> full name (whatever's in the gecos field)
# $g   -> group
# $h   -> hostname 
# $i   -> client ip without tcp port or appletalk network   
# $s   -> server name (can be the hostname)
# $u   -> username (if guest, it's whatever user guest is running as)
# $v   -> volume name (either ADEID_NAME or basename of path)
# $z   -> zone (may not exist)
# $$   -> $
#
# casefold options [syntax: casefold:option]:
# tolower    -> lowercases names in both directions
# toupper    -> uppercases names in both directions
# xlatelower -> client sees lowercase, server sees uppercase
# xlateupper -> client sees uppercase, server sees lowercase
#
# allow/deny/rwlist/rolist format [syntax: allow:user1,@group]:
# user1,@group,user2  -> allows/denies access from listed users/groups
#                        rwlist/rolist control whether or not the
#                        volume is ro for those users.
# preexec             -> command to be run when the volume is mounted,
#                        ignore for user defined volumes
# root_preexec        -> command to be run as root when the volume is
mounted,
#                        ignore for user defined volumes
# postexec             -> command to be run when the volume is closed,
#                        ignore for user defined volumes
# root_postexec        -> command to be run as root when the volume is
closed,
#                        ignore for user defined volumes
#
# codepage options [syntax: options:charsetname]
# volcharset           -> specifies the charset to be used as the volume
codepage
#                         e.g. "UTF8", "UTF8-MAC", "ISO-8859-15"
# maccharset           -> specifies the charset to be used as the mac
client codepage
#                         e.g. "MAC_ROMAN", "MAC_CYRILLIC"
#
# miscellaneous options [syntax: options:option1,option2]:
# prodos              -> make compatible with appleII clients.
# crlf                -> enable crlf translation for TEXT files.
# noadouble           -> don't create .AppleDouble unless a resource
#                        fork needs to be created.
# ro                  -> mount the volume as read-only.
# mswindows           -> enforce filename restrictions imposed by MS
#                        Windows. this will also invoke a default
#                        codepage (iso8859-1) if one isn't already 
#                        specified.
# nohex               -> don't do :hex translations for anything
#                        except dot files. specify usedots as well if
#                        you want that turned off. note: this option
#                        makes the / character illegal.
# usedots             -> don't do :hex translation for dot files. note:
when 
#                        this option gets set, certain file names
#                        become illegal. these are .Parent and
#                        anything that starts with .Apple. also, dot
#                        files created on the unix side are marked
#                        invisible. 
# limitsize           -> limit disk size reporting to 2GB. this is
#                        here for older macintoshes using newer
#                        appleshare clients. yucko.
# nofileid            -> don't advertise createfileid, resolveid,
deleteid 
#                        calls
# root_preexec_close  -> a non-zero return code from root_preexec close
the 
#                        volume being mounted.
# preexec_close       -> a non-zero return code from preexec close the 
#                        volume being mounted.
# nostat              -> don't stat volume path when enumerating volumes
list
# upriv               -> use unix privilege.  
#
#
# dbpath:path         -> store the database stuff in the following path.
# password:password   -> set a volume password (8 characters max)
# cnidscheme:scheme   -> set the cnid scheme for the volume, default is
[cdb]
#                        available schemes: [cdb dbd last]
#
# The "~" below indicates that Home directories are visible by default.
# If you do not wish to have people accessing their Home directories,
# please put a pound sign in front of the tilde or delete it.
~
-- 
Porco Jobs!

 Supporta i nomi lunghi che con OsX non fa' male...
Grazie dell'info, adesso vedo di litigarci un po' perchè come diceva cfr ha
già cominciato a ribellarsi per alcuni header non trovati.... vedremo che
la vince :|


 Da Tiger quando provo a connesstermi.
Ma hai fatto un'aggiornamento o una installazione fresca?
L'aggiornamento e' un po' un casino...
Qui sulla mia Suse mi ci collego tranquillamente senza nessun problema
anche con Tiger...
-- 
Porco Jobs!

 OSX 10.4 condivisione con samba
In effetti sembra l'unica via, dev osolo risolvere il problema di
autenticazione con il domino (perchè anche se riporto sul dominio gli
utenti mac poi bisogna cambiare tutte le permission -a causa dei diversi
uid- su n giga di roba.... mah proprio una bella "pesca")
Cmq grazie mille pre ora, quando/se riuscirò a risolvere posto eventuali
modifiche.


 mi passi il contenuto
Senti, te li mando per posta tutti quanti, che faccio prima, sempre che
despammed vada.
-- 
Porco Jobs!

 stare in parte più tranquillo.
Io ho installato la 2.0.1 ricompilandola su una Suse 9.2 ed e' una vera
roccia.
Gira come file server su un vecchio cassone (Athlon 800 Mhz o giu' di
li') e  non fa' una piega.
Supporta i nomi lunghi che con OsX non fa' male...
-- 
Porco Jobs!

 letti qui e arrivati per posta... ma sono sempre piu` perplesso.
E perche'?
Dicci tutto...
-- 
Porco Jobs!

 roccia.
immagino, ma con Tiger?


 immagino, ma con Tiger?
Mi ci collego tutti i giorni, nessun problema.
-- 
Porco Jobs!

 perche' sono vuoti, e quindi al default (transall)
E infatti mi condivide la home di ogni utente, ne' piu' ne meno: io su
quei file non ho proprio messo mano.
-- 
Porco Jobs!