Crunchez vos adresses URL
|
Rejoignez notre discord
|
Hébergez vos photos
Page 129 sur 284 PremièrePremière ... 2979119121122123124125126127128129130131132133134135136137139179229 ... DernièreDernière
Affichage des résultats 3 841 à 3 870 sur 8504
  1. #3841
    Bon, j'arrive même pas à rendre la clé USB bootable. J'ai essayé win32diskimager sous Windows, cp et dd sous Linux, rien. La clé est bien reconnue mais ça boot pas. Où ça capote à votre avis ?

  2. #3842
    Pour ta clé USB, Universal USB Installer peut faire le job.
    Pour les partoches, 4 partitions chiffrées bon courage pour les ouvrir au boot. La solution la plus sympathique à mon sens est un gros conteneur luks dans laquelle tu mets ton pv. Même si grub2 est capable d'ouvrir du chiffré, ça contraint à taper une fois de plus la passphrase, donc pour le côté pratique un /boot non chiffré est intéressant.

  3. #3843
    Citation Envoyé par yanad Voir le message
    J'ai maintenant 1.8Go d'espace libre et apparement tout est rentré dans l'ordre merci !

    Si je dois utiliser Gparted pour augmenter la taille de ma partition, suis-je obligé de le faire par une clé usb comme conseillé plus haut ou est ce que je peux le lancer directement depuis mon pc maintenant que mon problème est résolu ?



    Sinon je profite de vous vu que vous semblez calé pour résoudre les problèmes (). J'ai je pense un problème de "driver" carte graphique (je mets "driver" car je ne sais pas si c'est vraiment ça). En gros j'ai installé steam sur mon ubuntu car j'aimerais à terme ne plus aller sur windows mais quand je lance City Skyline les graphismes sont aux fraises. Par exemple certaines textures ne s'affichent pas, ou des animations. Le jeu est jouable donc a priori cela ne doit être que "l'activation" de ma carte graphique sur ubuntu qui doit géner. Une idée ?
    Hello,
    pour refaire le partitionnement, tu devras passer par une cle USB bootable: on ne touche pas a un systeme de fichiers monté.

    Pour la carte graphique, essaie de passer par les pilotes proposes par xorg-edgers. le PPA est la: https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa
    Tu auras peut-etre des pilotes plus recents et plus performants que ceux de la distrib de base.
    Message conforme à la norme ISO 9002-2000. Ce message ne met en doute que la santé mentale de son créateur et est placé sous son entière responsabilité. B0b0 sent du slip.

  4. #3844
    Citation Envoyé par Néandre Voir le message
    Pour ta clé USB, Universal USB Installer peut faire le job.
    Merci mais la clé était bootable en fait, mais pas sur le PC avec Windows, va savoir pourquoi.

    J'ai donc installé le bousin, une grosse partoche chiffrée avec la LVM dedans. Sauf que :
    - pas de wi-fi alors que j'ai installé les bons pilotes ; il met une plombe à détecter le réseau et n'arrive pas à se connecter, il mouline quelques secondes et pouf. Peut-être parce que j'ai zappé la configuration du réseau lors de l'installation (j'étais hors-ligne).
    - ça ne s’éteint pas ou alors avec un message d'erreur "DM device" quelque chose, j'ai pas bien regardé
    - pas de terminal root, mais il y a la commande su

  5. #3845
    Citation Envoyé par DeadFish Voir le message
    - pas de wi-fi alors que j'ai installé les bons pilotes ; il met une plombe à détecter le réseau et n'arrive pas à se connecter, il mouline quelques secondes et pouf. Peut-être parce que j'ai zappé la configuration du réseau lors de l'installation (j'étais hors-ligne)
    Je deviens fou.

    C'est pas le réseau, j'ai essayé avec deux autres appareils, tout roule.

    C'est pas non plus le pilote. Je l'ai installé, j'ai vérifié avec lsmod et dmesg, le module est bien chargé.

    Dans iptables, c'est open bar donc non.

    Le problème matériel, c'est possible, mais peu probable dans la mesure où ça fonctionnait il y a quelques jours avant l'installation et qu'il n'y a rien eu de particulier (choc, etc.).

    Je deviens fou.

    Pour rappel : des plombes à détecter les points d'accès ; quand il en détecte, ce sont des trucs que j'avais jamais vus ("faf", sans déconner...) ; quand le mien est détecté (une fois sur vingt), ça mouline mais ne se connecte pas. Vous conseilleriez quoi ?

  6. #3846
    J'ai enfin fait le passage de Fedora 21 à F22 (je laisse toujours 2-3 mois le temps que les bugs soient éliminés). J'ai juste tâté l'OS pendant une soirée, mais je suis très impressionné par la finition de l'ensemble. Pas un bug et même GNOME a une bonne gueule OOTB (la MAJ du thème de GNOME fait beaucoup plus pro qu'avant).

    Reste plus qu'à intégrer un vrai rendu des polices par défaut (avec installation de freetype-freeworld et anti-aliasing rgba) et ça sera parfait. Hâte de voir à quoi ressemblera F23.
    Citation Envoyé par Amantine Aurore Lucile Dupin
    Donnez-moi la première babiole que vous aurez sur vous... Tenez, cette pokeball d'ivoire émaillé que vous avez là en main.

  7. #3847
    Un ou deux screen pour illustrer aurait été sympa.

  8. #3848
    Je fais ça ce soir.
    Citation Envoyé par Amantine Aurore Lucile Dupin
    Donnez-moi la première babiole que vous aurez sur vous... Tenez, cette pokeball d'ivoire émaillé que vous avez là en main.

  9. #3849
    Rhô !
    une balle, un imp (Newstuff #491, Edge, Duke it out in Doom, John Romero, DoomeD again)
    Canard zizique : q 4, c, d, c, g, n , t-s, l, d, s, r, t, d, s, c, jv, c, g, b, p, b, m, c, 8 b, a, a-g, b, BOF, BOJV, c, c, c, c, e, e 80, e b, é, e, f, f, f, h r, i, J, j, m-u, m, m s, n, o, p, p-r, p, r, r r, r, r p, s, s d, t, t
    Canard lecture

  10. #3850
    Vous avez bien de la chance, parce que en ce moment, c'est la teuf avec Debian SID et kde5.
    En un mois, j'ai bien dû faire une dizaine de rapport de bug. Je pense même bientôt tutoyer les mainteneurs.
    Et c'est dingue quand même le nombre de français dans cette distro.
    J'ai raison et vous avez tort.

  11. #3851
    Debian sid en ce moment c'est un peu la fête du slip avec la transition libstdc++6.
    "Dieu est mort" · "Si le téléchargement c’est du vol, Linux c’est de la prostitution."

  12. #3852
    Ouaip, la majorité des problèmes avec la transition vers kde5 sont liés à ça.
    Chapeau n'empêche.

    Ils sont en sous-effectif pour la gestion des packages liés à kde.
    C'est les grandes vacances, et ça se sent avec les temps de réponses.
    Il y a une grosse migration un poil compliqué vers libstdc++6.

    Et ils décident de migrer vers kde5 \o/

    (oui, c'est méchant et totalement gratuit)
    J'ai raison et vous avez tort.

  13. #3853
    Citation Envoyé par George Sable Voir le message
    J'ai enfin fait le passage de Fedora 21 à F22 (je laisse toujours 2-3 mois le temps que les bugs soient éliminés). J'ai juste tâté l'OS pendant une soirée, mais je suis très impressionné par la finition de l'ensemble. Pas un bug et même GNOME a une bonne gueule OOTB (la MAJ du thème de GNOME fait beaucoup plus pro qu'avant).

    Reste plus qu'à intégrer un vrai rendu des polices par défaut (avec installation de freetype-freeworld et anti-aliasing rgba) et ça sera parfait. Hâte de voir à quoi ressemblera F23.
    Je retire ce que j'ai dit : l'accélération logicielle du trackpad est absolument horrible ! Moi qui trouvait les trackpads plus agréables sous GNU/Linux que sous Windows, c'est la douche froide... Heureusement que j'utilise trackball/souris 90% du temps.

    À part ça, un truc me rend dingue : je n'arrive pas à accéder à mon partage Samba depuis mon XP dans Boxes. L'ordinateur apparaît dans l'explorateur, je peux cliquer dessus et voir le dossier que je souhaite partager, mais j'obtiens un message d'erreur quand j'essaye de l'ouvrir.

    Le serveur Tokyo est visible via « View workgroup computer » :


    Après authentification avec login et pwd, je peux l'ouvrir et voir le dossier Documents que je souhaite partager :


    Mais je ne peux pas ouvrir le dossier en question :


    Voilà mon smb.conf, si jamais quelqu'un peut m'éclairer sur ce qui plante. La partie intéressante est tout à la fin :
    Code:
    # This is the main Samba configuration file. For detailed information about the
    # options listed here, refer to the smb.conf(5) manual page. Samba has a huge
    # number of configurable options, most of which are not shown in this example.
    #
    # The Official Samba 3.2.x HOWTO and Reference Guide contains step-by-step
    # guides for installing, configuring, and using Samba:
    # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
    #
    # The Samba-3 by Example guide has working examples for smb.conf. This guide is
    # generated daily: http://www.samba.org/samba/docs/Samba-Guide.pdf
    #
    # In this file, lines starting with a semicolon (;) or a hash (#) are
    # comments and are ignored. This file uses hashes to denote commentary and
    # semicolons for parts of the file you may wish to configure.
    #
    # Note: Run the "testparm" command after modifying this file to check for basic
    # syntax errors.
    #
    #---------------
    # Security-Enhanced Linux (SELinux) Notes:
    #
    # Turn the samba_domain_controller Boolean on to allow Samba to use the useradd
    # and groupadd family of binaries. Run the following command as the root user to
    # turn this Boolean on:
    # setsebool -P samba_domain_controller on
    #
    # Turn the samba_enable_home_dirs Boolean on if you want to share home
    # directories via Samba. Run the following command as the root user to turn this
    # Boolean on:
    # setsebool -P samba_enable_home_dirs on
    #
    # If you create a new directory, such as a new top-level directory, label it
    # with samba_share_t so that SELinux allows Samba to read and write to it. Do
    # not label system directories, such as /etc/ and /home/, with samba_share_t, as
    # such directories should already have an SELinux label.
    #
    # Run the "ls -ldZ /path/to/directory" command to view the current SELinux
    # label for a given directory.
    #
    # Set SELinux labels only on files and directories you have created. Use the
    # chcon command to temporarily change a label:
    # chcon -t samba_share_t /path/to/directory
    #
    # Changes made via chcon are lost when the file system is relabeled or commands
    # such as restorecon are run.
    #
    # Use the samba_export_all_ro or samba_export_all_rw Boolean to share system
    # directories. To share such directories and only allow read-only permissions:
    # setsebool -P samba_export_all_ro on
    # To share such directories and allow read and write permissions:
    # setsebool -P samba_export_all_rw on
    #
    # To run scripts (preexec/root prexec/print command/...), copy them to the
    # /var/lib/samba/scripts/ directory so that SELinux will allow smbd to run them.
    # Note that if you move the scripts to /var/lib/samba/scripts/, they retain
    # their existing SELinux labels, which may be labels that SELinux does not allow
    # smbd to run. Copying the scripts will result in the correct SELinux labels.
    # Run the "restorecon -R -v /var/lib/samba/scripts" command as the root user to
    # apply the correct SELinux labels to these files.
    #
    #--------------
    #
    #======================= Global Settings =====================================
    
    [global]
    
    # ----------------------- Network-Related Options -------------------------
    #
    # workgroup = the Windows NT domain name or workgroup name, for example, MYGROUP.
    #
    # server string = the equivalent of the Windows NT Description field.
    #
    # netbios name = used to specify a server name that is not tied to the hostname.
    #
    # interfaces = used to configure Samba to listen on multiple network interfaces.
    # If you have multiple interfaces, you can use the "interfaces =" option to
    # configure which of those interfaces Samba listens on. Never omit the localhost
    # interface (lo).
    #
    # hosts allow = the hosts allowed to connect. This option can also be used on a
    # per-share basis.
    #
    # hosts deny = the hosts not allowed to connect. This option can also be used on
    # a per-share basis.
    #
    # max protocol = used to define the supported protocol. The default is NT1. You
    # can set it to SMB2 if you want experimental SMB2 support.
    #
    	workgroup = WORKGROUP
    	server string = Samba Server Version %v
    
    ;	netbios name = MYSERVER
    
    ;	interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
    	hosts allow = 127. 192.168.
    
    ;	max protocol = SMB2
    
    # --------------------------- Logging Options -----------------------------
    #
    # log file = specify where log files are written to and how they are split.
    #
    # max log size = specify the maximum size log files are allowed to reach. Log
    # files are rotated when they reach the size specified with "max log size".
    #
    
    	# log files split per-machine:
    	log file = /var/log/samba/log.%m
    	# maximum size of 50KB per log file, then rotate:
    	max log size = 50
    
    # ----------------------- Standalone Server Options ------------------------
    #
    # security = the mode Samba runs in. This can be set to user, share
    # (deprecated), or server (deprecated).
    #
    # passdb backend = the backend used to store user information in. New
    # installations should use either tdbsam or ldapsam. No additional configuration
    # is required for tdbsam. The "smbpasswd" utility is available for backwards
    # compatibility.
    #
    
    	security = user
    ;	passdb backend = tdbsam
    
    
    # ----------------------- Domain Members Options ------------------------
    #
    # security = must be set to domain or ads.
    #
    # passdb backend = the backend used to store user information in. New
    # installations should use either tdbsam or ldapsam. No additional configuration
    # is required for tdbsam. The "smbpasswd" utility is available for backwards
    # compatibility.
    #
    # realm = only use the realm option when the "security = ads" option is set.
    # The realm option specifies the Active Directory realm the host is a part of.
    #
    # password server = only use this option when the "security = server"
    # option is set, or if you cannot use DNS to locate a Domain Controller. The
    # argument list can include My_PDC_Name, [My_BDC_Name], and [My_Next_BDC_Name]:
    #
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    #
    # Use "password server = *" to automatically locate Domain Controllers.
    
    ;	realm = MY_REALM
    
    ;	password server = <NT-Server-Name>
    
    # ----------------------- Domain Controller Options ------------------------
    #
    # security = must be set to user for domain controllers.
    #
    # passdb backend = the backend used to store user information in. New
    # installations should use either tdbsam or ldapsam. No additional configuration
    # is required for tdbsam. The "smbpasswd" utility is available for backwards
    # compatibility.
    #
    # domain master = specifies Samba to be the Domain Master Browser, allowing
    # Samba to collate browse lists between subnets. Do not use the "domain master"
    # option if you already have a Windows NT domain controller performing this task.
    #
    # domain logons = allows Samba to provide a network logon service for Windows
    # workstations.
    #
    # logon script = specifies a script to run at login time on the client. These
    # scripts must be provided in a share named NETLOGON.
    #
    # logon path = specifies (with a UNC path) where user profiles are stored.
    #
    #
    
    ;	domain master = yes
    ;	domain logons = yes
    
    	# the following login script name is determined by the machine name
    	# (%m):
    ;	logon script = %m.bat
    	# the following login script name is determined by the UNIX user used:
    ;	logon script = %u.bat
    ;	logon path = \\%L\Profiles\%u
    	# use an empty path to disable profile support:
    ;	logon path =
    
    	# various scripts can be used on a domain controller or a stand-alone
    	# machine to add or delete corresponding UNIX accounts:
    
    ;	add user script = /usr/sbin/useradd "%u" -n -g users
    ;	add group script = /usr/sbin/groupadd "%g"
    ;	add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
    ;	delete user script = /usr/sbin/userdel "%u"
    ;	delete user from group script = /usr/sbin/userdel "%u" "%g"
    ;	delete group script = /usr/sbin/groupdel "%g"
    
    
    # ----------------------- Browser Control Options ----------------------------
    #
    # local master = when set to no, Samba does not become the master browser on
    # your network. When set to yes, normal election rules apply.
    #
    # os level = determines the precedence the server has in master browser
    # elections. The default value should be reasonable.
    #
    # preferred master = when set to yes, Samba forces a local browser election at
    # start up (and gives itself a slightly higher chance of winning the election).
    #
    ;	local master = no
    ;	os level = 33
    ;	preferred master = yes
    
    #----------------------------- Name Resolution -------------------------------
    #
    # This section details the support for the Windows Internet Name Service (WINS).
    #
    # Note: Samba can be either a WINS server or a WINS client, but not both.
    #
    # wins support = when set to yes, the NMBD component of Samba enables its WINS
    # server.
    #
    # wins server = tells the NMBD component of Samba to be a WINS client.
    #
    # wins proxy = when set to yes, Samba answers name resolution queries on behalf
    # of a non WINS capable client. For this to work, there must be at least one
    # WINS server on the network. The default is no.
    #
    # dns proxy = when set to yes, Samba attempts to resolve NetBIOS names via DNS
    # nslookups.
    
    ;	wins support = yes
    ;	wins server = w.x.y.z
    ;	wins proxy = yes
    
    ;	dns proxy = yes
    
    # --------------------------- Printing Options -----------------------------
    #
    # The options in this section allow you to configure a non-default printing
    # system.
    #
    # load printers = when set you yes, the list of printers is automatically
    # loaded, rather than setting them up individually.
    #
    # cups options = allows you to pass options to the CUPS library. Setting this
    # option to raw, for example, allows you to use drivers on your Windows clients.
    #
    # printcap name = used to specify an alternative printcap file.
    #
    
    ;	load printers = yes
    	cups options = raw
    
    ;	printcap name = /etc/printcap
    	# obtain a list of printers automatically on UNIX System V systems:
    ;	printcap name = lpstat
    ;	printing = cups
    
    # --------------------------- File System Options ---------------------------
    #
    # The options in this section can be un-commented if the file system supports
    # extended attributes, and those attributes are enabled (usually via the
    # "user_xattr" mount option). These options allow the administrator to specify
    # that DOS attributes are stored in extended attributes and also make sure that
    # Samba does not change the permission bits.
    #
    # Note: These options can be used on a per-share basis. Setting them globally
    # (in the [global] section) makes them the default for all shares.
    
    ;	map archive = no
    ;	map hidden = no
    ;	map read only = no
    ;	map system = no
    ;	encrypt passwords = yes
    ;	guest ok = no
    ;	guest account = nobody
    ;	store dos attributes = yes
    
    
    #============================ Share Definitions ==============================
    
    ;[homes]
    ;	comment = Home Directories
    ;	browseable = no
    ;	writable = yes
    ;	valid users = %S
    ;	valid users = MYDOMAIN\%S
    
    ;[printers]
    ;	comment = All Printers
    ;	path = /var/spool/samba
    ;	browseable = no
    ;	guest ok = no
    ;	writable = no
    ;	printable = yes
    
    # Un-comment the following and create the netlogon directory for Domain Logons:
    ;	[netlogon]
    ;	comment = Network Logon Service
    ;	path = /var/lib/samba/netlogon
    ;	guest ok = yes
    ;	writable = no
    ;	share modes = no
    
    # Un-comment the following to provide a specific roving profile share.
    # The default is to use the user's home directory:
    ;	[Profiles]
    ;	path = /var/lib/samba/profiles
    ;	browseable = no
    ;	guest ok = yes
    
    # A publicly accessible directory that is read only, except for users in the
    # "staff" group (which have write permissions):
    ;	[public]
    ;	comment = Public Stuff
    ;	path = /home/samba
    ;	public = yes
    ;	writable = yes
    ;	printable = no
    ;	write list = +staff
    
    [Documents]
    	path = /home/chimai/Documents
    	read only = no
    	browseable = yes
    	valid users = chimai
    	writable = yes
    Citation Envoyé par Amantine Aurore Lucile Dupin
    Donnez-moi la première babiole que vous aurez sur vous... Tenez, cette pokeball d'ivoire émaillé que vous avez là en main.

  14. #3854
    Citation Envoyé par George Sable Voir le message
    Je retire ce que j'ai dit : l'accélération logicielle du trackpad est absolument horrible ! Moi qui trouvait les trackpads plus agréables sous GNU/Linux que sous Windows, c'est la douche froide... Heureusement que j'utilise trackball/souris 90% du temps.

    À part ça, un truc me rend dingue : je n'arrive pas à accéder à mon partage Samba depuis mon XP dans Boxes. L'ordinateur apparaît dans l'explorateur, je peux cliquer dessus et voir le dossier que je souhaite partager, mais j'obtiens un message d'erreur quand j'essaye de l'ouvrir.

    Le serveur Tokyo est visible via « View workgroup computer » :
    http://tof.canardpc.com/view/e3a65e8...897ac09884.jpg

    Après authentification avec login et pwd, je peux l'ouvrir et voir le dossier Documents que je souhaite partager :
    http://tof.canardpc.com/view/043395a...62153dd706.jpg

    Mais je ne peux pas ouvrir le dossier en question :
    http://tof.canardpc.com/view/2145960...a7b46f6db9.jpg

    Voilà mon smb.conf, si jamais quelqu'un peut m'éclairer sur ce qui plante. La partie intéressante est tout à la fin :
    Code:
    # This is the main Samba configuration file. For detailed information about the
    # options listed here, refer to the smb.conf(5) manual page. Samba has a huge
    # number of configurable options, most of which are not shown in this example.
    #
    # The Official Samba 3.2.x HOWTO and Reference Guide contains step-by-step
    # guides for installing, configuring, and using Samba:
    # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
    #
    # The Samba-3 by Example guide has working examples for smb.conf. This guide is
    # generated daily: http://www.samba.org/samba/docs/Samba-Guide.pdf
    #
    # In this file, lines starting with a semicolon (;) or a hash (#) are
    # comments and are ignored. This file uses hashes to denote commentary and
    # semicolons for parts of the file you may wish to configure.
    #
    # Note: Run the "testparm" command after modifying this file to check for basic
    # syntax errors.
    #
    #---------------
    # Security-Enhanced Linux (SELinux) Notes:
    #
    # Turn the samba_domain_controller Boolean on to allow Samba to use the useradd
    # and groupadd family of binaries. Run the following command as the root user to
    # turn this Boolean on:
    # setsebool -P samba_domain_controller on
    #
    # Turn the samba_enable_home_dirs Boolean on if you want to share home
    # directories via Samba. Run the following command as the root user to turn this
    # Boolean on:
    # setsebool -P samba_enable_home_dirs on
    #
    # If you create a new directory, such as a new top-level directory, label it
    # with samba_share_t so that SELinux allows Samba to read and write to it. Do
    # not label system directories, such as /etc/ and /home/, with samba_share_t, as
    # such directories should already have an SELinux label.
    #
    # Run the "ls -ldZ /path/to/directory" command to view the current SELinux
    # label for a given directory.
    #
    # Set SELinux labels only on files and directories you have created. Use the
    # chcon command to temporarily change a label:
    # chcon -t samba_share_t /path/to/directory
    #
    # Changes made via chcon are lost when the file system is relabeled or commands
    # such as restorecon are run.
    #
    # Use the samba_export_all_ro or samba_export_all_rw Boolean to share system
    # directories. To share such directories and only allow read-only permissions:
    # setsebool -P samba_export_all_ro on
    # To share such directories and allow read and write permissions:
    # setsebool -P samba_export_all_rw on
    #
    # To run scripts (preexec/root prexec/print command/...), copy them to the
    # /var/lib/samba/scripts/ directory so that SELinux will allow smbd to run them.
    # Note that if you move the scripts to /var/lib/samba/scripts/, they retain
    # their existing SELinux labels, which may be labels that SELinux does not allow
    # smbd to run. Copying the scripts will result in the correct SELinux labels.
    # Run the "restorecon -R -v /var/lib/samba/scripts" command as the root user to
    # apply the correct SELinux labels to these files.
    #
    #--------------
    #
    #======================= Global Settings =====================================
    
    [global]
    
    # ----------------------- Network-Related Options -------------------------
    #
    # workgroup = the Windows NT domain name or workgroup name, for example, MYGROUP.
    #
    # server string = the equivalent of the Windows NT Description field.
    #
    # netbios name = used to specify a server name that is not tied to the hostname.
    #
    # interfaces = used to configure Samba to listen on multiple network interfaces.
    # If you have multiple interfaces, you can use the "interfaces =" option to
    # configure which of those interfaces Samba listens on. Never omit the localhost
    # interface (lo).
    #
    # hosts allow = the hosts allowed to connect. This option can also be used on a
    # per-share basis.
    #
    # hosts deny = the hosts not allowed to connect. This option can also be used on
    # a per-share basis.
    #
    # max protocol = used to define the supported protocol. The default is NT1. You
    # can set it to SMB2 if you want experimental SMB2 support.
    #
    	workgroup = WORKGROUP
    	server string = Samba Server Version %v
    
    ;	netbios name = MYSERVER
    
    ;	interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
    	hosts allow = 127. 192.168.
    
    ;	max protocol = SMB2
    
    # --------------------------- Logging Options -----------------------------
    #
    # log file = specify where log files are written to and how they are split.
    #
    # max log size = specify the maximum size log files are allowed to reach. Log
    # files are rotated when they reach the size specified with "max log size".
    #
    
    	# log files split per-machine:
    	log file = /var/log/samba/log.%m
    	# maximum size of 50KB per log file, then rotate:
    	max log size = 50
    
    # ----------------------- Standalone Server Options ------------------------
    #
    # security = the mode Samba runs in. This can be set to user, share
    # (deprecated), or server (deprecated).
    #
    # passdb backend = the backend used to store user information in. New
    # installations should use either tdbsam or ldapsam. No additional configuration
    # is required for tdbsam. The "smbpasswd" utility is available for backwards
    # compatibility.
    #
    
    	security = user
    ;	passdb backend = tdbsam
    
    
    # ----------------------- Domain Members Options ------------------------
    #
    # security = must be set to domain or ads.
    #
    # passdb backend = the backend used to store user information in. New
    # installations should use either tdbsam or ldapsam. No additional configuration
    # is required for tdbsam. The "smbpasswd" utility is available for backwards
    # compatibility.
    #
    # realm = only use the realm option when the "security = ads" option is set.
    # The realm option specifies the Active Directory realm the host is a part of.
    #
    # password server = only use this option when the "security = server"
    # option is set, or if you cannot use DNS to locate a Domain Controller. The
    # argument list can include My_PDC_Name, [My_BDC_Name], and [My_Next_BDC_Name]:
    #
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    #
    # Use "password server = *" to automatically locate Domain Controllers.
    
    ;	realm = MY_REALM
    
    ;	password server = <NT-Server-Name>
    
    # ----------------------- Domain Controller Options ------------------------
    #
    # security = must be set to user for domain controllers.
    #
    # passdb backend = the backend used to store user information in. New
    # installations should use either tdbsam or ldapsam. No additional configuration
    # is required for tdbsam. The "smbpasswd" utility is available for backwards
    # compatibility.
    #
    # domain master = specifies Samba to be the Domain Master Browser, allowing
    # Samba to collate browse lists between subnets. Do not use the "domain master"
    # option if you already have a Windows NT domain controller performing this task.
    #
    # domain logons = allows Samba to provide a network logon service for Windows
    # workstations.
    #
    # logon script = specifies a script to run at login time on the client. These
    # scripts must be provided in a share named NETLOGON.
    #
    # logon path = specifies (with a UNC path) where user profiles are stored.
    #
    #
    
    ;	domain master = yes
    ;	domain logons = yes
    
    	# the following login script name is determined by the machine name
    	# (%m):
    ;	logon script = %m.bat
    	# the following login script name is determined by the UNIX user used:
    ;	logon script = %u.bat
    ;	logon path = \\%L\Profiles\%u
    	# use an empty path to disable profile support:
    ;	logon path =
    
    	# various scripts can be used on a domain controller or a stand-alone
    	# machine to add or delete corresponding UNIX accounts:
    
    ;	add user script = /usr/sbin/useradd "%u" -n -g users
    ;	add group script = /usr/sbin/groupadd "%g"
    ;	add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
    ;	delete user script = /usr/sbin/userdel "%u"
    ;	delete user from group script = /usr/sbin/userdel "%u" "%g"
    ;	delete group script = /usr/sbin/groupdel "%g"
    
    
    # ----------------------- Browser Control Options ----------------------------
    #
    # local master = when set to no, Samba does not become the master browser on
    # your network. When set to yes, normal election rules apply.
    #
    # os level = determines the precedence the server has in master browser
    # elections. The default value should be reasonable.
    #
    # preferred master = when set to yes, Samba forces a local browser election at
    # start up (and gives itself a slightly higher chance of winning the election).
    #
    ;	local master = no
    ;	os level = 33
    ;	preferred master = yes
    
    #----------------------------- Name Resolution -------------------------------
    #
    # This section details the support for the Windows Internet Name Service (WINS).
    #
    # Note: Samba can be either a WINS server or a WINS client, but not both.
    #
    # wins support = when set to yes, the NMBD component of Samba enables its WINS
    # server.
    #
    # wins server = tells the NMBD component of Samba to be a WINS client.
    #
    # wins proxy = when set to yes, Samba answers name resolution queries on behalf
    # of a non WINS capable client. For this to work, there must be at least one
    # WINS server on the network. The default is no.
    #
    # dns proxy = when set to yes, Samba attempts to resolve NetBIOS names via DNS
    # nslookups.
    
    ;	wins support = yes
    ;	wins server = w.x.y.z
    ;	wins proxy = yes
    
    ;	dns proxy = yes
    
    # --------------------------- Printing Options -----------------------------
    #
    # The options in this section allow you to configure a non-default printing
    # system.
    #
    # load printers = when set you yes, the list of printers is automatically
    # loaded, rather than setting them up individually.
    #
    # cups options = allows you to pass options to the CUPS library. Setting this
    # option to raw, for example, allows you to use drivers on your Windows clients.
    #
    # printcap name = used to specify an alternative printcap file.
    #
    
    ;	load printers = yes
    	cups options = raw
    
    ;	printcap name = /etc/printcap
    	# obtain a list of printers automatically on UNIX System V systems:
    ;	printcap name = lpstat
    ;	printing = cups
    
    # --------------------------- File System Options ---------------------------
    #
    # The options in this section can be un-commented if the file system supports
    # extended attributes, and those attributes are enabled (usually via the
    # "user_xattr" mount option). These options allow the administrator to specify
    # that DOS attributes are stored in extended attributes and also make sure that
    # Samba does not change the permission bits.
    #
    # Note: These options can be used on a per-share basis. Setting them globally
    # (in the [global] section) makes them the default for all shares.
    
    ;	map archive = no
    ;	map hidden = no
    ;	map read only = no
    ;	map system = no
    ;	encrypt passwords = yes
    ;	guest ok = no
    ;	guest account = nobody
    ;	store dos attributes = yes
    
    
    #============================ Share Definitions ==============================
    
    ;[homes]
    ;	comment = Home Directories
    ;	browseable = no
    ;	writable = yes
    ;	valid users = %S
    ;	valid users = MYDOMAIN\%S
    
    ;[printers]
    ;	comment = All Printers
    ;	path = /var/spool/samba
    ;	browseable = no
    ;	guest ok = no
    ;	writable = no
    ;	printable = yes
    
    # Un-comment the following and create the netlogon directory for Domain Logons:
    ;	[netlogon]
    ;	comment = Network Logon Service
    ;	path = /var/lib/samba/netlogon
    ;	guest ok = yes
    ;	writable = no
    ;	share modes = no
    
    # Un-comment the following to provide a specific roving profile share.
    # The default is to use the user's home directory:
    ;	[Profiles]
    ;	path = /var/lib/samba/profiles
    ;	browseable = no
    ;	guest ok = yes
    
    # A publicly accessible directory that is read only, except for users in the
    # "staff" group (which have write permissions):
    ;	[public]
    ;	comment = Public Stuff
    ;	path = /home/samba
    ;	public = yes
    ;	writable = yes
    ;	printable = no
    ;	write list = +staff
    
    [Documents]
    	path = /home/chimai/Documents
    	read only = no
    	browseable = yes
    	valid users = chimai
    	writable = yes
    C'est qui le owner du repertoire sur le linux?

    Pendant que je suis la, j'ai une petite enigme:
    sur un serveur debian Jessie, me repond qu'il ne trouve pas les binaires dans /usr/bin et /bin (pour le moment je n'ai trouvé de probleme que sur ces deux la. les autres ont l'air de fonctionner notament le /scripts où j'ai mes scripts persos)
    par exemple, scp n'est pas trouvé alors que un scp depuis cette machine vers une autre fonctionne sans souci.
    Pareil pour des commandes via ssh :
    Code:
    /0\ [ven. août 28] [23:07:44] wardog@death:
    ~/.ssh$ ssh -p 42 srv-distant "mounts"
    Enter passphrase for key '/home/wardog/.ssh/id_rsa': 
    no Args
    /scripts/mounts: ligne 6: sed : commande introuvable
    /scripts/mounts: ligne 6: mount : commande introuvable
    /scripts/mounts: ligne 6: sed : commande introuvable
    /scripts/mounts: ligne 6: sed : commande introuvable
    /scripts/mounts: ligne 6: column : commande introuvable
    le script mounts est dans /scripts et il est bien trouvé mais sed et mounts qui sont dans /bin eux ne le sont pas.

    De meme les binaires dans /usr/bin ne sont pas trouvés:

    Code:
    /0\ [ven. août 28] [23:30:50] wardog@death:
    ~/.ssh$ ssh -p 42 srv-distant "env"
    Enter passphrase for key '/home/wardog/.ssh/id_rsa': 
    bash: env : commande introuvable
    pourtant:
    Code:
    /127\ [ven. août 28] [23:45:44] wardog@death:
    ~/.ssh$ ssh -p 42 srv-distant "echo $PATH"
    Enter passphrase for key '/home/wardog/.ssh/id_rsa': 
    /home/wardog/perl5/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/scripts:
    la, honetement, je seche car le PATH est correct mais certains programmes dedans ne sont pas trouves alors que d'autres oui.

    Les infos du systeme:
    Code:
    /0\ [ven. août 28][23:45:08] root@SRV-Local:
    /# dpkg -l | grep openssh
    ii  openssh-client                 1:6.7p1-5                 amd64        secure shell (SSH) client, for secure access to remote machines
    ii  openssh-server                 1:6.7p1-5                 amd64        secure shell (SSH) server, for secure access from remote machines
    ii  openssh-sftp-server            1:6.7p1-5                 amd64        secure shell (SSH) sftp server module, for SFTP access from remote machines
    /0\ [ven. août 28][23:48:55] root@SRV-Local:
    /# uname -r
    3.16.0-4-amd64
    /0\ [ven. août 28][23:49:02] root@SRV-Local:
    /# lsb_release -a
    No LSB modules are available.
    Distributor ID:	Debian
    Description:	Debian GNU/Linux 8.1 (jessie)
    Release:	8.1
    Codename:	jessie
    /0\ [ven. août 28][23:50:40] root@SRV-Local:
    /# cat /etc/ssh/sshd_config | grep -v '#' | sed '/^$/d'
    Port 22
    Protocol 2
    HostKey /etc/ssh/ssh_host_rsa_key
    HostKey /etc/ssh/ssh_host_dsa_key
    HostKey /etc/ssh/ssh_host_ecdsa_key
    HostKey /etc/ssh/ssh_host_ed25519_key
    UsePrivilegeSeparation yes
    KeyRegenerationInterval 3600
    ServerKeyBits 1024
    SyslogFacility AUTH
    LogLevel INFO
    LoginGraceTime 120
    PermitRootLogin no
    StrictModes yes
    RSAAuthentication yes
    PubkeyAuthentication yes
    IgnoreRhosts yes
    RhostsRSAAuthentication no
    HostbasedAuthentication no
    PermitEmptyPasswords no
    ChallengeResponseAuthentication no
    PasswordAuthentication no
    X11Forwarding yes
    X11DisplayOffset 10
    PrintMotd no
    PrintLastLog yes
    TCPKeepAlive yes
    AcceptEnv LANG LC_*
    Subsystem sftp /usr/lib/openssh/sftp-server
    UsePAM yes

    edit: j'ai trouvé d'ou ca venait: c'etait mon /etc/environment qui etait buggué:
    au lieu de faire
    Code:
    PATH="$PATH:/scripts:"
    export PATH
    je faisais
    Code:
    export PATH="$PATH:/scripts:"
    Du coup c'etait interpreté au petit bonheur la chance.
    Dernière modification par wardog ; 29/08/2015 à 00h20. Motif: je suis un boulet...
    Message conforme à la norme ISO 9002-2000. Ce message ne met en doute que la santé mentale de son créateur et est placé sous son entière responsabilité. B0b0 sent du slip.

  15. #3855
    @George Sable : à tout hasard, un problème de versions de samba différentes ?
    "Lasciate ogne speranza, voi ch'intrate." Dante
    "Distinguer sans disjoindre pour relier sans confondre." Edgar Morin

  16. #3856
    Citation Envoyé par wardog Voir le message
    C'est qui le owner du repertoire sur le linux?
    Moi (utilisateur "chimai").


    J'ai également passé SELinux en Permissive Mode, pour pas qu'il ne m'embête.

    Citation Envoyé par golwin Voir le message
    @George Sable : à tout hasard, un problème de versions de samba différentes ?
    Comment ça ?
    Citation Envoyé par Amantine Aurore Lucile Dupin
    Donnez-moi la première babiole que vous aurez sur vous... Tenez, cette pokeball d'ivoire émaillé que vous avez là en main.

  17. #3857
    Si tu as la v4.2.2 sur ta cible, XP, qui date un peu, ne peut peut être pas s'y connecter. Y'a peut ^etre à tester :
    max protocol = SMB2
    C'est une piste. Je ne suis pas calé en la matière.
    "Lasciate ogne speranza, voi ch'intrate." Dante
    "Distinguer sans disjoindre pour relier sans confondre." Edgar Morin

  18. #3858
    Citation Envoyé par George Sable Voir le message
    Je retire ce que j'ai dit : l'accélération logicielle du trackpad est absolument horrible ! Moi qui trouvait les trackpads plus agréables sous GNU/Linux que sous Windows, c'est la douche froide... Heureusement que j'utilise trackball/souris 90% du temps.

    À part ça, un truc me rend dingue : je n'arrive pas à accéder à mon partage Samba depuis mon XP dans Boxes. L'ordinateur apparaît dans l'explorateur, je peux cliquer dessus et voir le dossier que je souhaite partager, mais j'obtiens un message d'erreur quand j'essaye de l'ouvrir.

    Le serveur Tokyo est visible via « View workgroup computer » :
    http://tof.canardpc.com/view/e3a65e8...897ac09884.jpg

    Après authentification avec login et pwd, je peux l'ouvrir et voir le dossier Documents que je souhaite partager :
    http://tof.canardpc.com/view/043395a...62153dd706.jpg

    Mais je ne peux pas ouvrir le dossier en question :
    http://tof.canardpc.com/view/2145960...a7b46f6db9.jpg

    Voilà mon smb.conf, si jamais quelqu'un peut m'éclairer sur ce qui plante. La partie intéressante est tout à la fin :
    Code:
    # This is the main Samba configuration file. For detailed information about the
    # options listed here, refer to the smb.conf(5) manual page. Samba has a huge
    # number of configurable options, most of which are not shown in this example.
    #
    # The Official Samba 3.2.x HOWTO and Reference Guide contains step-by-step
    # guides for installing, configuring, and using Samba:
    # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
    #
    # The Samba-3 by Example guide has working examples for smb.conf. This guide is
    # generated daily: http://www.samba.org/samba/docs/Samba-Guide.pdf
    #
    # In this file, lines starting with a semicolon (;) or a hash (#) are
    # comments and are ignored. This file uses hashes to denote commentary and
    # semicolons for parts of the file you may wish to configure.
    #
    # Note: Run the "testparm" command after modifying this file to check for basic
    # syntax errors.
    #
    #---------------
    # Security-Enhanced Linux (SELinux) Notes:
    #
    # Turn the samba_domain_controller Boolean on to allow Samba to use the useradd
    # and groupadd family of binaries. Run the following command as the root user to
    # turn this Boolean on:
    # setsebool -P samba_domain_controller on
    #
    # Turn the samba_enable_home_dirs Boolean on if you want to share home
    # directories via Samba. Run the following command as the root user to turn this
    # Boolean on:
    # setsebool -P samba_enable_home_dirs on
    #
    # If you create a new directory, such as a new top-level directory, label it
    # with samba_share_t so that SELinux allows Samba to read and write to it. Do
    # not label system directories, such as /etc/ and /home/, with samba_share_t, as
    # such directories should already have an SELinux label.
    #
    # Run the "ls -ldZ /path/to/directory" command to view the current SELinux
    # label for a given directory.
    #
    # Set SELinux labels only on files and directories you have created. Use the
    # chcon command to temporarily change a label:
    # chcon -t samba_share_t /path/to/directory
    #
    # Changes made via chcon are lost when the file system is relabeled or commands
    # such as restorecon are run.
    #
    # Use the samba_export_all_ro or samba_export_all_rw Boolean to share system
    # directories. To share such directories and only allow read-only permissions:
    # setsebool -P samba_export_all_ro on
    # To share such directories and allow read and write permissions:
    # setsebool -P samba_export_all_rw on
    #
    # To run scripts (preexec/root prexec/print command/...), copy them to the
    # /var/lib/samba/scripts/ directory so that SELinux will allow smbd to run them.
    # Note that if you move the scripts to /var/lib/samba/scripts/, they retain
    # their existing SELinux labels, which may be labels that SELinux does not allow
    # smbd to run. Copying the scripts will result in the correct SELinux labels.
    # Run the "restorecon -R -v /var/lib/samba/scripts" command as the root user to
    # apply the correct SELinux labels to these files.
    #
    #--------------
    #
    #======================= Global Settings =====================================
    
    [global]
    
    # ----------------------- Network-Related Options -------------------------
    #
    # workgroup = the Windows NT domain name or workgroup name, for example, MYGROUP.
    #
    # server string = the equivalent of the Windows NT Description field.
    #
    # netbios name = used to specify a server name that is not tied to the hostname.
    #
    # interfaces = used to configure Samba to listen on multiple network interfaces.
    # If you have multiple interfaces, you can use the "interfaces =" option to
    # configure which of those interfaces Samba listens on. Never omit the localhost
    # interface (lo).
    #
    # hosts allow = the hosts allowed to connect. This option can also be used on a
    # per-share basis.
    #
    # hosts deny = the hosts not allowed to connect. This option can also be used on
    # a per-share basis.
    #
    # max protocol = used to define the supported protocol. The default is NT1. You
    # can set it to SMB2 if you want experimental SMB2 support.
    #
    	workgroup = WORKGROUP
    	server string = Samba Server Version %v
    
    ;	netbios name = MYSERVER
    
    ;	interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
    	hosts allow = 127. 192.168.
    
    ;	max protocol = SMB2
    
    # --------------------------- Logging Options -----------------------------
    #
    # log file = specify where log files are written to and how they are split.
    #
    # max log size = specify the maximum size log files are allowed to reach. Log
    # files are rotated when they reach the size specified with "max log size".
    #
    
    	# log files split per-machine:
    	log file = /var/log/samba/log.%m
    	# maximum size of 50KB per log file, then rotate:
    	max log size = 50
    
    # ----------------------- Standalone Server Options ------------------------
    #
    # security = the mode Samba runs in. This can be set to user, share
    # (deprecated), or server (deprecated).
    #
    # passdb backend = the backend used to store user information in. New
    # installations should use either tdbsam or ldapsam. No additional configuration
    # is required for tdbsam. The "smbpasswd" utility is available for backwards
    # compatibility.
    #
    
    	security = user
    ;	passdb backend = tdbsam
    
    
    # ----------------------- Domain Members Options ------------------------
    #
    # security = must be set to domain or ads.
    #
    # passdb backend = the backend used to store user information in. New
    # installations should use either tdbsam or ldapsam. No additional configuration
    # is required for tdbsam. The "smbpasswd" utility is available for backwards
    # compatibility.
    #
    # realm = only use the realm option when the "security = ads" option is set.
    # The realm option specifies the Active Directory realm the host is a part of.
    #
    # password server = only use this option when the "security = server"
    # option is set, or if you cannot use DNS to locate a Domain Controller. The
    # argument list can include My_PDC_Name, [My_BDC_Name], and [My_Next_BDC_Name]:
    #
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    #
    # Use "password server = *" to automatically locate Domain Controllers.
    
    ;	realm = MY_REALM
    
    ;	password server = <NT-Server-Name>
    
    # ----------------------- Domain Controller Options ------------------------
    #
    # security = must be set to user for domain controllers.
    #
    # passdb backend = the backend used to store user information in. New
    # installations should use either tdbsam or ldapsam. No additional configuration
    # is required for tdbsam. The "smbpasswd" utility is available for backwards
    # compatibility.
    #
    # domain master = specifies Samba to be the Domain Master Browser, allowing
    # Samba to collate browse lists between subnets. Do not use the "domain master"
    # option if you already have a Windows NT domain controller performing this task.
    #
    # domain logons = allows Samba to provide a network logon service for Windows
    # workstations.
    #
    # logon script = specifies a script to run at login time on the client. These
    # scripts must be provided in a share named NETLOGON.
    #
    # logon path = specifies (with a UNC path) where user profiles are stored.
    #
    #
    
    ;	domain master = yes
    ;	domain logons = yes
    
    	# the following login script name is determined by the machine name
    	# (%m):
    ;	logon script = %m.bat
    	# the following login script name is determined by the UNIX user used:
    ;	logon script = %u.bat
    ;	logon path = \\%L\Profiles\%u
    	# use an empty path to disable profile support:
    ;	logon path =
    
    	# various scripts can be used on a domain controller or a stand-alone
    	# machine to add or delete corresponding UNIX accounts:
    
    ;	add user script = /usr/sbin/useradd "%u" -n -g users
    ;	add group script = /usr/sbin/groupadd "%g"
    ;	add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
    ;	delete user script = /usr/sbin/userdel "%u"
    ;	delete user from group script = /usr/sbin/userdel "%u" "%g"
    ;	delete group script = /usr/sbin/groupdel "%g"
    
    
    # ----------------------- Browser Control Options ----------------------------
    #
    # local master = when set to no, Samba does not become the master browser on
    # your network. When set to yes, normal election rules apply.
    #
    # os level = determines the precedence the server has in master browser
    # elections. The default value should be reasonable.
    #
    # preferred master = when set to yes, Samba forces a local browser election at
    # start up (and gives itself a slightly higher chance of winning the election).
    #
    ;	local master = no
    ;	os level = 33
    ;	preferred master = yes
    
    #----------------------------- Name Resolution -------------------------------
    #
    # This section details the support for the Windows Internet Name Service (WINS).
    #
    # Note: Samba can be either a WINS server or a WINS client, but not both.
    #
    # wins support = when set to yes, the NMBD component of Samba enables its WINS
    # server.
    #
    # wins server = tells the NMBD component of Samba to be a WINS client.
    #
    # wins proxy = when set to yes, Samba answers name resolution queries on behalf
    # of a non WINS capable client. For this to work, there must be at least one
    # WINS server on the network. The default is no.
    #
    # dns proxy = when set to yes, Samba attempts to resolve NetBIOS names via DNS
    # nslookups.
    
    ;	wins support = yes
    ;	wins server = w.x.y.z
    ;	wins proxy = yes
    
    ;	dns proxy = yes
    
    # --------------------------- Printing Options -----------------------------
    #
    # The options in this section allow you to configure a non-default printing
    # system.
    #
    # load printers = when set you yes, the list of printers is automatically
    # loaded, rather than setting them up individually.
    #
    # cups options = allows you to pass options to the CUPS library. Setting this
    # option to raw, for example, allows you to use drivers on your Windows clients.
    #
    # printcap name = used to specify an alternative printcap file.
    #
    
    ;	load printers = yes
    	cups options = raw
    
    ;	printcap name = /etc/printcap
    	# obtain a list of printers automatically on UNIX System V systems:
    ;	printcap name = lpstat
    ;	printing = cups
    
    # --------------------------- File System Options ---------------------------
    #
    # The options in this section can be un-commented if the file system supports
    # extended attributes, and those attributes are enabled (usually via the
    # "user_xattr" mount option). These options allow the administrator to specify
    # that DOS attributes are stored in extended attributes and also make sure that
    # Samba does not change the permission bits.
    #
    # Note: These options can be used on a per-share basis. Setting them globally
    # (in the [global] section) makes them the default for all shares.
    
    ;	map archive = no
    ;	map hidden = no
    ;	map read only = no
    ;	map system = no
    ;	encrypt passwords = yes
    ;	guest ok = no
    ;	guest account = nobody
    ;	store dos attributes = yes
    
    
    #============================ Share Definitions ==============================
    
    ;[homes]
    ;	comment = Home Directories
    ;	browseable = no
    ;	writable = yes
    ;	valid users = %S
    ;	valid users = MYDOMAIN\%S
    
    ;[printers]
    ;	comment = All Printers
    ;	path = /var/spool/samba
    ;	browseable = no
    ;	guest ok = no
    ;	writable = no
    ;	printable = yes
    
    # Un-comment the following and create the netlogon directory for Domain Logons:
    ;	[netlogon]
    ;	comment = Network Logon Service
    ;	path = /var/lib/samba/netlogon
    ;	guest ok = yes
    ;	writable = no
    ;	share modes = no
    
    # Un-comment the following to provide a specific roving profile share.
    # The default is to use the user's home directory:
    ;	[Profiles]
    ;	path = /var/lib/samba/profiles
    ;	browseable = no
    ;	guest ok = yes
    
    # A publicly accessible directory that is read only, except for users in the
    # "staff" group (which have write permissions):
    ;	[public]
    ;	comment = Public Stuff
    ;	path = /home/samba
    ;	public = yes
    ;	writable = yes
    ;	printable = no
    ;	write list = +staff
    
    [Documents]
    	path = /home/chimai/Documents
    	read only = no
    	browseable = yes
    	valid users = chimai
    	writable = yes
    Tu as fait un smbpasswd -a chimai et rentré un pass ?

  19. #3859
    Citation Envoyé par Wobak Voir le message
    Tu as fait un smbpasswd -a chimai et rentré un pass ?
    Oui, oui. Et je peux me connecter au serveur avec cet utilisateur (on me demande login et pwd), mais je n'ai pas accès au dossier qui m’intéresse.

    - - - Updated - - -

    Citation Envoyé par golwin Voir le message
    Si tu as la v4.2.2 sur ta cible, XP, qui date un peu, ne peut peut être pas s'y connecter. Y'a peut ^etre à tester :

    C'est une piste. Je ne suis pas calé en la matière.
    Je ne pense pas... voilà ce que dit le fichier de conf :
    # max protocol = used to define the supported protocol. The default is NT1. You
    # can set it to SMB2 if you want experimental SMB2 support.
    Citation Envoyé par Amantine Aurore Lucile Dupin
    Donnez-moi la première babiole que vous aurez sur vous... Tenez, cette pokeball d'ivoire émaillé que vous avez là en main.

  20. #3860
    Alors essaye en local sur le serv, il te faut un autre client pour savoir si c'est winxp le problème là :
    Code:
    smbclient -U chimai //tokyo/Documents

  21. #3861
    Yo! Est-ce qu'il y a des gens qui ont tentés de virtualiser windows via libvirt? J'essaye d'obtenir les meilleures performances graphique, mais le module qxl ne semble pas vraiment performant (affichage 16bits et resolution bloquée).. Est-ce qu'il y a une astuce? (Du coup je reste en VGA pour le moment)

    P.S. Je suis sous archlinux

  22. #3862
    Citation Envoyé par Wobak Voir le message
    Alors essaye en local sur le serv, il te faut un autre client pour savoir si c'est winxp le problème là :
    Code:
    smbclient -U chimai //tokyo/Documents
    J'ai bien l'impression qu'XP n'est pas fautif.
    Citation Envoyé par Amantine Aurore Lucile Dupin
    Donnez-moi la première babiole que vous aurez sur vous... Tenez, cette pokeball d'ivoire émaillé que vous avez là en main.

  23. #3863
    Si jamais ça peut aider :
    Code:
    [root@tokyo chimai]# pdbedit -L -v
    ---------------
    Unix username:        chimai
    NT username:          
    Account Flags:        [U          ]
    User SID:             S-1-5-21-386028921-3765551599-3212658658-1004
    Primary Group SID:    S-1-5-21-386028921-3765551599-3212658658-513
    Full Name:            chimai
    Home Directory:       \\tokyo\chimai
    HomeDir Drive:        
    Logon Script:         
    Profile Path:         \\tokyo\chimai\profile
    Domain:               TOKYO
    Account desc:         
    Workstations:         
    Munged dial:          
    Logon time:           0
    Logoff time:          mer., 06 févr. 2036 15:06:39 GMT
    Kickoff time:         mer., 06 févr. 2036 15:06:39 GMT
    Password last set:    dim., 30 août 2015 14:57:13 BST
    Password can change:  dim., 30 août 2015 14:57:13 BST
    Password must change: never
    Last bad password   : 0
    Bad password count  : 0
    Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    Citation Envoyé par Amantine Aurore Lucile Dupin
    Donnez-moi la première babiole que vous aurez sur vous... Tenez, cette pokeball d'ivoire émaillé que vous avez là en main.

  24. #3864
    Si t'as un logiciel d'IM, envoie moi les détails par MP, on va essayer de régler ça en live plutôt que par post interposé, et on postera la solution ensuite

  25. #3865
    Moralité de l'histoire : enculay de SELinux

    Énorme merci à Wobak pour l'aide (même s'il ne sait pas lancer une connexion SSH, ce gros noob ), je te dois une bière

    - - - Updated - - -

    Pour ceux qui se retrouvent dans la même merde, deux solutions au choix :

    1. Pour les l0ws: on désactive SELinux définitivement (et pas temporairement comme je l'avais bêtement fait) :
    Code:
    nano /etc/selinux/config
    Passer SELINUX=enforcing à SELINUX=permissive
    2. Pour les tru3 lInuXWarri0r$ : on donne les droits à Samba d'agir sur le dossier qu'on veut partager :
    Code:
    chcon -t samba_share_t /home/chimai/Documents/
    setsebool -P samba_export_all_rw on
    Puis vérifier avec ls -lZ qu'on obtient une ligne qui ressemble à ça :
    drwxr-xr-x. 12 chimai chimai unconfined_u:object_r:samba_share_t:s0 4096 30 août  17:41 Documents
    Dernière modification par George Sable ; 30/08/2015 à 19h20.
    Citation Envoyé par Amantine Aurore Lucile Dupin
    Donnez-moi la première babiole que vous aurez sur vous... Tenez, cette pokeball d'ivoire émaillé que vous avez là en main.

  26. #3866
    Non non non, tu passes SELinux en permissive, pas en disabled.

  27. #3867
    C'est corrigé
    Citation Envoyé par Amantine Aurore Lucile Dupin
    Donnez-moi la première babiole que vous aurez sur vous... Tenez, cette pokeball d'ivoire émaillé que vous avez là en main.

  28. #3868
    Citation Envoyé par George Sable Voir le message
    C'est corrigé
    Marrant, de tous les samba que j'ai monté, je n'ai jamais eu de souci avec SElinux.
    Message conforme à la norme ISO 9002-2000. Ce message ne met en doute que la santé mentale de son créateur et est placé sous son entière responsabilité. B0b0 sent du slip.

  29. #3869
    Citation Envoyé par George Sable Voir le message
    Je retire ce que j'ai dit : l'accélération logicielle du trackpad est absolument horrible ! Moi qui trouvait les trackpads plus agréables sous GNU/Linux que sous Windows, c'est la douche froide... Heureusement que j'utilise trackball/souris 90% du temps.
    Je viens de tester l'alpha de F23 et c'est mieux. Pas encore parfait, mais mieux.
    Citation Envoyé par Amantine Aurore Lucile Dupin
    Donnez-moi la première babiole que vous aurez sur vous... Tenez, cette pokeball d'ivoire émaillé que vous avez là en main.

  30. #3870
    Bon question de gros noob.
    Je suis actuellement sous kodibuntu (donc un Lubuntu + kodi si j'ai bien compris), sur une machine a base de soc Amd.
    Et j'aimerais bien faire 2-3 truc en plus avec la bete (proxy vpn, NAS un peu bien) et comme je débute tout juste en linux je passerais bien tout ca sur un gros ubuntu qui tache avec une belle interface graphique. Car clairement des tuto ubuntu yen a tout plein alors que les Lubuntu pas trop et que j'ai rien contre faire un peu de ligne de commande, voire meme un petit script, mais pour toute la partie hard voire juste comprendre la structure du bordel un truc un peu explicatif comme unity ca peut servir.
    Bref j'ai tenté un bete "sudo apt-get install ubuntu-desktop" mais il s'est averé que non il veut pas, c'est normal qu'il veuille pas ? ya moyen de le dire de le faire quand meme ? C'est quoi le bon moyen de remplacer Kodibuntu par ubuntu + kodi en préservant au maximum kodi (c'est a dire la library et les 2 repertoires ou ya des media)

Page 129 sur 284 PremièrePremière ... 2979119121122123124125126127128129130131132133134135136137139179229 ... DernièreDernière

Règles de messages

  • Vous ne pouvez pas créer de nouvelles discussions
  • Vous ne pouvez pas envoyer des réponses
  • Vous ne pouvez pas envoyer des pièces jointes
  • Vous ne pouvez pas modifier vos messages
  •