ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Единый пароль для входа в систему и SAMBA
@ 2007-06-07 12:15 Денис Ягофаров
  2007-06-07 15:39 ` Michael Shigorin
  0 siblings, 1 reply; 2+ messages in thread
From: Денис Ягофаров @ 2007-06-07 12:15 UTC (permalink / raw)
  To: ALT Linux Community

Доброго времени суток.

Пробую настроить самба-сервер. Хочу, чтоб пользователи
имели 1 пароль для входа в систему и подключения к самба-
шаре. У меня нету домена, просто рабочая группа.

Вначале смотрел в сторону /etc/samba/smbusers:
nobody = guest pcguest smbguest Guest
di = di
ant = ant
shade = shade
hokum = hokum

Но судя по мануалам, это относится к домену.

Теперь решил написать скрипт, который должен без вопросов
менять пароль одновременно passwd'ом и smbpasswd'ом.

Так в какую сторону смотреть?

П.С. Мой конфиг самбы:

[root@vmserver ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[vm]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
        workgroup = ITC
        netbios aliases = VMSERVER
        server string = Server for virtual OS
        auth methods = sam, guest
        username map = /etc/samba/smbusers
        log file = /var/log/samba/log.%m
        max log size = 50
        load printers = No
        dns proxy = No
        wins server = 192.168.1.48
        hosts allow = 192.168.0.0/255.255.0.0
        use sendfile = Yes

[vm]
        comment = vms on server
        path = /var/vm
        read only = No



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] Единый пароль для входа в систему и SAMBA
  2007-06-07 12:15 [Comm] Единый пароль для входа в систему и SAMBA Денис Ягофаров
@ 2007-06-07 15:39 ` Michael Shigorin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Shigorin @ 2007-06-07 15:39 UTC (permalink / raw)
  To: ALT Linux Community

On Thu, Jun 07, 2007 at 03:15:39PM +0300, Денис Ягофаров wrote:
> Так в какую сторону смотреть?

LDAP

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-07 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-07 12:15 [Comm] Единый пароль для входа в систему и SAMBA Денис Ягофаров
2007-06-07 15:39 ` Michael Shigorin

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