-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi guys, I appear to have some issues with smbldap-populate, this used to work fine but I've recently upgraded the dev box from RH8.0 to Fedora Core 1, I assume it's related but I'm not sure exactly how... As you can see the first ou creates work, so it must at least be binding to the ldap server, but it seems to have a problem with the samba objectclass? Any assistance much appreciated. Regards Eric Here's what I'm getting from smbldap-populate [root@itouch-1008 root]# smbldap-populate perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: ~ LANGUAGE = (unset), ~ LC_ALL = "default", ~ LANG = "en_AU.UTF-8" ~ are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Using builtin directory structure adding new entry: dc=itouchaudev,dc=com adding new entry: ou=Users,dc=itouchaudev,dc=com adding new entry: ou=Groups,dc=itouchaudev,dc=com adding new entry: ou=Computers,dc=itouchaudev,dc=com adding new entry: ou=Idmap,dc=itouchaudev,dc=com adding new entry: cn=NextFreeUnixId,dc=itouchaudev,dc=com failed to add entry: unrecognized objectClass 'sambaUnixIdPool' at /usr/local/sbin/smbldap-populate line 388, <GEN1> line 7. adding new entry: uid=Administrator,ou=Users,dc=itouchaudev,dc=com failed to add entry: sambapwdlastset: attribute type undefined at /usr/local/sbin/smbldap-populate line 388, <GEN1> line 8. adding new entry: uid=nobody,ou=Users,dc=itouchaudev,dc=com failed to add entry: sambapwdlastset: attribute type undefined at /usr/local/sbin/smbldap-populate line 388, <GEN1> line 9. adding new entry: cn=Domain Admins,ou=Groups,dc=itouchaudev,dc=com failed to add entry: sambasid: attribute type undefined at /usr/local/sbin/smbldap-populate line 388, <GEN1> line 10. adding new entry: cn=Domain Users,ou=Groups,dc=itouchaudev,dc=com failed to add entry: sambasid: attribute type undefined at /usr/local/sbin/smbldap-populate line 388, <GEN1> line 11. adding new entry: cn=Domain Guests,ou=Groups,dc=itouchaudev,dc=com failed to add entry: sambasid: attribute type undefined at /usr/local/sbin/smbldap-populate line 388, <GEN1> line 19. adding new entry: cn=Print Operators,ou=Groups,dc=itouchaudev,dc=com failed to add entry: sambasid: attribute type undefined at /usr/local/sbin/smbldap-populate line 388, <GEN1> line 20. adding new entry: cn=Backup Operators,ou=Groups,dc=itouchaudev,dc=com failed to add entry: sambasid: attribute type undefined at /usr/local/sbin/smbldap-populate line 388, <GEN1> line 21. adding new entry: cn=Replicators,ou=Groups,dc=itouchaudev,dc=com failed to add entry: sambasid: attribute type undefined at /usr/local/sbin/smbldap-populate line 388, <GEN1> line 21. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBAGcp3xh0GTRQuR4RAgoAAJsEakKuQgqqpCT2MTldrFxIRLftvgCgkW2s 82Xs4+c5KJCJgnkAWGlcCBU=K6e9 -----END PGP SIGNATURE-----
Are you using an old 2.x schema file for OpenLDAP? If so then this is the problem. You will need to migrate to the new samba record formats and update the schema file at the very least if this is the case. Jim C.> Hi guys, > > I appear to have some issues with smbldap-populate, this used to work > fine but I've recently upgraded the dev box from RH8.0 to Fedora Core 1, > I assume it's related but I'm not sure exactly how... > As you can see the first ou creates work, so it must at least be binding > to the ldap server, but it seems to have a problem with the samba > objectclass? > > Any assistance much appreciated. > > Regards > Eric > > Here's what I'm getting from smbldap-populate > > [root@itouch-1008 root]# smbldap-populate > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > ~ LANGUAGE = (unset), > ~ LC_ALL = "default", > ~ LANG = "en_AU.UTF-8" > ~ are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). > Using builtin directory structure > adding new entry: dc=itouchaudev,dc=com > adding new entry: ou=Users,dc=itouchaudev,dc=com > adding new entry: ou=Groups,dc=itouchaudev,dc=com > adding new entry: ou=Computers,dc=itouchaudev,dc=com > adding new entry: ou=Idmap,dc=itouchaudev,dc=com > adding new entry: cn=NextFreeUnixId,dc=itouchaudev,dc=com > failed to add entry: unrecognized objectClass 'sambaUnixIdPool' at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 7. > adding new entry: uid=Administrator,ou=Users,dc=itouchaudev,dc=com > failed to add entry: sambapwdlastset: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 8. > adding new entry: uid=nobody,ou=Users,dc=itouchaudev,dc=com > failed to add entry: sambapwdlastset: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 9. > adding new entry: cn=Domain Admins,ou=Groups,dc=itouchaudev,dc=com > failed to add entry: sambasid: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 10. > adding new entry: cn=Domain Users,ou=Groups,dc=itouchaudev,dc=com > failed to add entry: sambasid: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 11. > adding new entry: cn=Domain Guests,ou=Groups,dc=itouchaudev,dc=com > failed to add entry: sambasid: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 19. > adding new entry: cn=Print Operators,ou=Groups,dc=itouchaudev,dc=com > failed to add entry: sambasid: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 20. > adding new entry: cn=Backup Operators,ou=Groups,dc=itouchaudev,dc=com > failed to add entry: sambasid: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 21. > adding new entry: cn=Replicators,ou=Groups,dc=itouchaudev,dc=com > failed to add entry: sambasid: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 21. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFBAGcp3xh0GTRQuR4RAgoAAJsEakKuQgqqpCT2MTldrFxIRLftvgCgkW2s > 82Xs4+c5KJCJgnkAWGlcCBU> =K6e9 > -----END PGP SIGNATURE------- ----------------------------------------------------------------- | I can be reached on the following Instant Messenger services: | |---------------------------------------------------------------| | MSN: j_c_llings@hotmail.com AIM: WyteLi0n ICQ: 123291844 | |---------------------------------------------------------------| | Y!: j_c_llings Jabber: jcllings@njs.netlab.cz | -----------------------------------------------------------------
Le Fri, Jul 23, 2004 at 11:17:29AM +1000, Eric J Bennett a ecrit:> [root@itouch-1008 root]# smbldap-populate > failed to add entry: unrecognized objectClass 'sambaUnixIdPool' at > failed to add entry: sambapwdlastset: attribute type undefined at > failed to add entry: sambapwdlastset: attribute type undefined at > failed to add entry: sambasid: attribute type undefined atIt seam that the samba schema is not loaded. Check that you have the include file in smb.conf, and that the loaded schema has for example the sambaUnixIdPool objectclass defined. I think this is a ldap problem... -- J?r?me
Take a look at your /etc/openldap/schema/samba.schema file these attributes may not be defined. I had a simular problem where I just wanted to use samba just for drive mappings and had to replace the new samba.schema with an old one. On Fri, 23 Jul 2004, Eric J Bennett wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi guys, > > I appear to have some issues with smbldap-populate, this used to work > fine but I've recently upgraded the dev box from RH8.0 to Fedora Core 1, > I assume it's related but I'm not sure exactly how... > As you can see the first ou creates work, so it must at least be binding > to the ldap server, but it seems to have a problem with the samba > objectclass? > > Any assistance much appreciated. > > Regards > Eric > > Here's what I'm getting from smbldap-populate > > [root@itouch-1008 root]# smbldap-populate > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > ~ LANGUAGE = (unset), > ~ LC_ALL = "default", > ~ LANG = "en_AU.UTF-8" > ~ are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). > Using builtin directory structure > adding new entry: dc=itouchaudev,dc=com > adding new entry: ou=Users,dc=itouchaudev,dc=com > adding new entry: ou=Groups,dc=itouchaudev,dc=com > adding new entry: ou=Computers,dc=itouchaudev,dc=com > adding new entry: ou=Idmap,dc=itouchaudev,dc=com > adding new entry: cn=NextFreeUnixId,dc=itouchaudev,dc=com > failed to add entry: unrecognized objectClass 'sambaUnixIdPool' at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 7. > adding new entry: uid=Administrator,ou=Users,dc=itouchaudev,dc=com > failed to add entry: sambapwdlastset: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 8. > adding new entry: uid=nobody,ou=Users,dc=itouchaudev,dc=com > failed to add entry: sambapwdlastset: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 9. > adding new entry: cn=Domain Admins,ou=Groups,dc=itouchaudev,dc=com > failed to add entry: sambasid: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 10. > adding new entry: cn=Domain Users,ou=Groups,dc=itouchaudev,dc=com > failed to add entry: sambasid: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 11. > adding new entry: cn=Domain Guests,ou=Groups,dc=itouchaudev,dc=com > failed to add entry: sambasid: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 19. > adding new entry: cn=Print Operators,ou=Groups,dc=itouchaudev,dc=com > failed to add entry: sambasid: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 20. > adding new entry: cn=Backup Operators,ou=Groups,dc=itouchaudev,dc=com > failed to add entry: sambasid: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 21. > adding new entry: cn=Replicators,ou=Groups,dc=itouchaudev,dc=com > failed to add entry: sambasid: attribute type undefined at > /usr/local/sbin/smbldap-populate line 388, <GEN1> line 21. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFBAGcp3xh0GTRQuR4RAgoAAJsEakKuQgqqpCT2MTldrFxIRLftvgCgkW2s > 82Xs4+c5KJCJgnkAWGlcCBU> =K6e9 > -----END PGP SIGNATURE----- > >-- Jeff Geddes, BSc(UNB) Computer Systems Specialist University of New Brunswick Faculty of Computer Science eMail: jgeddes@unb.ca office: Rm. E119 phone : (506) 452-6102 fax : (506) 453-3566
Seemingly Similar Threads
- vampire doesn't appear to be working at the moment?
- smbldap-populate probleman
- Error in smbldap-populate
- Strangeness with computer account layout in LDAP Schema?
- samba as pdc with ldap: trouble with smbldap-populate: error adding from cn=Domain Admins,ou=Groups onwards