Ryan Suarez wrote:
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.

sorry I meant security=user or server, not domain member

Scott, you need to provide more info.
Regards,
Michal

2009/8/27 Ryan Suarez <[email protected]>:
Just curious, Are you using samba with nss_ldap and pam_ldap for user
lookups and authentication?

[email protected] 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

Reply via email to