[Samba] smbldap-useradd -w won't create machine account

Christopher Perry cperry at hmdc.harvard.edu
Tue Apr 1 14:17:13 GMT 2008

I can't get smbldap-useradd to add the sambaSamAccount workstation 
attributes. For example:

smbldap-useradd -w 'test_machine$'

# test_machine$, People, desktop.hmdc.harvard.edu
dn: uid=test_machine$,ou=People,dc=desktop,dc=hmdc,dc=harvard,dc=edu
objectClass: top
objectClass: account
objectClass: posixAccount
cn: test_machine$
uid: test_machine$
uidNumber: 1010
gidNumber: 515
homeDirectory: /dev/null
loginShell: /bin/false
description: Computer
gecos: Computer

Has anyone else experienced this? It thinks it's creating a machine 
account, but it doesn't add sambaSamAccount, or sambaAcctFlags [W  ].

More info:
# rpm -qi smbldap-tools
Name        : smbldap-tools                Relocations: (not relocatable)
Version     : 0.9.4                             Vendor: Dag Apt 
Repository, http://dag.wieers.com/apt/
Release     : 1.el5.rf                      Build Date: Sat 22 Sep 2007 
01:35:45 AM EDT
Install Date: Tue 25 Mar 2008 11:43:42 AM EDT      Build Host: 
Group       : System Environment/Base       Source RPM: 
Size        : 525573                           License: GPL
Signature   : DSA/SHA1, Sat 22 Sep 2007 02:51:47 PM EDT, Key ID 
Packager    : Dag Wieers <dag at wieers.com>
URL         : http://sourceforge.net/projects/smbldap-tools/
Summary     : User and group administration tools for Samba-OpenLDAP


More information about the samba mailing list