Properties of user created in Legacy_UserManager padded with space upto 10 
character
------------------------------------------------------------------------------------

                 Key: CORE-4430
                 URL: http://tracker.firebirdsql.org/browse/CORE-4430
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library, Engine, GSEC, Security
    Affects Versions: 3.0 Alpha 2
         Environment: Firebird 3.0.0.31135-0_x64 on Windows 8.1 Update
            Reporter: Mark Rotteveel


A test in Jaybird (org.firebirdsql.management.TestUserManager) adds a user 
through the services API and then retrieves the created user to compare the 
properties. When this test is run against Firebird 3.0 the username, firstname, 
middlename and lastname properties are padded with spaces (0x20) up to a length 
of 10 (no padding occurs if the actual value is longer). This only happens when 
the usermanager is Legacy_UserManager. The properties are not padded when the 
Srp manager is configured in firebird.conf. Padding also doesn't occur with 
Firebird 2.5 and earlier.

I am not sure if the problem is with creating or with listing the users, but it 
also occurs when the user has been created with a CREATE USER statement instead 
of the service API.

Currently tests on Jaybird use Legacy_UserManager because it doesn't support 
the new protocol yet.

Note: I have seen the behavior at least since 3.0 Alpha 2 (AFAIR it didn't 
occur with Alpha 1, but I am not 100%sure), but I didn't have time to 
investigate closely until today. I tested with the snapshot of today 
(3.0.0.31135).



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to