Partitions specified using the UUID notation in /etc/fstab are now supported, as seen on Ubuntu Linux.
---- Changes since 1.330 ----
Mounted filesystems can now be displayed on Intel macs, without needing the gcc program.
+---- Changes since 1.420 ----
+SMBFS authentication credentials can be stored in a separate file, thanks to a patch by Rob Shinn.
linux_smbwarn=Warning! Filesystem was not mounted from Webmin, so existing options are not available
linux_username=Login Name
linux_password=Login Password
+linux_credentials=Credentials File
linux_sname=Server Name
linux_wg=Workgroup
linux_auto=Automatic
print "<td><b>$text{'linux_password'}</b></td>\n";
printf "<td><input type=password name=smbfs_passwd size=15 value=\"%s\"></td> </tr>\n",
$support == 4 ? $options{'password'} : $options{'passwd'};
-
+
+ print "<td><b>$text{'linux_credentials'}</b></td>\n";
+ if ($support == 4) {
+ printf "<td><input name=smbfs_creds size=30 value=\"%s\"> ",
+ defined($options{"credentials"}) ? $options{'credentials'} : "";
+
+ if ($access{'browse'}) {
+ print &file_chooser_button("smbfs_creds", 0);
+ }
+ }
+ print "</td>\n";
if (!$access{'simopts'}) {
if ($support != 2) {
print "<tr> <td><b>$text{'linux_uid'}</b></td>\n";
$options{$support == 4 ? 'password' : 'passwd'} = $in{smbfs_passwd};
}
+ if ($support == 4) {
+ delete($options{'credentials'});
+ if ($in{smbfs_creds}) {
+ $options{'credentials'} = $in{smbfs_creds};
+ }
+ }
+
if (!$access{'simopts'}) {
if ($support != 2) {
delete($options{uid});