|
64.
|
|
|
The preferred security mode depends on the environment and what the Samba server needs to accomplish.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:352(para)
|
|
65.
|
|
|
Security = User
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:389(title)
|
|
66.
|
|
|
This section will reconfigure the Samba file and print server, from <xref linkend="samba-fileserver"/> and the <ulink type="help" url="help:/kubuntu/printing/"> Print Server</ulink>, to require authentication.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:361(para)
|
|
67.
|
|
|
First, install the <application>libpam-smbpass</application> package which will sync the system users to the Samba user database:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:368(para)
|
|
68.
|
|
|
sudo apt-get install libpam-smbpass
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:405(command)
|
|
69.
|
|
|
If the <emphasis>Samba Server</emphasis> task was chosen during installation, <application>libpam-smbpass</application> is already installed.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:378(para)
|
|
70.
|
|
|
Edit <filename>/etc/samba/smb.conf</filename>, and in the <emphasis>[share]</emphasis> section change:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:416(para)
|
|
71.
|
|
|
guest ok = no
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:421(programlisting)
|
|
72.
|
|
|
Finally, restart Samba for the new settings to take effect:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:393(para)
|
|
73.
|
|
|
Now when connecting to the shared directories or printers, there will be a prompt for a username and password.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:434(para)
|