Re: [FreeBSD] Re: ldap - slapd - phpldapadmin

2005-10-12 Başlik Mesut GÜLNAZ



Engin bey dediğiniz de haklıymışsınız. ldap destekli ve kurulu 
php olmasına rağmen ve extensions.ini de ldap desteğinin olmasına rağmen ldap 
yokmuş gibi davranıyormuş makine de uğraşmalarım sonunda açılamama gibi bir 
sorunla karşılaştığım için yeniden kurdum. ama şu anda ldap a ekleme 
yapamıyorum.

nedenini merak ekmekteyim. önceki kurulumdan hariç herhangi 
birşey yapmadım. çıktılar aşağıdaki gibidir.
-
[EMAIL PROTECTED]# 
cat /usr/local/etc/openldap/ldap.conf## LDAP 
Defaults#

# See ldap.conf(5) for details# This file should be world 
readable but not world writable.

#BASE dc=example,dc=com#URI 
ldap://ldap.example.com ldap://ldap-master.example.com:666

#SIZELIMIT 
12#TIMELIMIT 
15#DEREF never[EMAIL PROTECTED]# cat 
/usr/local/etc/openldap/slapd.conf## See slapd.conf(5) 
for details on configuration options.# This file should NOT be world 
readable.#include 
/usr/local/etc/openldap/schema/core.schemainclude 
/usr/local/etc/openldap/schema/cosine.schemainclude 
/usr/local/etc/openldap/schema/inetorgperson.schemainclude 
/usr/local/etc/openldap/schema/nis.schema# Define global ACLs to disable 
default read access.

# Do not enable referrals until AFTER you have a working 
directory# service AND an understanding of 
referrals.#referral ldap://root.openldap.org

pidfile 
/var/run/openldap/slapd.pidargsfile 
/var/run/openldap/slapd.args

# Load dynamic backend 
modules:modulepath 
/usr/local/libexec/openldapmoduleload 
back_bdb# moduleload back_ldap# 
moduleload back_ldbm# moduleload 
back_passwd# moduleload back_shell

# Sample security 
restrictions# Require integrity 
protection (prevent hijacking)# Require 
112-bit (3DES or better) encryption for 
updates# Require 63-bit encryption for 
simple bind# security ssf=1 update_ssf=112 simple_bind=64

# Sample access control 
policy:# Root DSE: allow anyone to read 
it# Subschema (sub)entry DSE: allow 
anyone to read it# Other 
DSEs:# 
Allow self write 
access# 
Allow authenticated users read 
access# 
Allow anonymous users to authenticate# 
Directives needed to implement policy:# access to dn.base="" by * read# 
access to dn.base="cn=Subschema" by * read# access to 
*# by self 
write# by users 
read# by anonymous auth## if no 
access controls are present, the default policy# allows anyone and everyone 
to read anything but restricts# updates to rootdn. (e.g., "access to * 
by * read")## rootdn can always read and write EVERYTHING!

 
BDB database 
definitions###

database 
bdbsuffix 
"dc=example,dc=com"rootdn 
"cn=Manager,dc=example,dc=com"# Cleartext passwords, especially for the 
rootdn, should# be avoid. See slappasswd(8) and slapd.conf(5) for 
details.# Use of strong authentication 
encouraged.rootpw 
secret# The database directory MUST exist prior to running slapd AND # 
should only be accessible by the slapd and slap tools.# Mode 700 
recommended.directory 
/var/db/openldap-data# Indices to maintainindex 
objectClass eq[EMAIL PROTECTED]# 
sockstat -lUSER 
COMMAND PID FD PROTO LOCAL 
ADDRESS FOREIGN 
ADDRESS ldap 
slapd 20882 6 tcp6 
*:389 
*:*ldap slapd 20882 
7 tcp4 
*:389 
*:*mes 
sshd 446 7 stream 
/tmp/ssh-6Ul5CXgBe7/agent.446root 
sendmail 373 4 tcp4 
127.0.0.1:25 
*:*root sshd 
367 3 tcp6 
*:22 
*:*root sshd 
367 4 tcp4 
*:22 
*:*root syslogd 234 
3 dgram /var/run/logroot 
syslogd 234 4 dgram 
/var/run/logprivroot syslogd 
234 5 udp6 
*:514 
*:*root syslogd 234 
6 udp4 
*:514 
*:*root devd 
216 4 stream /var/run/devd.pipe[EMAIL PROTECTED]# cat 
ldif.txt dn: dc=example, dc=comobjectClass: 
Top

