Hello,
i have a problem with the samba profiles binary.
I want to change the sid from some XP user profiles (ntuser.dat) to
migrate them
from NT4 to Samba3. Everytime i run the profile tool, i got an error.
I'm using Debian Sarge and the profil tool from samba 3.0.25a.

Here is the output from gdb:

(gdb) file:~# gdb ./profiles
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db
library "/lib/ tls/libthread_db.so.1".

(gdb) set args -c S-1-5-21-596271630-1476544438-1821 -n
S-1-5-21-596271630-14765 44438-2175 ntuser.dat
(gdb) r
Starting program: /root/profiles -c S-1-5-21-596271630-1476544438-1821
-n S-1-5- 21-596271630-1476544438-2175 ntuser.dat
Failed to read a valid object file image from memory.
read_block: invalid block header!
hbin_prs_key: Failed to find HBIN block containing offset [0x0]
read_block: invalid block header!
hbin_prs_key: Failed to find HBIN block containing offset [0x0]

Program received signal SIGSEGV, Segmentation fault.
0x08080f08 in _talloc_free ()
(gdb) bt full
#0 0x08080f08 in _talloc_free ()
No symbol table info available.
#1 0x08081775 in talloc_free ()
No symbol table info available.
#2 0x08060982 in regfio_mem_free ()
No symbol table info available.
#3 0x08060b74 in regfio_close ()
No symbol table info available.
#4 0x0805d8ef in main ()
No symbol table info available.




Hope someone can read it and explain/ help me?

Best regards
Stefan D.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba