The FreeBSD Diary

The FreeBSD Diary (TM) Remember
I remember
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Automatically Join Computers To Domain
Author: Randy 
Date:   10-11-03 02:49

I have search the web for help on automatically having the computer trust accounts created when joining the domain and could not find much info for FreeBSD. Here is the script I use in my smb.conf:

add user script =/usr/sbin/pw useradd -d /dev/null -g machines -s /bin/false -n %u

I hope this helps someone.

Reply To This Message
 
 Re: Automatically Join Computers To Domain
Author: Jim Coulter 
Date:   25-12-04 15:52

Adding this line to the [global] section of my smb.conf finally got my samba fileserver to recoginize my windows user account.

Thank you Randy!

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org