Community discussions

MikroTik App
 
mstuebner
newbie
Topic Author
Posts: 35
Joined: Wed Oct 07, 2009 3:47 am

Why cant I create a subscriber?

Sat Oct 17, 2009 11:21 pm

Hi,

I found and tried the description http://wiki.mikrotik.com/wiki/Centraliz ... tspot_user today, but when I try the Masterconfiguration, especially:

/tool user-manager customer add subscriber="mikrotik" login="mikrotik" password="ashish" time-zone=+02:00 permissions=owner parent="mikrotik"

I get a return of "input does not match any value of parent". So to my understanding that means that I'm not able to generate any subscriber, beside the already existing admin.

Is there only one subscriber allowed? Is there any doc that describes limitations or/and dependencies?

br Matthias
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Why cant I create a subscriber?

Sun Oct 18, 2009 12:15 am

That simply means that you don't have a parent called "mikrotik", so you can't create a child object for it.
 
mstuebner
newbie
Topic Author
Posts: 35
Joined: Wed Oct 07, 2009 3:47 am

Re: Why cant I create a subscriber?

Mon Oct 19, 2009 10:40 pm

That simply means that you don't have a parent called "mikrotik", so you can't create a child object for it.
So maybe my understanding is the following

1. Subscriber (God father)
1.1. Customer (master of everthing below him)
1.1.1. User (may pay the bill)

As I read the doc, the specification of a subscriber is, that his is his own parent (name and parent are the same) and has permissions = owner.

If that is correct, then it is logical that there isn't a subscriber with the same name as I try to create at this moment. Where is my mistake? Or is there only one subscriber possible?

Thanx for your time,
Matthias
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Why cant I create a subscriber?

Mon Oct 19, 2009 10:57 pm

You can have more than one subscriber, but you have to create them without reference to subscriber or parent:
[admin@MikroTik] > /tool user-manager customer add login=test password=test permissions=owner
[admin@MikroTik] > /tool user-manager customer print where login=test
Flags: X - disabled 
 1   subscriber=test login="test" password="test" time-zone=+00:00 permissions=owner parent=test signup-allowed=no paypal-allowed=no 
     paypal-secure-response=no paypal-accept-pending=no 
It fills out the parent and subscriber fields after the fact so that they refer to the same object, but you cannot refer to an object that doesn't yet exist during the creation phase.

You can then create other customers that refer to them:
[admin@MikroTik] > /tool user-manager customer add login=test2 password=test2 subscriber=test parent=test             
[admin@MikroTik] > /tool user-manager customer print where login=test2
Flags: X - disabled 
 2   subscriber=test login="test2" password="test2" time-zone=+00:00 permissions=read-only parent=test signup-allowed=no paypal-allowed=no 
     paypal-secure-response=no paypal-accept-pending=no 
 
mstuebner
newbie
Topic Author
Posts: 35
Joined: Wed Oct 07, 2009 3:47 am

Re: Why cant I create a subscriber?

Mon Oct 19, 2009 11:47 pm

That makes it clear then. Thanx.