initial commit of file from CVS for e-smith-samba on Sat Mar 23 16:28:38 AEDT 2024
This commit is contained in:
@@ -0,0 +1 @@
|
||||
true
|
@@ -0,0 +1 @@
|
||||
false
|
1
root/etc/e-smith/db/configuration/defaults/krb5/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/krb5/type
Normal file
@@ -0,0 +1 @@
|
||||
configuration
|
1
root/etc/e-smith/db/configuration/defaults/nmbd/UDPPorts
Normal file
1
root/etc/e-smith/db/configuration/defaults/nmbd/UDPPorts
Normal file
@@ -0,0 +1 @@
|
||||
137,138
|
1
root/etc/e-smith/db/configuration/defaults/nmbd/access
Normal file
1
root/etc/e-smith/db/configuration/defaults/nmbd/access
Normal file
@@ -0,0 +1 @@
|
||||
private
|
1
root/etc/e-smith/db/configuration/defaults/nmbd/status
Normal file
1
root/etc/e-smith/db/configuration/defaults/nmbd/status
Normal file
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/nmbd/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/nmbd/type
Normal file
@@ -0,0 +1 @@
|
||||
service
|
1
root/etc/e-smith/db/configuration/defaults/smb/DeadTime
Normal file
1
root/etc/e-smith/db/configuration/defaults/smb/DeadTime
Normal file
@@ -0,0 +1 @@
|
||||
10080
|
@@ -0,0 +1 @@
|
||||
disabled
|
1
root/etc/e-smith/db/configuration/defaults/smb/OpLocks
Normal file
1
root/etc/e-smith/db/configuration/defaults/smb/OpLocks
Normal file
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/smb/OsLevel
Normal file
1
root/etc/e-smith/db/configuration/defaults/smb/OsLevel
Normal file
@@ -0,0 +1 @@
|
||||
35
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
WS
|
@@ -0,0 +1 @@
|
||||
10
|
1
root/etc/e-smith/db/configuration/defaults/smb/ShadowDir
Normal file
1
root/etc/e-smith/db/configuration/defaults/smb/ShadowDir
Normal file
@@ -0,0 +1 @@
|
||||
/home/e-smith/files/.shadow
|
@@ -0,0 +1 @@
|
||||
UTF8
|
@@ -0,0 +1 @@
|
||||
yes
|
1
root/etc/e-smith/db/configuration/defaults/smb/Workgroup
Normal file
1
root/etc/e-smith/db/configuration/defaults/smb/Workgroup
Normal file
@@ -0,0 +1 @@
|
||||
sme-server
|
1
root/etc/e-smith/db/configuration/defaults/smb/status
Normal file
1
root/etc/e-smith/db/configuration/defaults/smb/status
Normal file
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/smb/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/smb/type
Normal file
@@ -0,0 +1 @@
|
||||
service
|
1
root/etc/e-smith/db/configuration/defaults/smbd/TCPPorts
Normal file
1
root/etc/e-smith/db/configuration/defaults/smbd/TCPPorts
Normal file
@@ -0,0 +1 @@
|
||||
139,445
|
1
root/etc/e-smith/db/configuration/defaults/smbd/access
Normal file
1
root/etc/e-smith/db/configuration/defaults/smbd/access
Normal file
@@ -0,0 +1 @@
|
||||
private
|
1
root/etc/e-smith/db/configuration/defaults/smbd/status
Normal file
1
root/etc/e-smith/db/configuration/defaults/smbd/status
Normal file
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/smbd/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/smbd/type
Normal file
@@ -0,0 +1 @@
|
||||
service
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
# Set ServerName to SystemName after inital configuration.
|
||||
my $smb = $DB->get('smb') || return;
|
||||
my $srvName = $smb->prop('ServerName') || 'sme-server';
|
||||
my $sysName = $DB->get('SystemName') || return;
|
||||
|
||||
return unless $srvName =~ m#sme-server#;
|
||||
$smb->set_prop('ServerName', $sysName->value);
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
{
|
||||
# Display Charset has been dropped in Samba 4
|
||||
my $a = $DB->get("smb") or return;
|
||||
return unless (exists $smb{'DisplayCharSet'});
|
||||
$DB->get_prop_and_delete('smb', 'DisplayCharSet');
|
||||
}
|
||||
|
Reference in New Issue
Block a user