Package: smbldap-tools
Version: 0.8.7-4

The  smbldap-tools -w  command does not add sambaSamAccount objectClass
to the LDAP entry it creates, so  smbldap-usermod -a computername$  must
be invoked after each  smbldap-useradd -w  to work around this problem.

I faced with the above issue when migrating the computer accounts from
our old samba server to the new, LDAP based system. The LDIF import
raised and error, since there were no sambaNTPassword entry to store the
encrypted password read from the old smbpasswd file. I had to create the
entry by adding sambaSamAccount objectClass by invoking  smbldap-useradd
-a computername$  for each machine account.

I suggest adding the sambaSamAccount objectClass when adding new machine
accounts.

Note: Using  smbldap-useradd -a -w  does not solve the problem, since
sambaSamAccount is not added.

I'm using Debian 3.1r0 "Sarge", samba 3.0.14a-3, kernel 2.6.8 (always
the latest upgrade available from debian mirrors). Architecture: i686
(AMD Athlon 1700+)

Thanks for your help.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to