I wrote a program which gives all user attributes from active directory using novell library but unfortunately I don't get value of lastlogon attribute although this attribute contains a value.
how to gives last logon attribute for user active directory
320 Views Asked by Mehdi Razmjooie At
1
There are 1 best solutions below
Related Questions in .NET-CORE
- Repository manager receives the wrong connection string in .net core
- How can I overwrite the localization strings in a library
- Custom type resolution
- How to enable log to console Cosmos Client SDK requests
- Issue with Entity Framework Core: .Include() and .AsNoTracking() not displaying expected related entities
- Using Python CDK to bundle dotnet 8 code to AWS Lambda function
- How to make Visual Studio 2022 project launch Windows Terminal instead of PowerShell?
- Custom Metrics stop saving in App Insight after one hour
- How to send select input data for form submission?
- When I use built-in DockerFile in Visual Studio, I see no errors, but when I try to create image and container using terminal I get an error
- Failure to Execute the DBCommand: SQLite Err. 1 - C# / .NET / Entity Framework Core
- KeyCloak Handshake causing timeout
- problemas con los CORS en .net core 7 y angular 15
- Access Registed Scoped Services and Transient Services using GetService()
- .NET Core DB vs JSON model design
Related Questions in ACTIVE-DIRECTORY
- Is there any way to set a printer as default according with Active Directory Policy Security Group and PC hostname?
- Dropdown list showing SQLServer2005SQLBrowserUser$DONSERVER instead of Active Directory group name in ASP.NET MVC C#
- Connecting to SQL Server and performing BULK INSERT from Linux Container
- Running wmi queries as a non-admin user on a remote machine using C#
- How can we make an environment specific Token-based authorization using Ping Token?
- Reuse SSL certificate from the personal certificate store across services such as RDP and Federated Sign In
- Adding user in AD using powershell
- Netbox in docker LDAP authentication
- PowerShell Script Install-ADDSDomainController Error
- Get username of logged in user while using Domain Admin privileges
- Populate Simple AD from LDAP
- Python LDAP3 Changing Account Values
- Powershell - Exporting MemberOf to csv file from active directory
- Filtering users from a CSV then removing those filtered users from specific security groups with Powershell
- Nested Expression in Powershell returning part of Expression
Related Questions in LDAP
- ldap 389ds - logging - cat <> stdout-fifo-pipe-file > /dev/stdout - No AUDIT logs 0 byte file
- Jndi connect to LDAP by GssApi KrbException: Server not found in Kerberos database (7)
- PHP & LDAPS : cant connect to AD
- Netbox in docker LDAP authentication
- LDAP query construction to configure Discovering Products in KMS
- Populate Simple AD from LDAP
- Could not authenticate credentials against "LDAP" - MediaWiki
- LDAP authentication on MQ qmgr
- LDAP: Server is not operational for VB.NET Winforms application
- How do I obtain a user's domain in nginx during authentication through AD with Kerberos?
- LDAP query, geto all user of a group
- In LDAP: Differentiating via OU or via attribute?
- [LDAP: error code 32 - 0000208D: NameErr: DSID-0310028D, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=xxxxxx,DC=int'
- In C#, DirectoryEntry is returning empty AuditRules collection, even though audit rules do exist
- Zeppelin is not allowing LDAP authentication
Related Questions in NOVELL
- ASP.NET Core : connect to Active Directory using Kerberos and Novell.Directory.Ldap.NETStandard library
- Novell LDAP entry doesn't return member attribute when members are <1500
- IIS - Access denied to directories and files on the novell network
- Edge loads in Internet Explorer Mode -- sometimes?
- Is it possible to find the group(s) that an LDAP user belongs to using the Novell package? (C#)
- ASP.NET Core 5, JWT tokenand Novell AD library
- Novell Ldap: missing LdapSearchResult message type in the LdapSearchQueue followint Search
- How can I use the DirectoryServices.Protocols.AuthType library and Negotiate AuthType with Novell?
- Using global catalog in a ldap search with C# library Novell
- Virtual List View Active Directory search using Novell.Directory throws LdapException: Unavailable Critical Extension
- how to gives last logon attribute for user active directory
- How to add user to exchange with using novell library
- get deleted objects from AD
- Renaming an existing entry in the directory gives an error saying "Naming Violation"
- Connect fails with Error 91 (Novell.Directory.Ldap.NETStandard)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The
lastLogonattribute is not replicated. That means it will only be accurate on the domain controller that the user last authenticated against. Any other DC will have either an old value, or no value.You have two options:
lastLogonTimestampattribute, which was created for just this reason. It won't give you the exact time of the last logon, but it is guaranteed to be accurate within 2 weeks.Also make sure you are reading from the domain (
LDAP://) and not the Global Catalog (GC://). Neither attribute will be available from a GC.