Erhöhen der Geschwätzigkeit des AFP-Client in MacOS X:

    [powerbook-tk:/] root# setenv AFP_DEBUG_LEVEL 8

Starten einer zweiten Finder Instanz, damit man im Terminal gucken kann, was während der Verbindung mit einem AFP-Server so alles läuft:

    [powerbook-tk:/] root# /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder

Nun Aufruf des "Mit Server verbinden" Dialogs. MacOS X sucht per SLP und NBP nach AFP-Servern ("=:AFPServer@*")

    SLP-UA: ERR: get_converge_result: multicast sendto: No route to host

    zip_getzonelist failed
    SLP-UA: ERR: get_converge_result: multicast sendto: No route to host
    
    zip_getzonelist failed
    SLP-UA: ERR: get_converge_result: multicast sendto: No route to host
    
    zip_getzonelist failed
    SLP-UA: ERR: get_converge_result: multicast sendto: No route to host
    
    zip_getzonelist failed
    SLP-UA: ERR: get_converge_result: multicast sendto: No route to host
    
    zip_getzonelist failed

Nun Auswählen des Servers per AppleTalk ("afp:/at/")

    userSelectedURL is afp:/at/notebook-tk:*
    Setting AFPClient Log level to 8
    afp_HLMount: incomming url is afp:/at/notebook-tk:*
    afp_HLMount: we have an appletalk address notebook-tk in zone *
    TStatusDlog::TStatusDlog creating this = 21acae0
    TThreadResult::TThreadResult this = 21a43a0
    TThreadResult::TThreadResult mutex 217eb40 init returns 0
    TThreadResult::Retain fRefcount = 0
    TThreadResult::Retain fRefcount = 1
    TLookupThread::Init: creating the NBP resolver
    TLookupThread::Init: resolver = 2180e50
    TLookupThread::Done
    TStatusDlog::Init Getting the dialog
    TStatusDlog::Init Clearing the default item
    TThreadResult::Retain fRefcount = 2
    TStatusDlog::ReInit: Ready to Go
    fTimeout = 7200 fDlog = 74775927
    DoStatusHI: running the status object for DNS
    TThreadResult::Done returning 0
    TStatusDlog::Run fStartTime = 136953, fNextCheck = 137013 end = 144153
    TStatusDlog::Run running the thread
    TThreadResult::Done returning 0
    TLookupThread::Run: calling resolve
    NBPAddressResolver::Resolve returns 1 errno = 0
    TLookupThread::Run: resolve returns 0
    NBPAddressResolver:GetAddress returning net = 65280, node = 68, socket = 128
    TThreadResult::SetResult this = 21a43a0
    TLookupThread::~TLookupThread: deleting the resolver
    TThreadResult::Release within the critical region fRefcount = 3
    TThreadResult::Done returning 1
    TStatusDlog::Run skipping ModalDialog
    TThreadResult::Done returning 1
    TStatusDlog::Run returning 0
    TThreadResult::GetResult this = 21a43a0
    TThreadResult::Release within the critical region fRefcount = 2
    DoStatusHI: theError = 0 theThreadErr = 0
    IsLocalAddr: we don't check AppleTalk, returning false
    DoStatusHI: Preparing to do the GetStatus call
    TThreadResult::TThreadResult this = 20bb0e0
    TThreadResult::TThreadResult mutex 20bb100 init returns 0
    TThreadResult::Retain fRefcount = 0
    TThreadResult::Retain fRefcount = 1
    TGetStatusThread::Init: Creating the TServerProxy
    TThreadResult::Release within the critical region fRefcount = 1
    TThreadResult::~TThreadResult this = 21a43a0
    TThreadResult::~TThreadResult deleting mutex 217eb40
    TThreadResult::Retain fRefcount = 2
    TStatusDlog::ReInit: Ready to Go
    fTimeout = 7200 fDlog = 74775927
    TThreadResult::Done returning 0
    TStatusDlog::Run fStartTime = 137022, fNextCheck = 137082 end = 144222
    TStatusDlog::Run running the thread
    TGetStatusThread::Run: calling Connect
    Sending a GetStatus request over AppleTalk to 65280:68:128
    atp_sendreq returned 0x0 
    TGetStatusThread::Run: calling GetBestAddress
    TServerProxy::GetBestAddress calling FindBestAddress
    TServerProxy::FindBestAddress about to get the address tags  altAddressPtr = 22b9134
    TServerProxy::FindBestAddress tag = 22b9137, tagType = 1, tag length = 6
    TServerProxy::FindBestAddress  Found one count = 0
    TServerProxy::GetBestAddress freeing old address
    TGetStatusThread::Run: finished with GetBestAddress
    TGetStatusThread::~TGetStatusThread: writing our results
    TGetStatusThread::WriteResult fStatus = 0
    TThreadResult::SetResult this = 20bb0e0
    TThreadResult::Release within the critical region fRefcount = 3
    TThreadResult::Done returning 1
    TStatusDlog::Run skipping ModalDialog
    TThreadResult::Done returning 1
    TStatusDlog::Run returning 0
    DoStatusHI: theError = 0
    TThreadResult::GetResult this = 20bb0e0
    TThreadResult::Release within the critical region fRefcount = 2
    DoStatusHI: Done with the getStatusResult theError = 0
    DoStatusHI: proxy = 0
    DoStatusHI: theError = 0 theThreadErr = 0
    TStatusDlog::~TStatusDlog cleaning up this = 21acae0 fDlog = 74775927
    TThreadResult::Release within the critical region fRefcount = 1
    TThreadResult::~TThreadResult this = 20bb0e0
    TThreadResult::~TThreadResult deleting mutex 20bb100
    SharedVolumeEnumerator::Init
    SrvrSigMatch:  vfs  does not match the server signature
    Init: should we check the keychain? inFlags = 0
    Init: preparing to lookup server notebook-tk in keychain
    FindAppleSharePassword: Adding Server Sig Attribute
    FindAppleSharePassword: searching on 1 attributes
    FindAFPPasswordInKeychain: find returns -25300
    Init: FindAFPPasswordInKeychain returns -25300
    TUAMHandler::Initalize
    TUAMHandler::Initalize  TUAMHandler = 21a6400 fCurrentHandler = 21a6400
    TUAMHandler  Username is 20:System Administrator
    TUAMHandler::BuildUAMList
    UAMGetClientInfo theHandler = 21a6400
    FindBestVers: afp version number is 4 version string is AFP2.2
    SetUpPrefs: inserted into the search path
    UAMGetClientInfo theHandler = 21a6400
    FindBestVers: afp version number is 4 version string is AFP2.2
    UAMGetClientInfo theHandler = 21a6400
    FindBestVers: afp version number is 4 version string is AFP2.2
    Creating the context
    UAMGetClientInfo theHandler = 21a6400
    FindBestVers: afp version number is 4 version string is AFP2.2
    GetUAMsInDir: path is /Library/Filesystems/AppleShare/Authentication
    Looking at      DHCAST128
            Adding  DHCAST128
    Looking at 2-Way Randnum exchange
    Looking at Cleartxt Passwrd
            Adding Cleartxt Passwrd
    Looking at No User Authent
    BuildUAMList: available UAMs
                    DHCAST128
            Cleartxt Passwrd
    TUAMHandler::ChooseBestUAM
    Choosing        DHCAST128
    SharedVolumeEnumerator::Count
    SharedVolumeEnumerator::Count: fSessionRef = 0
    Fetching the volume list  fSessionRef = 0
    HI Allowed = 1 UAM says 1
    SetAddToKeychain: set Add Top Keychain to false
    TUAMHandlerHI::Login fUAMType = 7
    Open:   DHCAST128

