Alpine: LDAP searches hang

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Alpine: LDAP searches hang
# 1  
Old 10-07-2009
Alpine: LDAP searches hang

I just configured my ldap server in Alpine, but every search hangs indefinitely (or so it seems) and I have to end up killing Alpine and starting back up. The LDAP server runs over SSL on port 636, so I have specified port 636, but there doesn't seem to be an SSL option available so I turned on "require-tls-on-connection".

I'm likely doing something wrong, I just don't know what. I've googled and come up with nothing.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Solaris

LDAP Client not connecting to LDAP server

I have very limited knowledge on LDAP configuration and have been trying fix one issue, but unsuccessful. The server, I am working on, is Solaris-10 zone. sudoers is configured on LDAP (its not on local server). I have access to login directly on server with root, but somehow sudo is not working... (9 Replies)
Discussion started by: solaris_1977
9 Replies

2. UNIX for Dummies Questions & Answers

How to see unread e-mails only in Alpine?

Does anyone have any idea how to see only unread (new) e-mails in the Alpine client when using IMAP? I finally have a fast IMAP client, but don't want to go over all the e-mails I've already read through other clients... Thanks in advance for any hints. ---------- Post updated at 01:21 PM... (0 Replies)
Discussion started by: JamesR404
0 Replies

3. UNIX for Dummies Questions & Answers

Pine, Alpine and ELinks

Hello. I'm running Mac OS X 10.5. I am completely new to UNIX and also to command line. I'm trying to setup an email client and a web browser. Google told me Pine was a good idea for email, so I got Pine. I thought it would be like other email clients, like Thunderbird, so that I can use IMAP... (1 Reply)
Discussion started by: saithesci
1 Replies

4. OS X (Apple)

Alpine 2 on Snow Leopard

I've just installed Alpine on Snow Leopard but can't seem to get a default spell checker configured for it. What happened to spell? I can't find it at all on 10.6, must have been some changes. Does anyone know about the default unix spell checker on SL? Thanks! (0 Replies)
Discussion started by: platz
0 Replies

5. Shell Programming and Scripting

Creating searches?

Hello. Could do with some help on where to get started really. If anyone could help me it would be greatly appreciated. I have been working on this for a while now and I don't really know where to start but I am looking into creating a script that will process website hit files and output... (2 Replies)
Discussion started by: amatuer_lee_3
2 Replies

6. UNIX for Dummies Questions & Answers

Alpine configuration questions...

I have just started using Alpine, and have a couple of config questions for my ISP POP3 account. Under "User Domain" I have put my "ISP.ca". However when I send out email, instead of showing my email address, it shows my "OSXUserAccount_nameISP.ca". No where in my settings do I see my User Account... (1 Reply)
Discussion started by: larrinski
1 Replies
Login or Register to Ask a Question
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)