elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Guía actualizada para evitar que un ransomware ataque tu empresa


+  Foro de elhacker.net
|-+  Sistemas Operativos
| |-+  GNU/Linux (Moderador: MinusFour)
| | |-+  consulta sobre samba
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: consulta sobre samba  (Leído 1,364 veces)
xkiz ™


Desconectado Desconectado

Mensajes: 1.252


Ver Perfil WWW
consulta sobre samba
« en: 14 Febrero 2012, 16:14 pm »

hasta antes de ayer tenia todo configurado correctamente, cuando accedía a "Examinar la Red", me mostraba ahi nomas todos los equipos encontrados en la red local y una carpeta "Redes de Windows"
en la red de mi casa hay un Media Center en el cual mi hno yo ponemos peliculas y series o cargamos los subtítulos de algo cuando falta etc....

hoy instale gwakeanlan y wakeonlan para ver si podia prender el WDTVLiveHub para pasar una pelicula, para recopilar los datos necesarios instale el nast, una vez obtenidos los datos del WDTVLiveHub desinstale el nast y el wakeonlan y me quede con el gWakeonlan. antes la pc  actualizo un par de cosas de ubuntu Update, en ese mmento no me di cuenta pero en "Examinar la Red" faltan mi equipo y el de mi hno, solo aparece WDTVLiveHub.

aclaro que 15 minutos antes de hacer todo eso explicado arriba funcionaba y se visualizaba todo bien, mi equipo, el de mi hermano y el WDTVLiveHub y esa carpeta de Redes de Windows. ahora solo aparece WDTVLiveHub y esa carpeta "Redes de Windows"

por si alguno de esos programas o la actualizacion haya modificado el smb.conf, aca lo pongo:

