[Android Software Development] Jack_R1:
Thanks :)

Please remember that I've changed the /bin/* permissions from 666 to 777, and it shows in the list below.

Here:

/data/local/samba:

drwxrwxrwx 1 root root 2048 May 17 00:20 .

drwxrwx--x 1 shell shell 2048 May 17 00:20 ..

-rw-rw-rw- 1 root root 4178 May 17 00:20 README.txt

drwxrwxrwx 1 root root 2048 May 17 00:20 bin

drwxrwxrwx 1 root root 2048 May 24 17:05 lib

drwxrwxrwx 1 root root 2048 May 19 20:10 private

drwxrwxrwx 1 root root 2048 May 17 00:23 var

/data/local/samba/bin:

drwxrwxrwx 1 root root 2048 May 17 00:20 .

drwxrwxrwx 1 root root 2048 May 17 00:20 ..

-rwxrwxrwx 1 root root 457952 May 17 00:20 killsamba

-rwxrwxrwx 1 root root 870592 May 17 00:20 nmbd

-rwxrwxrwx 1 root root 396 May 17 00:20 samba-rc

-rwxrwxrwx 1 root root 1839404 May 17 00:20 smbd

-rwxrwxrwx 1 root root 948992 May 17 00:20 smbpasswd

/data/local/samba/lib:

drwxrwxrwx 1 root root 2048 May 24 17:05 .

drwxrwxrwx 1 root root 2048 May 17 00:20 ..

drwxrwxrwx 1 root root 2048 May 17 00:20 codepages

----rwxr-x 1 root root 708 May 24 17:05 smb.conf

/data/local/samba/lib/codepages:

drwxrwxrwx 1 root root 2048 May 17 00:20 .

drwxrwxrwx 1 root root 2048 May 24 17:05 ..

-rw-rw-rw- 1 root root 588 May 17 00:20 codepage.1125

-rw-rw-rw- 1 root root 140 May 17 00:20 codepage.1251

-rw-rw-rw- 1 root root 196 May 17 00:20 codepage.437

-rw-rw-rw- 1 root root 148 May 17 00:20 codepage.737

-rw-rw-rw- 1 root root 388 May 17 00:20 codepage.775

-rw-rw-rw- 1 root root 132 May 17 00:20 codepage.850

-rw-rw-rw- 1 root root 172 May 17 00:20 codepage.852

-rw-rw-rw- 1 root root 132 May 17 00:20 codepage.857

-rw-rw-rw- 1 root root 460 May 17 00:20 codepage.861

-rw-rw-rw- 1 root root 588 May 17 00:20 codepage.866

-rw-rw-rw- 1 root root 8 May 17 00:20 codepage.932

-rw-rw-rw- 1 root root 8 May 17 00:20 codepage.936

-rw-rw-rw- 1 root root 8 May 17 00:20 codepage.949

-rw-rw-rw- 1 root root 8 May 17 00:20 codepage.950

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.1125

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.1251

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.437

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.737

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.775

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.850

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.852

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.857

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.861

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.866

-rw-rw-rw- 1 root root 262174 May 17 00:20 unicode_map.932

-rw-rw-rw- 1 root root 262174 May 17 00:20 unicode_map.936

-rw-rw-rw- 1 root root 262174 May 17 00:20 unicode_map.949

-rw-rw-rw- 1 root root 262174 May 17 00:20 unicode_map.950

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.ISO8859-1

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.ISO8859-13

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.ISO8859-15

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.ISO8859-2

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.ISO8859-5

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.ISO8859-7

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.ISO8859-9

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.KOI8-R

-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.KOI8-U

/data/local/samba/private:

drwxrwxrwx 1 root root 2048 May 19 20:10 .

drwxrwxrwx 1 root root 2048 May 17 00:20 ..

-rw------- 1 root root 8192 May 26 14:08 secrets.tdb

-rw------- 1 root root 101 May 19 20:10 smbpasswd

/data/local/samba/var:

drwxrwxrwx 1 root root 2048 May 17 00:23 .

drwxrwxrwx 1 root root 2048 May 17 00:20 ..

drwxrwxrwx 1 root root 2048 May 26 14:08 locks

-rw-r--r-- 1 root root 23957 May 26 14:08 log.nmbd

