[Samba] Newbie - samba 3 as PDC

Winanjaya - PBXSoftwares.com winanjaya at pbxsoftwares.com
Fri Feb 3 00:33:27 GMT 2006


Hi, Thanks

So it does not automatically add the machine name into unix account and also
add the machine name as smbpasswd.. ;<(
is it possible to make it automatically add machine name to both unix
account and smbpasswd?

Regards
Winanjaya

----- Original Message -----
From: <ahall at madasafish.com>
To: <samba at lists.samba.org>
Sent: Friday, February 03, 2006 5:59 AM
Subject: Re: [Samba] Newbie - samba 3 as PDC



Winanjaya,

Please see here regarding domain control and membership...

http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/samba-pdc.html

http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.htm
l

...but from a quick glance your smb.conf file seems OK.

so then you need to add a machine account. first as a unix account...

useradd -c "machine account" -d /dev/null -s /sbin/nologin netbiosname$

(netbiosname$ being the hostname of the windows client with a dollar
appended)

then as a samba account...

smbpasswd -a -m netbiosname

(note the dollar is not required here)

then add the client to the domain. when asked for an account with
permissions to
do so use the root account you set up when first configuring samba as a
domain
controller.

apologies if you've done this already and are still experiencing problems,
but
you weren't particularly verbose in your post so I'm not not sure what stage
you're at. if possible then describe what you've actually tried and what
errors
you're getting.

---- - Message sent via Madasafish Webmail - http://www.madasafish.com/ Up
to 8Mb Broadband now from just £11.99 a month
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

***********************
Your mail has been scanned by MSS.
***********************




***********************
Our outgoing mail has been scanned by MSS.
***********************



More information about the samba mailing list