Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Openldap und MD5crpyt
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
technikman
n00b
n00b


Joined: 16 Jul 2004
Posts: 8

PostPosted: Sat Jul 24, 2004 1:26 pm    Post subject: Openldap und MD5crpyt Reply with quote

Hallo Leute,

hab hier nen Gentoo-Linux am laufen und will endlich mal nen openldap drauf machen.
Soweit läuft das alles auch. Zum Administrieren nehm ich den phpldamadmin von hier

Nun kann man wenn man nen User hinzufügt ja wählen zwischen den Verschlüsselungsmethoden. Also SSHA MD5 SMD5 crpyt und eben auch md5crypt.

jedenfalls kann ich mich nur anmelden wenn ich das Passwort per md5crypt abspeichere...

nun wäre das nur halt gut wenn ich das irgendwie auf MD5 oder sha oder sowas krieg, da die sambatools alles können auser eben md5crypt...

Weiß jemand wie/wo ich das umstellen kann? Mr. Google war mir dabei nicht wirklich hilfreich... (oder bin zu blöd zum suchen )

Falls noch nen Log oder irgendwas benötigt wird sagt's einfach... kann man ja Posten...
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sat Jul 24, 2004 3:12 pm    Post subject: Reply with quote

hi,
habs grad mal ausprobiert. Mit ssha ging es bei mir völlig problemlos. Wobei ich sagen muß, dass hier kein kerberos dazwischenhängt. Ist hier halt einfach gestrickt, samba + openldap haben bei mir nicht viel zu tun.
Gruß
Ma
EDIT. Auch das nachträgliche Ändern von ssha auf md5 geht.
Frage: Sind die USE-Flags von allen involvierten Programmen richtig? Auch im Kernel alles richtig?
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
technikman
n00b
n00b


Joined: 16 Jul 2004
Posts: 8

PostPosted: Sat Jul 24, 2004 3:30 pm    Post subject: Reply with quote

Also hab's grad mal probiert...

Also wenn ich auf ssha umstelle kommt beim ersten versuch das Passwort einzugeben LOGIN incorrect

und beim 2. Mal wills gar kein Passwort haben *grübl*

aber so richtig ist das nicht *grübl*
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sat Jul 24, 2004 3:41 pm    Post subject: Reply with quote

da grübel ich mit :P
Hab im Kernel unter
Code:
--- Cryptographic API

alles auf M (bis auf Testing) gesetzt.

und ein emerge --deep --tree openldap -pv bringt:
Code:

These are the packages that I would merge, in reverse order:
Calculating dependencies ...done!
[ebuild   R   ] net-nds/openldap-2.1.30-r1  +berkdb +crypt -debug +gdbm -ipv6 +odbc +perl +readline +samba +sasl +slp +ssl +tcpd  0 kB

_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
technikman
n00b
n00b


Joined: 16 Jul 2004
Posts: 8

PostPosted: Sat Jul 24, 2004 3:58 pm    Post subject: Reply with quote

Marlboro wrote:
da grübel ich mit :P
Hab im Kernel unter
Code:
--- Cryptographic API

alles auf M (bis auf Testing) gesetzt.

hab ich soweit auch (nur testing mit)


Marlboro wrote:

und ein emerge --deep --tree openldap -pv bringt:
Code:

These are the packages that I would merge, in reverse order:
Calculating dependencies ...done!
[ebuild   R   ] net-nds/openldap-2.1.30-r1  +berkdb +crypt -debug +gdbm -ipv6 +odbc +perl +readline +samba +sasl +slp +ssl +tcpd  0 kB


also kann siehst nicht wirklich anders aus... hab allerdings noch nicht's anderes außer openldap konfiguriert.

Code:
[ebuild   R   ] net-nds/openldap-2.1.30-r1  +berkdb +crypt -debug +gdbm -ipv6 +odbc +perl +readline +samba +sasl +slp +ssl +tcpd  0 kB

