logs archiveIRC Archive / Freenode / #centos / 2006 / September / 14 / 6
cmorland
;)
BlackHand
i am tired about openldap problems in centos 4
corrupt database, stupid slapd daemon that don't respond
i am tiredf
andresmujica
uppps NIE PASSWORD!!!!
cannonball
BlackHand: which version of openldap is it?
On a gentoo box I have to keep it using ldbm because I can't tune bdb to get decent performance (probably my own shortcoming).
BlackHand
bdb is crap
2.2.13
andresmujica
i use a lot sendmail but never before with openldap.
BlackHand
latest one that come in RHEL4/CentOS 4
Edward123
okay something else is altering my resolv.conf... something other than dhclient? i make changes, restart network, then it gets changed back to something incorrect. i have specified manually in the dhclient.conf what nameservers i want to use, and when i run 'dhclient' it puts the right ones in there
andresmujica
the openldap implementations i' ve done was with postfix
         

BlackHand
i do my implementations with exim
Edward123
anyone know what might be changing it?
BlackHand
is more flexible to do ldap searches and not so cryptic that sendmail
but several opendlap implementations that i use in several servers, die... corrupt database
i am tired about the bdb fine tuning and the crap response in openldap lists "update to 2.3"
Snake007uk
i need to setup smtp gateway/smarthost... basically we have three exchnage servers, eu.domain.com, na.domain.com, ap.domain.com, but all of those exchanges server send out email with @domain.com, so currently we are using a mandrake box ?? (dont ask me, why or who set it up), and it basically recieves email coming in for @domain.com and then does a lookup in local db (i believe we keep a user list on this machine) to see if user is
in , eu, na or ap , sub domain and forward mail to exchaneg server. The exchange servers send out email directly from my understanding, as anyone setup something like this ?
BlackHand
exchange version ¿?
for every exchange server the organization domain is the subdomain or all have domain.com as organization domain ?
jcaceres
i have updated php with centos plus but how can i know if the new version also has the mysql module
?
BlackHand
jcaceres: do u install php-mysql too ?
jcaceres
iam not sure not sure
i'll yum list
to see
it know
yes, yum serach mysql , indicates that php-mysql is intsalled
Evolution
jcaceres: generate a phpinfo page, and scroll down to see if there's a mysql section listed.
jcaceres
okas
Snake007uk
exchange 2000 currently will be moving to 2003
BlackHand, no, all server have there own domain as eu, na, ap, domain.com (seperate organization) so you cant pass it to any exchaneg (i know if they were in one org then i could just pass it to any exchange and it would forward it)
cmorland
I've used postfix as a frontend for exchange before
andresmujica
hi
anyone knows if dovecot is compiled with ldap support?
BlackHand
jcaceres: and restart your web server before (just in case)
jcaceres
okas
cmorland
I pulled the user info from AD using a perl script which then built the user list
Snake007uk
cmorland, and the perl script keeps updating the user list for postfix?
so it would get list from all three domains (exchange servers)
jcaceres
BlackHand, http://200.48.115.191/test/
BlackHand
Snake007uk: i use exim for the same thing
cmorland
yea... it wasn't a very busy system but I updated every hour
         

