[Samba] failed to add domain dn= sambaDomainName=hostname
Geert Stappers
stappers at stappers.nl
Thu Jun 2 20:27:35 GMT 2005
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.
> Cheers
> Geert Stappers
TNX
More information about the samba
mailing list