Code:

 --- Cryptographic API                                        x x 
  x x            ---   HMAC support                                           x x 
  x x            <M>   Null algorithms                                        x x 
  x x            <M>   MD4 digest algorithm                                   x x 
  x x            ---   MD5 digest algorithm                                   x x 
  x x            <M>   SHA1 digest algorithm                                  x x 
  x x            <M>   SHA256 digest algorithm                                x x 
  x x            <M>   SHA384 and SHA512 digest algorithms                    x x 
  x x            <M>   DES and Triple DES EDE cipher algorithms               x x 
  x x            <M>   Blowfish cipher algorithm                              x x 
  x x            <M>   Twofish cipher algorithm                               x x 
  x x            <M>   Serpent cipher algorithm                               x x 
  x x            <M>   AES cipher algorithms                                  x x 
  x x            <M>   CAST5 (CAST-128) cipher algorithm                      x x 
  x x            <M>   CAST6 (CAST-256) cipher algorithm                      x x 
  x x            <M>   ARC4 cipher algorithm                                  x x 
  x x            <M>   Deflate compression algorithm                          x x 
  x x            <M>   Michael MIC keyed digest algorithm                     x x 
  x x            <M>   CRC32c CRC algorithm                                   x x 
  x x            <M>   Testing module         
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sat Jul 24, 2004 4:10 pm    Post subject: Reply with quote

grübl
:wink:
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sat Jul 24, 2004 4:21 pm    Post subject: Reply with quote

Zunächst dachte ich noch an phpldapadmin, aber wenn das Teil läuft dann läuft es. Daran kanns nicht liegen.

Der Anfang meiner /etc/openldap/slapd.conf sieht so aus:
Code:
 $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.8 2003/05/24 23:19:14 kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/corba.schema
include         /etc/openldap/schema/java.schema
include         /etc/openldap/schema/misc.schema
include         /etc/openldap/schema/openldap.schema
include         /etc/openldap/schema/pureftpd.schema
include         /etc/openldap/schema/samba.schema

# Define global ACLs to disable default read access.

--schnapp--

Also was ich sagen wollte, sind die schemas vergleichbar?
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
technikman
n00b
n00b


Joined: 16 Jul 2004
Posts: 8

PostPosted: Sat Jul 24, 2004 4:31 pm    Post subject: Reply with quote

die slapd.conf

Code:


include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/samba.schema
password-hash {crypt}
pidfile         /var/run/openldap/slapd.pid
argsfile        /var/run/openldap/slapd.args
database        bdb



und die /etc/ldap.conf

Code:
pam_password md5

ldap_version 3
pam_filter objectclass=posixAccount
pam_login_attribute uid
pam_member_attribute memberuid
nss_base_passwd ou=People,dc=my,dc=lan
nss_base_shadow ou=People,dc=my,dc=lan
nss_base_group  ou=Group,dc=my,dc=lan
nss_base_hosts  ou=Hosts,dc=my,dc=lan

scope one


und ncoh die pam.d/system-auth


Code:


auth        sufficient    /lib/security/pam_ldap.so use_first_pass
account     sufficient    /lib/security/pam_ldap.so
password    sufficient    /lib/security/pam_ldap.so use_authtok
session     required      /lib/security/pam_mkhomedir.so skel=/etc/skel/ umask=0
session     optional      /lib/security/pam_ldap.so

auth       required     /lib/security/pam_env.so
auth       sufficient   /lib/security/pam_unix.so likeauth nullok
auth       required     /lib/security/pam_deny.so

account    required     /lib/security/pam_unix.so

password   required     /lib/security/pam_cracklib.so retry=3
password   sufficient   /lib/security/pam_unix.so nullok md5 shadow use_authtok
password   required     /lib/security/pam_deny.so

session    required     /lib/security/pam_limits.so
session    required     /lib/security/pam_unix.so




sollte so das relevante sein....
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sat Jul 24, 2004 4:53 pm    Post subject: Reply with quote

