AlwaysOn - Unable to connect to correct server with ApplicationIntent=READONLY

Having issues trying to get the READONLY intent to work on our AlwaysOn setup.
SETUP is
Azure VM
NIS-SQL01
NIS-SQL02
They run with a AlwaysOn High Availability, this works fine, the AGL also works fine from outside the Azure environment. However when we try and define the connection to be READONLY, we are still getting the Primary Server when connecting.
running
select ar.replica_server_name
, ar.endpoint_url
, ar.replica_server_name
, ar.availability_mode_desc
, ar.failover_mode_desc
, ar.session_timeout
, ar.primary_role_allow_connections_desc
, ar.secondary_role_allow_connections_desc
, ar.backup_priority
, ar2.read_only_routing_url
from sys.availability_replicas ar
inner join sys.availability_read_only_routing_lists avr
on ar.replica_id = avr.replica_id
inner join sys.availability_replicas ar2
on avr.read_only_replica_id = ar2.replica_id
NIS-SQL02    TCP://NIS-SQL02.NISCLOUD.local:5022    NIS-SQL02    SYNCHRONOUS_COMMIT    AUTOMATIC    10    ALL    READ_ONLY    50  
 tcp://NIS-SQL01.NISCLOUD.local:1433
NIS-SQL01    TCP://NIS-SQL01.NISCLOUD.local:5022    NIS-SQL01    SYNCHRONOUS_COMMIT    AUTOMATIC    10    ALL    READ_ONLY    50  
 tcp://NIS-SQL02.NISCLOUD.local:1433
select dns_name,port,is_conformant,ip_configuration_string_from_cluster FROM sys.availability_group_listeners
AGL    50666    1    ('IP Address: CORRECT_IP')
select * from sys.availability_replicas
71284784-C2F6-4693-902A-8FD2108AAC96    1F9E1C25-7402-496F-99DA-808EBDBBFD83    65538    NIS-SQL01    0x010500000000000515000000F339C67C0A4FE3FAA41097E8E9030000    TCP://NIS-SQL01.NISCLOUD.local:5022  
 1    SYNCHRONOUS_COMMIT    0    AUTOMATIC    10    2    ALL    1    READ_ONLY    2014-07-08 11:05:59.727  
 2014-07-08 11:05:59.727    50    tcp://NIS-SQL01.NISCLOUD.local:1433
1309D653-0B34-4D61-9894-4A3C6061359D    1F9E1C25-7402-496F-99DA-808EBDBBFD83    NULL    NIS-SQL02    NULL    TCP://NIS-SQL02.NISCLOUD.local:5022    1    SYNCHRONOUS_COMMIT  
 0    AUTOMATIC    10    2    ALL    1    READ_ONLY    NULL    NULL    50    tcp://NIS-SQL02.NISCLOUD.local:1433
SELECT * FROM sys.availability_read_only_routing_lists
71284784-C2F6-4693-902A-8FD2108AAC96    1    1309D653-0B34-4D61-9894-4A3C6061359D
1309D653-0B34-4D61-9894-4A3C6061359D    1    71284784-C2F6-4693-902A-8FD2108AAC96
I can connect directly from one of the NIS-SQL servers to both of the read_only_routing_urls.
Made sure the Firewall settings allow for incomming connections on the specified ports.
I feel like i have tried almost everything that I could find through google, run through the MS Knowledge base step by step trying to find what might be wrong without any issues to the setup.
So hope that there might be some here who could shine some light or give som ideas on what I might be missing.
Regards,
Mike

Hi,
I suspect you have read this article:
Use ReadIntent Routing with Azure AlwaysOn Availability Group Listener           
http://blogs.msdn.com/b/alwaysonpro/archive/2014/03/31/use-readintent-routing-with-azure-alwayson-availability-group-listener.aspx
Meanwhile, read-only clients must direct their connection requests to this listener, and the client's connection strings must specify the application intent as “read-only”. Make sure that you also specified the Application Intent=Read-only parameter in the
connection string.
Thanks.
Tracy Cai
TechNet Community Support

