Page 1 of 1

Why cant I create a subscriber?

Posted: Sat Oct 17, 2009 11:21 pm
by mstuebner
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

Re: Why cant I create a subscriber?

Posted: Sun Oct 18, 2009 12:15 am
by fewi
That simply means that you don't have a parent called "mikrotik", so you can't create a child object for it.

Re: Why cant I create a subscriber?

Posted: Mon Oct 19, 2009 10:40 pm
by mstuebner
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

Re: Why cant I create a subscriber?

Posted: Mon Oct 19, 2009 10:57 pm
by fewi
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 

Re: Why cant I create a subscriber?

Posted: Mon Oct 19, 2009 11:47 pm
by mstuebner
That makes it clear then. Thanx.