How can this be disabled?

Discussion in 'Installation/Configuration' started by dgmufasa, Dec 27, 2011.

  1. dgmufasa

    dgmufasa New Member

    Hello all,

    I am using the ISPConfig SOAP API to create a FTP user:
    ex: G470917

    when going through the interface, it automatically attaches the client name to the FTP user - even though I press "cancel" so you get something like this.

    ex: h470917G470917

    The API is generating UserIDs so the attachment of the client portion is not necessary.

    How can this be disabled?

    TIA
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    FTP usernames have to be unique for the whole server, not just for the website. So if you remove the username prefix or if you dont set it when you use the API, then your system will fail as soon as another client tries to get the same username. So disabling the prefix is mostly an option for systems which dont host any clients like small home servers.

    Nevertheless you can configure the prefixes in ispconfig, see section about System > interface config in the manual.
     
  3. dgmufasa

    dgmufasa New Member

    Hello Till,

    Currently using this (within PHP) to generate unique (hopefully) userids:

    Also, from what I have seen, the client name used seems to use lower cased letters. Which is OK unless one is expecting uppercase.

    Thanks for the pointer.
     

Share This Page