Similar Messages

  • Unable to connect to essbase server with Smart View

    Hi,
    I'm having trobules connecting Smart View in order to make some adhoc analysis, however I could perfectly establish connection with Planning and navigate through web forms in excel.
    The address I'm using to connect to Essbase is: http://<server>:19000/aps/SmartView and the planning url is http://<server>:19000/HyperionPlanning/SmartView
    I've been already using those urls in other server with version 11.1.2 but now that I'm trying to connect to a server with v11.1.1.3 I just can't. Whenever I connect to Planning in order to see the forms a prompt appears with the message saying that "I'm connecting to a server with an older version" but I could perfectly work with the forms. When I connect to essbase, I can see the Applications but I just can't make any adhoc analysis.
    Could anyone have any idea of what could be happening?
    Thanks in advance
    Edited by: user9143843 on Jan 13, 2011 4:58 AM

    Thanks for your response, I've already checked that port and keep getting the same message "Common Provider null datasource error". I can see the applications but can't get any further than that, no analysis adhoc, no smart slice, only disconnect :(

  • TS3960 Unable to connect to Lion Server with Server App or Server Admin

    I'm running 10.7.4 on my Mac Mini and my iMac.  I administer my Mac Mini server from my iMac.  I am unable to connect using fully qualified domain name. Even after checking the items in this article. 
    I am able to connect if I use the internal network ip address or the servername.local name.
    Has anyone had this problem and what was done to fix it.  Thanks

    The certificate verification warning isn't supposed to come up if:
    - you connect through to a connection that isn't supposed to be encrypted, or
    - you have a valid certificate set up that has been issued by an official certificate authority.
    I have noticed that when I try to connect using the internal ip address I don't  see the certificate verification warning come up.
    Could I have a bad certificate that is not popping up for verification?
    Since you are administering the server from the same subnet behind a firewall, I guess there's no need for an encrypted connection
    Did you enter your server's IP as an additional DNS server in your client's network preferences?

  • Unable to connect to the server with smb protocol

    I have recently upgraded to Lion. On Snow Leopard I was able to access my work server using SMB protocol. Since the upgrade I am not able to do that and not able to login to my personal folder located on the network server.
    Any help is much appreciated
    Thanks

    Hi Sir,
    >>The week before it work perfectly and we have had nothing changed since then except for the fact that we have changed the RD web access public IP to the same as the RD Gateway's
    Is it possible to change the public IP back for troubleshooting ?
    Beset Regards,
    Elton Ji
    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] .

  • "Unable to connect to secure server." Why?

    Safari previously operating OK under OS 10.3.9 suddenly starts reporting "Unable to connect to secure server" with a number of (maybe all?) <https://> sites. Explorer doesn't exhibit this problem. Removing Safari .plist, clearing caches, and removing ~/Library/Safari folder do not help.
    Any ideas on what to try next?
    Thanks,
    Steve.

    I am running OS X 10.3.9 as well. I normally use Firefox as my browser, it runs fine. However all my software updates use Safari as their browser, so I have stopped getting all security updates. Also, I've been unable to access the iTunes Music Store, and Photoshop Elements hasn't worked in a while (I assume they use Safari to connect to the internet).
    Does anyone know of a fix. Or how do I simply get Software Updates, iTunes, and Photoshop to start connecting through Firefox?
    Can anyone help? Thanks.
    Dual 1.25 GHz Power PC G4   Mac OS X (10.3.9)  

  • There is a problem with the server's security certificate. The security certificate is not from a trusted certifying authority. SAP Business One is unable to connect to the server

    Hello,
    I have an issue with connecting client SB1H on Windows, the scenario is as follows:
    1.- Server:
         Suse Linux Enterprise Server 11.3 kernel version: 3.0.76-0.11 IBM
         NDB and Server are review 69 SP06
    2.- Client:
         Windows 8 Pro Virtual Machine on Microsoft Hyper-V
         SB1H PL 11 version 32bits    
         SAP HANA Studio version 1.0.60
    When I run SB1H the following message appears:
    There is a problem with the server's security certificate. The security certificate is not from a trusted certifying authority. SAP Business One is unable to connect to the server.
    Any idea what could be the solution?

    Hi,
    Please check SAP notes:
       1993392 - Server components setup wizard: New default values for certificates and single sign-on option
    1929288 - Do not configure SSL for XApp during installation or upgrade if XApp is installed on a different machine than the SAP HANA server
    Thanks & Regards,
    Nagarajan

  • Downloaded Reader XI and started to recieve error 40000015, found the fourm with the patch to the registery fix, now it tells me unable to connect to the server. To many bugs with the reader, how do reinstall an older version?

    downloaded Reader XI and started to recieve error 40000015, found the fourm with the patch to the registery fix, now it tells me unable to connect to the server. To many bugs with the reader, how do reinstall an older version?
    I click on the launcher and nothing happens, 15 min later it will tell cant connect to the server.
    My computer is a windows 8.1; 64 bit operating system. I am stationed in South Korea, but that should not affect the program. Help please.
    John

    Hi johnd83157268,
    Sorry for the inconvenience that has caused to you.
    Could you please let me know what changes have you made in the registry.
    You might need to uninstall Adobe Reader from Control Panel and try install it again from the following link:
    Adobe Reader Install for all versions
    Please ensure that you are logged in as administrator and anti-virus is disabled as that might interrupt installation.
    Try again and then let me know.
    Regards,
    Anubha

  • Unable to Connect to the Server and WLI Domain problem

    Hi All
    this is the details
    I have installed installed WIntegration Server and using
    quickstart click the Take to Platform tour I started all the servers
    Note-- I have not installed separate weblogic server 7.0 and not started.
    whenever I click started WebLogic Integration Studio and it shows
    user --admin
    password- security
    url--t3://localhost:7001
    once submit it shows always Unable to connect to the server
    please help me ???????????????????????????????????????????/
    Server is running fine I used quickstart--- Take the live platform tour to run
    the below servers.
    C:\bea\weblogic700\samples\platform\e2eDomain>"C:\bea\jdk131_08\bin\java" -hotsp
    ot -Xms256m -Xmx256m -XX:MaxPermSize=256m -Xverify:none -Dcommerce.properties="
    C:\bea\weblogic700\portal\weblogiccommerce.properties" -Dweblogic.jws.Production
    Mode="false" -Dweblogic.servlet.ClasspathServlet.disableStrictCheck="true" -De2e
    Sample.b2b.path.data=".\beaApps\e2eApp\data" -Dweblogic.Name=e2eServer -Dbea.hom
    e="C:\bea" -Dweblogic.management.username= -Dweblogic.management.password= -Dweb
    logic.ProductionModeEnabled=true -Dweblogic.management.discover=false -Djava.sec
    urity.policy=="C:\bea\weblogic700\server\lib\weblogic.policy" weblogic.Server
    Starting WebLogic Server...
    <Aug 5, 2003 1:22:23 PM EDT> <Notice> <Management> <140005> <Loading configurati
    on C:\bea\weblogic700\samples\platform\e2eDomain\.\config.xml>
    <Aug 5, 2003 1:22:37 PM EDT> <Notice> <Security> <090093> <No configuration data
    was found on server e2eServer for realm CompatibilityRealm.>
    <Aug 5, 2003 1:22:37 PM EDT> <Notice> <Security> <090082> <Security initializing
    using realm CompatibilityRealm.>
    <Aug 5, 2003 1:22:38 PM EDT> <Notice> <WebLogicServer> <000327> <Starting WebLog
    ic Admin Server "e2eServer" for domain "e2eDomain">
    <Aug 5, 2003 1:24:23 PM EDT> <Notice> <B2BIntegration> <000000> <INFO: WebLogic
    Integration - B2Bi Server started successfully.>
    INFO: WebLogic Integration - B2Bi Server started successfully.
    <Aug 5, 2003 1:24:31 PM EDT> <Notice> <AI> <000000> <Started WebLogic Integratio
    n - AI Server version 7.0.4.0>
    <Aug 5, 2003 1:24:35 PM EDT> <Notice> <BPM> <000000> <Started WebLogic Integrati
    on - BPM Server version 7.0.4.0>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    After the server has booted, your browser should
    automatically launch and point to the WebLogic Server
    Index running on this server. If your browser
    fails to launch, point your browser to the URL
    "http://Inforicadb:7501/index.jsp
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    =============== Initializing Logger ======================
    <Aug 5, 2003 1:24:36 PM EDT> <Notice> <Management> <141053> <Application Poller
    not started for production server.>
    <Aug 5, 2003 1:24:46 PM EDT> <Notice> <WebLogicServer> <000354> <Thread "SSLList
    enThread.Default" listening on port 7502>
    <Aug 5, 2003 1:24:46 PM EDT> <Notice> <WebLogicServer> <000354> <Thread "ListenT
    hread.Default" listening on port 7501>
    <Aug 5, 2003 1:24:47 PM EDT> <Notice> <WebLogicServer> <000329> <Started WebLogi
    c Admin Server "e2eServer" for domain "e2eDomain" running in Production Mode>
    <Aug 5, 2003 1:24:48 PM EDT> <Notice> <WebLogicServer> <000365> <Server state
    ch
    anged to RUNNING>
    <Aug 5, 2003 1:24:48 PM EDT> <Notice> <WebLogicServer> <000360> <Server started
    in RUNNING mode>
    please help me, urgent
    Thanks in advance
    Domain problem---------------------------------------------
    I created WLI domain like this is it correct ?
    Next I used Quick start's --Configure New Server
    then single server option radio selected
    then
    single server name--myserver
    server listner address---????????? please tell me
    server listening port 7001
    ssl listnening port 7002
    username bala
    password subramaniam
    verify password subramaniam
    c:\bea\user_projects\CIBC
    configure database mail--
    email address- [email protected]
    email host: what need to give ??????? please tell me----
    after I created domain called CBC it is in the
    c:\bea\user_projects\CBC
    then I saw it consists
    1)wlai folder
    2)dbinfo
    3)application
    4)keys
    5)scripts
    setdatabase.cmd
    startweblogic.cmd
    startmanagedweblogic.cmd
    setwlidomaindata.cmd
    wliconfig.cmd
    checkdomain.cmd
    Wliconfig.jar
    startweblogic.cmd
    stopweblogic.cmd
    I try to startweblogic.cmd it open and closed no action
    please tell me what is the problem????????????
    with regards
    bala

        Oh boy! Let me see what's going on. Are you using the VZW Cloud or the BUA app? Please try downloading the VZW Cloud app if you dont already have it. And once downloaded. Tap the 3 bars in the upper corner and go down to "TOOLS", then tap "RESTORE CONTENT". That should do it!
    VanetrisC_VZW 
    Follow us on Twitter @VZWSupport

  • While Configuring Siebel Server we are getting "Unable to Connect to Gateway server" error in siebel 8.2.2.14

    Hi
    While Configuring Siebel Server we are getting "Unable to Connect to Gateway server" error in siebel 8.2.2.14
    Our OS is windows 2008 R2 64 bit,Orcale client is 11g 32 bit and Oracle DB is in 11g.We are also able to connect to DB using ODBCSQL.
    Please help.
    Regards
    Shuvendu

    Hello Shuvendu,
    Thanks for using Oracle Communities.
    About your error, there could be many reasons, To start with, please have following knowledge article to know possible reasons.
    C028: "Unable to Connect to the Siebel Gateway Name Server" Logged By Configuration Wizard (Doc ID 1391312.1)
    I hope it helps.
    Best Regards,
    Chetan
    P.S. If any one of the provided responses has been correct or helpful it would be great if you could mark them as appropriate.

  • Unable to connect to express server

    Hi,
    I am trying to connect Oracle Application Manager in Oracle sales analyser, but facing below error, please guide.
    unable to connect to express server on MDW for one of the following reason.
    the specified computer is unreachable or does not exist
    the express instance installed on the specified computer is not running
    the express instance identifier(UUID) specified is invalid.
    ------

    Hi,
    From note 243511.1 on metalink.
    Correct the "Port Number" in Application Manager-Database Setup. This
    value is the RoListenPortNumber setting in Express Instance Manager, Parameters-
    Identifiers-More.
    In thin client mode, the "Port Number" number is only available with
    the RPC Protocol: Remote Operations (ora_ro_tcp).
    Thanks
    Brijesh

  • Error calling report FRM-41213 unable to connect to Report Server

    Hi,
    I have installed Oracle Database 10g R2 and Oracle Developer 10gR2.
    I installed it in both Windows 2000 SP4 and Windows XP SP2.
    I would like to call a Report using a button inside Oracle Form.
    I create my own Report Server, using : rwserver server=repsrv
    A Java-based window appear OracleAS Reports Sevice, and showed that repsrv is ready.
    In Form (inside a button -> WHEN-BUTTON-PRESSED) :
    1. Using RUN_REPORT_OBJECT()
       rep_id := find_report_object('REPORT10');
         if not id_null(rep_id) then
           v_rep := run_report_object(rep_id);
         else
              message('Null');
       end if;
       a. If I did not specify the name of the Report Server in Reports node of Form's property object
    (I leave it blank)
    The following error appear :
    FRM-41211: Integration error, SSL failure running another product
    b. If I specify the name of the Report Server : repsrv
    The following error appear :
    FRM-41213: Unable to connect to Reports Server repsrv
    2. Using WEB.SHOW_DOCUMENT()
    a. If did not I specify the server name in the parameter
    WEB.SHOW_DOCUMENT('http://localhost:8889/reports/rwservlet/getjobid'|| SUBSTR(v_rep,INSTR(v_rep,'_',-1)+1)||'?'||,'_blank');Another web browser appear and the following error appear :
    REP-51002: Bind to Reports Server rep_<computer_name> failed
    b. If I specify the server name in the parameter --> server='repsrv'
    WEB.SHOW_DOCUMENT('http://localhost:8889/reports/rwservlet/getjobid'|| SUBSTR(v_rep,INSTR(v_rep,'_',-1)+1)||'?'||'server=repsrv','_blank');Another web browser appear and the following error appear :
    REP-51002: Bind to Reports Server repsrv failed
    In Report :
    If I try to navigate manually to :
    1. http://localhost:8889/reports/rwservlet using web browser.
    It showed OracleAS Report Services - Servlet Command Help page.
    2. http://localhost:8889/reports/rwservlet?userid=scott/tiger@orcl&report=D:\PRACTICE\FORM\MODULE1.JSP&destype=cache&desformat=html
    The following error occured
    REP-51002: Bind to Reports Server rep_<computer_name> failed
    3. Finally,
    http://localhost:8889/reports/rwservlet?server=REPSRV&userid=scott/tiger@orcl&report=C:\PRACTICE\FORM\MODULE1.JSP&destype=cache&desformat=html
    The following error occured
    REP-51002: Bind to Reports Server repsrv failed
    4. Any attempt to different command (i.e showenv, showjobs, etc) seems failed
    If I did not specify the server then REP-51002: Bind to Reports Server rep_<computer_name> failed
    If I specify the server - 'repsrv' then REP-51002: Bind to Reports Server repsrv failed
    5. I have tried to use rwrun in command line.
    rwrun report="D:\My Documents\form\module1.jsp" userid=scott/tiger@orcl destype=file desformat=pdf desname="D:\My Documents\form\module2.pdf"
    The PDF file created and it looks exactly as the web layout as in Oracle Report Builder (Run Web Layout CTRL-R)
    Question :
    1. What supposed to be done?
    The Report server is ready, but the web browser seems unable to connect to Report Server.
    2. Can we used or call or executed an executable command line from Form (using PL/SQL inside button)?
    Any help would be grateful.
    Many thanks,
    Buntoro

    Hi,
    Problem solved.
    I got the solution from another post.
    Re: REP-51002: Bind to Reports Server rep failed
    Here are the step I did.
    Note : Please make backup for the following file : rwnetwork.conf
    - In file rwnetwork.conf, remove or commented the following
    <multicast channel="228.5.6.7" port="14021" timeout="1000" retry="3"/>
    - And then uncommented
    <namingService name="Cos" host="%NAMING_HOST%" port="%NAMING_PORT%"/>
    - replace the
    %NAMING_HOST% with your computer name or specify an IP address
    %NAMING_PORT% with 14021
    It should look like this :
    <namingService name="Cos" host="blahblah" port="14021"/>
    - I did not change the : name="Cos", since I do not understand what does it for
    - Save you changes.
    - Start the OC4J.
    - Find the location of : namingservice.bat (on Windows platform)
    - execute in the command line : namingservice.bat 14021
    - finally start the report in the web browser
    Note:
    To shutdown the namingservice, use : namingservice.bat 14021 shutdown
    Regards.
    Buntoro

  • [Solved] Samba log spam: Unable to connect to CUPS server

    Hi everyone,
    I'm running into an annoying issue with samba. I don't have any printers installed, and probably won't. However smbd complains to no end in /var/log/errors.log about not being able to connect to a cups server:
    Apr 18 12:30:05 asakura nmbd[4361]: *****
    Apr 18 12:30:05 asakura nmbd[4361]:
    Apr 18 12:30:05 asakura nmbd[4361]: Samba name server ASAKURA is now a local master browser for workgroup MYGROUP on subnet 192.168.1.121
    Apr 18 12:30:05 asakura nmbd[4361]:
    Apr 18 12:30:05 asakura nmbd[4361]: *****
    Apr 18 12:32:22 asakura smbd[4552]: [2009/04/18 12:32:22, 0] printing/print_cups.c:cups_connect(103)
    Apr 18 12:32:22 asakura smbd[4552]: Unable to connect to CUPS server localhost:631 - Connection refused
    Apr 18 12:32:22 asakura smbd[4553]: [2009/04/18 12:32:22, 0] printing/print_cups.c:cups_connect(103)
    Apr 18 12:32:22 asakura smbd[4553]: Unable to connect to CUPS server localhost:631 - Connection refused
    Those last two lines get spammed constantly.
    I've done a little bit of research into the matter, and followed the steps here to try to resolve the problem: http://www.davekb.com/browse_computer_t … server:txt
    Unfortunately it doesn't appear to make any difference.
    Here is my /etc/samba/smb.conf:
    # This is the main Samba configuration file. You should read the
    # smb.conf(5) manual page in order to understand the options listed
    # here. Samba has a huge number of configurable options (perhaps too
    # many!) most of which are not shown in this example
    # For a step to step guide on installing, configuring and using samba,
    # read the Samba-HOWTO-Collection. This may be obtained from:
    # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
    # Many working examples of smb.conf files can be found in the
    # Samba-Guide which is generated daily and can be downloaded from:
    # http://www.samba.org/samba/docs/Samba-Guide.pdf
    # Any line which starts with a ; (semi-colon) or a # (hash)
    # is a comment and is ignored. In this example we will use a #
    # for commentry and a ; for parts of the config file that you
    # may wish to enable
    # NOTE: Whenever you modify this file you should run the command "testparm"
    # to check that you have not made any basic syntactic errors.
    #======================= Global Settings =====================================
    [global]
    # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
    workgroup = MYGROUP
    # server string is the equivalent of the NT Description field
    server string = Samba Server
    # Security mode. Defines in which mode Samba will operate. Possible
    # values are share, user, server, domain and ads. Most people will want
    # user level security. See the Samba-HOWTO-Collection for details.
    security = user
    # This option is important for security. It allows you to restrict
    # connections to machines which are on your local network. The
    # following example restricts access to two C class networks and
    # the "loopback" interface. For more examples of the syntax see
    # the smb.conf man page
    ; hosts allow = 192.168.1. 192.168.2. 127.
    # If you want to automatically load your printer list rather
    # than setting them up individually then you'll need this
    load printers = no
    # you may wish to override the location of the printcap file
    ; printcap name = /etc/printcap
    # on SystemV system setting printcap name to lpstat should allow
    # you to automatically obtain a printer list from the SystemV spool
    # system
    ; printcap name = lpstat
    # It should not be necessary to specify the print system type unless
    # it is non-standard. Currently supported print systems include:
    # bsd, cups, sysv, plp, lprng, aix, hpux, qnx
    ; printing = cups
    # Uncomment this if you want a guest account, you must add this to /etc/passwd
    # otherwise the user "nobody" is used
    ; guest account = pcguest
    # this tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/log/samba/%m.log
    # Put a capping on the size of the log files (in Kb).
    max log size = 50
    # Use password server option only with security = server
    # The argument list may include:
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    # or to auto-locate the domain controller/s
    # password server = *
    ; password server = <NT-Server-Name>
    # Use the realm option only with security = ads
    # Specifies the Active Directory realm the host is part of
    ; realm = MY_REALM
    # Backend to store user information in. New installations should
    # use either tdbsam or ldapsam. smbpasswd is available for backwards
    # compatibility. tdbsam requires no further configuration.
    ; passdb backend = tdbsam
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting.
    # Note: Consider carefully the location in the configuration file of
    # this line. The included file is read at that point.
    ; include = /usr/local/samba/lib/smb.conf.%m
    # Configure Samba to use multiple interfaces
    # If you have multiple network interfaces then you must list them
    # here. See the man page for details.
    ; interfaces = 192.168.12.2/24 192.168.13.2/24
    # Browser Control Options:
    # set local master to no if you don't want Samba to become a master
    # browser on your network. Otherwise the normal election rules apply
    ; local master = no
    # OS Level determines the precedence of this server in master browser
    # elections. The default value should be reasonable
    ; os level = 33
    # Domain Master specifies Samba to be the Domain Master Browser. This
    # allows Samba to collate browse lists between subnets. Don't use this
    # if you already have a Windows NT domain controller doing this job
    ; domain master = yes
    # Preferred Master causes Samba to force a local browser election on startup
    # and gives it a slightly higher chance of winning the election
    ; preferred master = yes
    # Enable this if you want Samba to be a domain logon server for
    # Windows95 workstations.
    ; domain logons = yes
    # if you enable domain logons then you may want a per-machine or
    # per user logon script
    # run a specific logon batch file per workstation (machine)
    ; logon script = %m.bat
    # run a specific logon batch file per username
    ; logon script = %U.bat
    # Where to store roving profiles (only for Win95 and WinNT)
    # %L substitutes for this servers netbios name, %U is username
    # You must uncomment the [Profiles] share below
    ; logon path = \\%L\Profiles\%U
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
    ; wins support = yes
    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z
    # WINS Proxy - Tells Samba to answer name resolution queries on
    # behalf of a non WINS capable client, for this to work there must be
    # at least one WINS Server on the network. The default is NO.
    ; wins proxy = yes
    # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
    # via DNS nslookups. The default is NO.
    dns proxy = no
    # These scripts are used on a domain controller or stand-alone
    # machine to add or delete corresponding unix accounts
    ; add user script = /usr/sbin/useradd %u
    ; add group script = /usr/sbin/groupadd %g
    ; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
    ; delete user script = /usr/sbin/userdel %u
    ; delete user from group script = /usr/sbin/deluser %u %g
    ; delete group script = /usr/sbin/groupdel %g
    #============================ Share Definitions ==============================
    ; [homes]
    ; comment = Home Directories
    ; browseable = no
    ; writable = yes
    # Un-comment the following and create the netlogon directory for Domain Logons
    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /usr/local/samba/lib/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no
    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user's home directory
    ;[Profiles]
    ; path = /usr/local/samba/profiles
    ; browseable = no
    ; guest ok = yes
    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    ; [printers]
    ; comment = All Printers
    ; path = /var/spool/samba
    ; browseable = no
    # Set public = yes to allow user 'guest account' to print
    ; guest ok = no
    ; writable = no
    ; printable = yes
    # This one is useful for people to share files
    ;[tmp]
    ; comment = Temporary file space
    ; path = /tmp
    ; read only = no
    ; public = yes
    # A publicly accessible directory, but read only, except for people in
    # the "staff" group
    ;[public]
    ; comment = Public Stuff
    ; path = /home/samba
    ; public = yes
    ; writable = yes
    ; printable = no
    ; write list = @staff
    # Other examples.
    # A private printer, usable only by fred. Spool data will be placed in fred's
    # home directory. Note that fred must have write access to the spool directory,
    # wherever it is.
    ;[fredsprn]
    ; comment = Fred's Printer
    ; valid users = fred
    ; path = /homes/fred
    ; printer = freds_printer
    ; public = no
    ; writable = no
    ; printable = yes
    # A private directory, usable only by fred. Note that fred requires write
    # access to the directory.
    ;[fredsdir]
    ; comment = Fred's Service
    ; path = /usr/somewhere/private
    ; valid users = fred
    ; public = no
    ; writable = yes
    ; printable = no
    # a service which has a different directory for each machine that connects
    # this allows you to tailor configurations to incoming machines. You could
    # also use the %U option to tailor it by user name.
    # The %m gets replaced with the machine name that is connecting.
    ;[pchome]
    ; comment = PC Directories
    ; path = /usr/pc/%m
    ; public = no
    ; writable = yes
    # A publicly accessible directory, read/write to all users. Note that all files
    # created in the directory by users will be owned by the default user, so
    # any user with access can delete any other user's files. Obviously this
    # directory must be writable by the default user. Another user could of course
    # be specified, in which case all files would be owned by that user instead.
    ;[public]
    ; path = /usr/somewhere/else/public
    ; public = yes
    ; only guest = yes
    ; writable = yes
    ; printable = no
    # The following two entries demonstrate how to share a directory so that two
    # users can place files there that will be owned by the specific users. In this
    # setup, the directory should be writable by both users and should have the
    # sticky bit set on it to prevent abuse. Obviously this could be extended to
    # as many users as required.
    ;[myshare]
    ; comment = Mary's and Fred's stuff
    ; path = /usr/somewhere/shared
    ; valid users = mary fred
    ; public = no
    ; writable = yes
    ; printable = no
    ; create mask = 0765
    [shared]
    path = /media/shared
    valid users = foosoft
    public = no
    writable = yes
    [tomato]
    path = /media/data1/tomato
    valid users = foosoft
    public = no
    writable = yes
    show add printer wizard = no
    printing = none
    printcap name = /dev/null
    disable spoolss = yes
    I'm totally out of ideas here, anyone have a tip on what I could try next?
    Last edited by FooSoft (2009-04-18 19:52:28)

    glad you posted it first i had the same problem.
    However, samba was complaining that
    printing = none
    was invalid. I removed that line and it works great.
    thanks
    Last edited by lio (2009-10-16 00:20:14)

  • I am wanting to update iphone to 4.3.3, however I am connected to the internet, yet itunes is telling me it is unable to connect to update server because i am not connected to the internet... please help

    I am wanting to update iphone to 4.3.3 software. however itunes is telling me it is unable to connect to update server as i am not connect to the internet. yet i clearly am connected... Please help

    Looks like I've asked a really old/common question - toonz posted the answer - I've copied it below.  Thanks toonz, everything now ok.
    Correct AnswerRe: Updating to 1.1.3                                                                        02-Feb-2008 23:19                                                    (in response to alibeau)                                       
                            You can fix this by following the steps in this article:
    http://docs.info.apple.com/article.html?artnum=304468                                                                   
                 Liked         (1)     

  • Unable to connect to SQL Server 2008 from OBIEE 11G(on 64 bit Linux box)

    We are unable to connect to connect to SQL Server 2008 from OBIEE 11G which is on 64 bit Red Hat Enterprise Linux.
    Infrastructure: OBIEE 11.1.1.5 64bit, on 64 bit Red Hat Linux Enterprise Linux 5.6 , MS SQL Server 2008 on 64 bit Microsoft Windows Server
    Issue Description: Unable to connect to SQL Server 2008 from OBIEE11G RPD
    Details: We are unable to connect to SQL Server 2008 from OBIEE which is on a 64 bit Linux box. We created the ODBC connection on Linux box to the SQL server. Whenever we try to import metadata it throws an error that says ‘Connection Failed’.
    Here are the steps we followed to setup the ODBC connection on Linux box.
    1) We updated the user.sh file with the LD_LIBRARY_PATH and LD_LIBRARY_PATH_64 values that point to $ORACLE_HOME/bifoundation/odbc/lib
    This is where we found the driver for SQL server SEmsss23.so.
    2) We updated the odbc.ini file with the entry for SQL server with the connection details
    SI_SQL_Server_DEV = SQL Server
    [SI_SQL_Server_DEV]
    Driver=/u001_OAS/Oracle/Middleware/Oracle_BI1/bifoundation/odbc/lib/SEmsss23.so
    Description=DataDirect 5.1 SQL Server Wire Protocol
    Address=10.230.216.52,54970
    AlternateServers=
    AnsiNPW=Yes
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    Database=SVBDW_NEW
    LoadBalancing=0
    LogonID=SIDatavalidation
    Password=~~~Password123
    QuoteID=No
    ReportCodePageConversionErrors=0
    3) We updated the IDENTIFIER_QUOTE_CHAR with single quotes instead of double quotes in the DB features of the RPD
    4) We updated the bash_profile file to point the ODBCINI variable to the path where the OBIEE odbc.ini file is present.
    Export ODBCINI=/u001_OAS/Oracle/Middleware/instances/instance1/bifoundation/OracleBIApplication/coreapplication/setup/odbc.ini
    The error in nqsserver.log file says “[nQSError: 16001] ODBC error state: IM002 code: 0 message: [DataDirect][ODBC lib] Data source name not found and no default driver specified.”

    Hi,
    Make sure SQL Configuration Manager make sure the TCP/IP enabled. please try below method
    Method 1
    Re Create a new ODBC & Oracle Bi Server DSN Configuration test it and use it in the connection pools.
    define your ODBC data source in your server where the BI Server is installed. Check your DB connections in your physical layer and make they are defined on your BI Server as well.
    Method 2:
    try using the complete TNS in below format in the datasource name section:
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST =DB IP)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = ORCL) ) and provide the credentials.
    Method 3:
    To use the OCI call interface you need to have oracle client DB to be installed so that you can establish a connection using that DB credentials and connect to the remote dB and then import the tables.....this is the rule of thumb.
    hope helps you.
    Thanks
    Deva

  • [Forum FAQ] "Unable to connect to the server by using Windows PowerShell Remoting" error while installing RDS roles on Server 2012 R2

    When you try to install RDS role on server 2012 R2 using standard deployment, this issue may occur (Figure 1).
    “Unable to connect to the server by using Windows PowerShell remoting”.
    Figure 1: Unable to connect to the server by using Windows PowerShell remoting
    First of all, we need to verify the configurations as it suggested:
    1. The server must be available by using Windows PowerShell remotely.
    2. The server must be joined to a domain.
    3. The server must be running at least Windows Server 2012 R2.
    4. The currently logged on user must be a member of the local Administrators group on the server.
    5. Remote Desktop Services connections must be enabled by using Group Policy.
    In addition, we need to check if the “Windows Remote Management “service is running and related firewall exceptions have been created for WinRM listener.
    To enabling PowerShell remoting, we can run this PowerShell command as administrator (Figure 2).
    Enable-PSRemoting -Force
    Figure 2: Enable PowerShell Remoting
    However, if issue persists, we need to check whether it has enough memory to work.
    By default, remote shell allots only 150 MB of memory. If we have IIS or SharePoint App pool, 150 MB of memory is not sufficient to perform the remoting task. Therefore, we need to increase
    the memory via the PowerShell command below:
    Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 1000
    Then, you need to restart the server and the issue should be resolved.
    You can get more information regarding Remote Troubleshooting by below link:
    about_Remote_Troubleshooting
    If you need further assistance, welcome to post your questions in the
    RDS forum.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    i found another possible reason, this solution worked for me:
    http://oyvindnilsen.com/solution-for-powershell-remoting-error-it-cannot-determine-the-content-type-of-the-http-response-from-the-destination-computer/
    I tried to set up powershell remoting on a server and kept getting this error:
    Enter-PSSession : Connecting to remote server failed with the following error message : The WinRM client cann
    ot process the request. It cannot determine the content type of the HTTP response from the destination comput
    er. The content type is absent or invalid. For more information, see the about_Remote_Troubleshooting Help to
    pic.
    After a bit of troubleshooting I discovered that the problem was that the authentication packets was to big (over 16k), this will cause WinRM to reject the request. The reason for authentication packets getting too big can be because the user is member of very
    many security groups or in my case because of the SidHistory attribute.
    The solution was to increase the MaxFieldLength and MaxRequestBytes keys in the registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP\Parameters
    If the keys does not exists you can create them, be sure to use the DWORD type.
    I sat MaxFieldLength to DEC value 40000 and MaxRequestBytes to DEC value 32768 and rebooted the server. Problem solved.

Maybe you are looking for

  • Cannot create a Response File in Reader X from form created in Acrobat Pro 9

    I created a form in Adobe Acrobat Pro 9. I distributed the form using option "Manually collect responses in my email inbox" and "Save a local copy and manually send it later". When I send that form and get a response, I open it in Adobe Reader X but

  • Using index in ABAP

    hi, i've created a index key in BKPF for performance purpose, but i don't know how to call the index key in ABAP open SQL, Thanks.

  • Which Logitech webcam is better - C910 or Quickcam Vision Pro for Mac?

    The C910 looks like the better cam on paper and I read that Logitech just released full drivers for Mac, but others say the Quickcam is the best one for Mac users.  I am running 10.5 on my MacBook and 10.6 on my i5 iMac, and would like to be able to

  • Final Cut Pro error message

    I am getting an error message when trying to render that reads File Error: Access Denied. This just started, previoiusly had no problems. Any ideas? I made no changes to settings, just opened a new project.

  • Pictures of weathered grave markers

    have pics of weathered grave stones, new to photoshop, can photoshop be used to enhance these pictures to possibly read the markers ??