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
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.
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.