/* xlogin-auth_ldap.c
	
	xlogin pulls in one of the xlogin-auth_<mech>.c files and calls it xlogin-auth.c

	Authenticate a user using ldap server.
*/

#define AUTHNAME	"ldap\0"
#define _XOPEN_SOURCE           /* define before 1st #include */


#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h> 
#include "xlogin.h"



// See userrec structure in xlogin.c for field names.
// Caller expects valid values for newuid,newgid,homedir,authused


// To be written !!

int auth( struct userrec * userrecord )
{



}



