From: Alexander Bokovoy <ab@altlinux.org>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] поламалась samba
Date: Thu, 24 May 2007 12:55:25 +0400
Message-ID: <465552FD.3020409@altlinux.org> (raw)
In-Reply-To: <465546AA.7090406@eva.dp.ua>
Тимощенков Павел Васильевич пишет:
>> Используйте security = user/domain/ads и ресурс с guest ok = yes, public
>> = yes
>> Вам же для этого security = share нужно было?
>>
>> Штатный режим работы самбы в домене -- security = domain/ads или
>> security = user для собственного домена.
>>
>>
> Да, для этого. Но когда ставишь, скажем, security = user, а на ресурс
> guest ok = yes, public = yes, все равно спрашивает пароль. Может еще
> что-то нужно сделать с опцией guest account ?
Вот такой конфиг работает (security = user по умолчанию):
[global]
workgroup = ALTDOMAIN
server string = Samba server on %h (v. %v)
passdb backend = tdbsam
log file = /var/log/samba/log.%m
max log size = 50
idmap domains = default
idmap alloc backend = tdb
idmap alloc config:range = 10000 - 50000
idmap config default:readonly = yes
idmap config default:default = yes
idmap config default:range = 10000-50000
idmap config default:backend = nss
use sendfile = Yes
[public]
comment = Public Stuff
path = /home/samba/public
guest ok = Yes
Пользователя спросят пароль, если он его не указал, но проигнорируют то,
что он там попытался сказать и вход будет анонимным. В случае, если
Windows в домене, то она попытается подсунуть пользовательскую учетную
запись, с которой пользователь входил в домен.
В случае security = domain все будет точно также, это всегда работало.
--
/ Alexander Bokovoy
Samba Team http://www.samba.org/
ALT Linux Team http://www.altlinux.org/
Midgard Project Ry http://www.midgard-project.org/
next prev parent reply other threads:[~2007-05-24 8:55 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-23 8:42 Тимощенков Павел Васильевич
2007-05-23 9:21 ` Dmitriy Shadrinov
2007-05-23 9:33 ` Alexander Bokovoy
2007-05-23 9:57 ` Тимощенков Павел Васильевич
2007-05-23 10:23 ` Alexander Bokovoy
2007-05-23 11:33 ` Тимощенков Павел Васильевич
2007-05-23 11:55 ` Epiphanov Sergei
2007-05-23 12:10 ` Alexander Bokovoy
2007-05-23 12:16 ` Тимощенков Павел Васильевич
2007-05-23 12:24 ` Epiphanov Sergei
2007-05-23 12:24 ` Genix
2007-05-23 12:27 ` Epiphanov Sergei
2007-05-23 12:31 ` Genix
2007-05-23 12:42 ` Epiphanov Sergei
2007-05-23 12:33 ` Alexander Bokovoy
2007-05-23 13:47 ` Genix
2007-05-23 13:57 ` Genix
2007-05-23 14:13 ` Alexander Bokovoy
2007-05-23 16:47 ` [sisyphus] Re[solved :]: " Genix
2007-06-20 7:05 ` [sisyphus] " Alexander Volkov
2007-06-20 7:28 ` Dmitriy Shadrinov
2007-06-20 7:57 ` Alexander Bokovoy
2007-06-20 8:29 ` Alexander Volkov
2007-06-20 9:08 ` Alexander Bokovoy
2007-06-20 10:54 ` Alexander Volkov
2007-06-21 5:58 ` Alexander Volkov
2007-06-21 7:29 ` Alexander Volkov
2007-06-21 8:06 ` Alexander Bokovoy
2007-06-21 9:03 ` Alexander Volkov
2007-05-23 12:41 ` Тимощенков Павел Васильевич
2007-05-24 9:37 ` Alexey Shabalin
2007-05-24 9:46 ` Epiphanov Sergei
2007-05-24 7:50 ` Тимощенков Павел Васильевич
2007-05-24 7:54 ` Alexander Bokovoy
2007-05-24 8:02 ` Тимощенков Павел Васильевич
2007-05-24 8:47 ` Sergey Vlasov
2007-05-24 8:51 ` Тимощенков Павел Васильевич
2007-05-24 11:31 ` Michael Shigorin
2007-05-24 8:55 ` Alexander Bokovoy [this message]
2007-05-24 12:43 ` Alexey Sidorov
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=465552FD.3020409@altlinux.org \
--to=ab@altlinux.org \
--cc=sisyphus@lists.altlinux.org \
/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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git