Gönderen Konu: Paylaşıma açamıyorum.  (Okunma sayısı 2724 defa)

Çevrimdışı minteger

  • Penguen
  • ***
  • İleti: 381
  • Dağıtım: Linux Mint 17.3 KDE
  • Masaüstü Ortamı: --illede KDE
  • Grafik Kartı: Nvidia
  • İşlemci: AMD
Paylaşıma açamıyorum.
« : 24 Nisan 2017, 23:45:42 »
Daha önce Dosyaları paylaşıma açıyordum. Ne değişti ne oldu bilmiyorum ama şimdi paylaşıma açamıyorum.

depo isimli klasörümü ntfs alanına tam yetkilerle bağlamıştım çok daha önce. Şimdi ise buradan paylaşıma açmak istiyorum ancak klasör özelliklerinde samba ile paylaşıma açtığımda windows bilgisayardan ulaştığımda erişim izniniz yok diyor. Hani en azından parola falan sorsaydı.

Bende ağ sürücüsünü çalıştırıp paylaşıma açtığım klasörü kaydediyim diyorum. Paylaşıma açtığım depo klasörüme ağ üzerinden ulaşıp kaydedeyim diyorum. Ancak depo klasörünü seçtiğimde kullanıcı adı ve parola istiyor. Bu kullanıcı adı ve parolanın ne olduğunu bi türlü anlayamadım.

Firewall da güvenliği sıfırladım. Klasörlere her türlü erişim izni verdim. Cümle alem girip değiştirebilir esasen. Ancak ne çalışan bilgisayar üzerinden ki bu linux mint 17.1 oluyor, nede ağ üzerinden windows bilgisayar ile eriştiğimde erişim izni alamadım içine giremedim. Yazıcıyı çok daha önceden paylaşmıştım. Şimdi windows bilgisayar üzerinde yazıcı görünüyor lakin ne yazdırırsam yazdırayım yarım sayfalık bazı bilgiler içeren bir çıktı veriyor.  Yazdıran makina ismi kullanıcı ismi yazıcı bilgileri. 10 kadar comment satırı var mesela ilk comment satırında yazdırmak istediğim ulgulamanın adı yer alıyor. notepad.exe mesela. sınama sayfası yazdırmak istedim bu seferde explorer.exe yazdı bu comment satırında.  Konumuzla alakası var mı bilmiyorum. Şaştım kaldım. Ne oldu ne değiştide bu duruma geldi aklım şaşıyor.

Samba paylaşımı ile ilgili şeylere bakıyorum : sağ tıklıyoruz samba ile paylaş diyoruz sonra paylaşmış oluyoruuuuzz. layla layla laayy laayyyy. Sonrada şirin çileği toplamaya gidiyoruz.

Çıktılarıda verdim belki bir işe yarar.

Kod: [Seç]
rebeca@Petra-SPN:~ > inxi -SNnz
System:    Host: Petra-SPN Kernel: 3.19.0-30-generic x86_64 (64 bit) Desktop: KDE 4.14.2 Distro: Linux Mint 17.1 Rebecca
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
rebeca@Petra-SPN:~ > lspci -nnk | grep -iA2 net
06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 03)
        Subsystem: ASUSTeK Computer Inc. M4A785TD Motherboard [1043:83a3]
        Kernel driver in use: r8169

rebeca@Petra-SPN:~ > lsusb
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 0000:0538 
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 04e8:3268 Samsung Electronics Co., Ltd ML-1610 Mono Laser Printer
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
rebeca@Petra-SPN:~ > rfkill list
rebeca@Petra-SPN:~ > sudo lshw -C network
[sudo] password for rebeca:
  *-network               
       açıklama: Eternet interface
       ürün: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       üretici: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:06:00.0
       mantıksal ad: eth0
       sürüm: 03
       serial: 48:5b:39:33:b0:60
       boyut: 100Mbit/s
       kapasite: 1Gbit/s
       genişlik: 64 bits
       saat: 33MHz
       kapasiteler: pm msi pciexpress msix vpd bus_master cap_list rom eternet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       yapılandırma: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168d-2.fw ip=192.168.1.11 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       kaynaklar: irq:35 ioport:e800(boyut=256) bellek:f8fff000-f8ffffff bellek:f8ff8000-f8ffbfff bellek:fbff0000-fbffffff
rebeca@Petra-SPN:~ > iwconfig | grep Power                                                                                                                                         
eth0      no wireless extensions.                                                                                                                                                   
                                                                                                                                                                                   
lo        no wireless extensions.                                                                                                                                                   
                                                                                                                                                                                   
