Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1325 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Codes et scripts

  Configurer un serveur SaMBa sous MDK 9 pour se connecter via WinXP

 


 Mot :   Pseudo :  
 
 Page :   1  2  3  4  5
Page Précédente
Auteur Sujet :

Configurer un serveur SaMBa sous MDK 9 pour se connecter via WinXP

n°187280
Profil sup​primé
Posté le 11-11-2002 à 18:09:30  answer
 

Bonjour, j'ai besoin de votre aide !
 
J'ai installé Mandrake Linux 9.0 sur un poste qui est sur un réseau local (avec un routeur), et j'aimerais configurer un serveur SaMBa pour me connecter sur cet ordinateur via un poste en Windows XP Professionnel SP1.
 
Je suis arrivé à faire apparaitre le poste sur le domaine, mais en voulant développer l'arborescence de ce poste, il me demande de me loguer. Je donne le login root et le MdP adéquat, et il refuse la connexion (la boite réapparait).
 
J'ai activé l'envoi de MdP non cryptés sous XP, pour ceux qui allaient le demander ;)
 
 
Merci d'avance
Zaheu

mood
Publicité
Posté le 11-11-2002 à 18:09:30  profilanswer
 

n°187282
leirn
A.D.I.D.A.S.
Posté le 11-11-2002 à 18:14:52  profilanswer
 

tu nous post ton smbconf?


---------------
"Je brandirai une épée d'orichalque, je m'assouvirai sur des Templiers." | "Avec dans son sillage l'Ombre du Diable, Leirn appelait les morts pour une danse macabre et déchainaît les horreurs de la nuit..."
n°187285
asphro
Posté le 11-11-2002 à 18:16:42  profilanswer
 

chez moi winxp avec pdc ca marche nickel
 
winxp avec sp1 marche pu peut pu me logguer !!
 
et je sais tjrs pas pkoi !!

n°187287
leirn
A.D.I.D.A.S.
Posté le 11-11-2002 à 18:18:01  profilanswer
 

asphro a écrit a écrit :

chez moi winxp avec pdc ca marche nickel
 
winxp avec sp1 marche pu peut pu me logguer !!
 
