Jainal Martin wrote:
Tks rekan Ronny atas masukannya.

Boleh tahu nggak gimana cara mengcreate dua field utk
password, yg cleartext dan yg hash yang rekan Ronny
maksudkan.
atau ada how to nya nggak utk create filed tersebut.


Gunakan schema dari samba atau buat schema sendiri. Lalu tambahkan di freeraddius/etc/raddb/ldap.attrmap :

checkItem       LM-Password                     sambaLMPassword
checkItem       NT-Password                     sambaNTPassword
checkItem       Crypt-Password                  userPassword
..


etc/raddb/radius.conf
---
modules {
        pap {
                encryption_scheme = crypt
        }

        mschap {
                authtype = MS-CHAP
                use_mppe = yes
                require_strong = yes
                require_encryption = yes
                with_ntdomain_hack = no
        }

        ldap {
                identity = "cn=radius,ou=xxx,dc=xxx,dc=com"
                password = secret
                server = "127.0.0.1"
                basedn = "dc=xxx,dc=com"
filter = "(&(uid=%{Stripped-User-Name:-%{User-Name}})(objectClass=myUser))
                start_tls = no
                dictionary_mapping = ${raddbdir}/ldap.attrmap
                ldap_connections_number = 5
                timeout = 4
                timelimit = 3
                net_timeout = 1
}
....
authorize {
        preprocess
        ldap
        mschap
}

authenticate {
        Auth-Type MS-CHAP {
                mschap
        }
        Auth-Type PAP {
                pap
        }
        Auth-Type LDAP {
                ldap
        }
}



--

--beast


--
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip, FAQ, dan info milis di http://linux.or.id/milis
Tidak bisa posting? Baca:
http://linux.or.id/problemmilis
http://linux.or.id/tatatertibmilis

Kirim email ke