[Samba] On-the-Fly Creation of Machine Trust Accounts Problem

Lee Baker LBaker at mcauley.org.uk
Mon Aug 7 14:18:16 GMT 2006

Using Samba 3.0.23a-1.fc5.1

When I try to add XP workstation to the domain using Network ID wizard (from XP) it fails. 

add machine script is:  /usr/sbin/useradd -d /dev/null -g 500 -s /bin/false -M %u

What happens is a unix account (in passwd file) is created with LOWER-CASE username.
Account is added to smbpasswd in UPPER-CASE.

XP reports error "A device attached to the system is not functioning".
Manually changing unix account to upper case works.

This worked fined using Samba 2.x

Any suggestions or which version of Samba should I roll back to??

Lee Baker 

"This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.  If you are not the intended recipient of the message you must not use, disclose, distribute, copy, print or take action in reliance on it.  If you have received this email in error please notify the sender and delete the original message from your system".

"The views expressed in this email are those of the individual sender, except where the sender specifically states them to be the views of The McAuley Catholic High School".

More information about the samba mailing list