[Samba] PDC/LDAP

Erik Holst Trans eht at it-trans.dk
Wed Jan 28 10:37:54 GMT 2004


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 at 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 at 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 
>
>



More information about the samba mailing list