ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Alexey Sidorov <alex@reutman.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] Самба и гости
Date: Wed, 30 May 2007 12:50:40 +0400
Message-ID: <465D3AE0.8040102@reutman.ru> (raw)

Здравствуйте.
самба 3.0.25, Домен вин2003
На данный момент часть юзеров смаплена на локальных, с ними всё вроде нормально (заходят с виндовых
машин и т.п.)
А вот как сделать, что-бы остальные заходили с виндовых машин как nobody, без всяких дополнительных
запросов имени/пароля?

[global]
    dos charset = CP866
    unix charset = CP1251
    workgroup = REUTMAN
    server string =  Alex Server

    log file = /var/log/samba/log.%m
    max log size = 50
; log level = 3

   guest account = nobody
    security = ads
	password server = server.reutman.local
	realm = REUTMAN.LOCAL
	use spnego=yes
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
;  username map = /etc/samba/smbusers
	idmap domains = REUTMAN
	idmap config REUTMAN:backend  = rid
	idmap config REUTMAN:base_rid = 1000
	idmap config REUTMAN:range = 10000 - 50000
	idmap alloc backend      = tdb
	idmap alloc config:range = 5000 - 9999

    socket options = TCP_NODELAY
    wins server = 192.168.0.1
    dns proxy = no

     use sendfile = yes
	map to guest = Bad User
	guest ok = yes


#============================ Share Definitions ==============================
[Музыка]
path = /home/share/Music/
write list = "REUTMAN\alex" @"REUTMAN\Администраторы домена"
force create mode = 0765
force directory mode = 0775
delete readonly = yes
guest ok = yes
public = yes


-- 
Alexey Sidorov
	mailto:alex@reutman.ru
	JID: alex@reutman.ru
	ICQ: 5052225



                 reply	other threads:[~2007-05-30  8:50 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=465D3AE0.8040102@reutman.ru \
    --to=alex@reutman.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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