Hi all,

Thanks a lot Jerome for your help!!!
The problem was that I didn't put the right password
for the Manager in the file smbldap_bind.conf (I let
slavePw="secret" and masterPw="secret").

Now, the smbldap-populate script works fine, it adds
entries but it displayes the following message:
[EMAIL PROTECTED] root]# smbldap-populate
Using workgroup from sambaUnixidPooldn (smbldap.conf):
sambaDomainName=SambaDomain
Using builtin directory structure
Use of uninitialized value in pattern match (m//) at
/usr/local/sbin/smbldap-populate line 165
Use of uninitialized value in concatenation (.) or
string at /usr/local/sbin/smbldap-populate line 173
Use of uninitialized value in concatenation (.) or
string at /usr/local/sbin/smbldap-populate line 173
adding new entry: dc=DOMAIN,dc=ORG
adding new entry: ou=users,dc=DOMAIN,dc=ORG
adding new entry: ou=groups,dc=DOMAIN,dc=ORG
adding new entry: ou=computers,dc=DOMAIN,dc=ORG
adding new entry:   
cn:sambaDomainName=DomainSamba,dc=DOMAIN,dc=ORG
....

Would you please tell me why does the "Use of
uninitialized value in ..." message apeares?

Thanks a lot to all

 --- sania maro <[EMAIL PROTECTED]> a �crit : 
>  --- Jerome Tournier <[EMAIL PROTECTED]> a �crit
> : 
> > Le Thu, Feb 24, 2005 at 09:03:20AM +0100, sania
> maro
> > a ecrit:
> > >   failed to add entry: modifications require
> > > authentication at
> /usr/local/sbin/smbldap-populate
> > did you also configured smbldap_bind.conf ? Did
> you
> > check that the account
> > defined in this file has write access to the
> > directory ?
> 
> Hi,
> 
> Yes, I configured smbldap_bind.conf file. Here is
> its
> content:
>    slaveDN="cn=Manager,dc=DOMAIN,dc=ORG"
>    slavePW="secret"
>    masterDN="cn=Manager,dc=DOMAIN,dc=ORG"
>    masterPW="secret"
> I defined the ldap user as the owner of the
> directory
> /usr/lib/ldap and I defined ldap group as the
> /usr/lib/ldap dir group.
> 
> Best regards
> 
> 
>       
> 
>       
>               
> D�couvrez le nouveau Yahoo! Mail : 250 Mo d'espace
> de stockage pour vos mails ! 
> Cr�ez votre Yahoo! Mail sur
> http://fr.mail.yahoo.com/
> -- 
> To unsubscribe from this list go to the following
> URL and read the
> instructions: 
> https://lists.samba.org/mailman/listinfo/samba
>  


        

        
                
D�couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Cr�ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to