[Samba] Error in smbldap-populate

Dale Schroeder dale at BriannasSaladDressing.com
Thu May 21 18:26:57 GMT 2009


Maximo Mosalvo wrote:
> HI, sorry my english and if this is a stupid question i am
> newby in samba with ldap
>  
> Im install a clear install the ubuntu 9.04 server 
> follow this guide from ubuntu docs
> https://help.ubuntu.com/9.04/serverguide/C/samba-ldap.html
> https://help.ubuntu.com/9.04/serverguide/C/openldap-server.html
> but i get this error when i try to populate samba 
>
> can somebody helpme?
>
>
> administrador at server:~$ sudo smbldap-populate
> Populating LDAP directory for domain GRUPORESASCO 
> (S-1-5-21-1830305083-2452246421-2263414248)
> (using builtin directory structure)                                                          
>
> entry dc=gruporesasco,dc=local already exist. 
> entry ou=People,dc=gruporesasco,dc=local already exist. 
> entry ou=Groups,dc=gruporesasco,dc=local already exist. 
> adding new entry: ou=Machines,dc=gruporesasco,dc=local  
> failed to add entry: modifications require authentication at /usr/sbin/smbldap-
> populate line 499, <GEN1> line 22.
> adding new entry: ou=Idmap,dc=gruporesasco,dc=local                                                              
> failed to add entry: modifications require authentication at /usr/sbin/smbldap-
> populate line 499, <GEN1> line 27.
> adding new entry: uid=root,ou=People,dc=gruporesasco,dc=local                                                    
> failed to add entry: modifications require authentication at /usr/sbin/smbldap-
> populate line 499, <GEN1> line 58.
> adding new entry: uid=nobody,ou=People,dc=gruporesasco,dc=local                                                  
> failed to add entry: modifications require authentication at /usr/sbin/smbldap-
> populate line 499, <GEN1> line 89.
> adding new entry: cn=Domain Admins,ou=Groups,dc=gruporesasco,dc=local                                            
> failed to add entry: modifications require authentication at /usr/sbin/smbldap-
> populate line 499, <GEN1> line 101.
> adding new entry: cn=Domain Users,ou=Groups,dc=gruporesasco,dc=local
> failed to add entry: modifications require authentication at /usr/sbin/smbldap-
> populate line 499, <GEN1> line 112.
> adding new entry: cn=Domain Guests,ou=Groups,dc=gruporesasco,dc=local
> failed to add entry: modifications require authentication at /usr/sbin/smbldap-
> populate line 499, <GEN1> line 123.
> adding new entry: cn=Domain Computers,ou=Groups,dc=gruporesasco,dc=local
> failed to add entry: modifications require authentication at /usr/sbin/smbldap-
> populate line 499, <GEN1> line 134.
> adding new entry: cn=Administrators,ou=Groups,dc=gruporesasco,dc=local
> failed to add entry: modifications require authentication at /usr/sbin/smbldap-
> populate line 499, <GEN1> line 179.
> adding new entry: cn=Account Operators,ou=Groups,dc=gruporesasco,dc=local
> failed to add entry: modifications require authentication at /usr/sbin/smbldap-
> populate line 499, <GEN1> line 201.
> adding new entry: cn=Print Operators,ou=Groups,dc=gruporesasco,dc=local
> failed to add entry: modifications require authentication at /usr/sbin/smbldap-
> populate line 499, <GEN1> line 212.
> adding new entry: cn=Backup Operators,ou=Groups,dc=gruporesasco,dc=local
> failed to add entry: modifications require authentication at /usr/sbin/smbldap-
> populate line 499, <GEN1> line 223.
> adding new entry: cn=Replicators,ou=Groups,dc=gruporesasco,dc=local
> failed to add entry: modifications require authentication at /usr/sbin/smbldap-
> populate line 499, <GEN1> line 234.
> adding new entry: sambaDomainName=GRUPORESASCO,dc=gruporesasco,dc=local
> failed to add entry: modifications require authentication at /usr/sbin/smbldap-
> populate line 499, <GEN1> line 242.
>
> Please provide a password for the domain root:
> /usr/sbin/smbldap-passwd: user root doesn't exist
>   
Maximo,

It appears to be looking for the root account, which is disabled by 
default in Ubuntu.
See the following to enable:
https://help.ubuntu.com/community/RootSudo

Dale


More information about the samba mailing list