User Manager not working with PPTP Server

Hi,

I have setup PPTP Server on Mikrotik 3.9, and want to authenticate users with radius from User Manager.

I tired allot, however its not working, when i try to login with an accont created in Secrets Section, it works fine. However when i try to connect with an account created on User Manager, it gives me an error saying username / pssword invalid.

Both PPTP Server and User Manager are on same machine.

i am posting my server’s settings.

/ppp profile 
set default change-tcp-mss=yes comment="" local-address=10.10.10.1 \
    name="default" only-one=default remote-address=vpn use-compression=default \
    use-encryption=default use-vj-compression=default 
set default-encryption change-tcp-mss=yes comment="" dns-server=10.10.10.1 \
    incoming-filter="" local-address=10.10.10.1 name="default-encryption" \
    only-one=default use-compression=default use-encryption=yes \
    use-vj-compression=default 
/ppp aaa 
set accounting=yes interim-update=1m use-radius=yes 
/ppp secret 
add caller-id="" comment="" disabled=no limit-bytes-in=0 limit-bytes-out=0 \
    name="demo" password="demo" profile=default routes="" service=any



/radius 
add accounting-backup=yes accounting-port=1813 address=127.0.0.1 \
    authentication-port=1812 called-id="" comment="" disabled=no domain="" \
    realm="" secret="test" service=ppp timeout=300ms 
/radius incoming 
set accept=no port=1700



/tool user-manager customer 
add comment="" disabled=no login="admin" parent=admin password="" \
    paypal-accept-pending=no paypal-allowed=no paypal-secure-response=no \
    permissions=owner signup-allowed=no subscriber=admin time-zone=+00:00 
add comment="" disabled=no login="root" parent=root password="testing" \
    paypal-accept-pending=no paypal-allowed=no paypal-secure-response=no \
    permissions=owner signup-allowed=no subscriber=root time-zone=+00:00 

/tool user-manager router 
add comment="" disabled=no ip-address=127.0.0.1 \
    log=auth-ok,auth-fail,acct-ok,acct-fail name="CrystalNet" \
    shared-secret="test" subscriber=root 

/tool user-manager user 
add comment="" disabled=no ip-address=10.10.10.10 name="demo" password="demo" \
    rate-limit=" 512k/512k" subscriber=root 
add comment="" disabled=no name="mudasir" password="12345" pool-name="vpn" \
    rate-limit=" 512k/512k 0/0 0/0 0/0 1" subscriber=root

Above is my Server’s and User Manager’s Settings.

Please guide me how can i make it work smoothly.
Looking forward for some replies.

I suspect your error message was: Authentication Failed, RADIUS time-out

AFAIK you can’t specify the RADIUS server as 127.0.0.1.

Open the terminal window (from THAT router), type: “/users active print”. It will show all active users. Find the active user using TELNET and see what that address is. Then use that address under your RADIUS settings.

Let us know how it goes!G