From: "Peter V. Saveliev" <peet@infosite.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] samba authorization - HELP plz ;-(
Date: Sat Sep 22 11:44:00 2001
Message-ID: <3BAC4282.9A48633A@infosite.ru> (raw)
In-Reply-To: <3BAB2FC2.784F839A@infosite.ru>
"Peter V. Saveliev" wrote:
> > >> ЗЫ. И еще, акаунт самбовый под него выделен?
> >
> > Peter> Что за зверь?
>
> <skip> Понятно. Это все знакомо.
>
> > host:~#/usr/local/samba/bin/smbpasswd -e user_name
>
> ^^^^^^^^^^^^^^^^^^^^^
>
> > Added interface ip=x.x.x.x broadcast=x.x.x.255 netmask=255.255.255.0
> > User user_name enabled
> > host:~#
>
> <skip> Ага...
>
> > Ну вот собсно и всё :)
<skip>
# smbd -D
# nmbd -D
# smbpasswd -a peet
New SMB password: pswd01
Retype new SMB password: pswd01
Added user peet.
# smbpasswd -e peet
Enabled user peet
# passwd peet
New UNIX password: pswd02
Retype new UNIX password: pswd02
Update password database... done.
# smbclient -L hamster -U peet // hamster == localhost
password: pswd01
Bad password/name pair
# smbclient -L hamster - U peet
password: pswd02
// куча зашаренных ресурсов - пустили =;-|
# vmware
// входим в винды, просим hamster'a открыться по pswd01, затем по pswd02, и...
# less /var/log/samba/log.billy // billy == virtual machine
[2001/09/22 10:10:17, 3] smbd/process.c:process_smb(837)
Transaction 1 of length 158
[2001/09/22 10:10:17, 3] smbd/process.c:switch_message(650)
switch message SMBnegprot (pid 1523)
[2001/09/22 10:10:17, 3] smbd/sec_ctx.c:set_sec_ctx(317)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/09/22 10:10:17, 3] smbd/negprot.c:reply_negprot(349)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2001/09/22 10:10:17, 3] smbd/negprot.c:reply_negprot(349)
Requested protocol [MICROSOFT NETWORKS 3.0]
[2001/09/22 10:10:17, 3] smbd/negprot.c:reply_negprot(349)
Requested protocol [DOS LM1.2X002]
[2001/09/22 10:10:17, 3] smbd/negprot.c:reply_negprot(349)
Requested protocol [DOS LANMAN2.1]
[2001/09/22 10:10:17, 3] smbd/negprot.c:reply_negprot(349)
Requested protocol [Windows for Workgroups 3.1a]
[2001/09/22 10:10:17, 3] smbd/negprot.c:reply_negprot(349)
Requested protocol [NT LM 0.12]
[2001/09/22 10:10:17, 3] smbd/negprot.c:reply_negprot(433)
Selected protocol NT LM 0.12
[2001/09/22 10:10:17, 3] smbd/process.c:process_smb(837)
Transaction 2 of length 133
[2001/09/22 10:10:17, 3] smbd/process.c:switch_message(650)
switch message SMBsesssetupX (pid 1523)
[2001/09/22 10:10:17, 3] smbd/sec_ctx.c:set_sec_ctx(317)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/09/22 10:10:17, 3] smbd/reply.c:reply_sesssetup_and_X(866)
Domain=[WILLY] NativeOS=[Windows 4.0] NativeLanMan=[Windows 4.0]
[2001/09/22 10:10:17, 3] smbd/reply.c:reply_sesssetup_and_X(876)
sesssetupX:name=[PEET]
[2001/09/22 10:10:17, 2] smbd/reply.c:reply_sesssetup_and_X(990)
Defaulting to Lanman password for peet
[2001/09/22 10:10:17, 1] smbd/reply.c:reply_sesssetup_and_X(1005)
Rejecting user 'peet': authentication failed
[2001/09/22 10:10:17, 3] smbd/error.c:error_packet(123)
error string = No such file or directory
[2001/09/22 10:10:17, 3] smbd/error.c:error_packet(141)
error packet at line 700 cmd=115 (SMBsesssetupX) eclass=2 ecode=2
[2001/09/22 10:10:17, 3] smbd/process.c:process_smb(837)
Transaction 3 of length 133
[2001/09/22 10:10:17, 3] smbd/process.c:switch_message(650)
switch message SMBsesssetupX (pid 1523)
[2001/09/22 10:10:17, 3] smbd/sec_ctx.c:set_sec_ctx(317)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/09/22 10:10:17, 3] smbd/reply.c:reply_sesssetup_and_X(866)
Domain=[WILLY] NativeOS=[Windows 4.0] NativeLanMan=[Windows 4.0]
[2001/09/22 10:10:17, 3] smbd/reply.c:reply_sesssetup_and_X(876)
sesssetupX:name=[PEET]
[2001/09/22 10:10:17, 2] smbd/reply.c:reply_sesssetup_and_X(990)
Defaulting to Lanman password for peet
[2001/09/22 10:10:17, 1] smbd/reply.c:reply_sesssetup_and_X(1005)
Rejecting user 'peet': authentication failed
[2001/09/22 10:10:17, 3] smbd/error.c:error_packet(123)
error string = No such file or directory
[2001/09/22 10:10:17, 3] smbd/error.c:error_packet(141)
error packet at line 700 cmd=115 (SMBsesssetupX) eclass=2 ecode=2
[2001/09/22 10:10:17, 3] smbd/process.c:timeout_processing(1062)
end of file from client
[2001/09/22 10:10:17, 3] smbd/sec_ctx.c:set_sec_ctx(317)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/09/22 10:10:17, 2] smbd/server.c:exit_server(448)
Closing connections
[2001/09/22 10:10:17, 3] smbd/connection.c:yield_connection(50)
Yielding connection to
[2001/09/22 10:10:17, 3] smbd/server.c:exit_server(483)
Server exit (normal exit)
Ну в чем я пред небесами провинился ?!!
И ведь одновременно удалось заживить в реальной сети PDC и файл-сервер на самбе. И никаких
траблов (почти) не было ;(
--
Петр.
next prev parent reply other threads:[~2001-09-22 11:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-21 12:09 Peter V. Saveliev
2001-09-21 14:15 ` Nik Volkov
2001-09-21 14:23 ` Nik Volkov
2001-09-21 14:51 ` Peter V. Saveliev
2001-09-21 15:51 ` Re[2]: " Nik Volkov
2001-09-21 16:12 ` Peter V. Saveliev
2001-09-22 11:44 ` Peter V. Saveliev [this message]
2001-09-21 14:50 ` Peter V. Saveliev
2001-09-21 15:40 ` Re[2]: " Nik Volkov
2001-09-21 16:05 ` Peter V. Saveliev
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=3BAC4282.9A48633A@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