[Samba] Standalone Server User Import / Export
Rowland penny
rpenny at samba.org
Thu Aug 8 19:01:19 UTC 2019
On 08/08/2019 19:10, David Ayers wrote:
>> Can we see your smb.conf file ?
> attached... slightly redacted.
Inline without all the commented lines and default settings:
[global]
workgroup = WORKGROUP
netbios name = REDACTED
server string = %h server
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
server role = standalone server
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
[homes]
comment = Home Directories
browseable = no
create mask = 0700
directory mask = 0700
valid users = %S
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[resources]
comment = Redacted Resources
username = redacted
read only = No
create mask = 0664
directory mask = 0775
path = /usr/Redacted
[sicherung]
comment = Server Sicherung
username = redacted
path = /var/Redacted
Only one comment, 'username' was removed at 4.5.0, you should use 'valid
users' instead.
Can you upgrade Samba in place ?
You may have a problem, but it may already have been fixed in a later
version
The other option is, if your windows clients are in a domain, upgrade
the standalone server to a Unix domain member.
Rowland
More information about the samba
mailing list