Fwd: Re: [Samba] failed to add domain dn= sambaDomainName
On Tuesday 18 March 2008 your cat, walking on the keyboard, wrote: > did you run smbldap-populate? > Ops...I figured put: for any strange reason the ldap schema was missing from the ldap configuration file. I guess it was a wrong update. Now the system is working. Thanks, Luca -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] failed to add domain dn= sambaDomainName
did you run smbldap-populate? Luca Ferrari wrote: Hi, I'm trying to configure my samba server to work with the ldap system on the same host. The samba domain name is LDAP, but when I try to start samba I cannot and in the log I found: [2008/03/18 11:12:14, 1] lib/smbldap_util.c:add_new_domain_info(216) add_new_domain_info: failed to add domain dn= sambaDomainName=LDAP,dc=myHost,dc=com with: Invalid DN syntax invalid DN Where can be the problem? Both in /etc/samba/smb.conf and /etc/smbldap-tools/smbldap.conf the domain name is set to LDAP. Thanks, Luca -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] failed to add domain dn= sambaDomainName
Hi, I'm trying to configure my samba server to work with the ldap system on the same host. The samba domain name is LDAP, but when I try to start samba I cannot and in the log I found: [2008/03/18 11:12:14, 1] lib/smbldap_util.c:add_new_domain_info(216) add_new_domain_info: failed to add domain dn= sambaDomainName=LDAP,dc=myHost,dc=com with: Invalid DN syntax invalid DN Where can be the problem? Both in /etc/samba/smb.conf and /etc/smbldap-tools/smbldap.conf the domain name is set to LDAP. Thanks, Luca -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] failed to add domain dn= sambaDomainName=hostname
On Fri, Jun 03, 2005 at 05:45:57PM +0200, Geert Stappers wrote: > > 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? After a big change in /etc/samba/smb.conf it is gone, most likely it was the addition of 'netbios name = tw89' Cheers Geert Stappers signature.asc Description: Digital signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] failed to add domain dn= sambaDomainName=hostname
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 > > > > > > > | 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] failed to add domain dn= sambaDomainName=hostname
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 > > > | 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] failed to add domain dn= sambaDomainName=hostname
Hello, On a computer, a sparc64 with Debian, with hostname tw89 and domain name KUDDE thinks `smbpasswd` that the domain name is TW89 | tw89:~ | # grep workgroup /etc/samba/smb.conf | # Change this to the workgroup/NT-domain name your Samba server will part of |workgroup = KUDDE | tw89:~ | # ldapsearch -LLxW -H ldaps://tw89 -D cn=admin,ou=people,dc=gst,dc=stappers,dc=nl \ | -b dc=gst,dc=stappers,dc=nl '(&(objectClass=*)(sambaDomainName=*))' sambaDomainName | version: 1 | | dn: sambaDomainName=KUDDE,dc=gst,dc=stappers,dc=nl | sambaDomainName: KUDDE | | tw89:~ | # smbpasswd -a challange | 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 | New SMB password: | Retype new SMB password: | Failed to initialise SAM_ACCOUNT for user challange. Does this user exist in the UNIX password database ? | Failed to modify password entry for user challange | tw89:~ | # On a working computer ( debian-edu, i386 ) there is | tjener:~ | # smbpasswd -D 4 -a mymom | Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=SKOLELINUX))] | smbldap_open_connection: connection opened | ldap_connect_system: succesful connection to the LDAP server | The LDAP server is succesful connected | New SMB password: ^C | Interupted by signal. | tjener:~ | # The failing computer gives: | 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? Cheers Geert Stappers -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba