Just to visit this subject again, I think I've worked out the add user
script line that Dan Brown and Charlie Brady were working out on Dan's Samba
Upgrade How-To 2
(http://www.familybrown.org/howtos/samba-upgrade-howto-2.html).

Based on information from Dan and (I think) in Darrell May's original samba
ad a PDC How-To, the add user script line in smb.conf should read:

add user script = /sbin/e-smith/db accounts set %u machine ; \
  /etc/e-smith/events/actions/machine-account-create machine-create %u

This sets the computer name as a machine account and runs the script to
update the appropriate files, i.e. smbpasswd, etc.  The problem is that the
%u value gets passed to samba as machine$, and the machine-account-create
script adds $ to the end (line 60) -> machine$$, which is what is added to
smbpasswd.

When I change line 60 from "$machineName\$" to "$machineName", everything
works fine, and I can add Win2000 clients to the domain.

David M. Brown
Frick, Frick & Jetté Architects
[EMAIL PROTECTED]


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to