ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] пароли в samba
@ 2007-11-15  8:34 Epiphanov Sergei
  2007-11-15  8:57 ` Alexander Bokovoy
  0 siblings, 1 reply; 3+ messages in thread
From: Epiphanov Sergei @ 2007-11-15  8:34 UTC (permalink / raw)
  To: Рассылка Sisyphus

Всем привет!

Настроил себе самбу, чтобы она при доступе к серверу спрашивала имя и пароль. 
Настроено взаимодействие с winbindd, бэкендом для паролей 
является /etc/samba/smbpasswd. Хочу создать нового пользователя, 
активировать его, задать ему пароль. Набираю команды:

net rpc user add user1
net sam set disabled user1 no
net rpc password user1 password

Пытаюсь войти с Windows-машины, получаю отлуп, в логах появляются строки о 
необходимости ввести пароль пользователю user1 ещё раз. Набираю последнюю 
команду ещё раз - без изменения. В /etc/samba/smbpasswd строка про user1 
есть, пароль его вбит, логин разрешён, в системе пользователь user1 создан. 
Если локально на сервере набрать команду

smbpasswd user1

и задать тот же пароль, то в систему можно попасть. Сравнение 
файлов /etc/samba/smbpasswd показывает, что smbpasswd помимо пароля меняет 
ещё и параметр LCT-<число>, а net rpc password - нет, оставляя его в виде 
LCT-00000000. Чей глюк: мой или SAMBA? И где?

-- 
С уважением, Епифанов Сергей

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

end of thread, other threads:[~2007-11-15 10:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-15  8:34 [sisyphus] пароли в samba Epiphanov Sergei
2007-11-15  8:57 ` Alexander Bokovoy
2007-11-15 10:02   ` Epiphanov Sergei

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