Burda benzer anlatım yapılmış bilginize
(http://jamyy.dyndns.org/blog/2012/07/3934.html)

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Gokan Atmaca
Sent: Wednesday, August 15, 2012 4:34 PM
To: [email protected]
Subject: [Linux] Samba

 

Merhaba 



Samba asagidaki gibi bir config kullanıyorum. Lakin Windows client bir türlü
sifreyi kabul ettirip baglatamadım. Yaptıkalrım ise sirasi ile soyle ;

groupadd canavarlar
useradd test -m -G canavarlar
passwd test
smbpasswd -a test

mkdir Ortak
chown root:canavarlar Ortak

nano /etc/samba/smb.conf

[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, Ubuntu)

#### 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 #######

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/
htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
   security = user

# You may wish to use password encryption.  See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
   encrypt passwords = true

# 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.

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


#======================= Share Definitions =======================
[deneme]
  comment = deneme
  path = /mnt/fileserver/Ortak
  valid users = @canavarlar
  force group = canavarlar
  create mask = 0660
  directory mask = 0771
  writable = yes
  browsable = yes


Acaba hata nerede olabilir ? İstedigim tam olarak su ;

dep1 - grubu 
------------------
Osman,Ali,Asim

/Ortak/dep1 klasoru

dep2- gurbu
-----------------
Veli,Veysel,Yesugey

/Ortak/dep2 klasoru









_______________________________________________
Linux E-Posta Listesi
[email protected]
Liste kurallari: http://liste.linux.org.tr/kurallar.php

Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen 
e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1 
dakika içinde üyeliğinizi sonlandırabilirsiniz.
https://liste.linux.org.tr/mailman/listinfo/linux

Cevap