[Samba] samba windows domain controller

Gerald (Jerry) Carter jerry at samba.org
Tue Apr 29 14:13:16 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Evan Ingram wrote:
| Hi
|
| I want windows machines to automatically be added into samba when they
| try to attach to the domain. Had various problems with root account not
| being accepted.
|
| Can anyone spot anything glaringly obviously wrong in my config that
| follows.

|         add user script = /usr/sbin/useradd -g machines -c NTMachine
| -d /dev/null -s /bin/false %m$ && /usr/bin/smbpasswd -a -m %m$


Add user script should only add the unix account.  Don't call smbpasswd
here.  smbd will fill in the information.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIFyz7IR7qMdg1EfYRAp3QAJ9pepvD8KtoOSXqyK4f2W1XLTwzpQCdGnlw
GCxzFdhtjyMGSbN8hEdUxqA=
=eaGq
-----END PGP SIGNATURE-----


More information about the samba mailing list