ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Artem <u2u@nm.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] танцы (samba) - User Administrator in passdb, but getpwnam() fails!
Date: Mon, 07 Mar 2005 22:04:08 +0200
Message-ID: <422CB3B8.2030200@nm.ru> (raw)
In-Reply-To: <422CA881.6060306@nm.ru>

> Т.е. тоже становится ясно, что  pdb_get_username(sampass) - исправно 
> "вытягивает" аккаунт из ldap (Administrator), но почему дальше не 
> отрабатывает getpwnam_alloc() ?  Мне, что-ли, вместо root в 
> /etc/passwd прописать Administrator?  :-D Бред.


  :-)  Решил "поизвращаться" для эксперимента - завел пользователя 
Administrator с uid/gid=0 в  /еtc/passwd
Ход мыслей конечно интересный, но поведение клиента изменилось - 
аутентификация для Administrator уже выполняется, но после минутной 
паузы выскакивает сообщение о какой-то там ошибке интерфейса. В логах:
                             
[2005/03/07 21:57:14, 5] 
auth/auth_util.c:debug_nt_user_token(486)                                       

  NT user token: 
(NULL)                                                                                  

[2005/03/07 21:57:14, 5] 
auth/auth_util.c:debug_unix_user_token(505)                                     

  UNIX token of user 
0                                                                                   

  Primary group is 0 and contains 0 supplementary 
groups                                                
[2005/03/07 21:57:14, 5] 
smbd/uid.c:change_to_root_user(296)                                             

  change_to_root_user: now uid=(0,0) 
gid=(0,0)                                                          
[2005/03/07 21:57:14, 2] 
smbd/server.c:exit_server(571)                                                  

  Closing 
connections                                                                                    

[2005/03/07 21:57:14, 3] 
smbd/connection.c:yield_connection(69)                                          

  Yielding connection 
to                                                                                 

[2005/03/07 21:57:14, 5] 
smbd/oplock.c:receive_local_message(107)                                        

  receive_local_message: doing select with timeout of 1 
ms                                              
[2005/03/07 21:57:14, 3] 
smbd/server.c:exit_server(614)                                                  

  Server exit (normal exit)         


  reply	other threads:[~2005-03-07 20:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-07 19:16 Artem
2005-03-07 20:04 ` Artem [this message]
2005-03-07 20:06 ` Alexander Bokovoy
2005-03-09 15:12   ` Artem

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=422CB3B8.2030200@nm.ru \
    --to=u2u@nm.ru \
    --cc=sisyphus@altlinux.ru \
    /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