Re: [Samba] can't get samba 3.0.14a to work with ldap..part 2: smaba 3.0.15
On Apr 27, rich foo wrote: mercury:/usr/local/samba/sbin# ./smldap-populate -a root -k 0 -m 0 ... Use of uninitialized value in string ne at ./smbldap-populate line 165 Use of uninitialized value in concactenation (.) or string at ./smbldap-populate line 170 this happens when smbldap.conf does not have a valid `suffix="dc=..."' line entry o=ssfsnet already exist. adding new entry: ou=People,o=ssfsnet ... Can't call method "dn" on an undefined value at ./smbldap-populate line 442, line 6. Similar to above. Sounds like you may have a misconfigured smbldap.conf file. tom. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] can't get samba 3.0.14a to work with ldap..part 2: smaba 3.0.15
Rich, Instead of assuming the examples in the book are wrong, or do not work, just because you can not get them to work, may I suggest that you work with me to "fix" the documentation so others can avoid your pain. Please send me direct to <[EMAIL PROTECTED]> the following: 1. Output of: testparm -s > the-smb.conf 2. Your smbldap.conf file. 3. Your /etc/openldap/slapd.conf file 4. Your /etc/ldap.conf file 5. Your /etc/nsswitch.conf file Also, please provide detailed, step-by-step, output of each configuration step in the current on-line PDF from: http://www.samba.org/samba/docs/Samba-Guide.pdf Since this is about to be published I would hate myself every day for producing errant guidance once this is in print. Please help me so I will not hate myself for misguiding people. - John T. On Wednesday 27 April 2005 08:34, rich foo wrote: > Hi... > I posted a few days ago that I was having trouble getting samba 3.0.14a to > work with ldap. I switched up to 3.0.15pre2 and had much the same > trouble. I have been following the instructions in > http://www.samba.org/samba/docs/Samba-Guide.pdf, but I am still having > troubles. > > Here is what happens when i run smbldap-populate: > > mercury:/usr/local/samba/sbin# ./smldap-populate -a root -k 0 -m 0 > Populating LDAP directory for domain TESTNET > (S-1-5-21-4179843118-1526938909-891067941) > (using builtin directory structure) > > Use of uninitialized value in string ne at ./smbldap-populate line 165 > Use of uninitialized value in concactenation (.) or string at > /smbldap-populate line 170. > entry o=ssfsnet already exist. > adding new entry: ou=People,o=ssfsnet > adding new entry: ou=Groups,o=ssfsnet > adding new entry: ou=Computers,o=ssfsnet > Can't call method "dn" on an undefined value at ./smbldap-populate line > 442, line 6. > mercury:/usr/local/samba/sbin# > > I can't figure out what is wrong...The smb.conf is taken straight from the > documentation and the smbldap tools should be properly configured. Every > thing is "by the book" but I still can't seem to get it working. Could > somebody perhaps post somewhere a working smb.conf and perhaps a slapcat > dump (minus users, of course) or even a working smbldap.conf? I know I'm > probably just missing something stupid, but I am out of ideas > > Thanks in advance, > > Rich -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] can't get samba 3.0.14a to work with ldap..part 2: smaba 3.0.15
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The errors are thrown by the smbldap-scripts. So what version of the smbldap-tools are you using? Did you install the perl modules Net::LDAP and Crypt::SmbHash properly? Greets, Holger rich foo wrote: | Hi... | I posted a few days ago that I was having trouble getting samba 3.0.14a to | work with ldap. I switched up to 3.0.15pre2 and had much the same | trouble. I have been following the instructions in | http://www.samba.org/samba/docs/Samba-Guide.pdf, but I am still having | troubles. | | Here is what happens when i run smbldap-populate: | | mercury:/usr/local/samba/sbin# ./smldap-populate -a root -k 0 -m 0 | Populating LDAP directory for domain TESTNET | (S-1-5-21-4179843118-1526938909-891067941) | (using builtin directory structure) | | Use of uninitialized value in string ne at ./smbldap-populate line 165 | Use of uninitialized value in concactenation (.) or string at | ./smbldap-populate line 170 | entry o=ssfsnet already exist. | adding new entry: ou=People,o=ssfsnet | adding new entry: ou=Groups,o=ssfsnet | adding new entry: ou=Computers,o=ssfsnet | Can't call method "dn" on an undefined value at ./smbldap-populate line | 442, line 6. | mercury:/usr/local/samba/sbin# | | I can't figure out what is wrong...The smb.conf is taken straight from the | documentation and the smbldap tools should be properly configured. Every | thing is "by the book" but I still can't seem to get it working. Could | somebody perhaps post somewhere a working smb.conf and perhaps a slapcat | dump (minus users, of course) or even a working smbldap.conf? I know I'm | probably just missing something stupid, but I am out of ideas | | Thanks in advance, | | Rich | -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCb6HxO0QDuZMdP0sRAvBCAKCwgFXwxIT/Ap1d+h9uRGFQrZ+5ZACfYaqi NSqo67gjN+hNh51Cn1H34nM= =9rmi -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] can't get samba 3.0.14a to work with ldap..part 2: smaba 3.0.15
Hi... I posted a few days ago that I was having trouble getting samba 3.0.14a to work with ldap. I switched up to 3.0.15pre2 and had much the same trouble. I have been following the instructions in http://www.samba.org/samba/docs/Samba-Guide.pdf, but I am still having troubles. Here is what happens when i run smbldap-populate: mercury:/usr/local/samba/sbin# ./smldap-populate -a root -k 0 -m 0 Populating LDAP directory for domain TESTNET (S-1-5-21-4179843118-1526938909-891067941) (using builtin directory structure) Use of uninitialized value in string ne at ./smbldap-populate line 165 Use of uninitialized value in concactenation (.) or string at ./smbldap-populate line 170 entry o=ssfsnet already exist. adding new entry: ou=People,o=ssfsnet adding new entry: ou=Groups,o=ssfsnet adding new entry: ou=Computers,o=ssfsnet Can't call method "dn" on an undefined value at ./smbldap-populate line 442, line 6. mercury:/usr/local/samba/sbin# I can't figure out what is wrong...The smb.conf is taken straight from the documentation and the smbldap tools should be properly configured. Every thing is "by the book" but I still can't seem to get it working. Could somebody perhaps post somewhere a working smb.conf and perhaps a slapcat dump (minus users, of course) or even a working smbldap.conf? I know I'm probably just missing something stupid, but I am out of ideas Thanks in advance, Rich -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba