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. -- Scott Mayo - System Administrator Bloomfield Schools PH: 573-568-5669 FA: 573-568-4565 Question: Because it reverses the logical flow of conversation. Answer: Why is putting a reply at the top of the message frowned upon?
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. > > >
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 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 >
<sgmayo at mail.bloomfield.k12.mo.us> wrote in message news:1247.204.184.27.217.1251396091.squirrel at mail.bloomfield.k12.mo.us...> 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. >Do you have a db_config file set up? This usually makes a significant improvement in Openldap's performance.