Community discussions

MikroTik App
 
hemant
just joined
Topic Author
Posts: 8
Joined: Sun Dec 18, 2011 2:11 pm

User Manager 5.11 & RouterOS Login

Sun Dec 18, 2011 2:26 pm

Hello Guys,

I am new to this forum, Came here to find the solution a problem which is driving me nuts from past 3 days.
I have a RB1100 which is connected to RB433AH and my Laptop.
RB1100 ether1 -10.40.2.3/24 -----Laptop 10.40.2.4/24
RB1100 ether4- 10.40.2.1/24-----RB 433AH ether3 10.40.2.2/24
I have UserManager 5.11 installed in RB1100 ROS 5.11 and using the Login Authentication in RB433AH ROS 5.11,
I did in RB433AH #radius add service=login address=10.40.2.1 secret=123456, other setting(ports) remained default.
And also in the User AAA use radius and accouting & default Group is set to full.

In the usermanager i created a Customer first login=hemant password=password parent=admin permissions=full
then i added the RB433 Router Name=MikroTik(sys identity of RB433) Owner=hemant ip address=10.40.2.2 shared secret=123456 with all the logs
Then i created a User username=user password=pass owner=hemant

After all that i tried to connect to my RB433ah from RB1100 by telnet with user and pass created on UserManager,Cann't Log into It.
I checked the Radius Stact. in RB433AH it was sent=10 reject=10 some thing like that..

Can any one help me here...I want to Create the user on a Single RB with Usermanager and Then want to use these users to login to other RB's by the Radius there..
Please Any guidance here..??
 
User avatar
cybercoder
Member Candidate
Member Candidate
Posts: 175
Joined: Tue Dec 07, 2010 11:20 pm
Location: Guilan, Iran
Contact:

Re: User Manager 5.11 & RouterOS Login

Sun Dec 18, 2011 3:15 pm

I think you should assign a profile to user
check the Log of userman, it will be very helpful.
 
hemant
just joined
Topic Author
Posts: 8
Joined: Sun Dec 18, 2011 2:11 pm

Re: User Manager 5.11 & RouterOS Login

Sun Dec 18, 2011 3:25 pm

I think you should assign a profile to user
check the Log of userman, it will be very helpful.
Tried Assigning the profile to the user. was not working in this scenario also.
The log says authentication failure, user<user> not found in users.

Thanks
 
User avatar
cybercoder
Member Candidate
Member Candidate
Posts: 175
Joined: Tue Dec 07, 2010 11:20 pm
Location: Guilan, Iran
Contact:

Re: User Manager 5.11 & RouterOS Login

Sun Dec 18, 2011 3:30 pm

check is there a user with that username in USERS menu? :shock:

USERS and CUSTOMERS is diverse
 
hemant
just joined
Topic Author
Posts: 8
Joined: Sun Dec 18, 2011 2:11 pm

Re: User Manager 5.11 & RouterOS Login

Sun Dec 18, 2011 3:36 pm

check is there a user with that username in USERS menu? :shock:

USERS and CUSTOMERS is diverse
In the usermanager i created a Customer first login=hemant password=password parent=admin permissions=full
then i added the RB433 Router Name=MikroTik(sys identity of RB433) Owner=hemant ip address=10.40.2.2 shared secret=123456 with all the logs
Then i created a User username=user password=pass owner=hemant


Here it is cody the created user, i tried with creating 2-3 more users,then tried to login in to RB433AH with user account and customer account both were not working. I tried with customer login name to just give it a try, may t will be work,
yes it is also not working with the created users in usermanager i created.
I check the RB433AH Radius statics it was sent=11 and reject=11, i have ping to usermanager router from my RB433AH.

So what now Friend..?? :(
 
User avatar
cybercoder
Member Candidate
Member Candidate
Posts: 175
Joined: Tue Dec 07, 2010 11:20 pm
Location: Guilan, Iran
Contact:

Re: User Manager 5.11 & RouterOS Login

Sun Dec 18, 2011 4:21 pm

/radius
add accounting-backup=no accounting-port=1813 address=127.0.0.1 \
    authentication-port=1812 called-id="" disabled=no domain="" realm="" \
    secret=123 service=login timeout=3s

/user aaa
set accounting=yes default-group=full interim-update=0s use-radius=yes

Usermanager :
/tool user-manager profile
add name=login name-for-users="" override-shared-users=off price=0 starts-at=\
    logon validity=0s
/tool user-manager customer
add backup-allowed=yes disabled=no login=admin parent=admin password="" \
    paypal-accept-pending=no paypal-allowed=no paypal-secure-response=no \
    permissions=owner signup-allowed=no time-zone=-00:00
/tool user-manager router
add customer=admin disabled=no ip-address=127.0.0.1 log=\
    auth-ok,auth-fail,acct-ok,acct-fail name=Mikro1 shared-secret=123
/tool user-manager user
add customer=admin disabled=no name=1 password=1 shared-users=1 \
    wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
I did that about a minute ago as example for you, and it worked on ROS 5.11 well.
 
hemant
just joined
Topic Author
Posts: 8
Joined: Sun Dec 18, 2011 2:11 pm

Re: User Manager 5.11 & RouterOS Login

Sun Dec 18, 2011 5:20 pm

Thanks a lot Cybercoder
It worked finally, I resetted both the routers and again did the same configuration.
But this time i had same name for the user and customer.
Now trying some users for the read only access.

You saved my day man..Thanks

Who is online

Users browsing this forum: No registered users and 32 guests