Anmeldedialog mit Benutzername und Paßwort erscheint...

    TUAMHandlerHI::Login: Put up the Login Dlog
    TUAMHandlerHI::GetCurrentUAMType: current UAM is (Verschlüsselt)
    TUAMHandlerHI::GuestAvail Guest Access is not enabled
    Checking username length 20 selstart = 0 selend = 20
    Checking username length 1 selstart = 1 selend = 1
    Checking username length 2 selstart = 0 selend = 2
    Checking username length 1 selstart = 1 selend = 1
    Checking username length 2 selstart = 2 selend = 2
    Checking username length 3 selstart = 3 selend = 3
    Checking username length 4 selstart = 4 selend = 4
    Checking username length 5 selstart = 5 selend = 5
    PasswordLen is 6 max is 64
    PasswordLen is 1 max is 64
    PasswordLen is 2 max is 64
    PasswordLen is 3 max is 64
    PasswordLen is 4 max is 64
    PasswordLen is 5 max is 64
    PasswordLen is 6 max is 64
    PasswordLen is 7 max is 64
    PasswordLen is 8 max is 64
    PasswordLen is 9 max is 64
    PasswordLen is 10 max is 64
    PasswordLen is 11 max is 64

...und wird wieder geschlossen

    TThreadResult::TThreadResult this = 16a9680
    TThreadResult::TThreadResult mutex 2ba660 init returns 0
    TThreadResult::Retain fRefcount = 0
    TThreadResult::Retain fRefcount = 1
    TStatusDlog::TStatusDlog creating this = 22e49e0
    TStatusDlog::Init Getting the dialog
    TStatusDlog::Init Clearing the default item
    TThreadResult::Retain fRefcount = 2
    TStatusDlog::ReInit: Ready to Go
    fTimeout = 7200 fDlog = 7707cc97
    TThreadResult::Done returning 0
    TStatusDlog::Run fStartTime = 143291, fNextCheck = 143351 end = 150491
    TStatusDlog::Run running the thread
    TLoginThread::Run preparing to login
    DoLogin
    Open:   DHCAST128
    TUAMHandlerHI::DoLogin created an AFPName
    Login:  DHCAST128
    SetupLoginPacket: inAFPVersion = 4
    SetupLoginPacket: using std login
    12 06 41 46 50 32 2E 32 09 44 48 43 41 53 54 31    ..AFP2.2.DHCAST1
    32 38 06 74 68 6F 6D 61 73 00 00                   28.thomas..
    12 06 41 46 50 32 2E 32 09 44 48 43 41 53 54 31    ..AFP2.2.DHCAST1
    32 38 06 74 68 6F 6D 61 73 00 26 E2 41 EB FD 5C    28.thomas.&.A..\
    59 5A 50 DA A0 A1 38 F2 09 7C 00 00                YZP...8..|..
    Ma is:
    26 E2 41 EB FD 5C 59 5A 50 DA A0 A1 38 F2 09 7C    &.A..\YZP...8..|
    DoDHXLogin: Sending Login packet
    12 06 41 46 50 32 2E 32 09 44 48 43 41 53 54 31    ..AFP2.2.DHCAST1
    32 38 06 74 68 6F 6D 61 73 00 26 E2 41 EB FD 5C    28.thomas.&.A..\
    59 5A 50 DA A0 A1 38 F2 09 7C                      YZP...8..|
    UAMOpenSession: theHandler = 21a6400
    OpenSession: brad_socket failed errno = 65
    DHXLogin: sent first packet reply = -1070 AFPResult = -1070
    UAMCloseSession: theHandler = 21a6400
    UAMCloseSession: fSessionRef is NULL
    CloseUAMCode:   DHCAST128
    TUAMHandlerHI::DoLogin this = 21a6400 session = 0
    TLoginThread::Run login finished
    TLoginThread::WriteResult fStatus = -5023
    TThreadResult::SetResult this = 16a9680
    TThreadResult::Release within the critical region fRefcount = 3
    TThreadResult::Done returning 1
    TStatusDlog::Run skipping ModalDialog
    TThreadResult::Done returning 1
    TStatusDlog::Run returning 0
    TThreadResult::GetResult this = 16a9680
    TThreadResult::Release within the critical region fRefcount = 2
    TStatusDlog::~TStatusDlog cleaning up this = 22e49e0 fDlog = 7707cc97
    TThreadResult::Release within the critical region fRefcount = 1
    TThreadResult::~TThreadResult this = 16a9680
    TThreadResult::~TThreadResult deleting mutex 2ba660
    theError from login is -5023