-rw-r--r-- 1 root root 37485 May 26 14:08 log.smbd

drwxrwxrwx 1 root root 2048 May 17 00:20 tmp

/data/local/samba/var/locks:

drwxrwxrwx 1 root root 2048 May 26 14:08 .

drwxrwxrwx 1 root root 2048 May 17 00:23 ..

-rw-r--r-- 1 root root 696 May 24 18:06 brlock.tdb

-rw-r--r-- 1 root root 154 May 24 18:06 browse.dat

-rw-r--r-- 1 root root 8192 May 26 14:08 connections.tdb

-rw-r--r-- 1 root root 696 May 24 18:06 locking.tdb

-rw------- 1 root root 696 May 26 14:08 messages.tdb

-rw-r--r-- 1 root root 20 May 26 14:08 nmbd.pid

-rw------- 1 root root 8192 May 24 18:06 ntdrivers.tdb

-rw------- 1 root root 696 May 24 18:06 ntforms.tdb

-rw------- 1 root root 8192 May 24 18:06 ntprinters.tdb

-rw------- 1 root root 8192 May 24 18:06 printing.tdb

-rw------- 1 root root 8192 May 24 18:06 share_info.tdb

-rw-r--r-- 1 root root 20 May 26 14:08 smbd.pid

-rw-r--r-- 1 root root 16384 May 24 18:08 unexpected.tdb

/data/local/samba/var/tmp:

drwxrwxrwx 1 root root 2048 May 17 00:20 .

drwxrwxrwx 1 root root 2048 May 17 00:23 ..

Did so. It didn't work, but it helped me better understand one more symptom.

1) When adding with "-a", it accepted the new password and didn't crash.

2) I still couldn't login with the user.

3) I tried using debug options ("-i -d 99") and got it exiting after login attempts (login still failed).

4) I created a Samba user with the same name as Windows user, and tried to log in. This time it searched and found the password, but then crashed with the following error (this is the end of the log file):

[000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........

[010] 00 00 00 00 00 00 00 00 51 97 2D 64 E2 C4 1E 10 ........ Q.-d....

[020] C2 C0 E9 19 DB 64 5B 98 01 01 00 00 00 00 00 00 .....d[. ........

[030] 0F A7 B4 B3 DF FD CA 01 D0 DE 19 BB 42 22 52 CA ........ ....B"R.

[040] 00 00 00 00 02 00 12 00 57 00 4F 00 52 00 4B 00 ........ W.O.R.K.

[050] 47 00 52 00 4F 00 55 00 50 00 00 00 00 00 00 00 G.R.O.U. P.......

[060] 00 00 4B 69 73 75 6C 79 61 00 4B 69 73 75 6C 79 ..Kisuly a.Kisuly

[070] 61 2D 50 43 00 00 00 a-PC...

switch message SMBsesssetupX (pid 1988)

created /data/local/samba/var/tmp/SMBsesssetupX.8.req len 220

setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0

change_to_root_user: now uid=(0,0) gid=(0,0)

passlen1=24, passlen2=74

Domain=[Kisulya-PC] NativeOS=[] NativeLanMan=[]

sesssetupX:name=[Kisulya]

lp_file_list_changed()

file /data/local/samba/lib/smb.conf -> /data/local/samba/lib/smb.conf last mod_time: Thu May 27 20:36:57 2010

pass_check: Checking password for user kisulya (l=74)

NT Password did not match for user 'kisulya'!

Defaulting to Lanman password for kisulya

pdb_getsampwnam: search by name: kisulya

startsmbfilepwent_internal: opening file /data/local/samba/private/smbpasswd

getsmbfilepwent: returning passwd entry for user jack, uid 0

getsmbfilepwent: returning passwd entry for user kisulya, uid 0

endsmbfilepwent_internal: closed password file.

pdb_getsampwnam: found by name: kisulya

===============================================================

INTERNAL ERROR: Signal 11 in pid 1988 (2.2.12 Android build (JimmyChingala))

Please read the file BUGS.txt in the distribution

===============================================================

PANIC: internal error

I guess I'll ask you for a debug version of the build, that logs every step in the password checking under debug mode. "Signal 11" isn't too clear :)