Topic "how to disable "lookup user groups""

Author Message
delfo
[View user's profile]

Joined: 2012-07-03
Posts: 2
Location: Italy
hi,
i have a problem with a SCP server that i can solve only if i disable "lookup user groups" in WinSCP Client.
But using .NET Dll in my client, i cannot reach to find any options to do that programmatically.
What can i do ??
Thanks in advance
Stefano
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please set Session.SessionLogFile and attach the log file to this thread.
_________________
Martin Prikryl
delfo
[View user's profile]

Joined: 2012-07-03
Posts: 2
Location: Italy
Hi,
thanks for the reply.
I have solved the problem when i have take a look at SCP configuration file that is written by WinSCP.
When i have disabled the checkbox under SCP option, i have notice that the setting's name was
LookupUserGroups2=1

so i have added this line of code to my app
sessionOptions.AddRawSettings("LookupUserGroups2", "1");

and all works fine.
Thanks to all.
Stefano
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Still, I would like to see the session log. Because since 5.0.6 you should not see any "lookup user groups" errors.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License