Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows Home Directories and PDC/member servers -- smb.conf "auth methods"



email@hidden wrote:


        auth methods = opendirectory guest

    Mine is "auth methods = guest opendirectory" which is interesting
    because as "man smb.conf" points out that these are searched *in order*

    The "guest" method is for anonymous connections (user=unknown on Xserve)
    and I suspect having it second means more work for OD's directory server
    which I think is one of your symptoms. Do you remember changing this?


Yes, we changed this. We reasoned that by searching first for the username in the OD directory, we would cut-down the authentication time. We were under the impression that since we do not allow "guest" account login, it would be faster to simply search the OD directory first for the name of the user logging-in. This has been changed again, today, to reflect the default settings you refer to.



  Your reasoning makes sense however I believe there are edge conditions
  associated with the initial connect during the logon sequence which
  have to start off as a guest (since you haven't logged in yet). Anyway
  the Samba docs are explicit that guest should come first.


        auth methods = guest ntdomain opendirectory

    Note that "opendirectory" is also there. Normally Samba would have a  local
    auth method after "ntdomain" to allow local accounts just as in  Windows.
    Assuming that your Xserves are using the OD master on the PDC, this  might
    be a bit strange in that they might search the database again but only
    in a local context.


I have removed 'opendirectory' from this directive in each home directory server. I will see if it makes any difference.


     I think the only harm it can cause is if you were getting attacked
     by a worm trying to guess userids.  I was just using it to explain
     the logic of the Samba developers


_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >Re: Windows Home Directories and PDC/member servers (From: Chris <email@hidden>)
 >Re: Windows Home Directories and PDC/member servers (From: email@hidden)
 >Re: Windows Home Directories and PDC/member servers (From: John Gerth <email@hidden>)
 >Re: Windows Home Directories and PDC/member servers (From: email@hidden)
 >Re: Windows Home Directories and PDC/member servers (From: John Gerth <email@hidden>)
 >Re: Windows Home Directories and PDC/member servers (From: email@hidden)
 >Re: Windows Home Directories and PDC/member servers -- smb.conf filesfor PDC and domain members (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.