Snake007uk
BlackHand, :) i wanted to use exim, never had the opprtunity
BlackHand, how do you get the user list
cmorland, got any documentation?
cmorland
I can probably find the script for you
AD is just a bastardized version of LDAP
jcaceres
BlackHand, is taht oka?
cmorland
you can perform ldapsearches on it
BlackHand
Snake007uk: direct consults to the AD in the exchange server via ldap
Snake007uk
BlackHand, so i would need ldap entries one for each ad
BlackHand
jcaceres: yes
Snake007uk: no, AD have an ldap tree inside that is used for the exchange server... the local users in the exchange server are already in the AD LDAP tree
Snake007uk
yeah but in my case, i have 3 exchange server which are all in seperate AD orgs
so i would have to query all three
BlackHand
Snake007uk: yep
Snake007uk: i do the same thing with two exchange servers
Snake007uk
BlackHand, any documents howto's how i could set this up
BlackHand
Snake007uk: some ideas from this http://www.uit.co.uk/exim-conference/full-papers/jason-meers.pdf#search=%22exim%20active%20directory%20exchange%22
Snake007uk
BlackHand, ill have a read thanks
osity
how do you set a users home directory again? having trouble finding it on boogle!
bronze
osity: 2nd to last field in the /etc/passwd file
Evolution
useradd/usermod
direct edit of /etc/passwd is not recommended.
osity
thanks bronze... i wasnt sure where it went
bronze
vipw
Evolution
yes.
osity
Evolution: why not
whats vipw
Zathrus
osity: man usermod
bronze
Evolution: When I learned UNIX we didn't have vipw yet, I'm STILL learning.
osity: use usermod - safer, better
Evolution
osity: direct edit is for people with an understanding of GECOS and file permissions
osity
i see...
bronze
osity: vipw is a vi session that more safely edits the password file.
Evolution
basically direct edit is a slightly more advanced user task.
bronze
but usermod is safer still
osity
i usually only modify the last part bash to false
Evolution
that's what -s is for with useradd/usermod
donavan
Evolution: have you been reading man pages in the restroom again?
JonathanD
I read that as "reading the man pages to the restroom again?"
Zathrus
Evolution: or chsh
Evolution
donavan: man pages are read at work. GNU info pages are restroom reading.
Zathrus
oh, you use them for _reading_?
Evolution
Zathrus: I tried the other thing. they don't break up in water, so they clog.
Zathrus
true.
osity
can user names have periods in them?
ie adduser user.com
Evolution
they can. however the standard scripts will not generate them as such.
osity
so should it be avoided?
Evolution
I don't use them. some people do. depends on what your goal is and how much extra work you're willing to put into it.
osity
how bout no extra work
hehe
cmorland
i like the way you think
osity
be careful ...its contagious
cmorland
:_D
Evolution
don't use them.
osity
i typed in userdel -r pardal.ca
and it tells me the user doesnt exist.....but i can see it in the home dir
cmorland
is the user in the /etc/passwd file?
Evolution
the presence of a directory doesn't mean the user exists
osity
nope..
cmorland
unless you are using some other form of authentication the user doesn't exist.
(if they are not in /etc/passwd and possibly also /etc/shadow)
osity
good point...i may be just the directory
i thought the -r would have gotten that though
it
cmorland
should have....
osity
i may have forgot the -r ....is there a manual way?
rmdir?
cmorland
I wonder what would happed if the user's homdir was set to / and you did userdel -r
rm -rf /home/pardal.ca
osity
rm -r pardal.ca worked really well
cool ...everything is workin so far
i gotta get back to my day job ...
laters!
gryffin
how do you install yum on centos 4.3?
donavan
gryffin: control panel are you running?
gryffin
none
well its a vps
donavan
how did you get centos without yum?
gryffin
because when restored by the datacenter
yum was not installed
donavan
up2date install yum?
BlackHand
donwload yum rpm packages
and rpm -Uvh
gryffin
up2date isnt installed either
do you know where i can get the packages?
Zathrus
gryffin: your system is not CentOS then
BlackHand
gryffin: search in mirror.centos.org
is centos or is a rhel to be converted to centos
?
Zathrus
that's not RH either.
his data center is using some horked custom image.
donavan
gryffin: what does 'uname -a' report on that box?
gryffin
Linux main.xapped.com 2.6.9-022stab078.14-entnosplit #1 SMP Wed Jul 19 14:43:31 MSD 2006 i686 athlon i386 GNU/Linux
Zathrus
ick.
gryffin
is that right?
cmorland
cat /etc/redhat-release
do that
donavan
gryffin: you need to seek assistance from whoever is selling you that box then
gryffin
CentOS release 4.3 (Final)
BlackHand
with a strange kernel
donavan
he already said its vps
gryffin
yum-2.4.2-2.centos4.noarch.rpm is this the right one?
donavan
its a commercial ripoff and as such off topic in here
avilab
hi there, where should I put my iptables rules?
« prev 1 2 3 4 5 6 7 8 next »