Location: PHPKode > scripts > LDAP 2 LDIF > ldap-2-ldif/www/export.html
<html>
	<head>
		<title>LDAP to LDIF Exporter</title>
		<style>
			body,td,input,caption{
				font-family:sans-serif;
				font-size:small;
			}
		</style>
	</head>
	<body>
		<form name="exportform" action="export.php" method="post">
		<table width="70%" align="center" style="border:solid thin #666">
			<caption><b>ldap2ldif class usage</b></caption>
			<tr>
				<td width="30%">LDAP Server:</td>
				<td width="70%">
					<input type="text" name="servername" value="localhost" size="50">
					<input type="text" name="port" value="389" size="3">
				</td>
			</tr>
			<tr>
				<td width="30%">LDAP BindDN:</td>
				<td width="70%">
					<input type="text" name="username" value="cn=Manager,dc=monster,dc=vodoo,dc=com" size="50">
				</td>
			</tr>
			<tr>
				<td width="30%">LDAP User Password:</td>
				<td width="70%"><input type="password" name="password" value="secret" size="50"></td>
			</tr>
			<tr>
				<td width="30%">Base DN:</td>
				<td width="70%"><input type="text" name="basedn" value="dc=monster,dc=vodoo,dc=com" size="40"></td>
			</tr>
			<tr>
				<td width="30%">Search Filter:</td>
				<td width="70%"><input type="text" name="filter" value="(objectClass=*)" size="40"></td>
			</tr>
			<tr>
				<td width="30%">Save to file:</td>
				<td width="70%">
					<input type="checkbox" name="tofile" checked>
				</td>
			</tr>
			<tr>
				<td width="30%">&nbsp;</td>
				<td width="70%">
					<input type="submit" value="Export">
				</td>
			</tr>
		</table>
		</form>
	</body>
</html>
	
Return current item: LDAP 2 LDIF