Find the answer to your Linux question:
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.
  1. #1
    Just 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

    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&#58; Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 2.
    adding new entry&#58; ou=Users,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 3.
    adding new entry&#58; ou=Groups,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 4.
    adding new entry&#58; ,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 5.
    adding new entry&#58; ou=Idmap,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 6.
    adding new entry&#58; uid=root,ou=Users,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 7.
    adding new entry&#58; uid=nobody,ou=Users,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 8.
    adding new entry&#58; cn=Domain Admins,ou=Groups,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 9.
    adding new entry&#58; cn=Domain Users,ou=Groups,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 10.
    adding new entry&#58; cn=Domain Guests,ou=Groups,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 11.
    adding new entry&#58; cn=Domain Computers,ou=Groups,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 12.
    adding new entry&#58; cn=Administrators,ou=Groups,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Bad file descriptor at /usr/bin/smbldap-populate line 471, <GEN1> line 16.
    adding new entry&#58; cn=Account Operators,ou=Groups,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Bad file descriptor at /usr/bin/smbldap-populate line 471, <GEN1> line 18.
    adding new entry&#58; cn=Print Operators,ou=Groups,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Bad file descriptor at /usr/bin/smbldap-populate line 471, <GEN1> line 19.
    adding new entry&#58; cn=Backup Operators,ou=Groups,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Bad file descriptor at /usr/bin/smbldap-populate line 471, <GEN1> line 20.
    adding new entry&#58; cn=Replicators,ou=Groups,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 21.
    adding new entry&#58; sambaDomainName=HOME,dc=genesis,dc=blogdns,dc=net
    failed to add entry&#58; Can't contact LDAP server at /usr/bin/smbldap-populate line 471, <GEN1> line 21.
    
    Please provide a password for the domain root&#58; 
    Use of uninitialized value in pattern match &#40;m//&#41; at /usr/bin//smbldap_tools.pm line 241.
    Use of uninitialized value in concatenation &#40;.&#41; 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.
    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?

  2. #2
    Just 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:

    Code:
    Use of uninitialized value in pattern match &#40;m//&#41; at /usr/bin//smbldap_tools.pm line 241.
    Use of uninitialized value in concatenation &#40;.&#41; or string at /usr/bin//smbldap_tools.pm line 241.
    Error looking for next uid at /usr/bin//smbldap_tools.pm line 993.
    anyone how to fix this?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •