쉽고 강력한 삼바 성절 툴 프로그램 추천좀 해주세요....

moonrepeat의 이미지

현재 데비안 사지에 삼바를 설치했는데 도저히 뭐가 안됩니다...... :(

이전에 레드햇 9.0을 쓸때는 강력한 redhat-config 툴중 redhat-config-samba 툴로
쉽게 삼바 설정을 해결했는데 지금은 이놈이 없으니 힘들군요.....
(alien으로 rpm을 deb로 변경해서 설치해봤는데 안되더군요... ㅠ.ㅠ)
swat는 처음 써보는데 너무 복잡해서 모르겠습니다...

제발 쉽고 강력한 툴 있으면 소개 바랍니다.

유겸애비의 이미지

maddie의 이미지

swat를 알아보시져.
영어에만 자신있으심 그리 어렵지 않을 터인데.

힘없는자의 슬픔

moonrepeat의 이미지

behumble wrote:
http://www.webmin.com/

지금 webmin과 webmin samba모듈을 설치했는데
어떻게 쓰는건지 모르겠습니다.
혹시 swat처럼 http://localhost:XXX/이런식으로 사용하는겁니까?

만약 맞다면 포트 번호좀 알려주세요..... -_-;

삽질은 계속되어야 한다....... 쭉.........

moonrepeat의 이미지

/usr/share/doc/webmin/ 에 있더군요......

http://localhost:10000/으로 접속하라고.....
:D

삽질은 계속되어야 한다....... 쭉.........

ssggkim의 이미지

swat 보다 webmin이 더 좋은 점이 있는지, 느낀 점을 알려주실
수 있을까요? 윗 상사분으로부터 삼바 설정 변경을 계속 요청받고
있는 상태인데, 설정을 넘기려니 swat은 어려워보이더군요. :(
webmin이 더 깔끔하고 쉽다면... 바로 넘겨드려야죠. :)

무한포옹의 이미지

열심히 Using Samba 를 한 번 읽으시고 (개정판이 나왔나?)

vim 으로 하셔요.. 한 번만 읽으시면 됨..

-------------------------------
== warning 대부분 틀린 얘기입니다 warning ===

유겸애비의 이미지

* 다양한 플랫폼 지원(Solaris, 별별 Linux 배포판, 별별 BSD, Darwin, OSX..)
* Samba 뿐만 아니라 기타 대부분 설정 지원(E-mail, NFS, HTTPD, Firewall, CVS ...)
* 한글지원
* 무료
* 쉬운설치
* Third Party Module 지원

ssggkim의 이미지

제 질문 내용이 좀 부족했던 것 같습니다.

samba를 쓰기전에는 windows 2000 server를 file server로 이용했었습니다.
그땐 상사분께서 terminal service를 이용해서 마우스로 클릭클릭 공유에 관한 설정을 잘 만지셨는데, samba로 넘어오면서 어려워 하시는 상태입니다.
그래서 현재까지는 제가 smb.conf를 직접 수정하는 상태이고요. (이런식으로 수정하라고 말씀드리면 좀 어려울 듯합니다. :wink: )
swat은 한글 지원이 잘 안되는 것 같고요. (설정을 잘 못한건지도...)
그래서 질문드린 것입니다.

tinywolf의 이미지

음.. smb.conf를 직접 수정하는게 더 편하던데요..

여기저기에 설정 내용을 설명해 놓은 곳도 많고..

참고해가면서 하루만 설정하고 테스트 하니까 잘 되던데요..

참고로 저희 회사에서 구성해놓고 사용하는 설정을 그대로 올려드릴께요..

혹시 보시다가 틀린점 발견하시면 알려주세요..

Quote:
# 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 (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# 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]

# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = sorii-lan

# server string is the equivalent of the NT Description field
server string = Home Server
netbios name = HOME

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
; hosts allow = 192.168.1. 192.168.2. 127.

# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = /etc/printcap
load printers = yes

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
printing = lprng

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
; guest account = pcguest

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

# Put a capping on the size of the log files (in Kb).
max log size = 0

# code page
client code page = 949
# character set = ISO8859-1

# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user

# Use password server option only with security = server
# The argument list may include:
# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
# password server = *
; password server = <NT-Server-Name>

# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

# The following is needed to keep smbclient from spouting spurious errors
# when Samba is built with support for SSL.
; ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt

# The following are needed to allow password changing from Windows to
# update the Linux sytsem password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
# the encrypted SMB passwords. They allow the Unix password
# to be kept in sync with the SMB password.
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*

# You can use PAM's password change control flag for Samba. If
# enabled, then PAM will be used for password changes when requested
# by an SMB client instead of the program listed in passwd program.
# It should be possible to enable this without changing your passwd
# chat parameter for most setups.

pam password change = yes

# Unix users can map to different SMB User names
; username map = /etc/samba/smbusers

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

# This parameter will control whether or not Samba should obey PAM's
# account and session management directives. The default behavior is
# to use PAM for clear text authentication only and to ignore any
# account or session management. Note that Samba always ignores PAM
# for authentication in the case of encrypt passwords = yes

obey pam restrictions = yes

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
; interfaces = 192.168.12.2/24 192.168.13.2/24

# Configure remote browse list synchronisation here
# request announcement to, or browse list sync from:
# a specific host or from / to a whole subnet (see below)
; remote browse sync = 192.168.3.25 192.168.5.255
# Cause this host to announce itself to local subnets here
; remote announce = 192.168.1.255 192.168.2.44

# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
; local master = no

# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
; os level = 33

# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
domain master = yes

# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
; preferred master = yes

# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
; domain logons = yes

# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
; logon script = %m.bat
# run a specific logon batch file per username
; logon script = %U.bat

# Where to store roving profiles (only for Win95 and WinNT)
# %L substitutes for this servers netbios name, %U is username
# You must uncomment the [Profiles] share below
; logon path = \\%L\Profiles\%U

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
wins support = yes

# 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

# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one WINS Server on the network. The default is NO.
; wins proxy = yes

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
dns proxy = no

# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
; preserve case = no
; short preserve case = no
# Default case is normally upper case for all DOS files
; default case = lower
# Be very careful with case sensitivity - it can break things!
; case sensitive = no

#============================ Share Definitions ==============================
[homes]
comment = 사용자 홈
browseable = no
writable = yes
valid users = %S
create mode = 0640
directory mode = 0750
# If you want users samba doesn't recognize to be mapped to a guest user
; map to guest = bad user

[manage]
comment = 기획/관리자 그룹. 기획/관리자만 쓰기가 가능
path = /home/manage
public = yes
writable = yes
create mode = 0660
directory mode = 0770

[develop]
comment = 개발자 그룹. 개발자만 쓰기가 가능
path = /home/develop
public = yes
writable = yes
create mode = 0660
directory mode = 0770

[design]
comment = 디자이너 그룹. 디자이너만 쓰기가 가능
path = /home/design
public = yes
writable = yes
create mode = 0660
directory mode = 0770

[sorii]
comment = 소리아이 공유. ftp://ftp.sorii.com/으로 접속, 아이디 sorii, 암호 thfldkdl (소리아이). 공용의 목적으로 사용
path = /home/sorii
public = yes
writable = yes
create mode = 0660
directory mode = 0770

[public_html]
comment = 홈페이지 공간. 여기에 폴더를 만들어 두면 http://폴더이름.sorii.com/으로 홈페이지 운영
이 가능
path = /home/public_html
public = yes
writable = yes
create mode = 0644
directory mode = 0755

# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /usr/local/samba/lib/netlogon
; guest ok = yes
; writable = no
; share modes = no

# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
; path = /usr/local/samba/profiles
; browseable = no
; guest ok = yes

# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes

# This one is useful for people to share files
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes

# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = @staff

# Other examples.
#
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /home/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes

# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no

# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %U option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
; comment = PC Directories
; path = /usr/local/pc/%m
; public = no
; writable = yes

# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no

# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765

거의 대부분을 설정파일 안의 주석을 보고 설정했구요..

암호와 한글 문제만 인터넷을 잠깐 뒤져 봤던 것같습니다.

아마 공유설정을 자꾸 변경시켜야 하는 거라면 곤란할지도..

하지만 왠만하면 한번 해 놓고 신경 끄지 않나요?

ㅡ_ㅡ;

ssggkim의 이미지

linux 쪽에는 아무 지식이 없는 분이라 그렇습니다.

과정을 살펴보면...

1. putty로 접속
2. directory 생성
3. smb.conf 편집
4. testparm
5. samba reload

뭐 아주 간단하게 보이는데도 어렵습니다.

directory 생성, 삭제도 빈번하고, console에서 작업한는 것 자체를 어려워하시는 분이고, editor도 쓸 줄 모르시고, testparm에서 오류 발견해도 고치기 어렵고...

windows에서야 한 directory 설정 잘못했다고 전체가 삐리리해지지는 않지만 samba의 경우는 좀 다르니까요.

생각해보니 그냥 제가 계속 하는게 속편하겠네요. :twisted:

moonrepeat의 이미지

swat와는 달리 webmin은 한글을 지원합니다....... -_-;
그리고 만약 레드햇 계열을 쓰신다면 레드햇 9.0에 xwindow 기반의
samba 설정 툴이 있습니다.(한국어 지원)
이름이 redhat-config-samba 인데 정말 쉽고 편리합니다.
다만 아주 세세한 설정은 못하고 samba 3.X 용은 없는것 같습니다.....

(현재 전 데비안 쓰는데 이놈 데비안에서 설치가 안됩니다. alien 써도.....)

삽질은 계속되어야 한다....... 쭉.........

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.