Results 1 to 2 of 2
hi! i am trying to setup samba and openldap. i have been following this guide
http://www.idealx.org/prj/samba/smbl...en.html#htoc14 but when i run smbldap-populate i get a bunch of errors like this
Code:
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-30-2005 #1Just Joined!
- Join Date
- Sep 2005
- Posts
- 9
smbldap-tools
hi! i am trying to setup samba and openldap. i have been following this guide
http://www.idealx.org/prj/samba/smbl...en.html#htoc14 but when i run smbldap-populate i get a bunch of errors like this
if i run ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts, it connects fine and shows me stuff. slapd is configured to accept ssl connections too, smbldap-populate is not configured for it. Anyone know how to fix this?Code:Use of uninitialized value in pattern match (m//) at /usr/bin//smbldap_tools.pm line 241. Use of uninitialized value in concatenation (.) or string at /usr/bin//smbldap_tools.pm line 241. Populating LDAP directory for domain Home (S-1-5-21-360592937-747186695-1305685691) (using builtin directory structure) Use of uninitialized value in concatenation (.) or string at /usr/bin/smbldap-populate line 171. Use of uninitialized value in string at /usr/bin//smbldap_tools.pm line 279. Use of uninitialized value in string at /usr/bin//smbldap_tools.pm line 279. Use of uninitialized value in string at /usr/bin//smbldap_tools.pm line 279. adding new entry: dc=genesis,dc=blogdns,dc=net failed to add entry: Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 2. adding new entry: ou=Users,dc=genesis,dc=blogdns,dc=net failed to add entry: Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 3. adding new entry: ou=Groups,dc=genesis,dc=blogdns,dc=net failed to add entry: Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 4. adding new entry: ,dc=genesis,dc=blogdns,dc=net failed to add entry: Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 5. adding new entry: ou=Idmap,dc=genesis,dc=blogdns,dc=net failed to add entry: Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 6. adding new entry: uid=root,ou=Users,dc=genesis,dc=blogdns,dc=net failed to add entry: Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 7. adding new entry: uid=nobody,ou=Users,dc=genesis,dc=blogdns,dc=net failed to add entry: Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 8. adding new entry: cn=Domain Admins,ou=Groups,dc=genesis,dc=blogdns,dc=net failed to add entry: Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 9. adding new entry: cn=Domain Users,ou=Groups,dc=genesis,dc=blogdns,dc=net failed to add entry: Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 10. adding new entry: cn=Domain Guests,ou=Groups,dc=genesis,dc=blogdns,dc=net failed to add entry: Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 11. adding new entry: cn=Domain Computers,ou=Groups,dc=genesis,dc=blogdns,dc=net failed to add entry: Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 12. adding new entry: cn=Administrators,ou=Groups,dc=genesis,dc=blogdns,dc=net failed to add entry: Bad file descriptor at /usr/bin/smbldap-populate line 471, <GEN1> line 16. adding new entry: cn=Account Operators,ou=Groups,dc=genesis,dc=blogdns,dc=net failed to add entry: Bad file descriptor at /usr/bin/smbldap-populate line 471, <GEN1> line 18. adding new entry: cn=Print Operators,ou=Groups,dc=genesis,dc=blogdns,dc=net failed to add entry: Bad file descriptor at /usr/bin/smbldap-populate line 471, <GEN1> line 19. adding new entry: cn=Backup Operators,ou=Groups,dc=genesis,dc=blogdns,dc=net failed to add entry: Bad file descriptor at /usr/bin/smbldap-populate line 471, <GEN1> line 20. adding new entry: cn=Replicators,ou=Groups,dc=genesis,dc=blogdns,dc=net failed to add entry: Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 21. adding new entry: sambaDomainName=HOME,dc=genesis,dc=blogdns,dc=net failed to add entry: Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 21. Please provide a password for the domain root: Use of uninitialized value in pattern match (m//) at /usr/bin//smbldap_tools.pm line 241. Use of uninitialized value in concatenation (.) or string at /usr/bin//smbldap_tools.pm line 241. Use of uninitialized value in string at /usr/bin//smbldap_tools.pm line 279. Use of uninitialized value in string at /usr/bin//smbldap_tools.pm line 279. Use of uninitialized value in string at /usr/bin//smbldap_tools.pm line 279. Can't contact LDAP server at /usr/bin//smbldap_tools.pm line 341.
- 10-31-2005 #2Just Joined!
- Join Date
- Sep 2005
- Posts
- 9
i seem to have fixed that problem but now i can't seem to add users with smbldap-useradd. If i run smbldap-useradd -m testuser1 i get the following:
anyone how to fix this?Code:Use of uninitialized value in pattern match (m//) at /usr/bin//smbldap_tools.pm line 241. Use of uninitialized value in concatenation (.) or string at /usr/bin//smbldap_tools.pm line 241. Error looking for next uid at /usr/bin//smbldap_tools.pm line 993.



