[Samba] Convert Eror

Gerald (Jerry) Carter jerry at samba.org
Thu Mar 25 16:12:44 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Patrick Prue wrote:

| I upgraded from Redhat 8 using LDAP 2.0.22 and Samba
| 2.28a  to Fedora Core 1 .Reimported my LDAP Schema into the new
| version of Ldap  but when attempting to run the following ..
| I recieve this error..
|
| Any ideas?
|
| ./convertSambaAccount --input
| /usr/share/doc/samba-3.0.0/LDAP/txt.ldif --output new.ldif --sid
| S-1-5-21-387053420-3 --changetype modify
|
| Can't call method "get_value" on an undefined value at
| ./convertSambaAccount line 153, <GEN0> line 2.

Best guess is that there's something funky with your
LDIF.  Did you strip the comments?  If not, this could be it.


~From convertSambaAccount:
...
## You can generate an input ldif file using:
## $ ldapsearch -LL -x -h ldapsrv -D cn=root,dc=company,dc=com \
##   -b dc=copmany,dc=com > /tmp/samba3.alpha23.ldif
##
## Note the "-LL" so no additional comments are generated
##




cheers, jerry
- ----------------------------------------------------------------------
Hewlett-Packard            ------------------------- http://www.hp.com
SAMBA Team                 ---------------------- http://www.samba.org
GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song" --Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAYwT8IR7qMdg1EfYRAnjtAKCSIYib3xp8zoDDLLX7K1rY9O79NACgvVgU
fMpa88l/z94K9lS9cdZ05t4=
=GnAv
-----END PGP SIGNATURE-----


More information about the samba mailing list