samba@lists.samba.org
[Top] [All Lists]

Re: [Samba] ldap? Samba? Nss?

Subject: Re: [Samba] ldap? Samba? Nss?
From: Michal Dobroczynski
Date: Thu, 27 Aug 2009 22:30:29 +0200
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).

Regards,
Michal

2009/8/27 Ryan Suarez <ryan.suarez@xxxxxxxxxxxxxxx>:
> Just curious, Are you using samba with nss_ldap and pam_ldap for user
> lookups and authentication?
>
> sgmayo@xxxxxxxxxxxxxxxxxxxxxxxxx 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
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

<Prev in Thread] Current Thread [Next in Thread>