Código
  1. [global]
  2.  
  3. ## Browsing/Identification ###
  4.  
  5. # Change this to the workgroup/NT-domain name your Samba server will part of
  6. workgroup = intranet
  7. # netbios name = XKIZ-UBNT
  8. usershare owner only = false
  9.  
  10. # server string is the equivalent of the NT Description field
  11. server string = %h server (Samba, Ubuntu)
  12.  
  13. # Windows Internet Name Serving Support Section:
  14. # WINS Support - Tells the NMBD component of Samba to enable its WINS Server
  15. ; wins support = yes
  16.  
  17. # WINS Server - Tells the NMBD components of Samba to be a WINS Client
  18. # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
  19. ;   wins server = w.x.y.z
  20.  
  21. # This will prevent nmbd to search for NetBIOS names through DNS.
  22. ;   dns proxy = no
  23.  
  24. # What naming service and in what order should we use to resolve host names
  25. # to IP addresses
  26. ;   name resolve order = lmhosts host wins bcast
  27.  
  28. #### Networking ####
  29.  
  30. # The specific set of interfaces / networks to bind to
  31. # This can be either the interface name or an IP address/netmask;
  32. # interface names are normally preferred
  33. ;   interfaces = 127.0.0.0/8 eth0
  34.  
  35. # Only bind to the named interfaces and/or networks; you must use the
  36. # 'interfaces' option above to use this.
  37. # It is recommended that you enable this feature if your Samba machine is
  38. # not protected by a firewall or is a firewall itself.  However, this
  39. # option cannot handle dynamic or non-broadcast interfaces correctly.
  40. ;   bind interfaces only = yes
  41.  
  42.  
  43.  
  44. #### Debugging/Accounting ####
  45.  
  46. # This tells Samba to use a separate log file for each machine
  47. # that connects
  48. log file = /var/log/samba/log.%m
  49.  
  50. # Cap the size of the individual log files (in KiB).
  51. max log size = 1000
  52.  
  53. # If you want Samba to only log through syslog then set the following
  54. # parameter to 'yes'.
  55. #   syslog only = no
  56.  
  57. # We want Samba to log a minimum amount of information to syslog. Everything
  58. # should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
  59. # through syslog you should set the following parameter to something higher.
  60. syslog = 0
  61.  
  62. # Do something sensible when Samba crashes: mail the admin a backtrace
  63. panic action = /usr/share/samba/panic-action %d
  64.  
  65.  
  66. ####### Authentication #######
  67.  
  68. # "security = user" is always a good idea. This will require a Unix account
  69. # in this server for every user accessing the server. See
  70. # /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
  71. # in the samba-doc package for details.
  72. #   security = user
  73.  
  74. # You may wish to use password encryption.  See the section on
  75. # 'encrypt passwords' in the smb.conf(5) manpage before enabling.
  76. encrypt passwords = no
  77.  
  78. # If you are using encrypted passwords, Samba will need to know what
  79. # password database type you are using.  
  80. ; passdb backend = tdbsam
  81.  
  82. obey pam restrictions = yes
  83.  
  84. # This boolean parameter controls whether Samba attempts to sync the Unix
  85. # password with the SMB password when the encrypted SMB password in the
  86. # passdb is changed.
  87. unix password sync = yes
  88.  
  89. # For Unix password sync to work on a Debian GNU/Linux system, the following
  90. # parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
  91. # sending the correct chat script for the passwd program in Debian Sarge).
  92. passwd program = /usr/bin/passwd %u
  93. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  94.  
  95. # This boolean controls whether PAM will be used for password changes
  96. # when requested by an SMB client instead of the program listed in
  97. # 'passwd program'. The default is 'no'.
  98. pam password change = yes
  99.  
  100. # This option controls how unsuccessful authentication attempts are mapped
  101. # to anonymous connections
  102. map to guest = bad user
  103.  
  104. ########## Domains ###########
  105.  
  106. # Is this machine able to authenticate users. Both PDC and BDC
  107. # must have this setting enabled. If you are the BDC you must
  108. # change the 'domain master' setting to no
  109. #
  110. ;   domain logons = yes
  111. #
  112. # The following setting only takes effect if 'domain logons' is set
  113. # It specifies the location of the user's profile directory
  114. # from the client point of view)
  115. # The following required a [profiles] share to be setup on the
  116. # samba server (see below)
  117. ;   logon path = \\%N\profiles\%U
  118. # Another common choice is storing the profile in the user's home directory
  119. # (this is Samba's default)
  120. #   logon path = \\%N\%U\profile
  121.  
  122. # The following setting only takes effect if 'domain logons' is set
  123. # It specifies the location of a user's home directory (from the client
  124. # point of view)
  125. ;   logon drive = H:
  126. #   logon home = \\%N\%U
  127.  
  128. # The following setting only takes effect if 'domain logons' is set
  129. # It specifies the script to run during logon. The script must be stored
  130. # in the [netlogon] share
  131. # NOTE: Must be store in 'DOS' file format convention
  132. ;   logon script = logon.cmd
  133.  
  134. # This allows Unix users to be created on the domain controller via the SAMR
  135. # RPC pipe.  The example command creates a user account with a disabled Unix
  136. # password; please adapt to your needs
  137. ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
  138.  
  139. # This allows machine accounts to be created on the domain controller via the
  140. # SAMR RPC pipe.  
  141. # The following assumes a "machines" group exists on the system
  142. ; add machine script  = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
  143.  
  144. # This allows Unix groups to be created on the domain controller via the SAMR
  145. # RPC pipe.  
  146. ; add group script = /usr/sbin/addgroup --force-badname %g
  147.  
  148. ########## Printing ##########
  149.  
  150. # If you want to automatically load your printer list rather
  151. # than setting them up individually then you'll need this
  152. #   load printers = yes
  153.  
  154. # lpr(ng) printing. You may wish to override the location of the
  155. # printcap file
  156. ;   printing = bsd
  157. ;   printcap name = /etc/printcap
  158.  
  159. # CUPS printing.  See also the cupsaddsmb(8) manpage in the
  160. # cupsys-client package.
  161. ; printing = cups
  162. ;   printcap name = cups
  163.  
  164. ############ Misc ############
  165.  
  166. # Using the following line enables you to customise your configuration
  167. # on a per machine basis. The %m gets replaced with the netbios name
  168. # of the machine that is connecting
  169. ;   include = /home/samba/etc/smb.conf.%m
  170.  
  171. # Most people will find that this option gives better performance.
  172. # See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
  173. # for details
  174. # You may want to add the following on a Linux system:
  175. #         SO_RCVBUF=8192 SO_SNDBUF=8192
  176. #   socket options = TCP_NODELAY
  177.  
  178. # The following parameter is useful only if you have the linpopup package
  179. # installed. The samba maintainer and the linpopup maintainer are
  180. # working to ease installation and configuration of linpopup and samba.
  181. ;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
  182.  
  183. # Domain Master specifies Samba to be the Domain Master Browser. If this
  184. # machine will be configured as a BDC (a secondary logon server), you
  185. # must set this to 'no'; otherwise, the default behavior is recommended.
  186. #   domain master = auto
  187.  
  188. # Some defaults for winbind (make sure you're not using the ranges
  189. # for something else.)
  190. ;   idmap uid = 10000-20000
  191. ;   idmap gid = 10000-20000
  192. ;   template shell = /bin/bash
  193.  
  194. # The following was the default behaviour in sarge,
  195. # but samba upstream reverted the default because it might induce
  196. # performance issues in large organizations.
  197. # See Debian bug #368251 for some of the consequences of *not*
  198. # having this setting and smb.conf(5) for details.
  199. ;   winbind enum groups = yes
  200. ;   winbind enum users = yes
  201.  
  202. # Setup usershare options to enable non-root users to share folders
  203. # with the net usershare command.
  204.  
  205. # Maximum number of usershare. 0 (default) means that usershare is disabled.
  206. ; usershare max shares = 100
  207.  
  208. # Allow users who've been granted usershare privileges to create
  209. # public shares, not just authenticated ones
  210. usershare allow guests = yes
  211. security = share
  212. ; guest ok = no
  213. ; guest account = nobody
  214.  
  215. #======================= Share Definitions =======================
  216.  
  217. # Un-comment the following (and tweak the other settings below to suit)
  218. # to enable the default home directory shares. This will share each
  219. # user's home director as \\server\username
  220. ;[homes]
  221. ;   comment = Home Directories
  222. ;   browseable = no
  223.  
  224. # By default, the home directories are exported read-only. Change the
  225. # next parameter to 'no' if you want to be able to write to them.
  226. ;   read only = yes
  227.  
  228. # File creation mask is set to 0700 for security reasons. If you want to
  229. # create files with group=rw permissions, set next parameter to 0775.
  230. ;   create mask = 0700
  231.  
  232. # Directory creation mask is set to 0700 for security reasons. If you want to
  233. # create dirs. with group=rw permissions, set next parameter to 0775.
  234. ;   directory mask = 0700
  235.  
  236. # By default, \\server\username shares can be connected to by anyone
  237. # with access to the samba server. Un-comment the following parameter
  238. # to make sure that only "username" can connect to \\server\username
  239. # The following parameter makes sure that only "username" can connect
  240. #
  241. # This might need tweaking when using external authentication schemes
  242. ;   valid users = %S
  243.  

Osea lo que necesito es que aparezcan los 3 equipos en red


En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Samba como PDC y utilitzar Kerberos en linux -->Samba
Redes
isopo 1 3,221 Último mensaje 21 Mayo 2011, 13:50 pm
por madpitbull_99
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines