Re: LDAP - getting close struggles...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2003-12-23 at 15:02, Craig White wrote:
> On Tue, 2003-12-23 at 14:52, John Haxby wrote:
> > Did you restart sshd after you'd changed the config files?
> > 
> > Something else that might help a lot is ethereal -- I used it when I was 
> > doing some LDAP authentication stuff and it helped enormously.   
> > Ethereal knows how to decode LDAP PDUs -- just put "LDAP" in the filter 
> > box at the bottom of the window and you get to see just the LDAP 
> > conversations.
> ----
> you're a genius - of course it kicked me right off again but it did find
> me on the LDAP server and authenticated me. I'm not even concerned about
> sshd login by non-local users. I am trying to figure out sendmail
> delivering mail but if I can't get login services, I can't expect
> sendmail to work.
> 
> Thanks - I may be back here but for now, I've gotten past the block.
----
OK just to follow up - I'm kicking the tires now.

editing sendmail.mc 
after editing, I do the following...
 make -C /etc/mail
 service sendmail restart

the items of editing have been...
dnl define(`confLDAP_DEFAULT_SPEC',`-h "linserv2.mullenpr.com" -b
"o=Mullen,c=US" -M simple -d "cn=root,o=Mullen,c=US" -P
/etc/mail/ldap-secret')d
nl
dnl define(`confLDAP_DEFAULT_SPEC',`-h "linserv2.mullenpr.com" -b
"o=Mullen,c=US" -M simple -d "cn=root,o=Mullen,c=US"')dnl
dnl define(`confLDAP_DEFAULT_SPEC',`-h "linserv2.mullenpr.com" -b
"o=Mullen,c=US" -M simple')dnl
define(`confLDAP_DEFAULT_SPEC',`-h "linserv2.mullenpr.com" -b
"o=Mullen,c=US"')dnl
dnl #note the above lines were all tried, one at a time.
LDAPROUTE_DOMAIN_FILE(`/etc/mail/ldapdomains')dnl
FEATURE(ldap_routing)dnl

They all result in the following in slapd.log

Dec 23 15:26:09 linserv2 slapd[30134]: conn=120 op=3 SRCH
base="ou=People,o=Mullen,c=US" scope=1
filter="(&(objectClass=posixAccount)(uid=MAILER-D
AEMON))"
Dec 23 15:26:09 linserv2 slapd[30134]: conn=120 op=3 SEARCH RESULT
tag=101 err=0 text=
Dec 23 15:26:09 linserv2 slapd[30134]: conn=-1 fd=25 closed
Dec 23 15:26:36 linserv2 slapd[30134]: conn=-1 fd=24 closed
Dec 23 15:26:52 linserv2 slapd[30134]: daemon: conn=122 fd=24 connection
from IP=127.0.0.1:59899 (IP=0.0.0.0:389) accepted.
Dec 23 15:26:52 linserv2 slapd[30134]: conn=122 op=0 BIND dn=""
method=128
Dec 23 15:26:52 linserv2 slapd[30134]: conn=122 op=0 RESULT tag=97 err=0
text=
Dec 23 15:26:52 linserv2 slapd[30134]: conn=122 op=1 SRCH
base="ou=People,o=Mullen,c=US" scope=1
filter="(&(objectClass=posixAccount)(uid=MAILER-D
AEMON))"
Dec 23 15:26:52 linserv2 slapd[30134]: conn=122 op=1 SEARCH RESULT
tag=101 err=0 text=
Dec 23 15:26:52 linserv2 slapd[30134]: daemon: conn=123 fd=25 connection
from IP=192.168.10.7:59901 (IP=0.0.0.0:389) accepted.
Dec 23 15:26:52 linserv2 slapd[30134]: conn=-1 fd=25 closed
Dec 23 15:26:52 linserv2 slapd[30134]: conn=122 op=2 SRCH
base="ou=People,o=Mullen,c=US" scope=1
filter="(&(objectClass=posixAccount)(uid=MAILER-D
AEMON))"
Dec 23 15:26:52 linserv2 slapd[30134]: conn=122 op=2 SEARCH RESULT
tag=101 err=0 text=
Dec 23 15:26:52 linserv2 slapd[30134]: conn=122 op=3 SRCH
base="ou=People,o=Mullen,c=US" scope=1
filter="(&(objectClass=posixAccount)(uid=MAILER-D
AEMON))"

Why is it searching for uid=MAILER-DAEMON?

OK - so I added uid=mailer-daemon,ou=People,etc...

still the same message in slapd.log

looking for the last little bit of magic here...

Craig


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux