|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Serge Ryabchun 2:5020/400 22 Feb 2002 17:43:33 To : "Nazar Khomenko" Subject : Re: Интересный вопрос по Самбе -------------------------------------------------------------------------------- Nazar Khomenko <nazar@super-net.ru> wrote: >>NK> Петей и Машей.Как можно такое реализовать с помощью самбы, или надо еще >>NK> что-либо ? подключить настоящих В П и М не предлагать :-))) > >>man smb.conf > > > ман смб конф мне не подсказал как к соответсвующему алиасу привязать > конкретную директорию, т.е. у Васи свое, а у Махи свое , какие будут > соображения олл ? > VARIABLE SUBSTITUTIONS Many of the strings that are settable in the config file can take substitutions. For example the option "path = /tmp/%u" would be interpreted as "path = /tmp/john" if the user connected with the username john. ... %u user name of the current service, if any. %g primary group name of %u. %U session user name (the user name that the client wanted, not necessarily the same as the one they got). %G primary group name of %U. ... %L the NetBIOS name of the server. This allows you to change your config based on what the client calls you. Your server can have a "dual personality". -- Serge Ryabchun sr@energy.uch.net --- ifmail v.2.15dev5 * Origin: MegaStyle ISP, UA (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/88845364e8c7.html, оценка из 5, голосов 10
|