что то все проверил один фиг выдает
[root@server samba]# /usr/sbin/smbldap-populate –u 30000 –g 30000
Populating LDAP directory for domain school (S-1-5-21-3751794484-791495)
(using builtin directory structure)
entry dc=school,dc=lan already exist.
adding new entry: ou=Users,dc=school,dc=lan
failed to add entry: modifications require authentication at /usropulate line 498, <GEN1> line 12.
adding new entry: ou=Groups,dc=school,dc=lan
failed to add entry: modifications require authentication at /usropulate line 498, <GEN1> line 17.
adding new entry: ou=Computers,dc=school,dc=lan
failed to add entry: modifications require authentication at /usropulate line 498, <GEN1> line 22.
adding new entry: ou=Idmap,dc=school,dc=lan
failed to add entry: modifications require authentication at /usropulate line 498, <GEN1> line 27.
adding new entry: uid=root,ou=Users,dc=school,dc=lan
failed to add entry: modifications require authentication at /usropulate line 498, <GEN1> line 58.
adding new entry: uid=nobody,ou=Users,dc=school,dc=lan
failed to add entry: modifications require authentication at /usropulate line 498, <GEN1> line 89.
adding new entry: cn=Domain Admins,ou=Groups,dc=school,dc=lan
failed to add entry: modifications require authentication at /usropulate line 498, <GEN1> line 101.
adding new entry: cn=Domain Users,ou=Groups,dc=school,dc=lan
failed to add entry: modifications require authentication at /usropulate line 498, <GEN1> line 112.
adding new entry: cn=Domain Guests,ou=Groups,dc=school,dc=lan
failed to add entry: modifications require authentication at /usropulate line 498, <GEN1> line 123.
adding new entry: cn=Domain Computers,ou=Groups,dc=school,dc=lan
failed to add entry: modifications require authentication at /usropulate line 498, <GEN1> line 134.
adding new entry: cn=Administrators,ou=Groups,dc=school,dc=lan
failed to add entry: modifications require authentication at /usropulate line 498, <GEN1> line 179.
adding new entry: cn=Account Operators,ou=Groups,dc=school,dc=lan
failed to add entry: modifications require authentication at /usropulate line 498, <GEN1> line 201.
adding new entry: cn=Print Operators,ou=Groups,dc=school,dc=lan
failed to add entry: modifications require authentication at /usropulate line 498, <GEN1> line 212.
adding new entry: cn=Backup Operators,ou=Groups,dc=school,dc=lan
failed to add entry: modifications require authentication at /usropulate line 498, <GEN1> line 223.
adding new entry: cn=Replicators,ou=Groups,dc=school,dc=lan
failed to add entry: modifications require authentication at /usropulate line 498, <GEN1> line 234.
entry sambaDomainName=school,dc=school,dc=lan already exist. Upda
failed to modify entry: modifications require authentication at /p-populate line 491, <GEN1> line 242.
Please provide a password for the domain root:
/usr/sbin/smbldap-passwd: user root doesn't exist
че делать...