How to backup LDAP without SSH account - ssh

Hope someone might be able to help. We have a TurnKey VM running OpenLDAP however cannot SSH to the server and can only access LDAP. That's it.
https://www.turnkeylinux.org/openldap
Is there anyway to get the LDAP database without SSH access?
Otherwise, we have console access, however this is limited. When we SSH in to the server, it just stalls and nothing happens.
Thanks

Related

VPN Connect to SSMS

Working on trying to connect to SSMS while at home and am greeted with error 18425. Not by choice but wanting to use windows authenticator to log in. I am able to log in while in the office no problem. However when I am home I cannot access the database. I have tried self diagnosing this looking at the DB permissions and going through online docs with no luck.
This server I am not the only user and has to stay online if possible.
I can RDC to the server itself so I can get to the server
Just SSMS doesn't want to let me authenticate
Any help is appreciated
Company domain/username shouloud log into DBname
In office works
Same way of logging in at home
Error 18425
VPN connection

I am unable to ping my Azure Sql database, its working fine from months

I have a Azure SQL database working perfectly from last 3 months, from last 3 days its not working, i am unable to ping Azure SQL Server, and on saving information i get error 'A Network related instance cannot be created'. I didn't even change the passwords or connection strings. System firewall is off.
I have already tried different ways such as password change, connection string regenerate but the problem still persists. If i am login on portal it says all perfect, IP added, no IP is blacklist.
Please try to connect using SQLCMD to verify it is or it is not a firewall issue. Error message will be more detailed.
SQLCMD –U<user>#<server> -P<password> -S<server>.database.windows.net
The ping command is supposed to give you a timeout because SQL Azure servers never respond to ping requests, but above the timeout replies it tells you the actual IP of your SQL Azure server. Use that IP to telnet your SQL Azure server. If ping command does not return an IP then there is a DNS resolution issue on your network.
C:\> ping <myserver>.database.windows.net
C:\> telnet 65.55.74.144 1433
If the telnet command is not successful then use the tracert utility to know intermediate steps taken while trying to reach the server.
Hope this helps.

How can I create/host SQL databases locally?

Can anyone explain to me, in the simplest possible terms, whether it is possible to create/edit and host a SQL database locally on my PC?
I've so far managed to run PHP locally using XAMPP, but have been at a loss as to how I could implement SQL locally too.
For example, can I download phpmyadmin directly to my PC and use it to implement database features on my website without having to be connected to the internet?
It's possible. And you don't need to download any other software.
Fire up XAMPP and start the Apache and MySQL servers then go to your browser and enter http://localhost/phpmyadmin.
Once your MySQL server is up, you can easily access it from applications running locally with the necessary configuration (i.e host, username, password, port etc).

Can't connect to Azure sql server or even ping

I can't connect to my Azure SQL Database that I have hosted on MS Azure.I have tried with Visual Studio and MSSM with no luck.
I can't seem to work out how I could possibly be going wrong. I allowed access to the server on all IPs.
I am using the correct login info.
I dont seem to be even able to ping the server, despite it showing no issues in the Azure interface.
The server is located at: kkbpeyaf0t.database.windows.net
I tried to connect to the URL you provided using SSMS and it gave me a login failed (which I expected), so that tells me that the database is running and that you did indeed open up the IP ranges to allow anything (which isn't a best practice, but I'm assuming you did this as part of your troubleshooting). IF the Azure SQL DB firewall was still in the way it would block immediately indicating so.
I would think that if you have the correct username and password combination it should connect. Make sure that your outbound port 1433 isn't being blocked by your own firewall (machine, work, ISP, etc.).
Azure SQL Database won't respond to pings.
Docs can be found on MSDN.

Ubuntu give server user access to Samba AD Shares

I have an Ubuntu 15.04 Server set up as a AD controller. The server also has shares for which I have assigned the proper permissions for our staff. My problem is that I need to backup the shares using rsync on the server but the server user (svradmin) (not being a part of the AD domain) does have SUDO rights but not access to the shares. How do I get around this? I am not sure how to give the server user access to backup the shares.
Needed to run rsync under sudo. Rookie mistake.