삼바(Samba 3.0)을 설치하고 로그인이 안됩니다. 제발 도와주세

getbee의 이미지

여기 저기서 자료를 모아서 삼바로 리눅스 공유디렉토리를 구축하려고 하는데
잘 안되네요.

사용환경 : Debian Unstable(Sid)

커널 : 2.4.20

Samba 3.0

프로그램은 samba 및 swat을 설치하여 진행 중입니다.

막히는 부분은 삼바클라이언트로 테스트하는 중에 Logon Fail이 발생합니다.

# smbclient -L localhost -U polsky
Password: <암호입력>
session setup failed: NT_STATUS_LOGON_FAILURE

C:\> nbtstat -A xxx.xxx.xxx.208

로컬 영역 연결:
Node IpAddress: [xxx.xxx.xxx.212] Scope Id: []

           NetBIOS Remote Machine Name Table

       Name               Type         Status
    ---------------------------------------------
    NONLINEAR4     <00>  UNIQUE      Registered
    NONLINEAR4     <03>  UNIQUE      Registered
    NONLINEAR4     <20>  UNIQUE      Registered
    ..__MSBROWSE__.<01>  GROUP       Registered
    PHYSICS        <00>  GROUP       Registered
    PHYSICS        <1D>  UNIQUE      Registered
    PHYSICS        <1E>  GROUP       Registered

    MAC Address = 00-00-00-00-00-00

그런데 MAC Address가 표시되지 않는것은 무슨 문제인지 잘 모르겠습니다.

참고로 제 Samba 설정 파일을 같이 올려드릴테니 문제점을 아시는 분은
꼭 답변 부탁드립니다.

212에서 208로 접속했습니다.

# Samba config file created using SWAT
# from xxx.xxx.xxx.212 (xxx.xxx.xxx.212)
# Date: 2004/07/09 05:41:59

# Global parameters
[global]
	dos charset = EUC-KR
	unix charset = EUC-KR
	display charset = EUC-KR
	workgroup = PHYSICS
	netbios aliases = NONLINEAR4
	server string = Samba
	interfaces = xxx.xxx.xxx.208/255.255.255.0
	auth methods = sam
	allow trusted domains = No
	min passwd length = 3
	map to guest = Bad User
	obey pam restrictions = Yes
	smb passwd file = /etc/samba/private/smbpasswd
	private dir = /etc/samba/pribate
	passdb backend = tdbsam, guest
	root directory = /home/public
	guest account = 
	pam password change = Yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
	unix password sync = Yes
	syslog = 0
	log file = /var/log/samba/log.%m
	max log size = 1000
	server signing = auto
	preferred master = No
	domain master = No
	browse list = No
	enhanced browsing = No
	dns proxy = No
	ldap ssl = no
	panic action = /usr/share/samba/panic-action %d
	username = \\server\share%user
	valid users = root, polsky, raid
	admin users = root
	read list = root, polsky, raid
	write list = root, polsky, raid
	guest ok = Yes

[homes]
	comment = Home Directories
	path = /home/public
	username = root, polsky, raid
	read list = 
	write list = polsky, raid
	read only = No
	create mask = 0777
	directory mask = 0700
	inherit permissions = Yes
	strict sync = Yes
	sync always = Yes
	browseable = No
	msdfs proxy = no

[printers]
	comment = All Printers
	path = /tmp
	create mask = 0700
	printable = Yes
	browseable = No

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/printers

[polsky]
	path = /home/polsky
	invalid users = polsky, raid
	valid users = root, polsky, raid, RAID, iniya
	read list = polsky, raid
	write list = polsky, raid, RAID, iniya
	read only = No
	browseable = No
	msdfs proxy = no

마지막으로 덧붙이자면 데비안에서는 Samba User를 추가하는 프로그램이
없는 것 같습니다. 그리고 smbpasswd로 -a 옵션을 주어 추가해도 생성되는
파일에 전혀 영향을 주지 못하는 거로 보입니다.

제발 아시는 분이 계시면 도와주세요.

polsky의 이미지

smbpasswd 프로그램이 정상적으로 작동하지 않는것에 문제가 있더군요.

user를 추가하면 추가되었다고 메세지가 떠야하는데..

메세지가 안뜨니 제대로 암호가 등록이 안된거죠..

결국 Debian에서 설치하는 것을 포기하고 Wow 7.3 R2에서

소스를 받아서 컴파일해서 설치해서 해결했습니다.

Debian에서는 소스 컴파일하기가 겁이 나서요..

Wow에서는 KDE에 프로그램이 등록되어 있어서 프린터도 등록이 쉽더군요.

그럼 자답이었습니다..

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.