From 5948ba909d1a2541865fcb2b52f76a7719f72f3e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 29 May 2012 15:33:39 -0500 Subject: User editor dialog is now working in RO mode --- src/userconfigdlg.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/userconfigdlg.h') diff --git a/src/userconfigdlg.h b/src/userconfigdlg.h index 6ab3033..909dd16 100644 --- a/src/userconfigdlg.h +++ b/src/userconfigdlg.h @@ -26,22 +26,27 @@ #include "libtdeldap.h" #include "userconfigbase.h" +#define AVAILABLE_SHELLS "/bin/bash /bin/sh /bin/dash /bin/rbash /usr/bin/screen" + class UserConfigDialog : public KDialogBase { Q_OBJECT public: - UserConfigDialog(LDAPUserInfo user, TQWidget* parent = 0, const char* name = 0); + UserConfigDialog(LDAPUserInfo user, LDAPConfig* parent = 0, const char* name = 0); LDAPUserInfo userProperties(); public slots: void slotOk(); + void processLockouts(); public: LDAPUserConfigBase *m_base; private: LDAPUserInfo m_user; + LDAPConfig* m_ldapconfig; + TQString m_prevPrimaryGroup; }; #endif // _USERCONFIGDIALOG_H_ -- cgit v1.2.1