[Samba] ldap? Samba? Nss?

Ryan Suarez ryan.suarez at sheridanc.on.ca
Thu Aug 27 14:41:38 MDT 2009


Michal Dobroczynski wrote:
> Hello,
> If you want to avoid using get**** try setting "ldapsam:trusted =
> yes". This way Samba will fetch user info directly from LDAP instead
> of going through the getpwent and others which reaaaaaally pull a lot
> of data. That should reduce the time needed to login a bit (at least
> that worked for me).
>   
You're assuming that his samba is setup as a domain controller, not 
simply a domain member.  And that it has write access to ldap with the 
necessary attributes.

Scott, you need to provide more info.
> Regards,
> Michal
>
> 2009/8/27 Ryan Suarez <ryan.suarez at sheridanc.on.ca>:
>   
>> Just curious, Are you using samba with nss_ldap and pam_ldap for user
>> lookups and authentication?
>>
>> sgmayo at mail.bloomfield.k12.mo.us wrote:
>>     
>>> It seems my logins are taking a long time to get logged in.  I am guessing
>>> that it is worse when classes start and a lot of the kids try to login at
>>> once.  My old server did not seem to have this problem though and we have
>>> the same number of students.
>>>
>>> Where should I start looking at this?  I am guessing that it is ldap, but
>>> want to make sure.
>>>
>>> If I log in at a computer and go to start->run and type \\server, it may
>>> take 1-2 minutes until I can see my shares which is the same thing the
>>> students are seeing when logging into the domain.  I just wanted to leave
>>> any profile copying out of the equation so I just did it this way.
>>>
>>> I noticed this first on my batch user add program for adding users to
>>> ldap/samba.  The program reads in the users and groups with getpwent and
>>> getgrent and it really takes a long time.
>>>
>>> Any suggestions of what to start looking for would be appreciated.
>>>
>>>
>>>
>>>       
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>>
>>     



More information about the samba mailing list