The Samba dead tread
The Samba dead tread
plop
je m'en sort pas sous samba
Du coup je fais une liste de ce que j'ai today;
= tentative de modification du samba.conf, echec total car le fichoer que j'ai est bizare, et de toute maniere il me dit que j'ai pas les autorisations en ecriture
= deouis le client, en W XP (dans quelques jours un autre en seven), j'ai bien les dossiers partagés, mais on me dit "the network path was not foud"
= depuis le serveur par contrej'ai acces lecture/ecriture sur les partages du client winXP...
Je met mon fichier conf en deuxieme post.
je m'en sort pas sous samba
Du coup je fais une liste de ce que j'ai today;
= tentative de modification du samba.conf, echec total car le fichoer que j'ai est bizare, et de toute maniere il me dit que j'ai pas les autorisations en ecriture
= deouis le client, en W XP (dans quelques jours un autre en seven), j'ai bien les dossiers partagés, mais on me dit "the network path was not foud"
= depuis le serveur par contrej'ai acces lecture/ecriture sur les partages du client winXP...
Je met mon fichier conf en deuxieme post.
The Samba dead tread
#
# 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.
# A well-established practice is to name the original file
# "smb.conf.master" and create the "real" config file with
# testparm -s smb.conf.master >smb.conf
# This minimizes the size of the really used smb.conf file
# which, according to the Samba Team, impacts performance
# However, use this with caution if your smb.conf file contains nested
# "include" statements. See Debian bug #483187 for a case
# where using a master file is not a good idea.
#
#======================= 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)
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = no
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
# What naming service and in what order should we use to resolve host names
# to IP addresses
; name resolve order = lmhosts host wins bcast
#### 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
# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
# syslog only = no
# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
syslog = 0
# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
# security = user
# You may wish to use password encryption. See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
encrypt passwords = true
# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
passdb backend = tdbsam
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
# 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.
# A well-established practice is to name the original file
# "smb.conf.master" and create the "real" config file with
# testparm -s smb.conf.master >smb.conf
# This minimizes the size of the really used smb.conf file
# which, according to the Samba Team, impacts performance
# However, use this with caution if your smb.conf file contains nested
# "include" statements. See Debian bug #483187 for a case
# where using a master file is not a good idea.
#
#======================= 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)
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = no
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
# What naming service and in what order should we use to resolve host names
# to IP addresses
; name resolve order = lmhosts host wins bcast
#### 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
# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
# syslog only = no
# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
syslog = 0
# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
# security = user
# You may wish to use password encryption. See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
encrypt passwords = true
# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
passdb backend = tdbsam
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
The Samba dead tread
voila ma conf simple au possible si ca peut t'inspirer
/etc/samba/smb.conf
/etc/samba/smb.conf
[global] workgroup = XTBA server string = Storage (Samba %v) preserve case = yes short preserve case = yes security = user null passwords = yes map to guest = Bad User socket options = TCP_NODELAY [Incoming] comment = Incoming pour écrire ce que vous voulez path = "/media/raid/Incomming Public" read only = yes browseable = yes public = yes writable = yes guest ok = yes [Videos] comment = Videos path = /media/raid/Fichiers/Videos read only = yes browseable = yes public = yes writable = no guest ok = yes veto files = /*Camescope*/
The Samba dead tread
pas la meme moi, je peux faire du copier coller? (enfin en enlevant le useless chez moi...)
The Samba dead tread
en plus je peux vraiment pas modifier le conf, il m'indiue acces refusé...
The Samba dead tread
bizarre ton truc os installé par toi ?
sur les dernier ubuntu si tu le gère par l'os le partage
ton fichier samba reste vide j'ai jamais trop regardé
sur les dernier ubuntu si tu le gère par l'os le partage
ton fichier samba reste vide j'ai jamais trop regardé
The Samba dead tread
peut être parce qu'il utilise plus smb.conf mais fragmente comme c'est la mode dans un smb.conf.d avec des petits fichiers dedans ?bizarre ton truc os installé par toi ?
sur les dernier ubuntu si tu le gère par l'os le partage
ton fichier samba reste vide j'ai jamais trop regardé
The Samba dead tread
ouaip by mebizarre ton truc os installé par toi ?
sur les dernier ubuntu si tu le gère par l'os le partage
ton fichier samba reste vide j'ai jamais trop regardé
seven install, meme merde donc ça viens bien du serveur...
Zplay je ne serais te dire...
The Samba dead tread
faut passer me voir ce week endouaip by me
seven install, meme merde donc ça viens bien du serveur...
Zplay je ne serais te dire...

The Samba dead tread
ce WE c'est un peu chaud.
Mais autant la semaine prochaine...
Enfin je vais essayer deux trois trucs encore avant, voir si j'ai un resultat...
Mais autant la semaine prochaine...
Enfin je vais essayer deux trois trucs encore avant, voir si j'ai un resultat...
-
- Messages : 656
- Inscription : ven. 12 janv. 2018 17:44
The Samba dead tread
ubuntu c'est /var/lib/samba de mémoire ou un truc du style
Sinon TheMartel, ta conf me semble correct (sauf que y'a aucun partage, à part les imprimantes, dedans)
Tu as bien créé des utilisateurs samba, mappés sur des users système ?
Tu as vérifié les droits (au niveau FS je parle) des dossiers/fichiers que tu partages ?
Sinon TheMartel, ta conf me semble correct (sauf que y'a aucun partage, à part les imprimantes, dedans)
Tu as bien créé des utilisateurs samba, mappés sur des users système ?
Tu as vérifié les droits (au niveau FS je parle) des dossiers/fichiers que tu partages ?
The Samba dead tread
Petite evolution.
J'ai installé un module supplementaire a samba, "configuration de serveur samba".
Je peux ajouter des users, dossier et tout...
mais erreur "dossier annecessible" sous windows...
et j'arrive plus a acceder au fichiers de windows depuis le serveur.
fighting, en effet j'ai trouvé des trucs par là, je modif a l'arrache et je vous tiens au jus.
Pour tes verifs je dois chercher ou?
J'ai installé un module supplementaire a samba, "configuration de serveur samba".
Je peux ajouter des users, dossier et tout...
mais erreur "dossier annecessible" sous windows...
et j'arrive plus a acceder au fichiers de windows depuis le serveur.
fighting, en effet j'ai trouvé des trucs par là, je modif a l'arrache et je vous tiens au jus.
Pour tes verifs je dois chercher ou?
The Samba dead tread
pas mieux; "le serveur specifié ne peut executer l'ordre demandé"...
-
- Messages : 656
- Inscription : ven. 12 janv. 2018 17:44
The Samba dead tread
bah le chemin des dossiers que tu partages ...
genre /home/... ou /media/...
genre /home/... ou /media/...