Re: long delays with LDAP nss/pam
martin f krafft wrote: also sprach Donovan Baarda [EMAIL PROTECTED] [2004.10.27.0955 +0200]: nscd stopped running? No, I think I verified that in all cases. Either that or your LDAP Indexes need tweaking. Does anyone have a good set I could use as a basis. I am completely new to LDAP... my advice would be to check the new group you just added last week and see if there are attributes in any of those entries which are not indexed -- as a general rule of thumb, I think it's advisable to attach an index to just about every attribute that you might ever use when looking someone/something up -- here's what we've got: # Indexing options index default eq index uid index sn index gidNumber index uidNumber index gecos index loginshell index homeDirectory index cn index mail index objectClass eq and (depending on your version of openldap) don't forget to stop the directory, run slapindex and then restart after any changes you may make to your index options good luck, ~c -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Starting isp and going to use Debian
Hello, I work for a school (which is not technically an isp, but since we have 4 T1s and several hundred users, many things will overlap). Chris Hoover wrote: Me and some friends are looking into starting a local isp. My friends are networking experts with some linux experience and I am the linux expert with some networking experience. Anyway, my question is what software do most of you use? Obviously, we have decided to use Debian for our base os. However, what do most of you use for: 1. Webmail squirrelmail 2. Imap/pop access courier 3. User management LDAP (with a lot of glue we've coded up in php and python) 4. Accounting/Finances not my baliwick unfortunately (and i'm pretty sure we don't make use of any specific free apps) 5. Drive usage control (i.e. user only get 10M for mail and 15M for web) We have quotas implemented on the web and mail servers. This is a daily task though (raising quotas of people who've exceeded their default) Any other advice sould be appreciated. Chris Getting pam-ldap to work is really what you want (and of course understanding LDAP enough to manage (populate, administer, prune) the directory where all account info lives). good luck to you and your friends, ~c -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: manual update of apt database (was Best way to update perl on Woody Stable?)
Rod Rodolico wrote: or 3. (if you have a lot of time on your hands) download the debianised source for perl 5.8 from unstable and recompile it on your woody system. do the same for any module packages that you need. i.e. backport the new perl to the old debian. a lot of people recommend this method. personally, i find it to be far too time consuming, for very little benefit. far easier (and much better tested) to just run unstable. Back to my original question. At this point, how do you tell apt that the package is installed. If i'm understanding the question correctly, you would simply do: # echo perl hold | dpkg --set-selections (and repeat the command for all the specific packages (deb files) you've built/installed) good luck, ~c -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache / PHP4 config problem (newbee on PHP)
Try adding this line to your httpd.conf (and restarting apache) AddType application/x-httpd-php .php .php3 .html .htm good luck, ~c Gregoire Hostettler wrote: Thank you for your response. I moved the script to its original location (/var/www) but I get a strange behavior: - Using IE6, the browser asks me if I want to download the test.php script (???) - If I rename the .php script to .html, it displays just the header, nothing else, which is correct imho - If I try to access test.php via lynx, it just displays the html text. There is a tmp html file created, althought It seems to me that the php4 engine never starts to generate pages... Any other idea ? TYIA On wo, 2003-01-15 at 13:50, Gregoire Hostettler wrote: Got a (supposed) config problem with PHP4/Apache. OS: Debian potato 2.2r7, kernel 2.2.19 Apache 1.3.9 (Debian implementation) PHP4 4.0.3pl1-0p Attached are both the httpd.conf and srm.conf files, along with the access.log, error.log, php script involved and the output of apache -V (apachev file). Only the error.log was enough: [Wed Jan 15 14:29:55 2003] [notice] Apache/1.3.9 (Unix) Debian/GNU PHP/4.0.3pl1 mod_perl/1.21_03-dev configured -- resuming normal operations [Wed Jan 15 14:29:55 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache/suexec) [Wed Jan 15 14:31:49 2003] [error] (8)Exec format error: exec of /usr/lib/cgi-bin/test.php failed [Wed Jan 15 14:31:49 2003] [error] [client 192.168.124.1] Premature end of script headers: /usr/lib/cgi-bin/test.php You are placing html files in cgi-bin directories. Don't do that, because cgi-bin directories are reserved only for cgi scripts, not html or php files. Just place the .php file in /var/www and I think it should work. -- Tot ziens, Bart-Jan Vrielink -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]