Configurando o Ubuntu 16.04.3 LTS sever para rede doméstica usando o Samba 4.3.11

1

Realmente lutando com isso ...

seguiu o guia ( link ) sem sorte.

Eu tenho uma rede doméstica com Windows e Mac OS. Nenhum deles pode se conectar ao servidor ubuntu. O objetivo é ter um servidor Ubuntu que compartilhe armazenamento para toda a rede.

Saída do testparm:

Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
Processing section "[printers]"
Processing section "[print$]"
Processing section "[storage]"
Loaded services file OK.
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
server string = %h server (Samba, Ubuntu)
server role = standalone server
security = USER
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
wins support = Yes
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
browseable = No


[print$]
comment = Printer Drivers
path = /var/lib/samba/printers


[storage]
path = /mnt/storage
valid users = adrian
read only = No
create mask = 0777
directory mask = 0777
directory mode = 0777
guest ok = Yes

Listagem de todas as ações:

smbclient -L //192.168.0.210/storage -U adrian 
WARNING: The "syslog" option is deprecated
Enter adrian's password: 

Domain = [WORKGROUP] OS = [Windows 6.1] Servidor = [Samba 4.3.11-Ubuntu]

Sharename       Type      Comment
---------       ----      -------
print$          Disk      Printer Drivers
storage         Disk      
IPC$            IPC       IPC Service (server server (Samba, Ubuntu))

Domain = [WORKGROUP] OS = [Windows 6.1] Servidor = [Samba 4.3.11-Ubuntu]

Server               Comment
---------            -------
SERVER               server server (Samba, Ubuntu)

Workgroup            Master
---------            -------
WORKGROUP            SERVER

Procurei tantos guias e tentei muitas combinações diferentes sem sorte, espero ter perdido algo simples. Procurando por ajuda! Agradecemos antecipadamente.

    
por Adrian 15.11.2017 / 09:39

0 respostas