Ignore:
Timestamp:
02/27/14 11:11:58 (18 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, enter/10, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1, releng/10.1.1, releng/10.1.2, releng/10.2
Children:
47a52f4
Parents:
7c53dd2
Message:

Couple new features for PCDM
1) Add option to require that the user type in the username instead of just selecting one from a list (does not recognize "root" or "toor", I made sure of that)
2) Move the backend system user detection to using "getent" after conversation with john @ ixsystems. That should properly pick up LDAP/ActiveDirectory users as well, whereas "pw" might not.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/PCDM/src/loginWidget.h

    r72c9698 rae41693  
    5454        void resetFocus(QString item=""); 
    5555        void allowPasswordView(bool); 
     56        void allowUserSelection(bool); 
    5657   
    5758  private: 
     
    5960        QComboBox* listDE; 
    6061        QListWidget* listUserBig; 
    61         QLineEdit* linePassword; 
     62        QLineEdit *linePassword, *lineUsername; 
    6263        QToolButton* pushLogin; 
    6364        QToolButton* pushViewPassword; 
     
    6970        QSize desktopIconSize; 
    7071        QString hostName; 
    71         bool userSelected, pwVisible, allowPWVisible; 
     72        bool userSelected, pwVisible, allowPWVisible, showUsers; 
    7273 
    7374        void updateWidget(); 
Note: See TracChangeset for help on using the changeset viewer.