Skip to main content
hermescon
New Member
July 12, 2017
Question

Customize guest user-names in batch mode

  • July 12, 2017
  • 5 replies
  • 8699 views

Hi all,

 

we are running a captive portal for our guest WiFi users, so we can hand out the credentials to our guests. We created the accounts with "batch creation enabled" (User & Device -> Guest Management -> Create New -> Multiple Users). With this we created user-accounts with default names (user0001; user0002; etc). All works fine, but due to a firmware upgrade (FGT 100D; v5.2.11) the counter for the user-accounts was reset to user0001.

 

We now get the error "A duplicate entry already exists." because there are still unused accounts with the next possible number in batch-creation process. This appears also when we want to generate a single account with User-ID auto-generated.

 

Is there a way to customize the user-name while auto-generating the user-ID? I already checked the config (show full on CLI and searched for some key-word) but I couldn´t find an option about the user-names. I also couldn´t find an answer on google and in this forum. Revoking the existing unused guest-accounts should be my last option...

 

Thanks for your help!

 

Best regards.

5 replies

xsilver_FTNT
Staff
Staff
July 18, 2017

Hi,

from which FortiOS did you upgraded to 5.2.11 ?

Looks like counter got reset, but it should not. Might be improper upgrade or bug.

Tomas

hermescon
hermesconAuthor
New Member
July 19, 2017

Hi Tomas,

we came from 5.2.4 and followed the upgrade path (5.2.6 -> 5.2.9 - > 5.2.11). Do you know a way to edit the counter?

Kind regards,

Hermes

 

xsilver_FTNT
Staff
Staff
July 26, 2017

Hi,

upgrade path looks good.

http://cookbook.fortinet.com/sysadmins-notebook/supported-upgrade-paths-fortios/5/

 

Counter .. well, bad news, there is no way to change it from CLI/GUI AFAIK.

 

Best regards,

Tomas

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.