et je sais tjrs pas pkoi !!




 
[ceci n'est pas un troll]
volonté de microsoft de n'etre pas compatible avec ce ki n'est pas microsoft?
[/ceci n'est pas un troll]
ya moyen de savoir ce kil y a dans un sp?


---------------
"Je brandirai une épée d'orichalque, je m'assouvirai sur des Templiers." | "Avec dans son sillage l'Ombre du Diable, Leirn appelait les morts pour une danse macabre et déchainaît les horreurs de la nuit..."
n°187288
Profil sup​primé
Posté le 11-11-2002 à 18:18:05  answer
 

Voila le fichier
Chose étonnante, il n'est pas directement à la racine du répertoire etc, mais dans le répertoire etc/samba.
 


 
# 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 (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)  
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# 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]
 
# 1. Server Naming Options:
# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = CADUC
 
# netbios name is the name you will see in "Network Neighbourhood",
# but defaults to your hostname
   netbios name = pingouin
 
# server string is the equivalent of the NT Description field
   server string = Samba Server %v
 
# Message command is run by samba when a "popup" message is sent to it.
# The example below is for use with LinPopUp:
; message command = /usr/bin/linpopup "%f" "%m" %s; rm %s
 
# 2. Printing Options:
# CHANGES TO ENABLE PRINTING ON ALL CUPS PRINTERS IN THE NETWORK
# (as cups is now used in linux-mandrake 7.2 by default)
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   printcap name = lpstat
   load printers = yes
 
# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx, cups
   printing = cups
 
# Samba 2.2 supports the Windows NT-style point-and-print feature. To
# use this, you need to be able to upload print drivers to the samba
# server. The printer admins (or root) may install drivers onto samba.
# Note that this feature uses the print$ share, so you will need to  
# enable it below.
# This parameter works like domain admin group:
# printer admin = @<group> <user>
;   printer admin = @adm
# This should work well for winbind:
;   printer admin = @"Domain Admins"
 
# 3. Logging Options:
# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/log.%m
 
# Put a capping on the size of the log files (in Kb).
   max log size = 50
 
# Set the log (verbosity) level (0 <= log level <= 10)
; log level = 3
 
# 4. Security and Domain Membership Options:
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page. Do not enable this if (tcp/ip) name resolution does
# not work for all the hosts in your network.
;   hosts allow = 192.168.1. 192.168.2. 127.
 
# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
;  guest account = pcguest
 
# Security mode. Most people will want user level security. See
# security_level.txt for details.
   security = user
# Use password server option only with security = server or security = domain
# When using security = domain, you should use password server = *
;   password server = <NT-Server-Name>
;   password server = *
 
# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
;  password level = 8
;  username level = 8
 
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
# Encrypted passwords are required for any use of samba in a Windows NT domain
# The smbpasswd file is only required by a server doing authentication, thus
# members of a domain do not need one.
  encrypt passwords = yes
  smb passwd file = /etc/samba/smbpasswd
 
# The following are needed to allow password changing from Windows to
# also update the Linux system password.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
#        the encrypted SMB passwords. They allow the Unix password
#        to be kept in sync with the SMB password.
;  unix password sync = Yes
# You either need to setup a passwd program and passwd chat, or
# enable pam password change
;  pam password change = yes
;  passwd program = /usr/bin/passwd %u
;  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
;*passwd:*all*authentication*tokens*updated*successfully*
 
# Unix users can map to different SMB User names
;  username map = /etc/samba/smbusers
 
# 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 = /etc/samba/smb.conf.%m
 
# Options for using winbind. Winbind allows you to do all account and
# authentication from a Windows or samba domain controller, creating
# accounts on the fly, and maintaining a mapping of Windows RIDs to unix uid's  
# and gid's. winbind uid and winbind gid are the only required parameters.
#
# winbind uid is the range of uid's winbind can use when mapping RIDs to uid's
;  winbind uid = 10000-20000
#
# winbind gid is the range of uid's winbind can use when mapping RIDs to gid's
;  winbind gid = 10000-20000
#
# winbind separator is the character a user must use between their domain
# name and username, defaults to "\"
;  winbind separator = +
#
# winbind use default domain allows you to have winbind return usernames
# in the form user instead of DOMAIN+user for the domain listed in the
# workgroup parameter.
;  winbind use default domain = yes
#
# template homedir determines the home directory for winbind users, with  
# %D expanding to their domain name and %U expanding to their username:
;  template homedir = /home/%D/%U
 
# When using winbind, you may want to have samba create home directories
# on the fly for authenticated users. Ensure that /etc/pam.d/samba is
# using 'service=system-auth-winbind' in pam_stack modules, and then
# enable obedience of pam restrictions below:
;  obey pam restrictions = yes
 
#
# template shell determines the shell users authenticated by winbind get
;  template shell = /bin/bash
 
# 5. Browser Control and Networking Options:
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 
# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
;   interfaces = 192.168.12.2/24 192.168.13.2/24  
 
# Configure remote browse list synchronisation here
#  request announcement to, or browse list sync from:
#       a specific host or from / to a whole subnet (see below)
;   remote browse sync = 192.168.3.25 192.168.5.255
# Cause this host to announce itself to local subnets here
;   remote announce = 192.168.1.255 192.168.2.44
 
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
;   local master = no
 
# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
;   os level = 33
 
# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
;   domain master = yes  
 
# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
;   preferred master = yes
 
# 6. Domain Control Options:
# Enable this if you want Samba to be a domain logon server for  
# Windows95 workstations or Primary Domain Controller for WinNT and Win2k
;   domain logons = yes
 
# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
;   logon script = %m.bat
# run a specific logon batch file per username
;   logon script = %U.bat
 
# Where to store roaming profiles for WinNT and Win2k
#        %L substitutes for this servers netbios name, %U is username
#        You must uncomment the [Profiles] share below
;   logon path = \\%L\Profiles\%U
 
# Where to store roaming profiles for Win9x. Be careful with this as it also
# impacts where Win2k finds it's /HOME share
; logon home = \\%L\%U\.profile
 
# The add user script is used by a domain member to add local user accounts
# that have been authenticated by the domain controller, or by the domain
# controller to add local machine accounts when adding machines to the domain.
# The script must work from the command line when replacing the macros,
# or the operation will fail. Check that groups exist if forcing a group.
# Script for domain controller for adding machines:
; add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false -M %u
# Script for domain controller with LDAP backend for adding machines (please
# configure in /etc/samba/smbldap_conf.pm first):
; add user script = /usr/share/samba/scripts/smbldap-useradd.pl -w -d /dev/null -g machines -c 'Machine Account' -s /bin/false %u
# Script for domain member for adding local accounts for authenticated users:
; add user script = /usr/sbin/useradd -s /bin/false %u
 
# Domain groups:
# domain admin group is a list of unix users or groups who are made members
# of the Domain Admin group
; domain admin group = root @wheel
#
# domain guest groups is a list of unix users or groups who are made members
# of the Domain Guests group
; domain guest group = nobody @guest
 
# LDAP configuration for Domain Controlling:
# The account (dn) that samba uses to access the LDAP server
# This account needs to have write access to the LDAP tree
# You will need to give samba the password for this dn, by  
# running 'smbpasswd -w mypassword'
; ldap admin dn = cn=root,dc=mydomain,dc=com
; ldap ssl = start_tls
# start_tls should run on 389, but samba defaults incorrectly to 636
; ldap port = 389
; ldap suffix = dc=mydomain,dc=com
; ldap server = ldap.mydomain.com
 
 
# 7. Name Resolution Options:
# All NetBIOS names must be resolved to IP Addresses
# 'Name Resolve Order' allows the named resolution mechanism to be specified
# the default order is "host lmhosts wins bcast". "host" means use the unix
# system gethostbyname() function call that will use either /etc/hosts OR
# DNS or NIS depending on the settings of /etc/host.config, /etc/nsswitch.conf
# and the /etc/resolv.conf file. "host" therefore is system configuration
# dependant. This parameter is most often of use to prevent DNS lookups
# in order to resolve NetBIOS names to IP Addresses. Use with care!
# The example below excludes use of name resolution for machines that are NOT
# on the local network segment
# - OR - are not deliberately to be known via lmhosts or via WINS.
; name resolve order = wins lmhosts bcast
 
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
;   wins support = yes
 
# 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
 
# WINS Proxy - Tells Samba to answer 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.
;   wins proxy = yes
 
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
   dns proxy = no  
 
# 8. File Naming Options:
# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
;  preserve case = no
;  short preserve case = no
# Default case is normally upper case for all DOS files
;  default case = lower
# Be very careful with case sensitivity - it can break things!
;  case sensitive = no
 
# Enabling internationalization:
# you can match a Windows code page with a UNIX character set.
# Windows: 437 (US), 737 (GREEK), 850 (Latin1 - Western European),
# 852 (Eastern Eu.), 861 (Icelandic), 932 (Cyrillic - Russian),
# 936 (Japanese - Shift-JIS), 936 (Simpl. Chinese), 949 (Korean Hangul),
# 950 (Trad. Chin.).
# UNIX: ISO8859-1 (Western European), ISO8859-2 (Eastern Eu.),
# ISO8859-5 (Russian Cyrillic), KOI8-R (Alt-Russ. Cyril.)
# This is an example for french users:
;   client code page = 850
;   character set = ISO8859-1
 
 
#============================ Share Definitions ==============================
[homes]
   comment = Home Directories
   browseable = yes
   writable = yes
# You can enable VFS recycle bin on a per share basis:
# Uncomment the next 2 lines (make sure you create a
# .recycle folder in the base of the share and ensure
# all users will have write access to it. See
# examples/VFS/recycle/REAME in samba-doc for details
;   vfs object = /usr/lib/samba/vfs/recycle.so
;   vfs options= /etc/samba/recycle.conf
 
# 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 = yes
 
#Uncomment the following 2 lines if you would like your login scripts to
#be created dynamically by ntlogon (check that you have it in the correct
#location (the default of the ntlogon rpm available in contribs)
;root preexec = /usr/bin/ntlogon -u %U -g %G -o %a -d /var/lib/samba/netlogon
;root postexec = rm -f /var/lib/samba/netlogon/%U.bat
 
# 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 = yes
;    guest ok = yes
 
 
# NOTE: If you have a CUPS print system there is no need to  
# specifically define each individual printer.
# You must configure the samba printers with the appropriate Windows
# drivers on your Windows clients. On the Samba server no filtering is
# done. If you wish that the server provides the driver and the clients
# send PostScript ("Generic PostScript Printer" under Windows), you have
# to swap the 'print command' line below with the commented one.
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = yes
# to allow user 'guest account' to primment = Espace disque temporaire
   path = /tmp
   read only = no
   public = yes
nt.
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
# =====================================
# print command: see above for details.
# =====================================
   print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers.
;   print command = lpr-cups -P %p %s # using cups own drivers (use generic PostScript on clients).
# The following two commands are the samba defaults for printing=cups
# change them only if you need different options:
;   lpq command = lpq -P %p
;   lprm command = cancel %p-%j
 
# This share is used for Windows NT-style point-and-print support.
# To be able to install drivers, you need to be either root, or listed
# in the printer admin parameter above. Note that you also need write access
# to the directory and share definition to be able to upload the drivers.
# For more information on this, please see the Printing Support Section of
# /usr/share/doc/samba-<version>/docs/Samba-HOWTO-Collection.pdf
[print$]
   path = /var/lib/samba/printers
   browseable = yes
   read only = no
   write list = @adm root
 
# A useful application of samba is to make a PDF-generation service
# To streamline this, install windows postscript drivers (preferably colour)
# on the samba server, so that clients can automatically install them.
 
[pdf-generator]
   path = /var/tmp
   guest ok = No
   printable = Yes
   comment = PDF Generator (only valid users)
   #print command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP &
   print command = /usr/share/samba/scripts/print-pdf %s ~%u \\\\\\\\%L\\\\%u %m %I &
 
# This one is useful for people to share files
;[tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = no
;   public = yes
 
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
;   comment = Public Stuff
;   path = /home/samba/public
;   public = yes
;   writable = yes
;   write list = @staff
# Audited directory through experimental VFS audit.so module:
# Uncomment next line.
;   vfs object = /usr/lib/samba/vfs/audit.so
 
# Other examples.  
#
# A private printer, usable only by Fred. Spool data will be placed in Fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /homes/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes
 
# A private directory, usable only by Fred. Note that Fred requires write
# access to the directory.
;[fredsdir]
;   comment = Fred's Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writable = yes
;   printable = no
 
# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %u option to tamment = Espace disque temporaire
   path = /tmp
   read only = no
   public = yes
ilor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
;  comment = PC Directories
;  path = /usr/pc/%m
;  public = no
;  writable = yes
 
# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
;   path = /usr/somewhere/else/public
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no
 
# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
;   comment = Mary's and Fred's stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writable = yes
;   printable = no
;   create mask = 0765
 
[ROOT_PARTAGE]
   path = /root/partage
   comment = /root/partage
   public = yes
   guest ok = yes
   writable = no
   wide links = no

 
 
 
 
Désolé c'est un peu long :)

n°187292
leirn
A.D.I.D.A.S.
Posté le 11-11-2002 à 18:19:50  profilanswer
 

ou il est depend de comment samba a ete installé...
 
tu avais essayer d'un xp ss sp1?


---------------
"Je brandirai une épée d'orichalque, je m'assouvirai sur des Templiers." | "Avec dans son sillage l'Ombre du Diable, Leirn appelait les morts pour une danse macabre et déchainaît les horreurs de la nuit..."
n°187293
Profil sup​primé
Posté le 11-11-2002 à 18:20:01  answer
 

asphro a écrit a écrit :

chez moi winxp avec pdc ca marche nickel
 
winxp avec sp1 marche pu peut pu me logguer !!
 
et je sais tjrs pas pkoi !!




 
j'ai également tenté de me loguer via un poste en Windows 2000 Pro sur le même réseau, le résultat est le même !

n°187296
Profil sup​primé
Posté le 11-11-2002 à 18:23:10  answer
 

leirn a écrit a écrit :

ou il est depend de comment samba a ete installé...
 
tu avais essayer d'un xp ss sp1?




 
J'ai essayé de me connecter à partir d'un poste en XPSP1 et un poste en 2KproSP3. Je ne comprends pas trop ta question  :??:

n°187298
asphro
Posté le 11-11-2002 à 18:23:40  profilanswer
 

donc toi c un bleme de config !!
 
 
mais j aimerai savoir si des mec ki ont un pdc samaba avec winxo sp1 ca marche ?

n°187305
leirn
A.D.I.D.A.S.
Posté le 11-11-2002 à 18:29:32  profilanswer
 

zaheu a écrit a écrit :

 
 
J'ai essayé de me connecter à partir d'un poste en XPSP1 et un poste en 2KproSP3. Je ne comprends pas trop ta question  :??:  




 
la kestion etait avant de savoir pour 2k


---------------
"Je brandirai une épée d'orichalque, je m'assouvirai sur des Templiers." | "Avec dans son sillage l'Ombre du Diable, Leirn appelait les morts pour une danse macabre et déchainaît les horreurs de la nuit..."
mood
Publicité
Posté le 11-11-2002 à 18:29:32  profilanswer
 

n°187306
Profil sup​primé
Posté le 11-11-2002 à 18:29:36  answer
 

J'oubliais :
 
Il doit y avoir un Wizard pour le smb dans le "Panneau de Contrôle Mandrake", mais selon ce que j'ai lu, il se trouverait dans l'onglet "Server configuration" à gauche, qui n'est pas présent. Il est dit sur le site qui en parle que le paquetage wizdrake permet de l'installer, mais je ne le vois sur aucun CD.
 
Edit : l'imprimante, qui est sur le port d'impression du routeur, fonctionne sans problème.


Message édité par Profil supprimé le 11-11-2002 à 18:33:59
n°187311
Profil sup​primé
Posté le 11-11-2002 à 18:38:41  answer
 

leirn a écrit a écrit :

 
 
[ceci n'est pas un troll]
volonté de microsoft de n'etre pas compatible avec ce ki n'est pas microsoft?
[/ceci n'est pas un troll]
ya moyen de savoir ce kil y a dans un sp?




 
serait ce réciproque ? mdk 9 est sorti apres le SP1 non ?

n°187312
leirn
A.D.I.D.A.S.
Posté le 11-11-2002 à 18:39:21  profilanswer
 

zaheu a écrit a écrit :

 
 
serait ce réciproque ? mdk 9 est sorti apres le SP1 non ?




 
enfin on parle de smb, la, pas de mdk... c censé etre independant a priori


Message édité par leirn le 11-11-2002 à 18:39:28

---------------
"Je brandirai une épée d'orichalque, je m'assouvirai sur des Templiers." | "Avec dans son sillage l'Ombre du Diable, Leirn appelait les morts pour une danse macabre et déchainaît les horreurs de la nuit..."
n°187318
Profil sup​primé
Posté le 11-11-2002 à 18:49:38  answer
 

des paramètres à entrer dans le fichier smbpasswd, ca vous dit qqch ?

n°187322
leirn
A.D.I.D.A.S.
Posté le 11-11-2002 à 18:53:04  profilanswer
 

zaheu a écrit a écrit :

des paramètres à entrer dans le fichier smbpasswd, ca vous dit qqch ?




 
ben...s i c le fichier ou tu stock les pass, c mieux oui... ya pas un prog style smbpasswd (voir ds le rep bin de smb) ki fait ca?


---------------
"Je brandirai une épée d'orichalque, je m'assouvirai sur des Templiers." | "Avec dans son sillage l'Ombre du Diable, Leirn appelait les morts pour une danse macabre et déchainaît les horreurs de la nuit..."
n°187374
Profil sup​primé
Posté le 11-11-2002 à 19:41:46  answer
 

si, mais j'arrive pas à l'utiliser...

n°187377
leirn
A.D.I.D.A.S.
Posté le 11-11-2002 à 19:47:12  profilanswer
 

zaheu a écrit a écrit :

si, mais j'arrive pas à l'utiliser...




 
keske t'arrive pas a fiare?
 
tu as essayer smbpasswd --help ?


---------------
"Je brandirai une épée d'orichalque, je m'assouvirai sur des Templiers." | "Avec dans son sillage l'Ombre du Diable, Leirn appelait les morts pour une danse macabre et déchainaît les horreurs de la nuit..."
n°188541
Muuthauwg
Posté le 13-11-2002 à 15:21:26  profilanswer
 

Chez moi pareil, il me demande un passe pour accéder au dossier partagés sur le pc linux (depuis Win XP Pro SP1).
 
Ensuite sous linux j'arrive à voir les partages que j'ai fait sous XP (dans un truc qui s'appelle "Montage Samba" dans un machin qui se nomme DrackConf je crois)
Je fais point de montage, ça marche, ensuite je fais montage et la ça à l'air de planter...A force de bataillé j'ai réussi à en monter un ! Ca marche bien normalement ? J'ai oublié qqchose ?


Message édité par Muuthauwg le 13-11-2002 à 15:31:55
n°188558
olicel
Posté le 13-11-2002 à 15:58:47  profilanswer
 

bon les gars ...
 
Pour acceder au partage samba il faut d'abord créer des users samba, qui doivent eux meme exister avec sous linux.
Donc pour rajouter un user samba du genre "root"
 
smbpasswd -a root
Puis vous donner le mot de passe root de samba(c'est pas obligatoirement le meme que linux)
 
Ca marche ?
Sinon vous voulez utiliser samba juste pour vous connecter au fichier de cette machine ou pour en faire osi un Controleur de domaine ?


---------------
toujours un petit mot gentil:
n°188562
olicel
Posté le 13-11-2002 à 16:00:52  profilanswer
 

puis les histoires de SP1 sous XP expres pour empecher d'employer samba ...  :ange:


---------------
toujours un petit mot gentil:
n°188667
[Albator]
MDK un jour, MDK toujours !
Posté le 13-11-2002 à 18:57:32  profilanswer
 

Comme on peut s'y attendre, ça ne vient pas de Samba mais de XP:
 
http://www.annoyances.org/exec/forum/winxp/r1009126072

n°191326
Muuthauwg
Posté le 18-11-2002 à 12:49:51  profilanswer
 

Zaheu t'as réussi ou pas ? Moi j'arrive à accéder aux partages XP depuis Linux, mais depuis XP je ne peux même pas entrer dans le groupe de travail...

n°191353
mober
Mécréant Notoire
Posté le 18-11-2002 à 13:24:13  profilanswer
 

c pas compliqué faut que tu paramètres samba pour fonctionner en mode SHARE.
 
Tu as sans doute une fonctionnalité de paramètrage ki te permettra de faire ça facilement.

n°191356
mober
Mécréant Notoire
Posté le 18-11-2002 à 13:35:29  profilanswer
 

Dans ton fichier de conf tu as :
 
# Security mode. Most people will want user level security. See
# security_level.txt for details.
  security = user
 
Il faut
 
security = SHARE
 
Vérifie ke tu partages pas n'importe koi et que tu autorises la connexion des invités sur ton dossier partagé.

n°191364
Muuthauwg
Posté le 18-11-2002 à 13:50:45  profilanswer
 

Ah oui j'ai user ! J'essaie share...

n°191389
Poisse
Jukenhou Hakke Rokujuu Yonsho
Posté le 18-11-2002 à 14:36:46  profilanswer
 

Muuthauwg a écrit a écrit :

Ah oui j'ai user ! J'essaie share...




 
Plutot que d essayer de te connecter en root .
Essaie plus de creer un user  unix  et de bien le mettre dans ton smbpasswd .
sinon tu as les logs  dans  
/var/log/samba je crois et là tu nous dis y a ecrit koi ?


---------------
Moards : Challenge Everything. - En fait l'idée c est que t arrives comme un porc à l entrée en glisse ! Là tu te jettes comme un porc ! Et là tu sors comme un goret
n°191392
nico168
Posté le 18-11-2002 à 14:39:17  profilanswer
 

urpmi wizdrake
 
ca devrais te rajouter l'option pour configurer samba dans le panneau de controle mandrake

n°191463
Muuthauwg
Posté le 18-11-2002 à 15:38:03  profilanswer
 

En fait j'ai arrêté de batailler avec le smb.conf, je l'ai viré, j'ai été dans Netconf --> partage de fichier Samba, j'ai rentré 2-3 renseignements et j'ai 4-5 lignes dans mon smb.conf  :) et ça marche nickel !! ;) j'y ai accès depuis XP sans problème...Moi yen a bien aimer quand c'est succint et que ça roule   :love:  

n°191516
jamiroq
Oublies que t&#039;as aucune chance
Posté le 18-11-2002 à 17:48:46  profilanswer
 

Muuthauwg a écrit a écrit :

En fait j'ai arrêté de batailler avec le smb.conf, je l'ai viré, j'ai été dans Netconf --> partage de fichier Samba, j'ai rentré 2-3 renseignements et j'ai 4-5 lignes dans mon smb.conf  :) et ça marche nickel !! ;) j'y ai accès depuis XP sans problème...Moi yen a bien aimer quand c'est succint et que ça roule   :love:  




:jap:, je suis comme toi !!!
 
essaie swat il est pas mal pour gerer samba !!
 
Mais serieusement le smb.conf est hyper puissant !!
mais a mon avis y'a une sacré lacune ds les outils en interface graphique ss linux, c clair que monté un PDC samba c galere a configurer pour celui qui connait bien NT !


---------------
FFFF
n°191548
clockover
That's the life
Posté le 18-11-2002 à 18:51:53  profilanswer
 

Code :
  1. # Samba config file created using SWAT
  2. # from 0.0.0.0 (0.0.0.0)
  3. # Date: 2002/11/18 19:50:12
  4. # Global parameters
  5. [global]
  6. coding system =
  7. client code page = 850
  8. code page directory = /var/lib/samba/codepages
  9. workgroup = HOME
  10. netbios name =
  11. netbios aliases =
  12. netbios scope =
  13. server string = Samba Server %v
  14. interfaces =
  15. bind interfaces only = No
  16. security = SHARE
  17. encrypt passwords = No
  18. update encrypted = No
  19. allow trusted domains = Yes
  20. hosts equiv =
  21. min passwd length = 5
  22. map to guest = Never
  23. null passwords = No
  24. obey pam restrictions = No
  25. password server =
  26. smb passwd file = /etc/samba/smbpasswd
  27. root directory =
  28. pam password change = No
  29. passwd program = /usr/bin/passwd
  30. passwd chat = *new*password* %n\n *new*password* %n\n *changed*
  31. passwd chat debug = No
  32. username map =
  33. password level = 0
  34. username level = 0
  35. unix password sync = No
  36. restrict anonymous = No
  37. lanman auth = Yes
  38. use rhosts = No
  39. admin log = No
  40. log level = 0
  41. syslog = 1
  42. syslog only = No
  43. log file = /var/log/samba/log.%m
  44. max log size = 100
  45. timestamp logs = Yes
  46. debug hires timestamp = No
  47. debug pid = No
  48. debug uid = No
  49. protocol = NT1
  50. large readwrite = Yes
  51. max protocol = NT1
  52. min protocol = CORE
  53. read bmpx = No
  54. read raw = Yes
  55. write raw = Yes
  56. nt smb support = Yes
  57. nt pipe support = Yes
  58. nt status support = Yes
  59. announce version = 4.9
  60. announce as = NT
  61. max mux = 50
  62. max xmit = 16644
  63. name resolve order = lmhosts host wins bcast
  64. max ttl = 259200
  65. max wins ttl = 518400
  66. min wins ttl = 21600
  67. time server = No
  68. unix extensions = No
  69. change notify timeout = 60
  70. deadtime = 0
  71. getwd cache = Yes
  72. keepalive = 300
  73. lpq cache time = 10
  74. max smbd processes = 0
  75. max disk size = 0
  76. max open files = 10000
  77. name cache timeout = 660
  78. read size = 16384
  79. socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  80. stat cache size = 50
  81. use mmap = Yes
  82. total print jobs = 0
  83. load printers = Yes
  84. printcap name = lpstat
  85. disable spoolss = No
  86. enumports command =
  87. addprinter command =
  88. deleteprinter command =
  89. show add printer wizard = Yes
  90. os2 driver map =
  91. strip dot = No
  92. mangling method = hash
  93. character set =
  94. mangled stack = 50
  95. stat cache = Yes
  96. domain admin group =
  97. domain guest group =
  98. machine password timeout = 604800
  99. add user script =
  100. delete user script =
  101. logon script =
  102. logon path = \\%N\%U\profile
  103. logon drive =
  104. logon home = \\%N\%U
  105. domain logons = No
  106. os level = 20
  107. lm announce = Auto
  108. lm interval = 60
  109. preferred master = Auto
  110. local master = Yes
  111. domain master = Auto
  112. browse list = Yes
  113. enhanced browsing = Yes
  114. dns proxy = No
  115. wins proxy = No
  116. wins server =
  117. wins support = No
  118. wins hook =
  119. kernel oplocks = Yes
  120. lock spin count = 3
  121. lock spin time = 10
  122. oplock break wait time = 0
  123. add share command =
  124. change share command =
  125. delete share command =
  126. config file =
  127. preload =
  128. lock dir = /var/cache/samba
  129. pid directory = /var/run/samba
  130. utmp directory =
  131. wtmp directory =
  132. utmp = No
  133. default service =
  134. message command =
  135. dfree command =
  136. valid chars =
  137. remote announce =
  138. remote browse sync =
  139. socket address = 0.0.0.0
  140. homedir map = auto.home
  141. time offset = 0
  142. NIS homedir = No
  143. source environment =
  144. panic action =
  145. hide local users = No
  146. host msdfs = No
  147. winbind uid =
  148. winbind gid =
  149. template homedir = /home/%D/%U
  150. template shell = /bin/false
  151. winbind separator = \
  152. winbind cache time = 15
  153. winbind enum users = Yes
  154. winbind enum groups = Yes
  155. winbind use default domain = No
  156. comment =
  157. path =
  158. alternate permissions = No
  159. username =
  160. guest account = clockover
  161. invalid users =
  162. valid users =
  163. admin users =
  164. read list =
  165. write list =
  166. printer admin =
  167. force user =
  168. force group =
  169. read only = Yes
  170. create mask = 0744
  171. force create mode = 00
  172. security mask = 0777
  173. force security mode = 00
  174. directory mask = 0755
  175. force directory mode = 00
  176. directory security mask = 0777
  177. force directory security mode = 00
  178. force unknown acl user = 00
  179. inherit permissions = No
  180. inherit acls = No
  181. guest only = No
  182. guest ok = No
  183. only user = No
  184. hosts allow =
  185. hosts deny =
  186. status = Yes
  187. nt acl support = Yes
  188. profile acls = No
  189. block size = 1024
  190. max connections = 0
  191. min print space = 0
  192. strict allocate = No
  193. strict sync = No
  194. sync always = No
  195. write cache size = 0
  196. max print jobs = 1000
  197. printable = No
  198. postscript = No
  199. printing = cups
  200. print command = lpr -r -P%p %s
  201. lpq command = lpq -P%p
  202. lprm command = lprm -P%p %j
  203. lppause command =
  204. lpresume command =
  205. queuepause command =
  206. queueresume command =
  207. printer name =
  208. use client driver = No
  209. default devmode = No
  210. printer driver =
  211. printer driver file = /etc/samba/printers.def
  212. printer driver location =
  213. default case = lower
  214. case sensitive = No
  215. preserve case = Yes
  216. short preserve case = Yes
  217. mangle case = No
  218. mangling char = ~
  219. hide dot files = Yes
  220. hide unreadable = No
  221. delete veto files = No
  222. veto files =
  223. hide files =
  224. veto oplock files =
  225. map system = No
  226. map hidden = No
  227. map archive = Yes
  228. mangled names = Yes
  229. mangled map =
  230. browseable = Yes
  231. blocking locks = Yes
  232. csc policy = manual
  233. fake oplocks = No
  234. locking = Yes
  235. oplocks = Yes
  236. level2 oplocks = Yes
  237. oplock contention limit = 2
  238. posix locking = Yes
  239. strict locking = No
  240. share modes = Yes
  241. copy =
  242. include =
  243. exec =
  244. preexec close = No
  245. postexec =
  246. root preexec =
  247. root preexec close = No
  248. root postexec =
  249. available = Yes
  250. volume =
  251. fstype = NTFS
  252. set directory = No
  253. wide links = Yes
  254. follow symlinks = Yes
  255. dont descend =
  256. magic script =
  257. magic output =
  258. delete readonly = No
  259. dos filemode = No
  260. dos filetimes = No
  261. dos filetime resolution = No
  262. fake directory create times = No
  263. vfs object =
  264. vfs options =
  265. msdfs root = No
  266. [homes]
  267. comment = Home Directories
  268. read only = No
  269. browseable = No
  270. [printers]
  271. comment = All Printers
  272. path = /var/spool/samba
  273. create mask = 0700
  274. guest ok = Yes
  275. printable = Yes
  276. print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers.
  277. browseable = No
  278. [print$]
  279. path = /var/lib/samba/printers
  280. write list = @adm root
  281. [pdf-generator]
  282. comment = PDF Generator (only valid users)
  283. path = /var/tmp
  284. printable = Yes
  285. print command = /usr/share/samba/scripts/print-pdf %s ~%u \\\\\\\\%L\\\\%u %m %I &
  286. [Imprimante]
  287. comment = EPSON
  288. path = /var/spool/samba
  289. read only = No
  290. create mask = 0700
  291. guest ok = Yes
  292. printable = Yes
  293. print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers.
  294. printer name = Imprimante
  295. oplocks = No


 
Moi j y comprends rien :D je vois aps pk j ai pas acces je le vois ds Home par contre kom prevu
 

n°191674
Muuthauwg
Posté le 18-11-2002 à 22:02:08  profilanswer
 

Maintenant je galère avec l'imprimante ! J'arrive à l'avoir dans les favoris réseaux, mais il me mets accès refusé !
 
edit: J'ai guest ok = yes et public = yes
yen a besoin de la ligne de la commande d'impression ?


Message édité par Muuthauwg le 18-11-2002 à 22:04:11
n°191768
mober
Mécréant Notoire
Posté le 19-11-2002 à 11:36:18  profilanswer
 

Muuthauwg a écrit a écrit :

En fait j'ai arrêté de batailler avec le smb.conf, je l'ai viré, j'ai été dans Netconf --> partage de fichier Samba, j'ai rentré 2-3 renseignements et j'ai 4-5 lignes dans mon smb.conf  :) et ça marche nickel !! ;) j'y ai accès depuis XP sans problème...Moi yen a bien aimer quand c'est succint et que ça roule   :love:  




 
:ouch:
 
Quand y'a des outils de paramètrage simplifié, je vois pas pourquoi vous vous amusez à éditer le fichier de conf !!!

n°191795
clockover
That's the life
Posté le 19-11-2002 à 12:35:47  profilanswer
 

Muuthauwg a écrit a écrit :

Maintenant je galère avec l'imprimante ! J'arrive à l'avoir dans les favoris réseaux, mais il me mets accès refusé !
 
edit: J'ai guest ok = yes et public = yes
yen a besoin de la ligne de la commande d'impression ?




j ai lme meme soucis

n°191797
clockover
That's the life
Posté le 19-11-2002 à 12:41:22  profilanswer
 

mober a écrit a écrit :

 
 
:ouch:
 
Quand y'a des outils de paramètrage simplifié, je vois pas pourquoi vous vous amusez à éditer le fichier de conf !!!




meme avec cet outil j ai lme pb cité plus ho

n°191814
Muuthauwg
Posté le 19-11-2002 à 13:09:45  profilanswer
 

L'imprimante est "prête" sous winXP, mais j'ai "accès refusé, connexion impossible"  :fou:

n°191817
Muuthauwg
Posté le 19-11-2002 à 13:18:57  profilanswer
 

[Albator] a écrit a écrit :

Comme on peut s'y attendre, ça ne vient pas de Samba mais de XP:
 
http://www.annoyances.org/exec/forum/winxp/r1009126072




 
Ya pas un truc de ce style à faire pour l'imprimante aussi ?! (avec m$ on sait jamais...il ferait tout pour nous décourager :non: )

n°191984
clockover
That's the life
Posté le 19-11-2002 à 18:18:58  profilanswer
 

kler j ai exactement le meme pb que Muuthauwg (je te tiens au coruant si je trouve).
Kk un orait aps uen diée ou la soluce ?

n°191988
Muuthauwg
Posté le 19-11-2002 à 18:21:07  profilanswer
 

Ok ! moi aussi je te tiens au courant...ca serait cool qu'on nous la file ici la soluce qd meme :sarcastic:

n°191996
asphro
Posté le 19-11-2002 à 18:29:38  profilanswer
 

[fixed]        workgroup = TRACKNET
        netbios name = TROPIC
        server string = %L (samba %v)
        interfaces = eth0 192.168.1.0/24
 
#Definition password et login
        encrypt passwords = Yes
        passwd chat = *New* %n\n *Re* %n\n *Pa*
        username map = /etc/samba/smbusers
 
#Defintion des logs
        syslog only = no
        syslog = 0
        admin log = Yes
        log file = /var/log/samba/log/log.%U
        max log size = 5000
 
#Tunning
        socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
 
#Definition sur le domain
        domain master = True
        domain logons = Yes
        preferred master = True
        domain admin group = @root
 
#Defintion sur les repertoires des users du domaine
        logon script = %U.cmd
        logon path = \\tropic\%U\profilewindows
        logon drive = I:
        logon home = \\tropic\%U\profilewindows\
 
#Definition reseau
        os level = 65
        wins support = Yes
        hosts allow = 192.168.1.0/24
        hosts deny = all
        time server = yes
        printcap name = cups
        printing = cups
 
[homes]
        comment = Home user
        invalid users = invite
        read only = No
        browseable = No
 
[Epson_660]
        path = /var/spool/samba
        printable = Yes
        use client driver = Yes
 
[netlogon]
        path = /home/windows/netlogon/
        write list = @root
        browseable = No
        public = no
        writeable = no
 
[profile]
        path = /home/%U/profilewindows
        read only = No
        create mask = 0700
        directory mask = 0700
 
[public]
        comment = Repertoire Public
        path = /home/partage
        read only = No
        create mask = 0777
        force create mode = 0777
        directory mask = 0777
        guest ok = Yes


n oublié pas d ajouter le nom de votre pc avec un $ au bout
ajouté les quelques correctif fourni avec samba pour windows !!
 
pis normalment ca marche, enfin chez moi ca marche depuis juillet
 

n°192017
Muuthauwg
Posté le 19-11-2002 à 19:01:25  profilanswer
 

Euh...j'ai pas besoin de tout ça...moi j'ai 10 lignes dans le miens...les partages marches bien, donc pkoi pas l'imprimante :??:  
 
Par contre j'ai pas  
- use client driver = Yes  
- printcap name = cups  
- printing = cups
 
Ils servent à quoi ?
 
Je teste avec..

mood
Publicité
Posté le   profilanswer
 

 Page :   1  2  3  4  5
Page Précédente

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Codes et scripts

  Configurer un serveur SaMBa sous MDK 9 pour se connecter via WinXP

 

Sujets relatifs
cryptage d IP , serveur ircla je suis surpris ... MDK 9.0 ... ou sont les groupes SMB , filshare
Mise en place d'un serveurMDK 9.0 je vois souvent : Kicker <1> ou <2> ds la barre des taches ???
auder un débutant à configurer son réesau je deviens fous (mdk9)[SAMBA] "revalidate = yes" marche pas et lenteur incroyable
installation de serveur d'impression[ serveur VPN] pb acces VPN
[ gateway - VPN ] appel aux pros du VPN , pb masquerading serveur PPTP[Mdk 8.2] [Newbie] Installation de Playa
Plus de sujets relatifs à : Configurer un serveur SaMBa sous MDK 9 pour se connecter via WinXP


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR