Hi, I'm using redhat 8.0 samba-3.0 and smbatool-0.8.3. when i run smbldap-populat, i get the following errors [root@samba root]# smbldap-populate using builtin directory structure adding new entry: dc=nijacol,dc=net failed to add entry: Already exists at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 2. adding new entry: ou=Users,dc=nijacol,dc=net failed to add entry: Already exists at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 3. adding new entry: ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 4. adding new entry: ou=Computers,dc=nijacol,dc=net failed to add entry: Already exists at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 5. adding new entry: uid=Administratorou=Users,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 6. adding new entry: uid=nobody,ou=Users,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 7. adding new entry: cn=Domain Admins,ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 8. adding new entry: cn=Domian Users,ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 9. adding new entry: cn=Domain Guests,ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 16. adding new entry: cn=Print Operators,ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 17. adding new entry: cn=Backup Operators,ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 18. failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 18. adding new entry: cn=Replicator,ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 19. adding new entry: cn=Domain Computers,ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 19. [root@samba root]# Also, I can't seem to login unless I go to single user mode and disable authconfig services (ldap etc) I know i'm not doing somthing right but I just can't figure it out. any help will be appreciated. Asky -- This message has been scanned for viruses and dangerous content by Nijacol Email Protection Service (support@datasphir.com), and is believed to be clean.
Hi, I'm using Redhat 8.0, samba-3.0, openladp-2.0.25 and sambatools-0.8.3 to setup a PDC. When I run smbldap-populate I get the following error: [root@samba root]# smbldap-populate Using builtin directory structure adding new entry: dc=nijacol,dc=net failed to add entry: Already exists at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 2. adding new entry: ou=Users,dc=nijacol,dc=net failed to add entry: Already exists at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 3. adding new entry: ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 4. adding new entry: ou=Computers,dc=nijacol,dc=net failed to add entry: Already exists at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 5. adding new entry: uid=Administrators,ou=Users,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 6. adding new entry: uid=nobody,ou=Users,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 7. adding new entry: cn=Domain Admins,ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 8. adding new entry: cn=Domain Users,ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 9. adding new entry: cn=Domain Guests,ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 16. adding new entry: cn=Print Operators,ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 17. adding new entry: cn=Backup Operators,ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 18. adding new entry: cn=Replicator,ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 19. adding new entry: cn=Domain Computers,ou=Groups,dc=nijacol,dc=net failed to add entry: no write access to parent at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 19. [root@samba root]# Also, when I shutdown, I can only login from single user mode after disabling services using authconfig (ldap etc). I know I'm not doing something right but I just can't figure it out . Any help would be appreciated. Asky -- This message has been scanned for viruses and dangerous content by Nijacol Email Protection Service (support@datasphir.com), and is believed to be clean.
Hi, Looks like you dont have write access to your ldap-directory. Make sure that you have the modified the "smbldap_conf.pm" file to match your LDAP configuration (slapd.conf). Look for "$binddn" Also check your smb.conf LDAP config, has to match too ;-) Best regards //Erik asky wrote:> Hi, > I'm using redhat 8.0 samba-3.0 and smbatool-0.8.3. when i run > smbldap-populat, i get the following > errors > > [root@samba root]# smbldap-populate > using builtin directory structure > adding new entry: dc=nijacol,dc=net > failed to add entry: Already exists at > /usr/local/sbin/smbldap-populate line 384, <GEN1> line 2. > adding new entry: ou=Users,dc=nijacol,dc=net > failed to add entry: Already exists at > /usr/local/sbin/smbldap-populate line 384, <GEN1> line 3. > adding new entry: ou=Groups,dc=nijacol,dc=net > failed to add entry: no write access to parent at > /usr/local/sbin/smbldap-populate line 384, <GEN1> line 4. > adding new entry: ou=Computers,dc=nijacol,dc=net > failed to add entry: Already exists at > /usr/local/sbin/smbldap-populate line 384, <GEN1> line 5. > adding new entry: uid=Administratorou=Users,dc=nijacol,dc=net > failed to add entry: no write access to parent at > /usr/local/sbin/smbldap-populate line 384, <GEN1> line 6. > adding new entry: uid=nobody,ou=Users,dc=nijacol,dc=net > failed to add entry: no write access to parent at > /usr/local/sbin/smbldap-populate line 384, <GEN1> line 7. adding new > entry: cn=Domain Admins,ou=Groups,dc=nijacol,dc=net > failed to add entry: no write access to parent at > /usr/local/sbin/smbldap-populate line 384, <GEN1> line 8. > adding new entry: cn=Domian Users,ou=Groups,dc=nijacol,dc=net > failed to add entry: no write access to parent at > /usr/local/sbin/smbldap-populate line 384, <GEN1> line 9. > adding new entry: cn=Domain Guests,ou=Groups,dc=nijacol,dc=net > failed to add entry: no write access to parent at > /usr/local/sbin/smbldap-populate line 384, <GEN1> line 16. > adding new entry: cn=Print Operators,ou=Groups,dc=nijacol,dc=net > failed to add entry: no write access to parent at > /usr/local/sbin/smbldap-populate line 384, <GEN1> line 17. > adding new entry: cn=Backup Operators,ou=Groups,dc=nijacol,dc=net > failed to add entry: no write access to parent at > /usr/local/sbin/smbldap-populate line 384, <GEN1> line 18. > failed to add entry: no write access to parent at > /usr/local/sbin/smbldap-populate line 384, <GEN1> line 18. > adding new entry: cn=Replicator,ou=Groups,dc=nijacol,dc=net > failed to add entry: no write access to parent at > /usr/local/sbin/smbldap-populate line 384, <GEN1> line 19. > adding new entry: cn=Domain Computers,ou=Groups,dc=nijacol,dc=net > failed to add entry: no write access to parent at > /usr/local/sbin/smbldap-populate line 384, <GEN1> line 19. > [root@samba root]# > > Also, I can't seem to login unless I go to single user mode and > disable authconfig services (ldap etc) > I know i'm not doing somthing right but I just can't figure it out. > any help will be appreciated. > > Asky > >