novell

novell.directory.ldap.netstandard MaxResults

风格不统一 提交于 2019-12-25 05:04:29
问题 I am querying my active directory using novell.directory.ldap.netstandard from my .net core project. It is only bringing back a maximum of 1000 users, I know this is because the PageSize on the server is set to 1000, how can I get the code to bring back all active directory users? - I am using the async search method. string ldapHost = ""; int ldapPort = ; string loginDN = ""; string password = ""; string searchBase = ""; string searchFilter = ""; string[] attributes = new string[] {

Borland Delphi 7 TExcelApplication.Connect works on office machines but not at client

☆樱花仙子☆ 提交于 2019-12-23 07:03:10
问题 I'm in charge of maintaining some legacy code at my office (Pascal) due to it's limitations, I've written a delphi dll to access excel using TExcelApplication. The dll works perfectly at the office, the machines are running Microsoft Office 2010, Windows 7 32-Bit and 64-Bit. The client is using Novel Workstations, Windows XP, Microsoft 2007. The dll gives a breakpoint exception when encountering the TExcelApplication.Connect; command. Other than the differences that I've mentioned, the

C# netcore ldap authentication using Novell.Directory.Ldap.NETStandard library

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-21 06:45:03
问题 it is the first time I'm working with LDAP and Active Directory. I have to make a web api with .NetCore that have to authenticate with ActiveDirectory (WindowsServer 2008 r2), I'm following the samples in Novell.Directory.Ldap.NETStandard but i can't understand the way that I must set the parameters. This is the users that I created in ActiveDirectory Server: In Novell's samples if (args.Length != 5) { System.Console.Out.WriteLine("Usage: mono VerifyPassword <host name>" + " <login dn>

How to Authenticate LDAP in .NET

元气小坏坏 提交于 2019-12-18 11:52:43
问题 I would like to authenticate username and passwords for my application on a windows operating system with any directory service. For example it could be microsoft active directory, Novell eDirecotry, or SunOne. I already know how to do this code natively for Microsoft Active Direcotry with c#. ( I totally gave up using ADSI and creating a low level com component) The way im attempting to authenticate with Novel eDirecotory is i have installed the Mono project. Inside the mono project they

How would I validate a Username/Password using System.DirectoryServices.Protocol?

♀尐吖头ヾ 提交于 2019-12-10 17:52:40
问题 First, I cannot use Active Directory , so I cannot use System.DirectoryServices directly. This will be a PC sending a query to a Novell network where only System.DirectoryServices.Protocol is supported. I am pretty sure that I am down to needing to provide the proper SearchRequest. This is what I have so far: private static String _certificatePath; private static String _server; private static SearchResponse Query(String user, String pwd, out String error) { SearchResponse result = null;

How can my C# app test whether the user has “Read” access to a network share?

痴心易碎 提交于 2019-12-09 06:30:25
问题 I work on a thick-client app that often runs into "issues" accessing network shares. Before doing any IO with the server, my app tests whether the share (usually of the form \\server\share$) exists. This works fine for detecting those scenarios in which the client has lost its connection to the server, but there are still those odd scenarios where the hidden share exists but the user does not have the rights to read from the within the share. Can someone share (no pun intended) the C# code

C# netcore ldap authentication using Novell.Directory.Ldap.NETStandard library

故事扮演 提交于 2019-12-03 21:55:34
it is the first time I'm working with LDAP and Active Directory. I have to make a web api with .NetCore that have to authenticate with ActiveDirectory (WindowsServer 2008 r2), I'm following the samples in Novell.Directory.Ldap.NETStandard but i can't understand the way that I must set the parameters. This is the users that I created in ActiveDirectory Server: In Novell's samples if (args.Length != 5) { System.Console.Out.WriteLine("Usage: mono VerifyPassword <host name>" + " <login dn> <password> <object dn>\n" + " <test password>"); System.Console.Out.WriteLine("Example: mono VerifyPassword

Novell LDAP C# - Novell.Directory.Ldap - Has anybody made it work?

自古美人都是妖i 提交于 2019-12-03 07:30:22
问题 I'm trying to use the library released by Novell (Novell.Directory.Ldap). Version 2.1.10. What I've done so far: I tested the connection with an application (LdapBrowser) and it's working, so its not a communication problem. It's compiled in Mono, but I'm working with Visual Studio. So created a project with the sources. I also included a reference to Mono.Security, because the project depended on it. I commented a call (freeWriteSemaphore(semId); ) in the error catching part of the

Novell LDAP C# - Novell.Directory.Ldap - Has anybody made it work?

半腔热情 提交于 2019-12-02 22:20:34
I'm trying to use the library released by Novell (Novell.Directory.Ldap). Version 2.1.10. What I've done so far: I tested the connection with an application ( LdapBrowser ) and it's working, so its not a communication problem. It's compiled in Mono, but I'm working with Visual Studio. So created a project with the sources. I also included a reference to Mono.Security, because the project depended on it. I commented a call (freeWriteSemaphore(semId); ) in the error catching part of the connection, because it was throwing more exceptions. I checked what that call did, and its just a error

Can you explain why DirectoryInfo.GetFiles produces this IOException?

久未见 提交于 2019-11-30 05:03:10
I have a WinForms client-server app running on a Novell network that produces the following error when connecting to the lone Windows 2003 Server on the network: TYPE: System.IO.IOException MSG: Logon failure: unknown user name or bad password. SOURCE: mscorlib SITE: WinIOError at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption) at System.IO.DirectoryInfo.GetFiles(String searchPattern,