Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Slow Windows Authentication vs Fast SQL Authentication

 
   Database Forums (Home) -> Connect RSS
Next:  [Info-Ingres] AL FSM error in GCC  
Author Message
Branden

External


Since: Jan 17, 2008
Posts: 2



(Msg. 1) Posted: Thu Jan 17, 2008 7:46 pm
Post subject: Slow Windows Authentication vs Fast SQL Authentication
Archived from groups: microsoft>public>sqlserver>connect (more info?)

When I run: osql -S 192.168.1.xxx -E -Q "sp_who2" it takes 47 seconds.
When I run: osql -S 192.168.1.xxx -U test -P password -Q "sp_who2" it takes
1 second.

The client is a web server that is in the DMZ connecting to a SQL 2000
server that is behind a firewall (NetScreen I believe) that only has TCP
port 1433 open and is doing NAT.

Any idea why Windows Authentication is so much slower than SQL
Authentication?

Thanks

Branden


 >> Stay informed about: Slow Windows Authentication vs Fast SQL Authentication 
Back to top
Login to vote
Sean McCown

External


Since: Nov 21, 2007
Posts: 82



(Msg. 2) Posted: Tue Jan 22, 2008 5:44 pm
Post subject: RE: Slow Windows Authentication vs Fast SQL Authentication [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Just a guess, but it may have something to do with the fact that you're
calling from the DMZ. Not being in the domain it may have to do a broadcast
to find the PDC for the auth. Again, just a guess.

"Branden" wrote:

> When I run: osql -S 192.168.1.xxx -E -Q "sp_who2" it takes 47 seconds.
> When I run: osql -S 192.168.1.xxx -U test -P password -Q "sp_who2" it takes
> 1 second.
>
> The client is a web server that is in the DMZ connecting to a SQL 2000
> server that is behind a firewall (NetScreen I believe) that only has TCP
> port 1433 open and is doing NAT.
>
> Any idea why Windows Authentication is so much slower than SQL
> Authentication?
>
> Thanks
>
> Branden
>
>
>
>
>

 >> Stay informed about: Slow Windows Authentication vs Fast SQL Authentication 
Back to top
Login to vote
Branden

External


Since: Jan 17, 2008
Posts: 2



(Msg. 3) Posted: Fri Jan 25, 2008 9:49 am
Post subject: Re: Slow Windows Authentication vs Fast SQL Authentication [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I took a network monitor trace and noticed that it was doing Reverse DNS. I
added a host entry and everything is better now.


"Branden" wrote in message

> When I run: osql -S 192.168.1.xxx -E -Q "sp_who2" it takes 47 seconds.
> When I run: osql -S 192.168.1.xxx -U test -P password -Q "sp_who2" it
> takes 1 second.
>
> The client is a web server that is in the DMZ connecting to a SQL 2000
> server that is behind a firewall (NetScreen I believe) that only has TCP
> port 1433 open and is doing NAT.
>
> Any idea why Windows Authentication is so much slower than SQL
> Authentication?
>
> Thanks
>
> Branden
>
>
>
 >> Stay informed about: Slow Windows Authentication vs Fast SQL Authentication 
Back to top
Login to vote
Sean McCown

External


Since: Nov 21, 2007
Posts: 82



(Msg. 4) Posted: Fri Jan 25, 2008 10:33 am
Post subject: Re: Slow Windows Authentication vs Fast SQL Authentication [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Nice. Don't forget to mark the issue solved.
--
Read my book reviews at:
www.ITBookworm.com

Blog Author of:
Database Underground -- http://weblog.infoworld.com/dbunderground/
DBA Rant – http://dbarant.blogspot.com




"Branden" wrote:

> I took a network monitor trace and noticed that it was doing Reverse DNS. I
> added a host entry and everything is better now.
>
>
> "Branden" wrote in message
>
> > When I run: osql -S 192.168.1.xxx -E -Q "sp_who2" it takes 47 seconds.
> > When I run: osql -S 192.168.1.xxx -U test -P password -Q "sp_who2" it
> > takes 1 second.
> >
> > The client is a web server that is in the DMZ connecting to a SQL 2000
> > server that is behind a firewall (NetScreen I believe) that only has TCP
> > port 1433 open and is doing NAT.
> >
> > Any idea why Windows Authentication is so much slower than SQL
> > Authentication?
> >
> > Thanks
> >
> > Branden
> >
> >
> >
>
>
>
 >> Stay informed about: Slow Windows Authentication vs Fast SQL Authentication 
Back to top
Login to vote
Display posts from previous:   
   Database Forums (Home) -> Connect All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]