Pridať komentár

Príspevok, na ktorý odpovedáte

RE: Zdielanie - pomoc 09.07.2013 | 19:18
Avatar mirozm Ubuntu 12.04 , Kubuntu 8.04  Používateľ
no nerozmýšlal z dôvodu že PC1 je staršie železo Tak tu je zatiaľ výstip z findsmb na PC2 (novšie z ktorého ale nejde ping na PC1):
                                *=DMB
                                +=LMB
IP ADDR         NETBIOS NAME     WORKGROUP/OS/VERSION 
---------------------------------------------------------------------
10.1.191.112    MG            +[WORKGROUP] [Unix] [Samba 3.6.3]
a tu je smb.conf tiež z PC2
#======================= Global Settings =======================
[global]
# Browsing/Identification #
	workgroup = workgroup
	server string = MG
;   wins server = w.x.y.z.
	dns proxy = no
;   name resolve order = lmhosts host wins bcast
# Networking #
;   interfaces = 127.0.0.0/8 eth0
;   bind interfaces only = yes
# Debugging/Accounting #
	log file = /var/log/samba/log.%m
	max log size = 1000
	syslog = 0
# Authentication #
;	encrypt passwords = yes 
;	passdb backend = tdbsam
	obey pam restrictions = yes
	unix password sync = yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
	pam password change = yes
	map to guest = bad user
# Domains #
;   domain logons = yes
;   logon path = \\%N\profiles\%U
;   logon script = logon.cmd
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
; add machine script  = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
; add group script = /usr/sbin/addgroup --force-badname %g
# Misc #
;   include = /home/samba/etc/smb.conf.%m
;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
;   idmap uid = 10000-20000
;   idmap gid = 10000-20000
;   template shell = /bin/bash
;   winbind enum groups = yes
;   winbind enum users = yes
;	usershare max shares = 100
	usershare allow guests = yes
	security = share
	guest ok = yes
	guest account = miro
#======================= Share Definitions =======================
;[homes]
;   comment = Home Directories
;   browseable = no
;   read only = yes
;   create mask = 0700
;   directory mask = 0700
;   valid users = %S
;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   read only = yes
;[profiles]
;   comment = Users profiles
;   path = /home/samba/profiles
;   guest ok = no
;   browseable = no
;   create mask = 0600
;   directory mask = 0700
[miro]
	path = /home/miro/zálohy
	writeable = yes
;	browseable = yes
	comment = home
	guest ok = yes
údaje z PC1 doplním zatiaľ musím ísť tak na hodinku preč.
3 * 4 plus tisíc (číslom)

Maximálna veľkosť je: 2,0 MB