I've figured out how to do it using this
https://forums.openvpn.net/topic8559.html however, I dont use certificates I use auth-user and my openvpnstatuslog shows undef for common name, and the CCD then doesent work and it doesent assign me in a different subnet.
Server.conf
local X.X.X.X
port 1194
proto udp
dev tap
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.8.1.0 255.255.255.0
push "redirect-gateway def1"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 8.8.8.8"
keepalive 5 30
comp-lzo
persist-key
persist-tun
status openvpnstatus.log
verb 3
client-config-dir /etc/openvpn/ccd
route 10.8.2.0 255.255.255.0
plugin /etc/openvpn/auth/openvpn-auth-pam.so /etc/pam.d/login
client-cert-not-required
Client.ovpn
client
dev tap
proto udp
remote X.X.X.X 1194
resolv-retry infinite
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ca ca.crt
auth-user-pass
comp-lzo
verb 3
openvpnstatus.log
OpenVPN CLIENT LIST
Updated,Thu Mar 1 14:43:19 2012
Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
UNDEF,X.X.X.X:18486,452399,4527134,Thu Mar 1 14:42:22 2012
ROUTING TABLE
Virtual Address,Common Name,Real Address,Last Ref
00:ff:c1:8b:4e:13,UNDEF,X.X.X.X:18486,Thu Mar 1 14:43:18 2012
GLOBAL STATS
Max bcast/mcast queue length,1
END
Common name shows as Undef and I believe CCD doesent work because of this.