[Samba] Samba and LDAP: Trouble adding Win XP machines to the
mikel.santos at idom.es
Wed Jun 27 16:59:54 GMT 2007
I have tried to add a new machine right now and this is the log of the
[2007/06/27 18:53:42, 3] passdb/pdb_interface.c:pdb_default_create_user(368)
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
"mikelvm$"' gave 0
[2007/06/27 18:53:42, 3] passdb/pdb_interface.c:pdb_default_create_user(384)
pdb_default_create_user: failed to create a new user structure:
As you can see is not of much help (at least for me). I even debugged the
domain addition process in windows which failed in the NetUserAdd api with
the same error (NT_STATUS_NO_SUCH_USER).
The only think I can guess is that samba is not doing its job...
Thanks for your time,
Edmundo Valle Neto wrote:
> mikelOn escreveu:
>> Hi Alex,
>> I don´t think those modifiers would change anything but I have tried them
>> anyway and the objectclass is still not being added.
>> Thanks for the suggestion.
>> Alex Crow wrote:
>>> On Wed, 2007-06-27 at 01:42 -0700, mikelOn wrote:
>>>> Hi all,
>>>> I finally found where the problem is. The samba attributes are not
>>>> added when the workstation entry is created. The "sambaSamAccount"
>>>> objectclass is missing.
>>>> Why is it not being added if it is suppossed to be a windows
>>>> there a bug in the "smbldap-useradd" script when invoked with the "-w"
>>> You need both "-a" and "-m" passwd to smbldap-useradd for the samba
>>> attributes to be added, IMHO.
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions: https://lists.samba.org/mailman/listinfo/samba
> Again, those scripts are used only by tools that create accounts trough
> samba, like net or usrmgr, if you dont use it those lines will not be
> About the samba attributes, when you add a machine account the script
> "add machine" must NOT ADD SAMBA ATTRIBUTES, only posix, samba does that
> alone. Refer to the idealx documentation (if you really want that things
> work properly, reading the documentation is not an option), it was
> already discussed here and the documentation explains how to configure
> that and how it should work.
> About knowing what is happening, put a log level 2 or 3 and try to join
> a machine. Look at the logs, it should say what exit the script gave and
> what samba tried to do.
> Edmundo Valle Neto
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
View this message in context: http://www.nabble.com/Samba-and-LDAP%3A-Trouble-adding-Win-XP-machines-to-the-domain-tf3981091.html#a11328348
Sent from the Samba - General mailing list archive at Nabble.com.
More information about the samba