My smb problem..

Luke Kenneth Casson Leighton lkcl at samba.org
Fri Jan 14 18:11:23 GMT 2000


On Fri, 14 Jan 2000, Mike Harris wrote:

> Fredrik,
> 
> Attached my smb.conf file, but don't take it as gospel - it's very quickly
> configured (and there's a few mistakes in it with netlogon and profiles) so
> I could just get it up and running and test.  In my case, I'm using my Samba
> server as DMB and WINS and connection with W2K Professional.  I couldn't get
> this to work until after the TNG updates yesterday afternoon CET as before
> smbd crashed when attempting to join the domain.
> 
> I compiled TNG with no configure options, default make and install.  Started
> all 12 daemons.  I've a RedHat 6.x script at
> http://www.psand.net/scripts/samba/smb-2.1.html that does this.
> 
> Anyway loosely, here are my set-up steps:
> 
> 1.  Set-up minimal smb.conf:
> 
> workgroup=DOMAIN
> security=user
> encrypt passwords=yes
> domain logons=yes
> preferred master=yes
> domain master=yes
> wins support=yes
> announce version=4.2
> os level=32
> 
> and the homes share.
> 
> 2.  Add the Samba server to domain and join:
> 
> useradd SAMBASRV$
> smbpasswd -a -m SAMBASRV
> smbpasswd -j DOMAIN
> 
> 3.  Add the W2K machine:
> 
> useradd W2KPRO1$
> smbpasswd -a -m W2KPRO1
> 
> 4.  Set-up W2K machine to support NetBIOS over TCP/IP, WINS points at Samba
> server.  The join the domain.  When prompted for admin name enter
> DOMAIN\root and password.  I've added an account 'Administrator' to my UNIX
> password file and smbpasswd to speed things up.
> 
> That's all I did!   If step 4 fails, I found that re-running smbpasswd on
> the machine name helped.

mike,

nt5 is intelligent enough to add a workstation trust account password with
a random-based password, so you shouldn't have to use smbpasswd -a -m
w2kpro1.

in fact, if you _do_ this, it's a [minimal] security risk.

using smbpasswd to add trust accounts with default, well-known passwords,
is _Really_ bad.

i let nt5 do the joining, particularly now that you _have_ to type in the
admin DOMAIN\user pass in the net-control-pan box, now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smb.conf
Type: application/octet-stream
Size: 794 bytes
Desc: 
Url : http://lists.samba.org/archive/samba-ntdom/attachments/20000115/12c769b5/smb.obj


More information about the samba-ntdom mailing list