#dn: ou=adresler,dc=example,dc=com#objectClass: 
Top#objectClass: OrganizationalUnit#ou: adresler[EMAIL PROTECTED]# ls 
/var/db/pkg/ | grep 
openopenldap-sasl-client-2.3.7openldap-server-2.3.7openslp-1.2.1_1openssl-0.9.8_1[EMAIL PROTECTED]# ls 
/var/db/pkg/ | grep cyruscyrus-sasl-2.1.21[EMAIL PROTECTED]# ldapadd 
-D "cn=Manager,dc=example,dc=com" -x -W -f ldif.txtEnter 
LDAP Password: adding new entry "dc=example, 
dc=com"ldap_add: Object class violation 
(65) additional info: no 
structural object class provided


nerede yanlış 
yapıyorum..??
##

  - Original Message - 
  From: 
  Engin 
  Dumlu 
  To: freebsd@lists.enderunix.org 
  
  Sent: Monday, October 10, 2005 4:24 
  PM
  Subject: Re: [FreeBSD] Re: ldap - slapd - 
  phpldapadmin
  Notice: Use of undefined constant 
  LDAP_DEREF_NEVER - assumed 'LDAP_DEREF_NEVER' in 
  /usr/local/www/phpldapadmin/config_default.php on line 
  174buyuk ihtimal bu 
  uyarıyi ldap modulunu php'ye tanitamadiginizdan dolayi aliyorsunuz eger 
  ldap aktif olsaydı, webserver'iniz basladigi zaman LDAP_DEREF_NEVER 'i php'ye constant olarak tanimlatacaktiphp -m 
  veya ?php 

[FreeBSD] Is Imkani

2005-10-12 Başlik Huzeyfe ONAL
Ford Otosan Bilgi Teknolojileri Bolumu, Network/Security ekibinde 
calismak uzere, Network Security ve Linux (RedHat, Slackware), BSD 
tabanli isletim sistemleri yonetimi konusunda deneyimli eleman alimi 
yapacaktir.


Ilgilenen arkadaslar cv lerini [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] adresine gonderebilirler.




-
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php




Re: [FreeBSD] apache log scanner

2005-10-12 Başlik Hamza Eraldi
Awstats
http://awstats.sourceforge.net/
Olabilir mi?
Saygilar.

On Tue, 11 Oct 2005 15:07:15 +0300, Omer Faruk Sen
[EMAIL PROTECTED] said:
 Merhaba, 
 
 Bir sorum olacak apache log'larini tarayarak icinde gecen saldiri ibaresi 
 loglar hakkinda istatiksel bir cikti (mesela html) uretebilecek bir
 yazilim 
 biliyormusunuz? Aklima snort'un port 80 ve 443 icin olan imzalarini
 kullanip 
 access.log'u bu imzalara gore taratan bir arac isime yarar gibi ama oyle
 bir 
 arac var mi ? Ya da baska neler tavsiye edersiniz ? 
 
 
  ---
 Omer Faruk Sen
 http://www.EnderUNIX.ORG
 Software Development Team @ Turkey
 http://www.Faruk.NET
 For Public key: http://www.enderunix.org/ofsen/ofsen.asc
  
 
 
 First Turkish Qmail book is out! Go check it.
 Duydunuz mu! Turkiye'nin ilk Qmail kitabi cikti.
 http://www.acikakademi.com/catalog/qmail/
 
 -
 Cikmak icin, e-mail: [EMAIL PROTECTED]
 Liste arsivi: http://lists.enderunix.org
 Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php

-- 
http://www.fastmail.fm - The way an email service should be


-
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php




Re: [FreeBSD] Is Imkani

2005-10-12 Başlik Engin OZTURK
[EMAIL PROTECTED]

- Original Message - 
From: Huzeyfe ONAL [EMAIL PROTECTED]
To: freebsd@lists.enderunix.org
Sent: Wednesday, October 12, 2005 11:00 AM
Subject: [FreeBSD] Is Imkani


 Ford Otosan Bilgi Teknolojileri Bolumu, Network/Security ekibinde 
 calismak uzere, Network Security ve Linux (RedHat, Slackware), BSD 
 tabanli isletim sistemleri yonetimi konusunda deneyimli eleman alimi 
 yapacaktir.
  
 Ilgilenen arkadaslar cv lerini [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] adresine gonderebilirler.
  
 
 
 -
 Cikmak icin, e-mail: [EMAIL PROTECTED]
 Liste arsivi: http://lists.enderunix.org
 Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php
 
 
 

-
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php