smbldap-populate: failes to add any uid entries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
smbldap-tools (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Binary package hint: smbldap-tools
smbldap-populate is unable to add any uid objects. This might be related to #124875 since that also occurs om my system...
-H-
$ sudo smbldap-populate
Populating LDAP directory for domain MSHOME (S-1-5-
(using builtin directory structure)
Use of uninitialized value in concatenation (.) or string at /usr/sbin/
entry dc=example,dc=intra already exist.
entry dc=example,dc=intra already exist.
entry ou=groups,
entry ou=computers,
entry ou=idmap,
adding new entry: uid=root,
failed to add entry: objectclass: value #4 invalid per syntax at /usr/sbin/
adding new entry: uid=nobody,
failed to add entry: objectclass: value #4 invalid per syntax at /usr/sbin/
adding new entry: cn=Domain Admins,
failed to add entry: objectclass: value #2 invalid per syntax at /usr/sbin/
adding new entry: cn=Domain Users,ou=
failed to add entry: objectclass: value #2 invalid per syntax at /usr/sbin/
adding new entry: cn=Domain Guests,
failed to add entry: objectclass: value #2 invalid per syntax at /usr/sbin/
adding new entry: cn=Domain Computers,
failed to add entry: objectclass: value #2 invalid per syntax at /usr/sbin/
adding new entry: cn=Administrato
failed to add entry: objectclass: value #2 invalid per syntax at /usr/sbin/
adding new entry: cn=Account Operators,
failed to add entry: objectclass: value #2 invalid per syntax at /usr/sbin/
adding new entry: cn=Print Operators,
failed to add entry: objectclass: value #2 invalid per syntax at /usr/sbin/
adding new entry: cn=Backup Operators,
failed to add entry: objectclass: value #2 invalid per syntax at /usr/sbin/
adding new entry: cn=Replicators,
failed to add entry: objectclass: value #2 invalid per syntax at /usr/sbin/
adding new entry: sambaDomainName
failed to add entry: invalid DN at /usr/sbin/
Please provide a password for the domain root:
/usr/sbin/
FOUND IT!!!
1. Install samba-doc doc/samba- doc/examples/ LDAP/samba. schema. gz to /etc/ldap/ schema/ samba.schema slapd.conf
2. zcat /usr/share/
3. add the schema to /etc/ldap/
But why isn't this schema installed with samba or smbldap-tools???