[Samba] Newbie - samba 3 as PDC

ahall at madasafish.com ahall at madasafish.com
Thu Feb 2 22:59:48 GMT 2006


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.html

...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


More information about the samba mailing list