On Tue, 9 Aug 2005, Quanah Gibson-Mount wrote: > > > --On Tuesday, August 09, 2005 1:51 PM -0700 Larry Lile > <[EMAIL PROTECTED]> wrote: > > > I don't see how it would help, you are using Net::LDAP to create > > a connection to the server, I already have a TGT so we'll skip > > that part, then you create an Authen::SASL::GSSAPI object the > > bind the Net::LDAP connection with the SASL cred. > > Well, to me the difference is this is something that I know pulls together > all the pieces, and works, with examples supplied in the tar ball that > should be trivial to modify for your environment. Obviously it'll use your > TGT if you already have one (as several of the examples do). > > > Not using async and not setting user=" " still give the same result > > so I can't see a difference. Using Stanford::Directory is just going > > to give me more layers to debug and I can't believe it's going to change > > the result. > > The difference is, I know my code works. I don't see anything obviously > wrong with your code, but one never knows. If you get the same error with > my code, there's something more fundamentally at issue than just the code. > > > Regardless, I can say for sure, there is something else fundamentally wrong > with your setup, because if I modify your script for my environment, it > works perfectly:
Good. So we both agree Stanford::Directory or Net::LDAP + Authen::SASL::Cyrus is irrelevant, the test script _should_ work. Why doesn't it? [EMAIL PROTECTED] SOURCES]$ ls -1 perl-5.8.6.tar.gz perl-ldap-0.33.tar.gz Authen-SASL-* Authen-SASL-2.09.tar.gz Authen-SASL-Cyrus-0.12-server.tar.gz perl-5.8.6.tar.gz perl-ldap-0.33.tar.gz [EMAIL PROTECTED] SOURCES]$ rpm -qa | grep -i sasl cyrus-sasl-2.1.15-10 cyrus-sasl-gssapi-2.1.15-10 cyrus-sasl-md5-2.1.15-10 cyrus-sasl-plain-2.1.15-10 cyrus-sasl-devel-2.1.15-10 [EMAIL PROTECTED] SOURCES]$ cat /etc/redhat-release Red Hat Enterprise Linux WS release 3 (Taroon Update 4) -- Larry