[Samba] failed to add domain dn= sambaDomainName=hostname
Geert Stappers
stappers at stappers.nl
Fri Jun 3 15:45:57 GMT 2005
On Thu, Jun 02, 2005 at 10:27:35PM +0200, Geert Stappers wrote:
> On Tue, May 31, 2005 at 12:38:13AM +0200, Geert Stappers wrote:
> > Hello,
> >
> > On a computer, a sparc64 with Debian, with hostname tw89
> > and domain name KUDDE
> > thinks `smbpasswd` that the domain name is TW89
> >
> <snip/>
> >
> > | tw89:~
> > | # smbpasswd -D 4 -a mymom
> > | Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=TW89))]
> > | smbldap_open_connection: connection opened
> > | ldap_connect_system: succesful connection to the LDAP server
> > | ldap_connect_system: LDAP server does support paged results
> > | The LDAP server is succesfully connected
> > | Got no domain info entries for domain
> > | Adding new domain
> > | failed to add domain dn= sambaDomainName=TW89,dc=gst,dc=stappers,dc=nl
> > | with: Insufficient access
> > | no write access to parent
> > | Adding domain info for TW89 failed with NT_STATUS_UNSUCCESSFUL
> > | pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the
> > | domain
> > | pdb_init_ldapsam: Continuing on regardless, will be unable to allocate
> > | new users/groups, and will risk BDCs having inconsistant SIDs
> > | New SMB password: ^C
> > | Interupted by signal.
> > | tw89:~
> > | #
> >
> > Why does it use it's hostname
> > and the workgroup?
> and not the workgroup?
> >
>
> It seems to happen in source/passdb/pdb_ldap.c
> and from what I can see now, is that works fine.
But now I'm in doubt, in /var/log/samba/smbd.log there is
[2005/06/03 17:37:11, 0] smbd/server.c:main(798)
smbd version 3.0.14a-Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2005/06/03 17:37:12, 1] lib/smbldap.c:add_new_domain_info(1364)
failed to add domain dn= sambaDomainName=TW89,dc=gst,dc=stappers,dc=nl
with: Insufficient access
no write access to parent
[2005/06/03 17:37:12, 0] lib/smbldap.c:smbldap_search_domain_info(1413)
Adding domain info for TW89 failed with NT_STATUS_UNSUCCESSFUL
The domain should be KUDDE,
but why takes the sparc64 it's hostname as domain name?
Cheers
Geert Stappers
More information about the samba
mailing list