10 More Discussions You Might Find Interesting
1. Solaris
I have two T2000 servers connected to sun storage array StorEdge 3310 as follows:
CH0 connected to SNGL BUS CONF
CH1 connected to HOST1
CH2 open
CH3 connected to HOST2
DUAL BUS CONF open
I have created some luns which I can mount and use on HOST1 but from HOST2 I cant see them
... (3 Replies)
Discussion started by: aliyesami
3 Replies
2. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data: I am trying to make a script called showtime that displays the current time for a given city.
The problem is on... (6 Replies)
Discussion started by: kevin298
6 Replies
3. Shell Programming and Scripting
hello. this is the code
#!/bin/sh
total1024=0
total2048=0
total8192=0
if ; then
if ; then
while read variable
do
if ; then
total1024=$(( $total1024 + 1 ))
fi
if ; then
total2048=$((... (4 Replies)
Discussion started by: Telis
4 Replies
4. Shell Programming and Scripting
Hello
I have connected to a remote server via ssh but its not working now ,but the same method I applied in another server and its working fine now
Below are the logs
For Successfully connected server
debug1: Authentications that can continue:... (1 Reply)
Discussion started by: Pratik4891
1 Replies
5. Solaris
Greetings!
I do no like Exceed, but it all I have. First of all, I started my Solaris 10 with a bare minimum base install. I have built up from it with additions like sudo, gcc, and various other packages that I have needed. Now, I am trying to get Exceed to connect with the server and display a... (17 Replies)
Discussion started by: adelsin
17 Replies
6. UNIX for Dummies Questions & Answers
I am trying to connect a Solaris 10 PC to the internet via a Linksys router and a cable modem. I have tried following suggestions in one of the posts here for manual setup but so far no luck.
Does the Solaris 10 install for x86 automatically pick up the internet connection?
Dave :>) (4 Replies)
Discussion started by: dohling
4 Replies
7. HP-UX
1)MY HP-UX11iv2 machine is on a specific subnet as in rrr.rr.199.( its a rp3410 blade server).It has 2 hard disks one of them has HP-UX11iv2 and the other hard disk is not being used
2)ip of the hp-ux machine is rrr.rr.199.rrr
3)i need to access this hp-ux machine remotely from a windows machine... (3 Replies)
Discussion started by: rookie8278
3 Replies
8. Programming
hello everyone. I tried searching for something related to this, but I figured it was time to ask my own question. I am experiencing these problems using Ubuntu 7.04
I am starting up a TCP listener/server and once connected, will act as a communication/control link with a program on another... (3 Replies)
Discussion started by: pjwhite
3 Replies
9. Solaris
I have just installed Solaris 10 (x86) on my PC, which is connected to an ISP via a Netgear DG834G firewall/modem router. I can't find the network. My router has the IP address 192.168.0.1 and my ISP assigned IP address is 214.159.X.Y
I have edited various files based upon information I have... (7 Replies)
Discussion started by: christian_hicks
7 Replies
10. IP Networking
Ok, when our lan switched to DHCP, and my linux boxes dropped off the network, it is because the DNS wasn't set correctly. Got the DNS set now, and they are showing up in my Exceed XDMCP broadcast box however, i now have another problem. They access the internet. I don't want them to. HOw can I... (3 Replies)
Discussion started by: kymberm
3 Replies
LDAP_CONNECT(3) 1 LDAP_CONNECT(3)
ldap_connect - Connect to an LDAP server
SYNOPSIS
resource ldap_connect NULL ([string $hostname], [int $port = 389])
DESCRIPTION
Establishes a connection to a LDAP server on a specified $hostname and $port.
PARAMETERS
o $hostname
- If you are using OpenLDAP 2.x.x you can specify a URL instead of the hostname. To use LDAP with SSL, compile OpenLDAP 2.x.x with
SSL support, configure PHP with SSL, and set this parameter as ldaps://hostname/.
o $port
- The port to connect to. Not used when using URLs.
RETURN VALUES
Returns a positive LDAP link identifier on success, or FALSE on error. When OpenLDAP 2.x.x is used, ldap_connect(3) will always return a
resource as it does not actually connect but just initializes the connecting parameters. The actual connect happens with the next calls to
ldap_* funcs, usually with ldap_bind(3).
If no arguments are specified then the link identifier of the already opened link will be returned.
EXAMPLES
Example #1
Example of connecting to LDAP server.
<?php
// LDAP variables
$ldaphost = "ldap.example.com"; // your ldap servers
$ldapport = 389; // your ldap server's port number
// Connecting to LDAP
$ldapconn = ldap_connect($ldaphost, $ldapport)
or die("Could not connect to $ldaphost");
?>
Example #2
Example of connecting securely to LDAP server.
<?php
// make sure your host is the correct one
// that you issued your secure certificate to
$ldaphost = "ldaps://ldap.example.com/";
// Connecting to LDAP
$ldapconn = ldap_connect($ldaphost)
or die("Could not connect to {$ldaphost}");
?>
SEE ALSO
ldap_bind(3).
PHP Documentation Group LDAP_CONNECT(3)