[Samba] Automating Joining a Domain

Lee Leahu lee at ricis.com
Wed May 22 07:22:10 GMT 2002

I recommend that you run the latest version of Samba, 2.2.4 I think, if you have windows XP machines to add to the domain.

You'll want to add the following line to your smb.conf file in the [globals] section:

add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /dev/false -M %u

That will allow the machine to automatically create it's own machine account on the samba server.

You also need to set Domain Logons = yes in the globals section as well.  I'd set the os level to 33.

On Tuesday 21 May 2002 16:02, Keith Lynn wrote:
> Hello everyone,
>      Is there an easy way to automate the process of joining a Samba
> domain?
> Keith Lynn
> Systems Administrator
> School of Computer and Information Sciences
> University of South Alabama
> Mobile, AL 36608
> Phone: (251) 460-6390
> Fax: (251) 460-7274
> Alternate E-mail: lynn at gateway.cis.usouthal.edu
> URL: http://www.cis.usouthal.edu/~lynn/

More information about the samba mailing list