ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Anton Gorlov <Pnz.Stalker@mail.ru>
To: community@altlinux.ru
Subject: Re[2]: [Comm] SAMBA
Date: Fri, 22 Apr 2005 16:07:17 +0400
Message-ID: <805204639.20050422160717@mail.ru> (raw)
In-Reply-To: <4268C975.7080701@inbox.ru>

Здравствуйте, Boldin.

Вы писали 22 апреля 2005 г., 13:52:53:

>> Во.. С этим тоже разбрался. Так и сделал -/etc/openldap/ldap.conf!
>> Теперь видно, что с лдапом хотя бы общаемся. На комп спокойно заходим.
>> Но при попытке зайти в хомяк ессно получаем отлуп! так как у
>> пользователя из лдапа ессно нет домашней папки на этом компе с самбой.
>> У него хомяк сейчас там же где и ldap.
>> Вопрос -как сделать, что бы   он попадал в свою домашнюю папку?
>> Ессно локальные пользователи с этой машинки (которая с самбой и
>> удалённо работающая с лдапом) должны попадать на свой локальный хомяк
>> (так как в лдапе их может и не быть)
> В http://www.freesource.info/wiki/ALTLinux/Dokumentacija/OpenLDAP !
> через что происходит аутентификация в samba? если через PAM (скорее
> всего.. хотя может и нет), то надо создавать домашнюю диреторию при 
> помощи pam_mkhomedir.
> (в /usr/share/doc/pam_ldap../ есть примеры)
> если не сработает (иногда setuid вызвается до pam_session) то необходимо
> писать patch для samba...

Дело не в pam_mkhomedir. Дело в том, что самба видит пользователя из
лдапа. Там у него следующие параметры:

homeDirectory: /home/anton
sambaHomePath: \\ring.local\anton
sambaProfilePath: \\ring\profiles\anton

Вот. Нужна что бы все данные она взяла из лдапа и подсунула ему
соотвествующий хомяк\профилез, а не пыталась искать локально их.
Но при этом если пользователь на этой машине заведён локально -то
должна использовать его локальный хомяк....



-- 
С уважением,
 Anton                          mailto:Pnz.Stalker@mail.ru



      reply	other threads:[~2005-04-22 12:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-22  7:56 Anton Gorlov
2005-04-22  9:52 ` Boldin Pavel
2005-04-22 12:07   ` Anton Gorlov [this message]

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=805204639.20050422160717@mail.ru \
    --to=pnz.stalker@mail.ru \
    --cc=community@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 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