|
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
|
<class>KcmInterface</class>
|
|
|
<comment>
|
|
|
/******************************************************************************
|
|
|
* *
|
|
|
* This file is part of KSambaPlugin. *
|
|
|
* *
|
|
|
* KSambaPlugin is free software; you can redistribute it and/or modify *
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
* (at your option) any later version. *
|
|
|
* *
|
|
|
* KSambaPlugin is distributed in the hope that it will be useful, *
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
* GNU General Public License for more details. *
|
|
|
* *
|
|
|
* You should have received a copy of the GNU General Public License *
|
|
|
* along with KSambaPlugin; if not, write to the Free Software *
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
|
|
|
* *
|
|
|
******************************************************************************/
|
|
|
</comment>
|
|
|
<widget class="QWidget">
|
|
|
<property name="name">
|
|
|
<cstring>KcmInterface</cstring>
|
|
|
</property>
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>0</y>
|
|
|
<width>714</width>
|
|
|
<height>578</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy>
|
|
|
<hsizetype>1</hsizetype>
|
|
|
<vsizetype>1</vsizetype>
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<vbox>
|
|
|
<property name="name">
|
|
|
<cstring>unnamed</cstring>
|
|
|
</property>
|
|
|
<property name="margin">
|
|
|
<number>0</number>
|
|
|
</property>
|
|
|
<property name="spacing">
|
|
|
<number>6</number>
|
|
|
</property>
|
|
|
<widget class="QTabWidget">
|
|
|
<property name="name">
|
|
|
<cstring>mainTab</cstring>
|
|
|
</property>
|
|
|
<property name="whatsThis" stdset="0">
|
|
|
<string><qt>
|
|
|
Here you can edit the Samba users, stored in the smbpasswd file.
|
|
|
<p>
|
|
|
Every Samba user must have a corresponding UNIX user.
|
|
|
On the right you can see all UNIX users, stored in the passwd file and not configured as Samba users.
|
|
|
You can see the Samba users on the left-hand side.
|
|
|
<p>
|
|
|
To add new Samba users simply press the <em>&lt; add</em> button.
|
|
|
The selected UNIX users will then become Samba users and will be
|
|
|
removed from the UNIX users list (but they will remain UNIX users).
|
|
|
<p>
|
|
|
To remove Samba users click the <em>&gt; remove</em> button.
|
|
|
The selected Samba users will be removed from the smbpasswd file
|
|
|
and reappear on the right-hand side, as UNIX users which are not Samba users.
|
|
|
</qt></string>
|
|
|
</property>
|
|
|
<widget class="QWidget">
|
|
|
<property name="name">
|
|
|
<cstring>tab</cstring>
|
|
|
</property>
|
|
|
<attribute name="title">
|
|
|
<string>&Base Settings</string>
|
|
|
</attribute>
|
|
|
<vbox>
|
|
|
<property name="name">
|
|
|
<cstring>unnamed</cstring>
|
|
|
</property>
|
|
|
<property name="margin">
|
|
|
<number>11</number>
|
|
|
</property>
|
|
|
<property name="spacing">
|
|
|
<number>6</number>
|
|
|
</property>
|
|
|
<widget class="QLayoutWidget">
|
|
|
<property name="name">
|
|
|
<cstring>layout38</cstring>
|
|
|
</property>
|
|
|
<hbox>
|
|
|
<property name="name">
|
|
|
<cstring>unnamed</cstring>
|
|
|
</property>
|
|
|
<property name="margin">
|
|
|
<number>0</number>
|
|
|
</property>
|
|
|
<property name="spacing">
|
|
|
<number>6</number>
|
|
|
</property>
|
|
|
<widget class="QLabel">
|
|
|
<property name="name">
|
|
|
<cstring>TextLabel1_6</cstring>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>MShape</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>MShadow</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>Samba config file:</string>
|
|
|
</property>
|
|
|
<property name="buddy" stdset="0">
|
|
|
<cstring>configUrlRq</cstring>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="KURLRequester">
|
|
|
<property name="name">
|
|
|
<cstring>configUrlRq</cstring>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton">
|
|
|
<property name="name">
|
|
|
<cstring>loadBtn</cstring>
|
|
|
</property>
|
|
|
<property name="enabled">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>&Load</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</hbox>
|
|
|
</widget>
|
|
|
<widget class="QGroupBox">
|
|
|
<property name="name">
|
|
|
<cstring>GroupBox1_2</cstring>
|
|
|
</property>
|
|
|
<property name="font">
|
|
|
<font>
|
|
|
</font>
|
|
|
</property>
|
|
|
<property name="title">
|
|
|
<string>Server Identification</string>
|
|
|
</property>
|
|
|
<grid>
|
|
|
<property name="name">
|
|
|
<cstring>unnamed</cstring>
|
|
|
</property>
|
|
|
<property name="margin">
|
|
|
<number>11</number>
|
|
|
</property>
|
|
|
<property name="spacing">
|
|
|
<number>6</number>
|
|
|
</property>
|
|
|
<widget class="QLabel" row="0" column="0">
|
|
|
<property name="name">
|
|
|
<cstring>TextLabel1_2_2_2</cstring>
|
|
|
</property>
|
|
|
<property name="font">
|
|
|
<font>
|
|
|
</font>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>Wor&kgroup:</string>
|
|
|
</property>
|
|
|
<property name="buddy" stdset="0">
|
|
|
<cstring>workgroupEdit</cstring>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="KLineEdit" row="0" column="1">
|
|
|
<property name="name">
|
|
|
<cstring>workgroupEdit</cstring>
|
|
|
</property>
|
|
|
<property name="font">
|
|
|
<font>
|
|
|
</font>
|
|
|
</property>
|
|
|
<property name="toolTip" stdset="0">
|
|
|
<string>Enter here the name of your workgroup/domain.</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="KLineEdit" row="2" column="1">
|
|
|
<property name="name">
|
|
|
<cstring>serverStringEdit</cstring>
|
|
|
</property>
|
|
|
<property name="font">
|
|
|
<font>
|
|
|
</font>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="KLineEdit" row="1" column="1">
|
|
|
<property name="name">
|
|
|
<cstring>netbiosNameEdit</cstring>
|
|
|
</property>
|
|
|
<property name="font">
|
|
|
<font>
|
|
|
</font>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" row="2" column="0">
|
|
|
<property name="name">
|
|
|
<cstring>TextLabel4_3</cstring>
|
|
|
</property>
|
|
|
<property name="font">
|
|
|
<font>
|
|
|
</font>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>Server strin&g:</string>
|
|
|
</property>
|
|
|
<property name="buddy" stdset="0">
|
|
|
<cstring>serverStringEdit</cstring>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" row="1" column="0">
|
|
|
<property name="name">
|
|
|
<cstring>TextLabel3_6</cstring>
|
|
|
</property>
|
|
|
<property name="font">
|
|
|
<font>
|
|
|
</font>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>NetBIOS name:</string>
|
|
|
</property>
|
|
|
<property name="buddy" stdset="0">
|
|
|
<cstring>netbiosNameEdit</cstring>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</grid>
|
|
|
</widget>
|
|
|
<widget class="QButtonGroup">
|
|
|
<property name="name">
|
|
|
<cstring>securityLevelBtnGrp</cstring>
|
|
|
</property>
|
|
|
<property name="font">
|
|
|
<font>
|
|
|
</font>
|
|
|
</property>
|
|
|
<property name="title">
|
|
|
<string>Securit&y Level</string>
|
|
|
</property>
|
|
|
<hbox>
|
|
|
<property name="name">
|
|
|
<cstring>unnamed</cstring>
|
|
|
</property>
|
|
|
<property name="margin">
|
|
|
<number>11</number>
|
|
|
</property>
|
|
|
<property name="spacing">
|
|
|
<number>6</number>
|
|
|
</property>
|
|
|
<widget class="QLayoutWidget">
|
|
|
<property name="name">
|
|
|
<cstring>layout33</cstring>
|
|
|
</property>
|
|
|
<vbox>
|
|
|
<property name="name">
|
|
|
<cstring>unnamed</cstring>
|
|
|
</property>
|
|
|
<property name="margin">
|
|
|
<number>0</number>
|
|
|
</property>
|
|
|
<property name="spacing">
|
|
|
<number>6</number>
|
|
|
</property>
|
|
|
<widget class="QRadioButton">
|
|
|
<property name="name">
|
|
|
<cstring>shareRadio</cstring>
|
|
|
</property>
|
|
|
<property name="font">
|
|
|
<font>
|
|
|
</font>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>Share</string>
|
|
|
</property>
|
|
|
<property name="accel">
|
|
|
<string>Alt+ |