Is it required to open LDAP port? - sql-server-2008

Is it required to open LDAP port. if active directory installed in that server.how LDAP communicate with access management with the help of LDAP.

Related

Why i can not connect to admin panel/client by domain?

I try install ejabberd on my server. Then i install it, i edit ejabberd.yml file. Add domain in hosts section. When I try to connect to the admin panel by domain, it just doesn’t connect. But if I connect by ip everything works. What should I do ? Where to look ?
it just doesn’t connect
Does ejabberd show the connection attempt in the ejabberd log file?
If yes: I guess the web browser also requests you an admin account and password. You will have to register a new account in ejabberd, grant it admin rights in the configuration file, and restart ejabberd.
If nothing shown in the log file, then maybe your web browser doesn't know how to connect to ejabberd. Maybe you need to setup DNS.

MySql Remote accessing in php

I want to connect mysql database remotely in detail i want to make application like this my database is only in hosted server and my php pages are always offline means in client pc. it is possible or not. if yes then how it possible. i am using godaddy hosting server.
Thanks
It is possible, but here are some limitations:
Client PC has an internet service (Static IP is preferred)
Remote access service is only available on paid hosting plans
Connection do not support secured connections (SSL)
Steps:
Log in to your Account Manager.
Click Web Hosting.
Next to the cPanel account you want to use, click Launch.
In the Databases section, click Remote MySQL.
In the Host field, enter the IP address (Your Client PC IP).
Click Add Host.
Reference:
Enabling Remote MySQL Management in cPanel
Why connect remotely to hosting databases?
Connecting Remotely to Shared Hosting Databases

Configuring Glassfish without admin console gui

I have installed Glassfish application server Openshift cloud servers. I can only use :8080 port because of Openshift restrictions. It won't let me run admin console on :4848 port and I will somehow configure datasource, file realm and security realm manually from configuration files.
a-) Is it possible to do configuration without the admin console?
b-) Can admin console run on :8080 port along with applications?
Note: It is not possible to allocate any port for admin console Openshift won't let me do it.
Thanks
a) You can configure Glassfish with the asadmin tool
b) You can change the port for the admin console in glassfish/domains/[yourdomain]/config/domain.xml: search for
<network-listener port="4848" protocol="admin-listener" transport="tcp" name="admin-listener" thread-pool="admin-thread-pool"></network-listener>
But I doubt it is possible to use port 8080 for admin gui AND other applications.

SQL Server NETWORK SERVICE account permissions

My SQL Server Windows service is set to use the NETWORK SERVICE account.
The server is installed to C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL.
However looking at the permissions on that folder, NETWORK SERVICE does not have any permissions. The groups which are allowed access to that folder are...
CREATOR OWNER - who is this?
SYSTEM - sounds fine - so that Windows can access the folder I presume?
SQLServerMSSQLUser$Computer_Name$MSSQLSERVER - this is the interesting one - what is this?
Administrators
Users
If NETWORK SERVICE is a user with minimal permissions on the system and looks to the O/S as someone connecting from a network how does it have permissions to access any files in the SQL Server install folder?
Thanks.
See Setting Up Windows Service Accounts in the SQL Server documentation:
SQL Server uses a security group to set resource ACLs rather than using the service account directly, so changing the service account can be done without having to repeat the resource ACL process. The security group can be a local security group, a domain security group or a service SID.
During SQL Server installation, SQL Server Setup creates a service group for each SQL Server component. These groups simplify granting the permissions that are required to run SQL Server services and other executables, and help secure SQL Server files.
Depending on the service configuration, the service account for a service or service SID is added as a member of the service group during install or upgrade.
That's what SQLServerMSSQLUser$Computer_Name$MSSQLSERVER is.
About NetworkService Account:
The NetworkService account is a predefined local account used by the service control manager.
...
A service that runs in the context of the NetworkService account presents the computer's credentials to remote servers.
NOT, as you put it:
looks to the O/S as someone connecting from a network

teamcity prompts for credentials on remote machines

I'm installing teamcity on a windows server 2008 box running iis7. I'm using the windows installer supplied by jetbrains. I've configured the servers to run under a domain account which has been given full control of the build & config directories. The services are configured to use unused ports (tomcat 14142 & build agent: 9090). whenever I connect to the tomcat instance from a machine other than the server I am prompted for credentials. None of the credentials I would expect work. How can I make this prompt for credentials go away?
This was resolved by changing the port number.