rebeca@Petra-SPN:~ > lsmod                                                                                                                                                         
Module                  Size  Used by                                                                                                                                               
nf_nat_snmp_basic      20480  0                                                                                                                                                     
nf_nat_ipv4            16384  0                                                                                                                                                     
nf_conntrack_ftp       20480  0                                                                                                                                                     
nf_conntrack_tftp      16384  0                                                                                                                                                     
nf_conntrack_h323      77824  0                                                                                                                                                     
nf_conntrack_snmp      16384  1 nf_nat_snmp_basic                                                                                                                                   
xt_multiport           16384  12                                                                                                                                                   
xt_comment             16384  6                                                                                                                                                     
nf_log_ipv4            16384  14                                                                                                                                                   
nf_log_common          16384  1 nf_log_ipv4                                                                                                                                         
xt_LOG                 16384  14
xt_recent              20480  0
nvram                  16384  0
msr                    16384  0
pci_stub               16384  1
vboxpci                24576  0
vboxnetadp             28672  0
vboxnetflt             28672  0
vboxdrv               450560  3 vboxnetadp,vboxnetflt,vboxpci
bnep                   20480  2
rfcomm                 69632  0
bluetooth             491520  10 bnep,rfcomm
dm_crypt               24576  0
usblp                  24576  0
binfmt_misc            20480  1
ipt_REJECT             16384  1
nf_reject_ipv4         16384  1 ipt_REJECT
xt_limit               16384  16
xt_tcpudp              16384  37
xt_addrtype            16384  4
nf_conntrack_ipv4      16384  11
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
xt_conntrack           16384  10
ip6table_filter        16384  1
ip6_tables             28672  1 ip6table_filter
nf_conntrack_netbios_ns    16384  0
nf_conntrack_broadcast    16384  2 nf_conntrack_netbios_ns,nf_conntrack_snmp
nf_nat_pptp            16384  0
nf_nat_proto_gre       16384  1 nf_nat_pptp
nf_nat                 24576  3 nf_nat_proto_gre,nf_nat_ipv4,nf_nat_pptp
nf_conntrack_pptp      20480  1 nf_nat_pptp
nf_conntrack_proto_gre    16384  1 nf_conntrack_pptp
nf_conntrack          106496  14 nf_nat_snmp_basic,nf_conntrack_netbios_ns,nf_conntrack_proto_gre,nf_nat,nf_nat_ipv4,nf_nat_pptp,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ftp,nf_conntrack_h323,nf_conntrack_ipv4,nf_conntrack_pptp,nf_conntrack_snmp,nf_conntrack_tftp
iptable_filter         16384  1
ip_tables              28672  1 iptable_filter
x_tables               36864  13 ip6table_filter,xt_comment,xt_recent,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,xt_multiport,iptable_filter,ipt_REJECT,ip6_tables,xt_addrtype
snd_hda_codec_hdmi     53248  4
nvidia              10567680  49
serio_raw              16384  0
kvm_amd                61440  0
kvm                   479232  1 kvm_amd
edac_core              53248  0
k10temp                16384  0
snd_hda_codec_via      32768  1
snd_hda_codec_generic    69632  1 snd_hda_codec_via
snd_hda_intel          36864  5 snd_hda_codec_hdmi
snd_hda_controller     32768  1 snd_hda_intel
snd_hda_codec         143360  5 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              20480  1 snd_hda_codec
edac_mce_amd           24576  0
snd_pcm               106496  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
drm                   344064  3 nvidia
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
8250_fintek            16384  0
snd_rawmidi            32768  1 snd_seq_midi
snd_seq                65536  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
i2c_piix4              24576  0
snd_timer              32768  2 snd_pcm,snd_seq
tpm_infineon           20480  0
snd                    86016  19 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
wmi                    20480  0
soundcore              16384  2 snd,snd_hda_codec
shpchp                 40960  0
mac_hid                16384  0
parport_pc             32768  1
ppdev                  20480  0
it87                   45056  0
hwmon_vid              16384  1 it87
lp                     20480  0
parport                45056  3 lp,ppdev,parport_pc
hid_generic            16384  0
usbhid                 53248  0
hid                   110592  2 hid_generic,usbhid
pata_acpi              16384  0
ahci                   36864  3
pata_atiixp            16384  0
r8169                  81920  0
mii                    16384  1 r8169
libahci                32768  1 ahci
rebeca@Petra-SPN:~ >

Çevrimdışı mehmethanifi

  • Kıdemli Penguen
  • ****
  • İleti: 772
  • Dağıtım: Mint
  • Masaüstü Ortamı: Cinnamon & Mate & Xfce
  • Grafik Kartı: atı radeon
  • İşlemci: i5
Ynt: Paylaşıma açamıyorum.
« Yanıtla #1 : 26 Nisan 2017, 15:34:11 »
Merhaba,

Samba'yı kurmuşsunuz sanırım. Rica etsem cat /etc/samba/smb.conf dosya içeriğini payşalabilirmisiniz?
Son olarak samba servisini restart etmişmiydiniz?

Teşekkürler.
Önemli Olan Sevgi Saygı Anlayış

Çevrimdışı minteger

  • Penguen
  • ***
  • İleti: 381
  • Dağıtım: Linux Mint 17.3 KDE
  • Masaüstü Ortamı: --illede KDE
  • Grafik Kartı: Nvidia
  • İşlemci: AMD
