[ubuntu-tr] samba

Gokan Atmaca linux.gokan at gmail.com
15 Ağu 2012 Çar 13:33:07 UTC


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
-------------- sonraki bölüm --------------
Bir HTML eklentisi temizlendi...
URL: <https://lists.ubuntu.com/archives/ubuntu-tr/attachments/20120815/4276ea1e/attachment.html>


ubuntu-tr mesaj listesiyle ilgili daha fazla bilgi