Skip to main content

Thread: problem configuring Samba & LDAP


hi all,
i'm trying configure server openldap server , samba domain controller. i've followed howto here, worked me other 2 servers pretty setup. however, when try populate ldap domain got errors:

code:
# smbldap-populate -u 30000 -g 30000  entry dc=myhost,dc=com exist.   entry ou=users,dc=myhost,dc=com exist.   entry ou=groups,dc=myhost,dc=com exist.   entry ou=computers,dc=myhost,dc=com exist.   entry ou=idmap,dc=myhost,dc=com exist.   adding new entry: uid=root,ou=users,dc=myhost,dc=com  adding new entry: uid=nobody,ou=users,dc=myhost,dc=com  adding new entry: cn=domain admins,ou=groups,dc=myhost,dc=com  adding new entry: cn=domain users,ou=groups,dc=myhost,dc=com  adding new entry: cn=domain guests,ou=groups,dc=myhost,dc=com  adding new entry: cn=domain computers,ou=groups,dc=myhost,dc=com  adding new entry: cn=administrators,ou=groups,dc=myhost,dc=com  adding new entry: cn=account operators,ou=groups,dc=myhost,dc=com  adding new entry: cn=print operators,ou=groups,dc=myhost,dc=com  adding new entry: cn=backup operators,ou=groups,dc=myhost,dc=com  adding new entry: cn=replicators,ou=groups,dc=myhost,dc=com  adding new entry: sambadomainname=ldap,dc=myhost,dc=com    failed add entry: objectclass: value #4 invalid per syntax @ /usr/sbin/smbldap-populate line 498, <gen1> line 58.  failed add entry: objectclass: value #4 invalid per syntax @ /usr/sbin/smbldap-populate line 498, <gen1> line 89.  failed add entry: objectclass: value #2 invalid per syntax @ /usr/sbin/smbldap-populate line 498, <gen1> line 101.  failed add entry: objectclass: value #2 invalid per syntax @ /usr/sbin/smbldap-populate line 498, <gen1> line 112.  failed add entry: objectclass: value #2 invalid per syntax @ /usr/sbin/smbldap-populate line 498, <gen1> line 123.  failed add entry: objectclass: value #2 invalid per syntax @ /usr/sbin/smbldap-populate line 498, <gen1> line 134.  failed add entry: objectclass: value #2 invalid per syntax @ /usr/sbin/smbldap-populate line 498, <gen1> line 179.  failed add entry: objectclass: value #2 invalid per syntax @ /usr/sbin/smbldap-populate line 498, <gen1> line 201.  failed add entry: objectclass: value #2 invalid per syntax @ /usr/sbin/smbldap-populate line 498, <gen1> line 212.  failed add entry: objectclass: value #2 invalid per syntax @ /usr/sbin/smbldap-populate line 498, <gen1> line 223.  failed add entry: objectclass: value #2 invalid per syntax @ /usr/sbin/smbldap-populate line 498, <gen1> line 234.  failed add entry: invalid dn @ /usr/sbin/smbldap-populate line 498, <gen1> line 242.  populating ldap directory domain ldap (s-1-5-21-2198990887-1994421642-1008310464)  (using builtin directory structure)      please provide password domain root:   /usr/sbin/smbldap-passwd: user root doesn't exist
moreover, when got local sid got error:

code:
# net getlocalsid  [2011/12/29 14:12:18.337870,  0] lib/smbldap_util.c:310(smbldap_search_domain_info)    smbldap_search_domain_info: adding domain info ldap failed nt_status_unsuccessful  sid domain myhost is: s-1-5-21-2198990887-1994421642-1008310464
where ldap workgroup name , myhost netbios name.
i've double checked passwords , done several times configuration steps beginning. idea?

code:
# uname -a  linux myhost 3.0.0-12-server #20-ubuntu smp fri oct 7 16:36:30 utc 2011 x86_64 x86_64 x86_64 gnu/linux

ok, i've locked myself out of system after reboot! neither normal account or root accepting login via ssh.

update: seems system requires lot log me in, i'm able log in via ssh. host name resolution or nsswitch problem.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] problem configuring Samba & LDAP


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account