ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Peter V. Saveliev" <peet@infosite.ru>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] Samba authorizaton
Date: Mon Sep 17 18:06:01 2001
Message-ID: <3BA604A0.5B6383AA@infosite.ru> (raw)

Hello всем.

Есть самба-сервер, PDC, туда логинится каждый. А еще есть задумка -
файл-сервер утащить на другой компьютер.

И вот, экспериментирую.
Вот кусочек conf'a с будущего файл сервера:

;;;----------------------------------------------------------
;;; Server options:
   security = domain
   local master = no
   preferred master = no
   domain master = no
   os level = 30
   netbios name = MY_FILE_SERVER
;;; Domain options:
   workgroup = WORKGROUP
   server string = SMB Server (%v)
   password server = MY_PDC_SERVER
;;;----------------------------------------------------------
   socket options = TCP_NODELAY
;;;----------------------------------------------------------
;;; Shares:

;;; Public prototype
[public]
   comment = Public Archive
   path = /home/public
   follow symlinks = yes
   public = yes
   browseable = yes
   read only = yes
   write list = @smbadm
   create mode = 0775
   directory mask = 0775
;;;----------------------------------------------------------

И вот, будучи залогинен на PDC, при такой конфигурации я пытаюсь
просмотреть мой публик, ан меня-то и вопрошают: скажи-ка ты свой пароль
и логин. В логах пишется вот что: (detail)

[2001/09/17 21:52:52, 3] smbd/process.c:process_smb(837)
  Transaction 1 of length 174
[2001/09/17 21:52:52, 3] smbd/process.c:switch_message(650)
  switch message SMBnegprot (pid 1160)
[2001/09/17 21:52:52, 3] smbd/sec_ctx.c:set_sec_ctx(317)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
<skip список запршенных протоколов>
[2001/09/17 21:52:52, 3] smbd/negprot.c:reply_negprot(349)
  Requested protocol [NT LM 0.12]
[2001/09/17 21:52:52, 3] smbd/negprot.c:reply_negprot(433)
  Selected protocol NT LM 0.12
[2001/09/17 21:52:52, 3] smbd/process.c:timeout_processing(1062)
  end of file from client
[2001/09/17 21:52:52, 3] smbd/sec_ctx.c:set_sec_ctx(317)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/09/17 21:52:52, 2] smbd/server.c:exit_server(448)
  Closing connections
[2001/09/17 21:52:52, 3] smbd/connection.c:yield_connection(50)
  Yielding connection to
[2001/09/17 21:52:52, 3] smbd/server.c:exit_server(483)
  Server exit (normal exit)
<повторяется еще один раз с первой строчки>

Это - во время выскакивания таблички. Теперь после недоуменного ввода
своего логина/пароля:

[2001/09/17 22:04:49, 3] smbd/process.c:process_smb(837)
  Transaction 1 of length 174
[2001/09/17 22:04:49, 3] smbd/process.c:switch_message(650)
  switch message SMBnegprot (pid 1167)
[2001/09/17 22:04:49, 3] smbd/sec_ctx.c:set_sec_ctx(317)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
<skip список запрошенных протоколов>
  Requested protocol [NT LM 0.12]
[2001/09/17 22:04:50, 3] smbd/negprot.c:reply_negprot(433)
  Selected protocol NT LM 0.12
[2001/09/17 22:04:50, 3] smbd/process.c:timeout_processing(1062)
  end of file from client
[2001/09/17 22:04:50, 3] smbd/sec_ctx.c:set_sec_ctx(317)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/09/17 22:04:50, 2] smbd/server.c:exit_server(448)
  Closing connections
[2001/09/17 22:04:50, 3] smbd/connection.c:yield_connection(50)
  Yielding connection to
[2001/09/17 22:04:51, 3] smbd/server.c:exit_server(483)
  Server exit (normal exit)

То есть, то же самое. Бредуха какая-то. В логах PDC  - ни слова! ни от
MY_FILE_SERVER (такого лога даже нет), ни в логе самого демона. То же
наблюдается, если вводить полный бред вместо логина.

Что я напартачил? Заранее спасибо.
--
Петр.




                 reply	other threads:[~2001-09-17 18:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BA604A0.5B6383AA@infosite.ru \
    --to=peet@infosite.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git