My SAMBA broke (Win 7 client can't see Linux shares) after a normal upgrade of Xubuntu 14.04. I have a stable version image before the upgrade that I can go back to. I have put off the upgrade for a few months hoping the problem would resolve itself with new upgrades, but so far no luck. The working SAMBA is 4.1.6 and it is being updated to 4.3.9 which does not work. It seems that the new smb.conf is not loading.
Here is the testparm of it:
------------------------------------------
:/etc/samba$ testparm -s smb.conf
Load smb config files from smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
WARNING: Ignoring invalid value 'server' for parameter 'security'
Error loading services.
--------------------------------------------
Here is the testparm of the original smb.conf that works
-----------------------------------------
:/etc/samba$ testparm -s smb.conf
Load smb config files from smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: Ignoring invalid value 'server' for parameter 'security'
Processing section "[printers]"
Processing section "[print$]"
Processing section "[WinBack-1TB]"
Processing section "[WinBack-2TB]"
Processing section "[Tivo-2TB]"
Processing section "[Plex-1TB]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
server string = %h server (Samba, Ubuntu)
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* % *Retypesnews*spassword:* % *passwordsupdatedssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[WinBack-1TB]
path = /mnt/WinBack-1TB
valid users = e6700, fx6300, phenom7
read only = No
[WinBack-2TB]
path = /mnt/WinBack-2TB
valid users = e6700, fx6300, phenom7
read only = No
[Tivo-2TB]
path = /mnt/Tivo-2TB
valid users = e6700, fx6300, phenom7
read only = No
[Plex-1TB]
path = /mnt/Plex-1TB
valid users = e6700, fx6300, phenom7
read only = No
-------------------------------------------
What else do you need to help me? Any ideas?
Thanks,
Todd K.
برچسب:
نویسنده: استخدام کار