Gut, das sieht ja aus, wie aus einem
ldap-howto :wink:

Bleibt nur noch der Ansatz über Code Listing 4.3:
"Finally, configure your clients so that they check the LDAP for system accounts."

Vielleicht bringt das noch was?
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
technikman
n00b
n00b


Joined: 16 Jul 2004
Posts: 8

PostPosted: Sat Jul 24, 2004 5:02 pm    Post subject: Reply with quote

jojo das HowTo stimmt schon.... konfiguriert is ja an sich alles.... geht ja auch, bis auf das der unbedingt son' md5-crypt passwd haben will und kein MD5 o.ä. das is halt mein Problem... :-(

ach ja die nsswitch is och umgeschrieben... hab ich vergessen ;-)
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sat Jul 24, 2004 5:15 pm    Post subject: Reply with quote

Kernel ? y
USE-Flags ? y
phpldapadmin ? y
slapd.conf ? y
ldap.conf ? y
system-auth ? y
nsswitch ? y
Handbuch ? y
rc-update show ? n -> laufen alle Dienste ?
reboot ? n :wink:
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sat Jul 24, 2004 5:35 pm    Post subject: Reply with quote

oder noch die harte Tour:
Logfiles auswerten ! :(

/var/log/samba/...
/var/log/auth.log
/...
/...
bieraufmach :D
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
technikman
n00b
n00b


Joined: 16 Jul 2004
Posts: 8

PostPosted: Sat Jul 24, 2004 5:48 pm    Post subject: Reply with quote

gut Logfiles....

wie schon gesagt kann ich mich beim ersten login mit richtigen Passwd nicht einloggen und beim 2. wills kein Pass...

beim ersten versuch in der messeges
Code:

Jul 24 19:42:18 debby slapd[9006]: conn=140 op=7 SRCH base="ou=People,dc=my,dc=l                                                                                       
an" scope=1 filter="(&(objectClass=posixAccount)(uid=test))"
Jul 24 19:42:18 debby slapd[9006]: conn=140 op=7 SRCH attr=uid userPassword uidN                                                                                                     
umber gidNumber cn homeDirectory loginShell gecos description objectClass
Jul 24 19:42:18 debby slapd[9006]: <= bdb_equality_candidates: (uid) index_param                                                                                                     
 failed (18)
Jul 24 19:42:18 debby slapd[9006]: conn=140 op=7 SEARCH RESULT tag=101 err=0 nen                                                                                                     
tries=1 text=
Jul 24 19:42:18 debby slapd[9064]: conn=141 op=3 BIND dn="uid=test,ou=People,dc=                                                                                                     
my,dc=lan" method=128
Jul 24 19:42:18 debby slapd[9064]: conn=141 op=3 RESULT tag=97 err=49 text=
Jul 24 19:42:18 debby login[9104]: pam_ldap: error trying to bind as user "uid=t                                                                                                     
est,ou=People,dc=my,dc=lan" (Invalid credentials)
Jul 24 19:42:18 debby slapd[9064]: conn=141 op=4 BIND dn="" method=128
Jul 24 19:42:18 debby slapd[9064]: conn=141 op=4 RESULT tag=97 err=0 text=
Jul 24 19:42:18 debby slapd[9064]: conn=140 op=8 SRCH base="ou=People,dc=my,dc=l                                                                                                     
an" scope=1 filter="(&(objectClass=posixAccount)(uid=test))"
Jul 24 19:42:18 debby slapd[9064]: conn=140 op=8 SRCH attr=uid userPassword uidN                                                                                                     
umber gidNumber cn homeDirectory loginShell gecos description objectClass
Jul 24 19:42:18 debby slapd[9064]: <= bdb_equality_candidates: (uid) index_param                                                                                                     
 failed (18)
Jul 24 19:42:18 debby slapd[9064]: conn=140 op=8 SEARCH RESULT tag=101 err=0 nen                                                                                                     
tries=1 text=
Jul 24 19:42:18 debby slapd[9006]: conn=140 op=9 SRCH base="ou=People,dc=my,dc=l                                                                                                     
an" scope=1 filter="(&(objectClass=shadowAccount)(uid=test))"
Jul 24 19:42:18 debby slapd[9006]: conn=140 op=9 SRCH attr=uid userPassword shad                                                                                                     
owLastChange shadowMax shadowMin shadowWarning shadowInactive shadowExpire shado                                                                                                     
wFlag
Jul 24 19:42:18 debby slapd[9006]: <= bdb_equality_candidates: (uid) index_param                                                                                                     
 failed (18)
Jul 24 19:42:18 debby slapd[9006]: conn=140 op=9 SEARCH RESULT tag=101 err=0 nen                                                                                                     
tries=1 text=
Jul 24 19:42:20 debby slapd[9064]: conn=140 op=10 SRCH base="ou=People,dc=my,dc=                                                                                                     
lan" scope=1 filter="(&(objectClass=posixAccount)(uid=test))"
Jul 24 19:42:20 debby slapd[9064]: conn=140 op=10 SRCH attr=uid userPassword uid                                                                                                     
Number gidNumber cn homeDirectory loginShell gecos description objectClass
Jul 24 19:42:20 debby slapd[9064]: <= bdb_equality_candidates: (uid) index_param                                                                                                     
 failed (18)
Jul 24 19:42:20 debby slapd[9064]: conn=140 op=10 SEARCH RESULT tag=101 err=0 ne                                                                                                     
ntries=1 text=
Jul 24 19:42:20 debby slapd[9006]: conn=140 op=11 SRCH base="ou=People,dc=my,dc=                                                                                                     
lan" scope=1 filter="(&(objectClass=shadowAccount)(uid=test))"
Jul 24 19:42:20 debby slapd[9006]: conn=140 op=11 SRCH attr=uid userPassword sha                                                                                                     
dowLastChange shadowMax shadowMin shadowWarning shadowInactive shadowExpire shad                                                                                                     
owFlag
Jul 24 19:42:20 debby slapd[9006]: <= bdb_equality_candidates: (uid) index_param                                                                                                     
 failed (18)
Jul 24 19:42:20 debby login(pam_unix)[9104]: check pass; user unknown
Jul 24 19:42:20 debby slapd[9006]: conn=140 op=11 SEARCH RESULT tag=101 err=0 ne                                                                                                     
ntries=1 text=
Jul 24 19:42:22 debby slapd[9064]: conn=140 op=12 SRCH base="ou=People,dc=my,dc=                                                                                                     
lan" scope=1 filter="(&(objectClass=posixAccount)(uid=test))"
Jul 24 19:42:22 debby slapd[9064]: conn=140 op=12 SRCH attr=uid userPassword uid                                                                                                     
Number gidNumber cn homeDirectory loginShell gecos description objectClass
Jul 24 19:42:22 debby slapd[9064]: <= bdb_equality_candidates: (uid) index_param                                                                                                     
 failed (18)
Jul 24 19:42:22 debby slapd[9064]: conn=140 op=12 SEARCH RESULT tag=101 err=0 ne                                                                                                     
ntries=1 text=
Jul 24 19:42:22 debby login[9104]: FAILED LOGIN 2 FROM /dev/vc/6 FOR test, Authe                                                                                                     
ntication failure


und dann der 2.


Code:
Jul 24 19:42:35 debby slapd[9006]: conn=140 op=13 SRCH base="ou=People,dc=my,dc=                                                                                                     
lan" scope=1 filter="(&(objectClass=posixAccount)(uid=test))"
Jul 24 19:42:35 debby slapd[9006]: conn=140 op=13 SRCH attr=uid userPassword uid                                                                                                     
Number gidNumber cn homeDirectory loginShell gecos description objectClass
Jul 24 19:42:35 debby slapd[9006]: <= bdb_equality_candidates: (uid) index_param                                                                                                     
 failed (18)
Jul 24 19:42:35 debby slapd[9006]: conn=140 op=13 SEARCH RESULT tag=101 err=0 ne                                                                                                     
ntries=1 text=
Jul 24 19:42:35 debby slapd[9064]: conn=141 op=5 BIND dn="uid=test,ou=People,dc=                                                                                                     
my,dc=lan" method=128
Jul 24 19:42:35 debby slapd[9064]: conn=141 op=5 BIND dn="uid=test,ou=People,dc=                                                                                                     
my,dc=lan" mech=SIMPLE ssf=0
Jul 24 19:42:35 debby slapd[9064]: conn=141 op=5 RESULT tag=97 err=0 text=
Jul 24 19:42:35 debby slapd[9064]: conn=141 op=6 BIND anonymous mech=implicit ss                                                                                                     
f=0
Jul 24 19:42:35 debby slapd[9064]: conn=141 op=6 BIND dn="" method=128
Jul 24 19:42:35 debby slapd[9064]: conn=141 op=6 RESULT tag=97 err=0 text=
Jul 24 19:42:35 debby slapd[9064]: conn=140 op=14 SRCH base="ou=People,dc=my,dc=                                                                                                     
lan" scope=1 filter="(&(objectClass=posixAccount)(uid=test))"
Jul 24 19:42:35 debby slapd[9064]: conn=140 op=14 SRCH attr=uid userPassword uid                                                                                                     
Number gidNumber cn homeDirectory loginShell gecos description objectClass
Jul 24 19:42:35 debby slapd[9064]: <= bdb_equality_candidates: (uid) index_param                                                                                                     
 failed (18)
Jul 24 19:42:35 debby slapd[9064]: conn=140 op=14 SEARCH RESULT tag=101 err=0 ne                                                                                                     
ntries=1 text=
Jul 24 19:42:35 debby slapd[9006]: conn=140 op=15 SRCH base="ou=People,dc=my,dc=                                                                                                     
lan" scope=1 filter="(&(objectClass=posixAccount)(uid=test))"
Jul 24 19:42:35 debby slapd[9006]: conn=140 op=15 SRCH attr=uid userPassword uid                                                                                                     
Number gidNumber cn homeDirectory loginShell gecos description objectClass
Jul 24 19:42:35 debby slapd[9006]: <= bdb_equality_candidates: (uid) index_param                                                                                                     
 failed (18)
Jul 24 19:42:35 debby slapd[9006]: conn=140 op=15 SEARCH RESULT tag=101 err=0 ne                                                                                                     
ntries=1 text=
Jul 24 19:42:35 debby slapd[9064]: conn=140 op=16 SRCH base="ou=Group,dc=my,dc=l                                                                                                     
an" scope=1 filter="(&(objectClass=posixGroup)(|(memberUid=test)(uniqueMember=ui                                                                                                     
d=test,ou=people,dc=my,dc=lan)))"
Jul 24 19:42:35 debby slapd[9064]: conn=140 op=16 SRCH attr=cn userPassword memb                                                                                                     
erUid uniqueMember gidNumber
Jul 24 19:42:35 debby slapd[9064]: <= bdb_equality_candidates: (memberUid) index                                                                                                     
_param failed (18)
Jul 24 19:42:35 debby slapd[9064]: <= bdb_equality_candidates: (uniqueMember) in                                                                                                     
dex_param failed (18)
Jul 24 19:42:35 debby slapd[9064]: conn=140 op=16 SEARCH RESULT tag=101 err=0 ne                                                                                                     
ntries=0 text=
Jul 24 19:42:35 debby slapd[9006]: conn=140 op=17 SRCH base="ou=People,dc=my,dc=                                                                                                     
lan" scope=1 filter="(&(objectClass=posixAccount)(uid=test))"
Jul 24 19:42:35 debby slapd[9006]: conn=140 op=17 SRCH attr=uid userPassword uid                                                                                                     
Number gidNumber cn homeDirectory loginShell gecos description objectClass
Jul 24 19:42:35 debby slapd[9006]: <= bdb_equality_candidates: (uid) index_param                                                                                                     
 failed (18)
Jul 24 19:42:35 debby slapd[9006]: conn=140 op=17 SEARCH RESULT tag=101 err=0 ne                                                                                                     
ntries=1 text=
Jul 24 19:42:35 debby slapd[9064]: conn=140 op=18 SRCH base="ou=People,dc=my,dc=                                                                                                     
lan" scope=1 filter="(&(objectClass=posixAccount)(uid=test))"
Jul 24 19:42:35 debby slapd[9064]: conn=140 op=18 SRCH attr=uid userPassword uid                                                                                                     
Number gidNumber cn homeDirectory loginShell gecos description objectClass
Jul 24 19:42:35 debby slapd[9064]: <= bdb_equality_candidates: (uid) index_param                                                                                                     
 failed (18)
Jul 24 19:42:35 debby login(pam_unix)[9104]: session opened for user test by (ui                                                                                                     
d=0)
Jul 24 19:42:35 debby slapd[9064]: conn=140 op=18 SEARCH RESULT tag=101 err=0 ne                                                                                                     
ntries=1 text=
Jul 24 19:42:35 debby slapd[9006]: conn=140 op=19 SRCH base="ou=People,dc=my,dc=                                                                                                     
lan" scope=1 filter="(&(objectClass=posixAccount)(uid=test))"
Jul 24 19:42:35 debby slapd[9006]: conn=140 op=19 SRCH attr=uid userPassword uid                                                                                                     
Number gidNumber cn homeDirectory loginShell gecos description objectClass
Jul 24 19:42:35 debby slapd[9006]: <= bdb_equality_candidates: (uid) index_param                                                                                                     
 failed (18)
Jul 24 19:42:35 debby slapd[9006]: conn=140 op=19 SEARCH RESULT tag=101 err=0 ne                                                                                                     
ntries=1 text=
Jul 24 19:42:35 debby slapd[8660]: conn=142 fd=31 ACCEPT from IP=127.0.0.1:33881                                                                                                     
 (IP=0.0.0.0:389)
Jul 24 19:42:35 debby slapd[9064]: conn=142 op=0 BIND dn="" method=128
Jul 24 19:42:35 debby slapd[9064]: conn=142 op=0 RESULT tag=97 err=0 text=
Jul 24 19:42:35 debby slapd[9064]: conn=142 op=1 SRCH base="ou=People,dc=my,dc=l                                                                                                     
an" scope=1 filter="(&(objectClass=posixAccount)(uidNumber=5000))"
Jul 24 19:42:35 debby slapd[9064]: conn=142 op=1 SRCH attr=uid userPassword uidN                                                                                                     
umber gidNumber cn homeDirectory loginShell gecos description objectClass
Jul 24 19:42:35 debby slapd[9064]: <= bdb_equality_candidates: (uidNumber) index                                                                                                     
_param failed (18)
Jul 24 19:42:35 debby slapd[9064]: conn=142 op=1 SEARCH RESULT tag=101 err=0 nen                                                                                                     
tries=1 text=
Jul 24 19:42:35 debby slapd[8660]: conn=143 fd=32 ACCEPT from IP=127.0.0.1:33882                                                                                                     
 (IP=0.0.0.0:389)
Jul 24 19:42:35 debby slapd[9006]: conn=143 op=0 BIND dn="" method=128
Jul 24 19:42:35 debby slapd[9006]: conn=143 op=0 RESULT tag=97 err=0 text=
Jul 24 19:42:35 debby slapd[9006]: conn=143 op=1 SRCH base="ou=People,dc=my,dc=l                                                                                                     
an" scope=1 filter="(&(objectClass=posixAccount)(uidNumber=5000))"
Jul 24 19:42:35 debby slapd[9006]: conn=143 op=1 SRCH attr=uid userPassword uidN                                                                                                     
umber gidNumber cn homeDirectory loginShell gecos description objectClass
Jul 24 19:42:35 debby slapd[9006]: <= bdb_equality_candidates: (uidNumber) index                                                                                                     
_param failed (18)
Jul 24 19:42:35 debby slapd[9006]: conn=143 op=1 SEARCH RESULT tag=101 err=0 nen                                                                                                     
tries=1 text=
Jul 24 19:42:35 debby slapd[8660]: conn=143 fd=32 closed



die auth.log hab ich nicht :-(
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sat Jul 24, 2004 6:07 pm    Post subject: Reply with quote

Quote:
failed (18)
Jul 24 19:42:20 debby login(pam_unix)[9104]: check pass; user unknown


Nu frage mich bitte nicht so auf die Schnelle, welches Proggi einen unbekannten User hat. Etwa pam ? Ist ernsthaft gemeint. Pam kann auch nur der Bote einer Nachricht von einem anderen Teil sein. Aber ein Ansatz wäre es vielleicht. Nur hab ich im Moment keine Idee.
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sat Jul 24, 2004 6:08 pm    Post subject: Reply with quote

bieraufmach
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
technikman
n00b
n00b


Joined: 16 Jul 2004
Posts: 8

PostPosted: Sat Jul 24, 2004 6:16 pm    Post subject: Reply with quote

prost..

mhh.... also wenn ich das recht versteh log ich mich mit username+passwort ein...

dann prüft PAM nach seinen ganzen modulen ob das irgendwie passt und läßt den zugang dann zu oder auch nicht...

also wenn ich den ersten login starte findet der den User nicht (im LDAP)

und beim 2. dann läßt er mich gleich ohne Passwort rein??? :?: *grübl* also irgendwie fehlt mir da nen zusammenhang oder irgendwas is falsch...

oder das da sowas wie'n Timeout gibt? aber der mich schon reingelassen hat und ich deshalb noch nen 2. login brauch? nur wo soll das dann herkommen? läuft ja alles auf'n localhost.... 8O

*bierauskühlschrankhol* :?
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sat Jul 24, 2004 6:18 pm    Post subject: Reply with quote

prost :P
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sat Jul 24, 2004 6:32 pm    Post subject: Reply with quote

Ich nehm den syslog-ng und nicht nur für den gibts auch die auth.log . Dabei habe ich eben gesehen, dass das ganze Dokument umgeschrieben, erweitert und verbessert wurde. Es ist auch was neues zu PAM drinn, was ich noch nicht kenne. Das muss ich auch erst lesen, um auf der Höhe zu sein.
_________________
------------------------------------------------------------------
http://radio.garden/


Last edited by Marlo on Sat Jul 24, 2004 6:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
technikman
n00b
n00b


Joined: 16 Jul 2004
Posts: 8

PostPosted: Sat Jul 24, 2004 6:40 pm    Post subject: Reply with quote

mhh.. also syslog-ng nehm ich auch... nur ne auth.log hab ich nicht :-(

hab mal openldap ohne sasl + slp neu emergt.... aber hat nich wirklich was gebracht...

nochmal überlegen... falls du ne Idee hast sag mal bescheid :lol:
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sat Jul 24, 2004 6:56 pm    Post subject: Reply with quote

Na ja, erfolgreich ist was anderes. Nach 6 1/2 Std. auf dem Stand von deinem zweiten posting :( .
Na gut, wenigstens schon mal 3 Bier gezogen :lol:
und das Problem eingegrenzt.

Gut.

Der Sicherheitsleitfaden steht jetzt bei mir auf No. 1. Neuer Tag neues Glück. Vielleicht geht es Morgen besser.

Tschau erstmal, ich schmeiß mal den Rost an
Ma
( und zieh noch`n Bier) :P
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum