ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] Samba Добавление Machine account
  @ 2004-01-13 13:17 ` Aleksey Avdeev
    0 siblings, 1 reply; 3+ messages in thread
From: Aleksey Avdeev @ 2004-01-13 13:17 UTC (permalink / raw)
  To: community

KDemidov пишет:
> Добавляю Machine account:
>  
> sudo /usr/sbin/useradd -g 100 -d /dev/null -c lp -s /bin/false lp$
> sudo passwd -l lp$
> sudo smbpasswd -a -m lp
> Выводит
> Unable to modify TDB passwd ! Error: Record exists
>  occured while storing the RID index (RID_000007d6)
> Failed to add entry for user lp$.
> Failed to modify password entry for user lp$
> Как такое исправить?

   А smbpasswd может использовать _заблокированный_ системный 
аккаунт?

-- 

С уважением. Алексей.



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

* Re: [Comm] Samba Добавление Machine account
  @ 2004-01-13 14:35     ` Aleksey Avdeev
    0 siblings, 1 reply; 3+ messages in thread
From: Aleksey Avdeev @ 2004-01-13 14:35 UTC (permalink / raw)
  To: community

KDemidov пишет:
> Не понял, какой из аккаунтов заблокирован?
> 
>     ----- Original Message -----
>     *From:* Aleksey Avdeev <mailto:solo@solin.spb.ru>
>     *To:* community@altlinux.ru <mailto:community@altlinux.ru>
>     *Sent:* Tuesday, January 13, 2004 4:17 PM
>     *Subject:* Re: [Comm] Samba Добавление Machine account
> 
>     KDemidov пишет:
>      > Добавляю Machine account:
>      > 
>      > sudo /usr/sbin/useradd -g 100 -d /dev/null -c lp -s /bin/false lp$
>      > sudo passwd -l lp$
                      ^^^

   Согласно man, блокирует аккаунт lp$. Может ли после этого с 
ним работать smbpasswd - я незнаю (не проверял).

>      > sudo smbpasswd -a -m lp
>      > Выводит
>      > Unable to modify TDB passwd ! Error: Record exists
>      >  occured while storing the RID index (RID_000007d6)
>      > Failed to add entry for user lp$.
>      > Failed to modify password entry for user lp$
>      > Как такое исправить?
> 
>        А smbpasswd может использовать _заблокированный_ системный
>     аккаунт?

-- 

С уважением. Алексей.



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

* Re: [Comm] Samba Добавление Machine account
  @ 2004-01-13 15:00         ` Aleksey Avdeev
  0 siblings, 0 replies; 3+ messages in thread
From: Aleksey Avdeev @ 2004-01-13 15:00 UTC (permalink / raw)
  To: community

KDemidov пишет:
>   >KDemidov пишет:
>   >> Не понял, какой из аккаунтов заблокирован?
>   >> 
>   >> 
>   >>    KDemidov пишет:
>   >>      > Добавляю Machine account:
>   >>      > 
>   >>      > sudo /usr/sbin/useradd -g 100 -d /dev/null -c lp -s /bin/false lp$
>   >>      > sudo passwd -l lp$
>   >                      ^^^
>   >
>   >   Согласно man, блокирует аккаунт lp$. Может ли после этого с 
>   >ним работать smbpasswd - я незнаю (не проверял).
> 
>   До некоторого момента нормально работал.

   Что изменилось?

PS: Возможно я нелучший советчик: У меня Machine account 
добавляется через "add machine script = <скрипт>". (См. 
вчерашнее письмо с темой "Samba3 в какчестве PDC (пока - NT4)")

-- 

С уважением. Алексей.



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

end of thread, other threads:[~2004-01-13 15:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-13 13:17 ` [Comm] Samba Добавление Machine account Aleksey Avdeev
2004-01-13 14:35     ` Aleksey Avdeev
2004-01-13 15:00         ` Aleksey Avdeev

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