Ynt: Paylaşıma açamıyorum.
« Yanıtla #2 : 27 Nisan 2017, 14:08:32 »
Kod: [Seç]
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
#  - When such options are commented with ";", the proposed setting
#    differs from the default Samba behaviour
#  - When commented with "#", the proposed setting is the default
#    behaviour of Samba but the option is considered important
#    enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.

#======================= Global Settings =======================

[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
        server string = %h server (Samba, Linux Mint)

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
#   wins support = no

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = w.x.y.z                                                                                                                                                           
                                                                                                                                                                                   
# This will prevent nmbd to search for NetBIOS names through DNS.                                                                                                                   
   dns proxy = no                                                                                                                                                                   
                                                                                                                                                                                   
#### Networking ####                                                                                                                                                               
                                                                                                                                                                                   
# The specific set of interfaces / networks to bind to                                                                                                                             
# This can be either the interface name or an IP address/netmask;                                                                                                                   
# interface names are normally preferred                                                                                                                                           
;   interfaces = 127.0.0.0/8 eth0                                                                                                                                                   
                                                                                                                                                                                   
# Only bind to the named interfaces and/or networks; you must use the                                                                                                               
# 'interfaces' option above to use this.                                                                                                                                           
# It is recommended that you enable this feature if your Samba machine is                                                                                                           
# not protected by a firewall or is a firewall itself.  However, this                                                                                                               
# option cannot handle dynamic or non-broadcast interfaces correctly.                                                                                                               
;   bind interfaces only = yes                                                                                                                                                     
                                                                                                                                                                                   
                                                                                                                                                                                   

#### Debugging/Accounting ####

# This tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/log.%m

# Cap the size of the individual log files (in KiB).
   max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
#   syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
   syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
   panic action = /usr/share/samba/panic-action %d


####### Authentication #######

# Server role. Defines in which mode Samba will operate. Possible
# values are "standalone server", "member server", "classic primary
# domain controller", "classic backup domain controller", "active
# directory domain controller".
#
# Most people will want "standalone sever" or "member server".
# Running as "active directory domain controller" will require first
# running "samba-tool domain provision" to wipe databases and create a
# new domain.
   server role = standalone server

# If you are using encrypted passwords, Samba will need to know what
# password database type you are using. 
   passdb backend = tdbsam

   obey pam restrictions = yes

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
   unix password sync = yes

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
# sending the correct chat script for the passwd program in Debian Sarge).
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
   pam password change = yes

# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
   map to guest = bad user

########## Domains ###########

#
# The following settings only takes effect if 'server role = primary
# classic domain controller', 'server role = backup domain controller'
# or 'domain logons' is set
#

# It specifies the location of the user's
# profile directory from the client point of view) The following
# required a [profiles] share to be setup on the samba server (see
# below)
;   logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
# (this is Samba's default)
#   logon path = \\%N\%U\profile

# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
;   logon drive = H:
#   logon home = \\%N\%U

# The following setting only takes effect if 'domain logons' is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in 'DOS' file format convention
;   logon script = logon.cmd

# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe.  The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u

# This allows machine accounts to be created on the domain controller via the
# SAMR RPC pipe. 
# The following assumes a "machines" group exists on the system
; add machine script  = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u

# This allows Unix groups to be created on the domain controller via the SAMR
# RPC pipe. 
; add group script = /usr/sbin/addgroup --force-badname %g

############ Misc ############

# 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 = /home/samba/etc/smb.conf.%m

# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
;   idmap uid = 10000-20000
;   idmap gid = 10000-20000
;   template shell = /bin/bash

# Setup usershare options to enable non-root users to share folders
# with the net usershare command.

# Maximum number of usershare. 0 (default) means that usershare is disabled.
;   usershare max shares = 100

# Allow users who've been granted usershare privileges to create
# public shares, not just authenticated ones
   usershare allow guests = yes

#======================= Share Definitions =======================

# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home directory as \\server\username
;[homes]
;   comment = Home Directories
;   browseable = no

# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
;   read only = yes

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
;   create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
;   directory mask = 0700

# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.
# Un-comment the following parameter to make sure that only "username"
# can connect to \\server\username
# This might need tweaking when using external authentication schemes
;   valid users = %S

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   read only = yes

# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
;   comment = Users profiles
;   path = /home/samba/profiles
;   guest ok = no
;   browseable = no
;   create mask = 0600
;   directory mask = 0700

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace 'lpadmin' with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
;   write list = root, @lpadmin


Birde NTFS disk alanına :

IA64, W32ALPHA, W32MIPS, W32PPC, W32X86, WIN40, X64

Klasörleri oluşturuluyor otomatik olarak. Gizli de değiller önceden yoktular. Samba mı oluşturuyor bunları ? Anladığıma göre bu klasörler samba/printers dizini altında yer alıyorlar burda ne işleri var.


« Son Düzenleme: 29 Nisan 2017, 14:06:11 Gönderen: minteger »