#1 Le 07/05/2021, à 13:28
- #Ericsson
Accès au disque dur Bbox (Résolu)
Bonjour ,
Je souhaite copier une vidéo sur ma Bbox afin de la lire sur ma tv, mais impossible d'accéder à son disque dur. Est-ce par qu'il tourne sous Andrïd ? Car j'y arrivais lorsque j'étais abonné à Numéricable, via mon wifi ou Ethernet.
Je précise que je ne suis pas calé en nformatique.
Merci d'avance de votre aide.
Dernière modification par #Ericsson (Le 21/05/2021, à 11:39)
Dell Inspiron 3793 _ Manjaro KDE Plasma 5.26.4 _ Pro; 8xIntel Core i5-1035G1 _Mémoire 23.3 Go _ Carte graphique : Intel Corporation Iris Plus Graphics G1 (Ice Lake) _ Carte son : lspci | grep 'Audio' _Gnome-Boxes (ou Machines)
Hors ligne
#2 Le 07/05/2021, à 13:45
- inbox
Re : Accès au disque dur Bbox (Résolu)
Un problème résolu ? Indiquez le en modifiant le titre du sujet.
Hors ligne
#3 Le 08/05/2021, à 13:34
- #Ericsson
Re : Accès au disque dur Bbox (Résolu)
Bonjour ,
Merci Inbox pour ta réponse. J'ai suivi la méthode et je visualise tous les paramètres de ma Bbox maintenant. Mais, je ne visualise pas son disque et ce malgré d'autres recherches. Par contre, je visualise maintenant dans réseau, mon partage windows et imprimante. Je précise que le partage par samba dans la box est activé.
Si quelqu'un à une îdée !
Dernière modification par #Ericsson (Le 08/05/2021, à 13:35)
Dell Inspiron 3793 _ Manjaro KDE Plasma 5.26.4 _ Pro; 8xIntel Core i5-1035G1 _Mémoire 23.3 Go _ Carte graphique : Intel Corporation Iris Plus Graphics G1 (Ice Lake) _ Carte son : lspci | grep 'Audio' _Gnome-Boxes (ou Machines)
Hors ligne
#4 Le 08/05/2021, à 13:38
- inbox
Re : Accès au disque dur Bbox (Résolu)
Tu devrais donner le modèle de ta box.
Un problème résolu ? Indiquez le en modifiant le titre du sujet.
Hors ligne
#5 Le 08/05/2021, à 13:50
- bruno
Re : Accès au disque dur Bbox (Résolu)
Modération: question sans rapport avec Ubuntu déplacée vers le café.
#6 Le 08/05/2021, à 14:02
- #Ericsson
Re : Accès au disque dur Bbox (Résolu)
Modèle
F@st 5688b
https://www.bouyguestelecom.fr/offres-i … bbox-ultym
Dernière modification par #Ericsson (Le 08/05/2021, à 14:07)
Dell Inspiron 3793 _ Manjaro KDE Plasma 5.26.4 _ Pro; 8xIntel Core i5-1035G1 _Mémoire 23.3 Go _ Carte graphique : Intel Corporation Iris Plus Graphics G1 (Ice Lake) _ Carte son : lspci | grep 'Audio' _Gnome-Boxes (ou Machines)
Hors ligne
#7 Le 08/05/2021, à 14:35
- nany
Re : Accès au disque dur Bbox (Résolu)
Bonjour,
La Bbox est probablement avec smbv1 (ou NT1) comme la freebox il y a encore quelques temps.
Depuis, la freebox est passée à smbv2.
En ligne
#8 Le 10/05/2021, à 08:53
- #Ericsson
Re : Accès au disque dur Bbox (Résolu)
Bonjour,
La Bbox est probablement avec smbv1 (ou NT1) comme la freebox il y a encore quelques temps.
Depuis, la freebox est passée à smbv2.
Bonjour Nany,
Merci de votre réponse. Je vais vérifier cela.
Pour information, y a-t-il un lien avec le fait que je parviens à modifier ou à déplacer des fichiers sur mes partions Windows 10 de manière aléatoire ? Je précise que je possède les droits en écriture, mais que mon ordinateur est un Dell en UEFI sous Intel. J'ai lu, qu'avec ce mode, Windows ne s'arrète pas complètement, gardant en mémoire le système afin de démarer plus vite.
Toutefois, lorsque je tente de créer ou de coller des fichiers de Xubuntu à Windows, un message d'erreur m'indique qu'il na pas été possible d'ouvrir le réseau Windows. Je précise que Samba est bien installé.
Dell Inspiron 3793 _ Manjaro KDE Plasma 5.26.4 _ Pro; 8xIntel Core i5-1035G1 _Mémoire 23.3 Go _ Carte graphique : Intel Corporation Iris Plus Graphics G1 (Ice Lake) _ Carte son : lspci | grep 'Audio' _Gnome-Boxes (ou Machines)
Hors ligne
#9 Le 10/05/2021, à 20:42
- #Ericsson
Re : Accès au disque dur Bbox (Résolu)
Bonjour,
La Bbox est probablement avec smbv1 (ou NT1) comme la freebox il y a encore quelques temps.
Depuis, la freebox est passée à smbv2.
Bonsoir
J'ai appliqué la méthode, mais le problème reste inchangé. Dans parcourir le réseau, je clique sur le le dossier Windows ou le dossier Samba 24, le message suivant s'affiche : "Impossible d'ouvrir "Réseau Windows". L'obtention de la liste des partages a échoué : Aucun fichier ou dossier de ce type."
Merci par avance de vos "lumières."
Dernière modification par #Ericsson (Le 10/05/2021, à 20:48)
Dell Inspiron 3793 _ Manjaro KDE Plasma 5.26.4 _ Pro; 8xIntel Core i5-1035G1 _Mémoire 23.3 Go _ Carte graphique : Intel Corporation Iris Plus Graphics G1 (Ice Lake) _ Carte son : lspci | grep 'Audio' _Gnome-Boxes (ou Machines)
Hors ligne
#10 Le 16/05/2021, à 19:24
- #Ericsson
Re : Accès au disque dur Bbox (Résolu)
Bonjour ,
J'ai appliqué celle-ci également :
rouver un partage réseau via gestionnaire de fichier Ubuntu 20.04 impossible
Depuis la version 4.11 (livré dans 20.04) Samba ne prend plus en charge le vieux protocole SMBv1, seuls SMB2 et SMB3 sont gérés. Donc les partages sur les box et les NAS qui utilisent ce protocole non sécurisé ne sont plus accessibles.
Pour fonctionner, il faut :
s'assurer que les paquets suivants sont installés : smbclient cifs-utils .
Modifiez le fichier de configuration /etc/samba/smb.conf en administrateur, pour y ajouter juste en dessous de workgroup = WORKGROUP cette ligne:
client min protocol = NT1
Mais j'ai eu ce retour : (gedit:19350): Tepl-WARNING **: 20:14:29.329: GVfs metadata is not supported. Fallback to TeplMetadataManager. Either GVfs is not correctly installed or GVfs metadata are not supported on this platform. In the latter case, you should configure Tepl with --disable-gvfs-metadata.
J'ai voulu paramétrer le parfeu grâce à UFW, mais je ne sais pas faire, c'est du chinois pour moi. Egalement le réglage de Samba grâce Gadmin Samba, là encore, je nage...
A l'aide s'il vous plait.
Dell Inspiron 3793 _ Manjaro KDE Plasma 5.26.4 _ Pro; 8xIntel Core i5-1035G1 _Mémoire 23.3 Go _ Carte graphique : Intel Corporation Iris Plus Graphics G1 (Ice Lake) _ Carte son : lspci | grep 'Audio' _Gnome-Boxes (ou Machines)
Hors ligne
#11 Le 16/05/2021, à 20:11
- nany
Re : Accès au disque dur Bbox (Résolu)
Comment édites-tu le fichier de configuration ?
Donne nous le retour de :
cat /etc/samba/smb.conf
En ligne
#12 Le 17/05/2021, à 05:16
- nany
Re : Accès au disque dur Bbox (Résolu)
Arf ! Il manque le début du fichier. Il faut donner le retour complet (de prompt à prompt). Voilà par exemple ce que ça donne chez moi :
~$ cat /etc/samba/smb.conf
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
# - When such options are commented with ";", the proposed setting
# differs from the default Samba behaviour
# - When commented with "#", the proposed setting is the default
# behaviour of Samba but the option is considered important
# enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.
#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)
#### Networking ####
# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
; interfaces = 127.0.0.0/8 eth0
# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself. However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
; bind interfaces only = yes
#### Debugging/Accounting ####
# This tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m
# Cap the size of the individual log files (in KiB).
max log size = 1000
# We want Samba to only log to /var/log/samba/log.{smbd,nmbd}.
# Append syslog@1 if you want important messages to be sent to syslog too.
logging = file
# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
# Server role. Defines in which mode Samba will operate. Possible
# values are "standalone server", "member server", "classic primary
# domain controller", "classic backup domain controller", "active
# directory domain controller".
#
# Most people will want "standalone server" or "member server".
# Running as "active directory domain controller" will require first
# running "samba-tool domain provision" to wipe databases and create a
# new domain.
server role = standalone server
obey pam restrictions = yes
# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
unix password sync = yes
# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
# sending the correct chat script for the passwd program in Debian Sarge).
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
pam password change = yes
# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
map to guest = bad user
########## Domains ###########
#
# The following settings only takes effect if 'server role = primary
# classic domain controller', 'server role = backup domain controller'
# or 'domain logons' is set
#
# It specifies the location of the user's
# profile directory from the client point of view) The following
# required a [profiles] share to be setup on the samba server (see
# below)
; logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
# (this is Samba's default)
# logon path = \\%N\%U\profile
# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
; logon drive = H:
# logon home = \\%N\%U
# The following setting only takes effect if 'domain logons' is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in 'DOS' file format convention
; logon script = logon.cmd
# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe. The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
# This allows machine accounts to be created on the domain controller via the
# SAMR RPC pipe.
# The following assumes a "machines" group exists on the system
; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
# This allows Unix groups to be created on the domain controller via the SAMR
# RPC pipe.
; add group script = /usr/sbin/addgroup --force-badname %g
############ Misc ############
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /home/samba/etc/smb.conf.%m
# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
; idmap config * : backend = tdb
; idmap config * : range = 3000-7999
; idmap config YOURDOMAINHERE : backend = tdb
; idmap config YOURDOMAINHERE : range = 100000-999999
; template shell = /bin/bash
# Setup usershare options to enable non-root users to share folders
# with the net usershare command.
# Maximum number of usershare. 0 means that usershare is disabled.
# usershare max shares = 100
# Allow users who've been granted usershare privileges to create
# public shares, not just authenticated ones
usershare allow guests = yes
#======================= Share Definitions =======================
# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home directory as \\server\username
;[homes]
; comment = Home Directories
; browseable = no
# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
; read only = yes
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
; create mask = 0700
# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
; directory mask = 0700
# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.
# Un-comment the following parameter to make sure that only "username"
# can connect to \\server\username
# This might need tweaking when using external authentication schemes
; valid users = %S
# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes
# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace 'lpadmin' with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
; write list = root, @lpadmin
~$
Je te prie donc de donner le retour complet de la commande.
En ligne
#14 Le 17/05/2021, à 18:57
- #Ericsson
Re : Accès au disque dur Bbox (Résolu)
Pardon
cat /etc/samba/smb.conf
[global]
## SMB Protocol
# Protocol NT1 is insecure, prefer SMB2 and SMB3.
# For Freebox, NT1 is essential.
client min protocol = NT1
server min protocol = NT1
ntlm auth = ntlmv1-permitted
netbios name = Samba24
server string = Samba file and print server
workgroup = Workgroup
client min protocol = NT1client max protocol = NT1security = user
hosts allow = 127. 192.168.0.
interfaces = 127.0.0.1/8 192.168.0.0/24
bind interfaces only = yes
remote announce = 192.168.0.255
remote browse sync = 192.168.0.255
printcap name = cups
load printers = yes
cups options = raw
printing = cups
guest account = smbguest
log file = /var/log/samba/samba.log
max log size = 1000
null passwords = no
username level = 6
password level = 6
encrypt passwords = yes
unix password sync = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
domain master = no
preferred master = no
domain logons = no
os level = 33
logon drive = m:
logon home = \\%L\homes\%u
logon path = \\%L\profiles\%u
logon script = %G.bat
time server = no
name resolve order = wins lmhosts bcast
wins support = no
wins proxy = no
dns proxy = no
preserve case = yes
short preserve case = yes
client use spnego = no
client signing = no
client schannel = no
server signing = no
server schannel = no
nt pipe support = yes
nt status support = yes
allow trusted domains = no
obey pam restrictions = yes
enable spoolss = yes
client plaintext auth = no
disable netbios = no
follow symlinks = no
update encrypted = yes
pam password change = no
passwd chat timeout = 120
hostname lookups = no
username map = /etc/samba/smbusers
passdb backend = tdbsam
passwd program = /usr/bin/passwd '%u'
passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
add user to group script=/usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
add group script = /usr/sbin/groupadd '%g'
delete user script = /usr/sbin/userdel '%u'
delete user from group script = /usr/sbin/userdel '%u' '%g'
delete group script = /usr/sbin/groupdel '%g'
add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
machine password timeout = 120
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /dev/null
winbind use default domain = yes
winbind separator = @
winbind cache time = 360
winbind trusted domains only = yes
winbind nested groups = no
winbind nss info = no
winbind refresh tickets = no
winbind offline logon = no
[homes]
comment = Home Directories
path = /home
valid users = %U
read only = no
available = yes
browseable = yes
writable = yes
guest ok = no
public = no
printable = no
locking = no
strict locking = no
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
read only = no
available = yes
browseable = yes
writable = no
guest ok = no
public = no
printable = no
locking = no
strict locking = no
[profiles]
comment = User Profiles
path = /var/lib/samba/profiles
read only = no
available = yes
browseable = yes
writable = yes
guest ok = no
public = no
printable = no
create mode = 0600
directory mask = 0700
locking = no
strict locking = no
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
writable = no
guest ok = no
public = no
printable = yes
locking = no
strict locking = no
[pdf-documents]
path = /var/lib/samba/pdf-documents
comment = Converted PDF Documents
admin users = %U
available = yes
browseable = yes
writeable = yes
guest ok = yes
locking = no
strict locking = no
[pdf-printer]
path = /tmp
comment = PDF Printer Service
printable = yes
guest ok = yes
use client driver = yes
printing = bsd
print command = /usr/bin/gadmin-samba-pdf %s %u
lpq command =
lprm command =
Dell Inspiron 3793 _ Manjaro KDE Plasma 5.26.4 _ Pro; 8xIntel Core i5-1035G1 _Mémoire 23.3 Go _ Carte graphique : Intel Corporation Iris Plus Graphics G1 (Ice Lake) _ Carte son : lspci | grep 'Audio' _Gnome-Boxes (ou Machines)
Hors ligne
#15 Le 17/05/2021, à 19:00
- #Ericsson
Re : Accès au disque dur Bbox (Résolu)
Modération
Bonjour,
Pour ajouter toi-même les balises code à ton message #12 :
Cliquer sur le lien « Modifier » en bas à droite du message
Sélectionner le texte
Cliquer sur le <> de l'éditeur de message
http://pix.toile-libre.org/upload/img/1471986854.png
Ah, d'accord ! Merci. :
Dernière modification par #Ericsson (Le 17/05/2021, à 19:02)
Dell Inspiron 3793 _ Manjaro KDE Plasma 5.26.4 _ Pro; 8xIntel Core i5-1035G1 _Mémoire 23.3 Go _ Carte graphique : Intel Corporation Iris Plus Graphics G1 (Ice Lake) _ Carte son : lspci | grep 'Audio' _Gnome-Boxes (ou Machines)
Hors ligne
#16 Le 17/05/2021, à 21:16
- nany
Re : Accès au disque dur Bbox (Résolu)
Bon, donne les retours de :
sed -ri 's/^.*(security = user)/\1/;s/(hosts allow = ).*/\1127.0.0.1 192.168.0.0/' /etc/samba/smb.conf && testparm -s
cat /usr/share/samba/smb.conf
sudo systemctl restart smbd.service
En ligne
#17 Le 17/05/2021, à 22:45
- cqfd93
Re : Accès au disque dur Bbox (Résolu)
Et donc il y a 2 messages à corriger : le 12 et le 15, ça ne se fera pas tout seul…
− cqfd93 −
Hors ligne
#18 Le 18/05/2021, à 07:48
- xubu1957
Re : Accès au disque dur Bbox (Résolu)
Bonjour,
Voir règles du forum > balises BB code
Balise CODE :
C'est la balise à utiliser pour donner de longs messages d'erreurs, des contenus de fichiers de configuration, des commandes à taper, etc … Elle permet des messages plus "compacts", et est moins ambiguë que d'autres polices sur certains caractères.
_ _ _
Pourquoi tu as effacé des messages ?
Dernière modification par xubu1957 (Le 18/05/2021, à 18:35)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#19 Le 18/05/2021, à 15:47
- #Ericsson
Re : Accès au disque dur Bbox (Résolu)
Bonjour,
Par ce qu'il était incomplet et que je l'ai posté plus loin entièrement.
Dell Inspiron 3793 _ Manjaro KDE Plasma 5.26.4 _ Pro; 8xIntel Core i5-1035G1 _Mémoire 23.3 Go _ Carte graphique : Intel Corporation Iris Plus Graphics G1 (Ice Lake) _ Carte son : lspci | grep 'Audio' _Gnome-Boxes (ou Machines)
Hors ligne
#20 Le 18/05/2021, à 15:53
- #Ericsson
Re : Accès au disque dur Bbox (Résolu)
Bon, donne les retours de :
sed -ri 's/^.*(security = user)/\1/;s/(hosts allow = ).*/\1127.0.0.1 192.168.0.0/' /etc/samba/smb.conf && testparm -s
Load smb config files from /etc/samba/smb.conf
WARNING: The "null passwords" option is deprecated
Unknown parameter encountered: "password level"
Ignoring unknown parameter "password level"
WARNING: The "encrypt passwords" option is deprecated
WARNING: The "client schannel" option is deprecated
WARNING: The "server schannel" option is deprecated
Unknown parameter encountered: "update encrypted"
Ignoring unknown parameter "update encrypted"
WARNING: The "idmap uid" option is deprecated
WARNING: The "idmap gid" option is deprecated
Unknown parameter encountered: "winbind trusted domains only"
Ignoring unknown parameter "winbind trusted domains only"
Loaded services file OK.
WARNING: socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
This warning is printed because you set one of the
following options: SO_SNDBUF, SO_RCVBUF, SO_SNDLOWAT,
SO_RCVLOWAT
Modern server operating systems are tuned for
high network performance in the majority of situations;
when you set 'socket options' you are overriding those
settings.
Linux in particular has an auto-tuning mechanism for
buffer sizes (SO_SNDBUF, SO_RCVBUF) that will be
disabled if you specify a socket buffer size. This can
potentially cripple your TCP/IP stack.
Getting the 'socket options' correct can make a big
difference to your performance, but getting them wrong
can degrade it by just as much. As with any other low
level setting, if you must make changes to it, make
small changes and test the effect before making any
large changes.
Server role: ROLE_STANDALONE
# Global parameters
[global]
add group script = /usr/sbin/groupadd '%g'
add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
allow trusted domains = No
bind interfaces only = Yes
client min protocol = NT1
client schannel = No
client signing = No
client use spnego = No
delete group script = /usr/sbin/groupdel '%g'
delete user from group script = /usr/sbin/userdel '%u' '%g'
delete user script = /usr/sbin/userdel '%u'
dns proxy = No
domain master = No
guest account = smbguest
idmap gid = 16777216-33554431
idmap uid = 16777216-33554431
interfaces = 127.0.0.1/8 192.168.0.0/24
local master = No
log file = /var/log/samba/samba.log
logon drive = m:
logon home = \\%L\homes\%u
logon path = \\%L\profiles\%u
logon script = %G.bat
machine password timeout = 120
max log size = 1000
name resolve order = wins lmhosts bcast
netbios name = SAMBA24
ntlm auth = ntlmv1-permitted
obey pam restrictions = Yes
os level = 33
passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
passwd chat timeout = 120
passwd program = /usr/bin/passwd '%u'
preferred master = No
printcap name = cups
remote announce = 192.168.0.255
remote browse sync = 192.168.0.255
security = USER
server min protocol = NT1
server schannel = No
server signing = No
server string = Samba file and print server
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
template shell = /dev/null
unix password sync = Yes
username level = 6
username map = /etc/samba/smbusers
winbind cache time = 360
winbind nested groups = No
winbind nss info = no
winbind separator = @
winbind use default domain = Yes
idmap config * : range = 16777216-33554431
idmap config * : backend = tdb
cups options = raw
follow symlinks = No
hosts allow = 127.0.0.1 192.168.0.0
[homes]
comment = Home Directories
locking = No
path = /home
read only = No
strict locking = No
valid users = %U
[netlogon]
comment = Network Logon Service
locking = No
path = /var/lib/samba/netlogon
strict locking = No
[profiles]
comment = User Profiles
create mask = 0600
directory mask = 0700
locking = No
path = /var/lib/samba/profiles
read only = No
strict locking = No
[printers]
browseable = No
comment = All Printers
locking = No
path = /var/spool/samba
printable = Yes
strict locking = No
[pdf-documents]
admin users = %U
comment = Converted PDF Documents
guest ok = Yes
locking = No
path = /var/lib/samba/pdf-documents
read only = No
strict locking = No
[pdf-printer]
comment = PDF Printer Service
guest ok = Yes
lpq command =
path = /tmp
printable = Yes
print command = /usr/bin/gadmin-samba-pdf %s %u
printing = bsd
use client driver = Yes
sle@SLE-Inspiron-3793:~$
Dell Inspiron 3793 _ Manjaro KDE Plasma 5.26.4 _ Pro; 8xIntel Core i5-1035G1 _Mémoire 23.3 Go _ Carte graphique : Intel Corporation Iris Plus Graphics G1 (Ice Lake) _ Carte son : lspci | grep 'Audio' _Gnome-Boxes (ou Machines)
Hors ligne
#21 Le 18/05/2021, à 15:55
- #Ericsson
Re : Accès au disque dur Bbox (Résolu)
Bon, donne les retours de :
cat /usr/share/samba/smb.conf
sle@SLE-Inspiron-3793:~$ cat /usr/share/samba/smb.conf
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
# - When such options are commented with ";", the proposed setting
# differs from the default Samba behaviour
# - When commented with "#", the proposed setting is the default
# behaviour of Samba but the option is considered important
# enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.
#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)
#### Networking ####
# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
; interfaces = 127.0.0.0/8 eth0
# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself. However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
; bind interfaces only = yes
#### Debugging/Accounting ####
# This tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m
# Cap the size of the individual log files (in KiB).
max log size = 1000
# We want Samba to only log to /var/log/samba/log.{smbd,nmbd}.
# Append syslog@1 if you want important messages to be sent to syslog too.
logging = file
# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
# Server role. Defines in which mode Samba will operate. Possible
# values are "standalone server", "member server", "classic primary
# domain controller", "classic backup domain controller", "active
# directory domain controller".
#
# Most people will want "standalone server" or "member server".
# Running as "active directory domain controller" will require first
# running "samba-tool domain provision" to wipe databases and create a
# new domain.
server role = standalone server
obey pam restrictions = yes
# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
unix password sync = yes
# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
# sending the correct chat script for the passwd program in Debian Sarge).
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
pam password change = yes
# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
map to guest = bad user
########## Domains ###########
#
# The following settings only takes effect if 'server role = primary
# classic domain controller', 'server role = backup domain controller'
# or 'domain logons' is set
#
# It specifies the location of the user's
# profile directory from the client point of view) The following
# required a [profiles] share to be setup on the samba server (see
# below)
; logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
# (this is Samba's default)
# logon path = \\%N\%U\profile
# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
; logon drive = H:
# logon home = \\%N\%U
# The following setting only takes effect if 'domain logons' is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in 'DOS' file format convention
; logon script = logon.cmd
# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe. The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
# This allows machine accounts to be created on the domain controller via the
# SAMR RPC pipe.
# The following assumes a "machines" group exists on the system
; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
# This allows Unix groups to be created on the domain controller via the SAMR
# RPC pipe.
; add group script = /usr/sbin/addgroup --force-badname %g
############ Misc ############
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /home/samba/etc/smb.conf.%m
# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
; idmap config * : backend = tdb
; idmap config * : range = 3000-7999
; idmap config YOURDOMAINHERE : backend = tdb
; idmap config YOURDOMAINHERE : range = 100000-999999
; template shell = /bin/bash
# Setup usershare options to enable non-root users to share folders
# with the net usershare command.
# Maximum number of usershare. 0 means that usershare is disabled.
# usershare max shares = 100
# Allow users who've been granted usershare privileges to create
# public shares, not just authenticated ones
usershare allow guests = yes
#======================= Share Definitions =======================
# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home directory as \\server\username
;[homes]
; comment = Home Directories
; browseable = no
# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
; read only = yes
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
; create mask = 0700
# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
; directory mask = 0700
# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.
# Un-comment the following parameter to make sure that only "username"
# can connect to \\server\username
# This might need tweaking when using external authentication schemes
; valid users = %S
# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes
# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace 'lpadmin' with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
; write list = root, @lpadmin
sle@SLE-Inspiron-3793:~$
Dernière modification par Nuliel (Le 18/05/2021, à 21:21)
Dell Inspiron 3793 _ Manjaro KDE Plasma 5.26.4 _ Pro; 8xIntel Core i5-1035G1 _Mémoire 23.3 Go _ Carte graphique : Intel Corporation Iris Plus Graphics G1 (Ice Lake) _ Carte son : lspci | grep 'Audio' _Gnome-Boxes (ou Machines)
Hors ligne
#22 Le 18/05/2021, à 15:55
- xubu1957
Re : Accès au disque dur Bbox (Résolu)
ou :
_ _ _
(edit=messages regroupés)
_ _ _
_ _ _
Méthode détaillée :
Bonjour,
Entrer des commandes dans un terminal et donner le résultat - Voilà la marche à suivre :
Ouvre le terminal avec ctrl-alt-t
Sélectionne la commande voulue avec un triple clic (ça sélectionne toute la ligne, même la fin si on ne la voit pas)
Colle-la dans le terminal avec un clic molette, valide avec Entrée
Sélectionne et copie tout ce que te dit le terminal depuis la commande jusqu'à la dernière ligne incluse
Clique sur le <> de l'éditeur de message
Colle là où se trouve le curseur (entre le ] et le [)
Dernière modification par xubu1957 (Le 18/05/2021, à 18:32)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#23 Le 18/05/2021, à 15:58
- #Ericsson
Re : Accès au disque dur Bbox (Résolu)
Je suis désolé, mais qu'est-ce que le code svp ? J'ai regardé l'aide au forum, mais j'avoue être perdu.
Dell Inspiron 3793 _ Manjaro KDE Plasma 5.26.4 _ Pro; 8xIntel Core i5-1035G1 _Mémoire 23.3 Go _ Carte graphique : Intel Corporation Iris Plus Graphics G1 (Ice Lake) _ Carte son : lspci | grep 'Audio' _Gnome-Boxes (ou Machines)
Hors ligne
#24 Le 18/05/2021, à 16:08
- #Ericsson
Re : Accès au disque dur Bbox (Résolu)
moko138 a écrit :1) Les balises-code sont les < > (crochets bleus) de la barre de mise en forme.
_ _ _
Méthode détaillée :
cqfd93 a écrit :Bonjour,
Entrer des commandes dans un terminal et donner le résultat - Voilà la marche à suivre :
Ouvre le terminal avec ctrl-alt-t
Sélectionne la commande voulue avec un triple clic (ça sélectionne toute la ligne, même la fin si on ne la voit pas)
Colle-la dans le terminal avec un clic molette, valide avec Entrée
Sélectionne et copie tout ce que te dit le terminal depuis la commande jusqu'à la dernière ligne incluse
Clique sur le <> de l'éditeur de message
Colle là où se trouve le curseur (entre le ] et le [)
J'ai un message d'erreur mempêchant de valider la dernière action demandé par Nany, ce malgré le suivi de l'aide.
Dell Inspiron 3793 _ Manjaro KDE Plasma 5.26.4 _ Pro; 8xIntel Core i5-1035G1 _Mémoire 23.3 Go _ Carte graphique : Intel Corporation Iris Plus Graphics G1 (Ice Lake) _ Carte son : lspci | grep 'Audio' _Gnome-Boxes (ou Machines)
Hors ligne
#25 Le 18/05/2021, à 16:21
- xubu1957
Re : Accès au disque dur Bbox (Résolu)
Tu n'est pas obligé de citer in extenso le message précédent.
(...)
3. Utilisez la citation avec modération : il ne sert à rien de citer l'intégralité du post précédent.
(...)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne