(fwd) Re: Samba 2.0.3

Andrey Gerzhov (kittle@freeland.alex-ua.com)
Thu, 18 Mar 1999 21:38:34 +0200 (EET)

-- forwarded message --
Path: freeland.alex-ua.com!routki.ki.yurteh.net!carrier.kiev.ua!srcc!newsfeed.gamma.ru!Gamma.RU!ddt.demos.su!fido-news-server
From: Andrey Mosienko <andrey@vist-d.ttn.ru>
Newsgroups: fido7.ru.unix
Subject: Re: Samba 2.0.3
Date: 16 Mar 1999 16:04:47 +0300
Organization: VIST-DON
Lines: 132
Approved: <gateway@fido7.ru>
Message-ID: <36EE569A.76A52230@vist-d.ttn.ru>
References: <921316414@p36.f911.n5019.z2.ftn>
NNTP-Posting-Host: ddt.demos.su
Mime-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 8bit
X-BeforeModerator-Path: not-for-mail
X-BeforeModerator-NNTP-Posting-Host: inteh.ttn.ru
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en,ru
Cache-Post-Path: vist-d.ttn.ru!unknown@andrey.vist-d.ttn.ru
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)
Xref: freeland.alex-ua.com fido7.ru.unix:4710

George Martinov wrote:
>
> Hello All!
>
> Может ли Samba 2.0.3 работать в качестве Primary Domain Controller (как Windows
> NT Server)? Интересует возможность ведения бюджетов пользователей через User
> Manager, организации Domain Logons для клиентов Windows NT Workstation,
> возможности изменения паролей на Linux'е средствами Windows (а не через
> Telnet). Сколько не читал документацию, - сделал вывод, что Samba 2.0.3
> позволяет лишь входить в уже существующий домен под управлением Windows NT
> Server и функционировать как Backup Domain Controller.
>
> Прав ли я? Если нет, то подскажите как сделать чтобы клиенты Windows NT
> Workstation 4.0 могли входить в домен, контролируемый Самбой (и вообще
> возможно ли Самбу сделать контроллером домена если в сети отсутствует сервер
> под управлением Windows NT Server?).
Re: Samba as Resource Domain PDC?

Pedro Miguel Frazao Fernandes Ferreira (pfrazao@ualg.pt)
Wed, 17 Feb 1999 15:40:43 +0000
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Next message: Matt Chapman: "Re: smbpasswd and loging in"
Previous message: Gerald Carter: "Re: Samba as Resource Domain PDC?"
In reply to: John Morgan Salomon: "Samba as Resource Domain PDC?"

John Morgan Salomon wrote:
>
> Hi there,
>
> I suppose it's possible that I missed something in this mailing list's
> archive, but I was wondering whether anyone has succeded in setting
> up Samba 2.0 as a PDC in an NT resource domain? I'm trying to add
> an NT 4.0 workstation (create a domain account), but it can't find the
> domain in question's PDC (Samba server is currently the only machine
> in there.)

I have a samba 2.0.2 setup as PDC for a domain. I can add
machines to
the domain, setup user roaming profiles, sharing files and printers,
everything ok with password sync/changing and also setup policies to
winnt and 95 client machines/users. Good work folks :)
>
> My NT server manager also can't find a PDC for the domain; after reading
> NTDOMAINS.txt, I got the impression that you couldn't really have an NT
> domain without a PDC? Am I totally on crack, or could someone give me
> some tips on this? I'm currently not overly concerned with tuning or
> security, I would just like to get it working of at all possible.
>
> Thanks,

I believe there are somethings missing in your smb.conf. Here is
an
excerpt from mine:

# Global parameters
workgroup = <YOUR_GROUP_NAME>
server string = <just a comment>
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
unix password sync = Yes
null passwords = No
name resolve order = wins bcast lmhosts host
deadtime = 1
socket options = TCP_NODELAY IPTOS_THROUGHPUT SO_RCVBUF=4096
SO_SNDBUF=4096
logon path = \\%L\%U\WinProfile
logon drive = z:
domain logons = Yes
logon script = %U.bat
os level = 65
preferred master = Yes
domain master = Yes
wins proxy = No
wins support = Yes
debug level = 0
message command = csh -c 'xedit %s;rm %s' &
create mask = 0740
directory mask = 0750

[netlogon]
# This should be the location for your user scripts and policie files
path = /usr/local/samba/lib/netlogon
browseable = No
writeable = No
Guest ok = No
locking = No
public = No

[HOMES]
read only = No
browseable = No
Guest ok = No

<More file shares and printer shares would follow>

Some coments:

Before going to a NT worstation in order to add it to the domain
you
should create a machine account in the machine running samba:

useradd -u <uid> -g <gid> -d/dev/null -s/bin/false
<Machine_name>$
smbpasswd -a -m <Machine_name>

Now go to the NT workstation, Control Panel, Network, Click
change and
add the machine to the domain.

Just one more thing: I compiled samba 2.0.2 with -DNTDOMAIN but
I am
not shure if this is needed. Hope this helps.

Pedro

От себя: Workstaion входит login script выполняет, профиль сохраняет, но
ты становишся user на своей workstaion и не можешь нихрена. Это пока не
победил.

-- 
With respection Andrey Feofilactovich.
E-Mail: andrey@vist-d.ttn.ru
ICQ: 28073807
-- end of forwarded message --

-- 
С тем, что не помешает никогда,
                                               Kittle