Issue Details (XML | Word | Printable)

Key: CORE-856
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Alan McDonald
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Firebird Core

Unable to set FName, MName, LName fields in security to blank

Created: 15/Jul/06 07:29 PM   Updated: 04/Feb/16 05:38 PM
Component/s: GSEC, Security
Affects Version/s: 1.5.3, 2.0 RC3
Fix Version/s: 2.1 Beta 1

Environment: Win32, using GSEC, IBOADMIN/Delphi SecurityServer componet, IBExpert User Manager
Issue Links:

QA Status: Done successfully

 Description  « Hide
Once fields FirstName, MiddleName, LastName are set to non blank entries, they cannot be changed to blank entries (i.e. zero length strings).
GSEC does not accept spaces regardless of delimeter attempted: result is the delimeters are used to replace the entries.
Using the Service Manager a space must be used to "blank" out an entry but the entry can never be a zero length string unless the user account is deleted and recreated without the field value being set.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 23/Apr/07 08:38 AM
To set each name to empty string, simply do not specify it:
gsec -mod user -fname -mname -lname

But there really was a bug when calling services from gsec. And what about IBOADMIN & IBExpert - please contact developers of this programs to make them be able set length of service parameter to 0.

Pavel Cisar added a comment - 19/Aug/07 09:22 AM
I have verified this with 2.0.1 and my finding are:
- It's really not possible to blank these fields in GSEC. Using gsec -mod user -fname -mname -lname as Alex suggests does nothing.
- It works via services API. I have used KInterbasDB that correctly handles empty strings to clear these fields. So the problem is in connectivity components used to call services API, not in services API itself.

Pavel Cisar added a comment - 19/Aug/07 12:07 PM
Fix in GSEC verified for 2.1 Beta 1, test added.