SQL and windows authentication login

Please clear my doubt.
If login is windows authntication, we can not lock and expire that account right. We can just disable that account.
We can not do lock the account manually, if it is windows and sql logins.
Please clear my doubt

Hello Shashikala,
In SQL Server you can manually disable a Windows and SQL Logins, but you can't lock them, you only manually unlock a SQL Login.; a SQL Server Login can be locked by SQL Server, if e.g. the password period has expired.
Windows Logins can also be locked, but that happens on OS / AD level, not on/from SQL Server.
Olaf Helper
[ Blog] [ Xing] [ MVP]

Similar Messages

  • Get an error for changing the windows authentication mode to the both SQL and windows authentication mode

    I installed the SQL server Express 2008 R2 and then SQL Server Management Studio 2008 R2 . But during the installation, I could not choose the both SQL and windows authentication mode and an error accrued so I did that just with windows authentication mode. 
    Now, I want to change the windows authentication mode account to the SQL authentication mode but it shows me an error which is you do not have permission (Although I am the administrator in windows), what can I do?
    Following steps are the steps that I went but I got an error:
    Server properties >> security >> choose the option of SQL Server and Windows Authentication mode 
    and the error that I got is attached(access is denied)  
    Can you please help me?

    You can change the setting after you gain admin rights to your SQL Server. You don't admin rights automatically, you have to explicitly add yourself during the install
    Here's a guide on how to (re)gain those rights:
    http://v-consult.be/2011/05/26/recover-sa-password-microsoft-sql-server-2008-r2/

  • Windows Authentication login cannot access backup files stored in Users\[User] folder.

    I am currently logged in to my database engine using SSMS and Windows Authentication; specifically, I am logged in with Joe-PC\Joe, where Joe-PC is the domain name of the machine hosting the database, and Joe is the user that created the database. 
    If it matters, I am running all of this locally from Joe-PC.
    I have a .bak backup file stored in my C:\Users\Joe\Desktop folder that I am trying to restore.  However, I get an error saying 'Either the location does not exist, or the current login account does not have access to it.'  I am certain the location
    exists, as I am looking at it right now, and I can't see why Joe-PC\Joe wouldn't have access to it's own user folder. 
    I am absolutely baffled as to why this is behaving this way.  I am fully aware that I can work around the issue, but I'd like to know why this isn't working as it seems like it should.  Does the Windows Authentication that SQL Server uses not have
    the permissions that the account would normally have?  Is the Windows Authentication user even the same thing as the user that logs into Windows?  What else could be going on that I don't understand?

    Keith
    Thanks for your answer.  My user account is one of two administrator accounts on this computer (the other is only set up for consistency sake, and has probably only been logged into a total of 5 times; all of our computers have the account though, so
    I thought I should put it on here as well).  The issue isn't that my account doesn't have restore permissions, just that SSMS can't access the user folder when logged in using Windows Authentication.  Another issue that I assume is related results
    in a lack of permissions on backup files until I manually set permissions to 'Everyone' under the backup file's properties\security tab.  Also, not sure if it matters, the backup is taken from a customer's computer running Win 7 Pro x86 while my computer
    is on Win 7 Ultimate x64.
    Not sure if this helps pinpoint the issue, but my current workaround is as follows:
    Copy the .bak file to the C:\Program Files (x86)\Microsoft SQL Server\MSSQL10_50.WSA\MSSQL\Backup (default backup folder)
    Right-click the .bak file and go to the properties toolbox.  Select the Security Tab, give full permission to 'Everyone'.
    In SSMS, select 'Restore Database' after right-clicking on 'Databases' in left-hand tree.
    Give the DB a name, restore from device, select my file.
    This method hasn't failed me yet, but any deviation (other than setting permissions before or after moving) causes me to get access errors when I try to restore.  Fortunately, this isn't a production database engine, just a testing environment, but
    I'd like to get an idea of what's going on, because I know it's only a matter of time before I or a customer runs into this issue.

  • My MacBook Pro Retina's Bluetooth chipset unknown/odd login message on the login screen states Login Window Authentication Login window Name edit text has keyboard focus. In addition, the login screen is not remembering me

    I have been experiencing several issues with my MacBook Pro Retina mid 2012. My MBPR is scheduled to go into the depot. However, I am wondering if anyone may be able to shed light on a few issues as this is the third "official" time my MBPR is going back for service ("one depot" trip; "one authorized" dealer; several in-store visits).
    My Bluetooth is stating that the Bluetooth Chipset is Unknown (0). I also have had Bluetooth Preferences mysteriously change on me. In addition, while Bluetooth is off there are two serial modems turning on. I have turned them off, but they continue to pop up.
    In addition, when I log in, my MBPR is not remembering me and my login name is not appearing on the slate-gray screen. The name and password are blank and the following message appears in the lower left hand corner. "login window authentication login window Name edit text has keyboard focus."  As a side note, I am the only user. The login issue is a recent occurrence as we just totally wiped it again via a Command + R, and I don't believe I have an accessibility setting set to anything that would cause this, but wanted to check.
    Should I be concerned here? Has anyone else had issues like this? I don't want to worry if I don't have to. I have had so many issues over the course of nine months. 5-6 wipes. Airport card replaced and I am about to pull my hair out if my MBPR doesn't come back worldly like clock work this time. I just can't send my days trying to get a $2300 product to work for me any longer. No idea what is wrong with it, but it is driving me insane. Cross your fingers for me and any guidance you have or thoughts would be welcomed. Thank you. EMM

    A few more issues...
    In Console, the following is greyed out:
    User and Diagnostic reports
    Com.apple.launchd.peruser.0
    Com.apple.launchd.peruser.88
    Com.apple.launchd.peruser.89
    Com.apple.launchd.peruser.92
    Com.apple.launchd.peruser.97
    Com.apple.launchd.peruser.200
    Com.apple.launchd.peruser.201
    Com.apple.launchd.peruser.202
    Com.apple.launchd.peruser.212
    *[user logs are accessible]
    Krb5kdc
    Radius
    My guest files are locked, but again I am the administrator of MBPR.
    I am worried about a keystroke logged or at least, trying to rule it out.
    Also:
    Mdworker32(225) [and other mdworker numbers] are sandboxing; stating deny Mach-lookup
    Com.apple.Powermanagement.control, etc. long attachment with those files with version: ??? (???).
    Postinstall: removing applications/Microsoft Office 2011/Microsoft Outlook.app
    WARNINGS in Console include:
    [NSImage compositeToPoint:fromRect:operation:fraction:] is deprecated in MacOSX 19.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction] instead.
    There are a ton of other warnings. Before I go through this again, can someone tell me if this is normal (all of it -- above too); or if these are symptoms is a keystroke logger or hardware issues? 
    I ask because originally, when my computer went in for diagnostics (more than once), Apple stated the hardware was fine (other than Airport Card -- finally). However, if I've done 5-6 total wipes; created new users; do not have sharing set-up; have not played around in Terminal; and am up-to-date with versions -- and various issues KEEP COMING BACK -- I am left wondering if a keystroke logger would be possible here?!? I thought maybe a faulty logic board, but why would diagnostics be okay, then? Not trying to be hyperbole, just desperate.
    Please help me rule keystroke logger out or at least, tell me so I know, so I can take appropriate action. If you think it could be the logic board with symptoms above, that would be a great too.
    All I want to do is use the computer as intended, but I can't seem to get a real answer, so after nine months -- I am turning to the communities to see if anyone -- anyone at all -- can help. The last thing I can do is have the MBPR come back from the depot and the same thing occur. Any guidance or advice would be so gratefully appreciated.

  • Exchange 2013 CU6 OWA - FBA and Windows Authentication (coexistence)

    Hi,
    Is it possible to run FBA for outside clients and Windows Authentication for inside clients?
    I have tried to setup FBA and WA on different WebSites without luck :-(
    Best regards - NH
    [Edit, typo]

    Hi,
    I recommend you create the second OWA/ECP virtual directories in a new IIS web site with a different IP address, and using it for internal client access.
    You need to prepare the secondary IP address for CAS server, and then in the IIS manager, create a new Web Site. Create the second
    OWA/ECP virtual directories in this new IIS Web Site.
    You will also need to ensure that whatever name the internal use will be using to connect to the new
    OWA/ECP site is present on the installed certificate and the name resolves to the correct IP address.
    Then you can enable integrated windows authentication for internal users and enable forms-based authentication for external users.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • SQL Developer: Windows Authentication on Linux

    Hello.
    I have trouble getting SQL Developer to authenticate using "windows authentication" and a MS SQL server 2005. I'm on a Linux OS. Authenticating "normally" is no problem, however only windows authentication will be allowed in near future. Does anyone have success using this option? It simply gives me an error that it is unable to login.
    Hope anyone can be of help. Thanks in advance.
    Stefan

    Just wondering why the option would be there in the linux version (which is different in other areas than the windows one).
    Is it not possible using Kerberos perhaps?
    regards

  • Mac OS X 10.7, JTDS Drivers, and Windows Authentication

    I'm trying to connect to a Microsoft SQL Server using JTDS 1.2 drivers loaded to SQL Developer via the third-party JDBC drivers preference. This configuration works with other applications, and I'm able to contact the server, but the Windows Authentication connection option in Oracle SQL Developer doesn't seem to be working. Is anyone else having this issue? Is there some place in this application that I can set my DOMAIN? The closest match to a similar problem that I have found is in the last post of this thread:
    Can not connect to sql server on port 1433
    ...but I'm unable to find the connections.xml file that this poster is referencing. Any help is appreciated.

    Thats awesome! Thank you, that was exactly my problem... however now I keep getting an error that says "The user is not associated with a trusted SQL Server connection". I've tried about every combination. I put my windows login and pwd, and I assume "windows authentication" should still be checked, and port and domain both filled out. The only thing I change in the connections xml file is to change the customURL entry to jdbc:jtds:sqlserver://myserverhose:myportname/;domain=mydomainname. Any thoughts? I'm worried it may just be a setting SQL server I can't change.

  • FBA and Windows Authentication

    In SharePoint 2013, if a user is accessing a SharePoint site from outside the local network: When they get to the site and chose an authentication method, Windows or FBA, can they chose the Windows authentication and enter their normal domain login? If
    the user is on the domain network, when they chose Windows authentication it sees who they are on their computer and lets them get to the site. I am trying to understand how it works for that user if they aren't on the domain network.

    Hi kamikoz,
    Per my knowledge, you need to configure FBA and allow external user to login into the application using the credentials that are given to them, you can refer to the blog:
    Configuring SharePoint 2013 Forms-Based Authentication with SQLMemberShipProvider
    More information about user authentication, please refer to the links:
    http://technet.microsoft.com/en-us/library/cc262350(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/jj219571(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/ms457529(v=office.15).aspx
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • SSRS Windows Authentication Login

    Hi guys, I have been battling with this issue for the past 2 days. 
    I have deployed my ssrs reports to my test server. 
    Anytime I try to  access the report manager or reportserver url from another client pc, I am being prompted with a Windows Security Login. 
    My client user isn't an part of the domain, but I want to disable that Windows Security prompt
    Steps I have taken
    1. I changed the rsreportserver config authentication type to <RSWindowsNTLM> 
    2. I have added an execution account(Local administrator) in the Report Configuration Manager
    3. I have added the Credentials Stored Securely on the report server settings.
    After doing all this, I am still prompted with the Windows Security.
    Please What Do u thing I am missing here?
    Guys I am counting on you.
    Thanks. 

    Hi earlgood77,
    As the error message said, the issue occurs because the remote SMTP server requires authentication, however, the report server is configured to use Anonymous authentication. To address this issue, we can create a virtual SMTP server on the report
    server computer which has IIS and IIS Manager installed, and relay mail to the desired SMTP server. 
    References:
    http://www.vsysad.com/2012/04/setup-and-configure-smtp-server-on-windows-server-2008-r2/
    http://msdn.microsoft.com/en-us/library/8b83ac7t(v=vs.100).ASPX
    Regards,
    Mike Yin
    TechNet Community Support

  • Sql developer + windows authentication

    Hi,
    Is it possible to use windows authentication to connect to windows databases when using sql developer? From what I have seen, it seems that it is not straight forward.
    Is ther any kind of work around?
    Thanks in advance for any help
    Seastian

    It is, but it it's complicated - at least from what I have experienced.
    First you need the jtds-1.2.1.jar on your machine (a tutorial here..http://www.oracle.com/technology/products/database/sql_developer/files/viewlets.html) - it doesn't mention that you need to unzip the file (from sourceforge.et) and add the SSO directory to your windows PATH variable.
    It gets complicated depending on the Win Server (e.g. clustered)
    On the Hostname I had to add this "ip adress":1433;instance=CVDEV instead of just the server's ip\CVDEV as you would do in a win connection
    And you get disappointed, from what I found out, you need a connection for each of the databases there (e.g. master, temp, etc) it doesn't show all the databases on the server under the same connection

  • SQL Server Window Authentication Slow

    Hi
       We are using SQL Server 2012. When we run our applications with window authentication it runs really slow. But if we use same application with database user authentication then it runs really fast.
        Any Suggestion?
    thanks
    Drew

    Hi Drew,
    When you use Windows Authentication I assume your are using domain accounts (no local account). Your database server has probably some issue connecting to Active Directory. You might have similar delay logging on to the server using a domain account and
    or rebooting the server might also be slow. Most likely your DNS server settings on that server or on your client are incorrect or out of date.
    You can check this from the Command Prompt with the IPCONFIG.EXE /ALL command. Make a note of configured DNS servers. The configured DNS servers should ONLY be the DNS servers from the Active Directory domain (typically those are the same servers as the
    domain controllers). You should remove any DNS servers from the Internet.
    Why does this matter? You may ask. SQL Server needs to connect to the domain controller to verify your credentials. to that it first needs to know the IP address of the domain controller. This information is stored on a DNS server in your Active Directory
    domain, not on public DNS servers on the Internet. If your server is configured with public DNS servers from the Internet, requesting this information will fail and cause an delay until either a correct DNS server is contacted or the domain controller is contacted
    using legacy (NTLM) methods.
    You may have a more complicated situation if more Active Directory domains are involved (e.g. domain trusts, forest trusts, complex nested group memberships.), or if the configured Domain Controller is located at another site and is only connected by a slow
    link, or there is actually a performance issue with your domain controllers. In that case your Active Directory Administrator may supply with more information.
    In short: check your DNS server settings.
    Hope this helps.

  • Microsoft JDBC 2.0 driver for SQL:  Integrated Windows Authentication?

    Has anyone had success with the MS JDBC 2.0 driver for SQL and Integrated Windows Authentication in distributed mode (Multiserver)?  At best, we can get server-to-server authentication.

    Hello Thomas,
    You may want to download the driver again and install it again.
    heres a sample xml tag in the config.xml:
    <JDBCConnectionPool
    DriverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    InitialCapacity="3" MaxCapacity="12" Name="MSpool"
    Password="{3DES}fUz1bxR0zDg=" Properties="user=uid"
    Targets="myserver"
    URL="jdbc:microsoft:sqlserver://mydbserver:1433"/>
    ensure that you follow the instructions from Microsoft. For using 2000
    driver you will need to have
    Install_dir/lib/msbase.jar and Install_dir/lib/msutil.jar in addition to
    Install_dir/lib/mssqlserver.jar in the CLASSPATH.
    hth
    sree
    "Thomas" <[email protected]> wrote in message
    news:3c91ec0e$[email protected]..
    Hi,
    Has anybody used the JDBC 2.0 driver for sql server 2000 downloadable from
    the
    microsoft website?When I try using it with WL 6.1 sp1 it says it can't load
    the
    driver.I try viewing the class file from the jar file using the jar utility
    it
    gives an unknown Zip format error.Anybody has any solution for this ?If
    anybody
    has managed to work with this microsoft driver i will be grateful if they
    provide
    me with a solution.
    Thanks
    Thomas

  • SharePoint 2013 and Windows authentication (integrated) or SharePoint user for report data source

    Hello,
    I am having issues creating report datasource in "Windows authentication (integrated) or SharePoint user" in SharePoint 2013. I followed the steps mentioned in the link http://blogs.msdn.com/b/psssql/archive/2014/04/28/sharepoint-adventures-using-claims-with-reporting-services.aspx.
    I am just stuck in the delegation piece here. I have a SSAS instance by name "XXXXAPPV01\Multidimensional". First thing is what is the procedure to set SPN for this instance? I need to add this service in the delegation tab so that C2WTS service
    configured correctly.
    Nothing but I should be able to access my SSAS 2012 cube from SSRS 2012 by "Windows authentication (integrated) or SharePoint user" as the authentication method.
    Palash

    I used the below command to set SPN for analysis services.
    setspn -S MSOLAPSvc.3/XXXXAPPV01APPV01.xxxxdmo.local:Multidimensional xxxxdmo\svcMyService
    After setting the SPN for this service account I added this account(xxxxdmo\svcMyService) in the delegation tab of my domain account created earlier for claim service (xxxxdmo\svcC2WTS). Now in service type it shows -> MSOLAPSvc.3, User or Computer it shows
    -> XXXXAPPV01APPV01.xxxxdmo.local and in Port it shows -> Multidimensional. This is in my svcC2WTS account delegation tab. Still I am not able to connect datasource by "Windows authentication(integrated) or SharePoint User". I am getting the
    same error "Cannot convert claims identity to windows token".
    I am not sure what am I missing in this configuration piece yet to get this working.
    Palash

  • SharePoint Designer 2013 with SOAP DataSource and Windows Authentication

    Hello
    What do I need to do to create a SOAP Data Source in SharePoint Designer 2013 with Windows Authentication?
    I am trying to display a list from another subsite in my Web Part Page using a DataView web part.
    My environment is set up to use Claims with Kerberos.
    Is there a guide available that talks about configuring this or troubleshooting this? What should I check?
    Thanks for any suggestions.
    Yoshi

    Hi,
    According to your post, my understanding is that you wanted to create a SOAP Data Source in SharePoint Designer 2013.
    Please refer to the official article related, although it is about the SharePoint Designer 2010, it still works for SharePoint Designer 2013.
    http://office.microsoft.com/en-in/sharepoint-designer-help/add-a-soap-service-as-a-data-source-HA010355752.aspx
    More information:
    http://social.technet.microsoft.com/Forums/en-US/20e34a68-fa78-4450-9744-45f9e3ff26b5/sharepoint-designer-soap-and-rest-datasource-failure?forum=sharepointcustomizationprevious
    http://sharepointdiva.wordpress.com/2012/03/19/create-cross-site-data-source/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • PDW connection manager and Windows authentication

    I'm new to SSIS 2012, but I've got the SSDT BI 2012 (x86) installed. I'm also connecting to a SQL Server 2012 Parallel Data Warehouse. I've been able to connect to it via SQL Server Object Explorer with Windows Authentication. No worries.
    However, in setting up the PDW Connection Manager in my project, the dialogue won't allow for Windows Authentication.
    How do I connect with Windows Authentication?

    how did you set up the PDW Connection Manager in your project? i couldn't find the PDW Connection Manager in SSIS. could you please post more details?

Maybe you are looking for