[Samba] Problem runing Samba 3.0.23d with LDAP on FreeBSD 6.2 sparc64

Guillaume silencer at free-4ever.net
Mon Jan 29 14:04:05 GMT 2007


Here is the output of smbclient with debug level at 10.

Maybe, it can help.

Thanks in advance

Regards
Guillaume


---
INFO: Current debug levels:
  all: True/10
  tdb: False/0
  printdrivers: False/0
  lanman: False/0
  smb: False/0
  rpc_parse: False/0
  rpc_srv: False/0
  rpc_cli: False/0
  passdb: False/0
  sam: False/0
  auth: False/0
  winbind: False/0
  vfs: False/0
  idmap: False/0
  quota: False/0
  acls: False/0
  locking: False/0
  msdfs: False/0
  dmapi: False/0
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file
"/usr/local/etc/smb.conf"
doing parameter netbios name = janus
handle_netbios_name: set global_myname to: JANUS
doing parameter work group = tatooine
doing parameter server string = janus (Centile PDC Server)
doing parameter dns proxy = no
doing parameter wins support = yes
doing parameter name resolve order = wins lmhosts host bcast
doing parameter time server = yes
doing parameter log file = /var/log/samba/log.%m
doing parameter syslog = 0
doing parameter log level = 10
doing parameter max log size = 1000
doing parameter domain logons = yes
doing parameter os level = 35
doing parameter local master = yes
doing parameter prefered master = yes
doing parameter domain master = yes
doing parameter security = user
doing parameter encrypt passwords = yes
doing parameter admin users = @administrators
doing parameter logon path =
doing parameter logon home =
doing parameter logon drive = u:
doing parameter logon script = %U.bat
doing parameter passdb backend = "ldapsam:ldaps://ldap1.centile.com/"
doing parameter ldap ssl = on
doing parameter ldap suffix = ou=internal,o=centile,dc=com
doing parameter ldap admin dn = cn=manager,o=centile,dc=com
doing parameter ldap machine suffix = ou=computers
doing parameter ldap user suffix = ou=users
doing parameter ldap group suffix = ou=groups
doing parameter ldap passwd sync = yes
pm_process() returned Yes
lp_servicenumber: couldn't find homes
set_server_role: role = ROLE_DOMAIN_PDC
Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF-16LE
Registered charset UTF-16LE
Attempting to register new charset UCS-2BE
Registered charset UCS-2BE
Attempting to register new charset UTF-16BE
Registered charset UTF-16BE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset UTF-8
Registered charset UTF-8
Attempting to register new charset ASCII
Registered charset ASCII
Attempting to register new charset 646
Registered charset 646
Attempting to register new charset ISO-8859-1
Registered charset ISO-8859-1
Attempting to register new charset UCS2-HEX
Registered charset UCS2-HEX
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
Substituting charset 'US-ASCII' for LOCALE
added interface ip=192.168.48.243 bcast=192.168.48.255 nmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="JANUS"
Client started (version 3.0.23d).
internal_resolve_name: looking up janus#20
Opening cache file at /var/db/samba/gencache.tdb
Returning valid cache entry: key = NBT/JANUS#20, value =
192.168.48.243:0, timeout = Tue Jan 30 03:07:53 2007
name janus#20 found.
Connecting to 192.168.48.243 at port 445
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 4
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_REUSEPORT = 0
socket option SO_SNDBUF = 33304
socket option SO_RCVBUF = 66608
socket option SO_SNDLOWAT = 2048
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
 session request ok
write_socket(5,183)
write_socket(5,183) wrote 183
got smb length of 127
size=127
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=9301
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[ 0]=    7 (0x7)
smb_vwv[ 1]=12803 (0x3203)
smb_vwv[ 2]=  256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]=   65 (0x41)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  256 (0x100)
smb_vwv[ 7]=22272 (0x5700)
smb_vwv[ 8]=   36 (0x24)
smb_vwv[ 9]=64768 (0xFD00)
smb_vwv[10]=33011 (0x80F3)
smb_vwv[11]=32896 (0x8080)
smb_vwv[12]=40771 (0x9F43)
smb_vwv[13]= 4603 (0x11FB)
smb_vwv[14]=51012 (0xC744)
smb_vwv[15]=50177 (0xC401)
smb_vwv[16]=  255 (0xFF)
smb_bcc=58
[000] 6A 61 6E 75 73 00 00 00  00 00 00 00 00 00 00 00  janus... ........
[010] 60 28 06 06 2B 06 01 05  05 02 A0 1E 30 1C A0 0E  `(..+... ....0...
[020] 30 0C 06 0A 2B 06 01 04  01 82 37 02 02 0A A3 0A  0...+... ..7.....
[030] 30 08 A0 06 1B 04 4E 4F  4E 45                    0.....NO NE
size=127
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=9301
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[ 0]=    7 (0x7)
smb_vwv[ 1]=12803 (0x3203)
smb_vwv[ 2]=  256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]=   65 (0x41)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  256 (0x100)
smb_vwv[ 7]=22272 (0x5700)
smb_vwv[ 8]=   36 (0x24)
smb_vwv[ 9]=64768 (0xFD00)
smb_vwv[10]=33011 (0x80F3)
smb_vwv[11]=32896 (0x8080)
smb_vwv[12]=40771 (0x9F43)
smb_vwv[13]= 4603 (0x11FB)
smb_vwv[14]=51012 (0xC744)
smb_vwv[15]=50177 (0xC401)
smb_vwv[16]=  255 (0xFF)
smb_bcc=58
[000] 6A 61 6E 75 73 00 00 00  00 00 00 00 00 00 00 00  janus... ........
[010] 60 28 06 06 2B 06 01 05  05 02 A0 1E 30 1C A0 0E  `(..+... ....0...
[020] 30 0C 06 0A 2B 06 01 04  01 82 37 02 02 0A A3 0A  0...+... ..7.....
[030] 30 08 A0 06 1B 04 4E 4F  4E 45                    0.....NO NE
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
write_socket(5,164)
write_socket(5,164) wrote 164
got smb length of 296
size=296
smb_com=0x73
smb_rcls=22
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=9301
smb_uid=100
smb_mid=2
smt_wct=4
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=  197 (0xC5)
smb_bcc=253
[000] A1 81 C2 30 81 BF A0 03  0A 01 01 A1 0C 06 0A 2B  ...0.... .......+
[010] 06 01 04 01 82 37 02 02  0A A2 81 A9 04 81 A6 4E  .....7.. .......N
[020] 54 4C 4D 53 53 50 00 02  00 00 00 10 00 10 00 30  TLMSSP.. .......0
[030] 00 00 00 15 02 89 60 83  51 0B 2B 4C 7B 31 7F 00  ......`. Q.+L{1..
[040] 00 00 00 00 00 00 00 66  00 66 00 40 00 00 00 54  .......f .f. at ...T
[050] 00 41 00 54 00 4F 00 4F  00 49 00 4E 00 45 00 02  .A.T.O.O .I.N.E..
[060] 00 10 00 54 00 41 00 54  00 4F 00 4F 00 49 00 4E  ...T.A.T .O.O.I.N
[070] 00 45 00 01 00 0A 00 4A  00 41 00 4E 00 55 00 53  .E.....J .A.N.U.S
[080] 00 04 00 16 00 63 00 65  00 6E 00 74 00 69 00 6C  .....c.e .n.t.i.l
[090] 00 65 00 2E 00 63 00 6F  00 6D 00 03 00 22 00 6A  .e...c.o .m...".j
[0A0] 00 61 00 6E 00 75 00 73  00 2E 00 63 00 65 00 6E  .a.n.u.s ...c.e.n
[0B0] 00 74 00 69 00 6C 00 65  00 2E 00 63 00 6F 00 6D  .t.i.l.e ...c.o.m
[0C0] 00 00 00 00 00 55 00 6E  00 69 00 78 00 00 00 53  .....U.n .i.x...S
[0D0] 00 61 00 6D 00 62 00 61  00 20 00 33 00 2E 00 30  .a.m.b.a . .3...0
[0E0] 00 2E 00 32 00 33 00 64  00 00 00 54 00 41 00 54  ...2.3.d ...T.A.T
[0F0] 00 4F 00 4F 00 49 00 4E  00 45 00 00 00           .O.O.I.N .E...
size=296
smb_com=0x73
smb_rcls=22
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=9301
smb_uid=100
smb_mid=2
smt_wct=4
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=  197 (0xC5)
smb_bcc=253
[000] A1 81 C2 30 81 BF A0 03  0A 01 01 A1 0C 06 0A 2B  ...0.... .......+
[010] 06 01 04 01 82 37 02 02  0A A2 81 A9 04 81 A6 4E  .....7.. .......N
[020] 54 4C 4D 53 53 50 00 02  00 00 00 10 00 10 00 30  TLMSSP.. .......0
[030] 00 00 00 15 02 89 60 83  51 0B 2B 4C 7B 31 7F 00  ......`. Q.+L{1..
[040] 00 00 00 00 00 00 00 66  00 66 00 40 00 00 00 54  .......f .f. at ...T
[050] 00 41 00 54 00 4F 00 4F  00 49 00 4E 00 45 00 02  .A.T.O.O .I.N.E..
[060] 00 10 00 54 00 41 00 54  00 4F 00 4F 00 49 00 4E  ...T.A.T .O.O.I.N
[070] 00 45 00 01 00 0A 00 4A  00 41 00 4E 00 55 00 53  .E.....J .A.N.U.S
[080] 00 04 00 16 00 63 00 65  00 6E 00 74 00 69 00 6C  .....c.e .n.t.i.l
[090] 00 65 00 2E 00 63 00 6F  00 6D 00 03 00 22 00 6A  .e...c.o .m...".j
[0A0] 00 61 00 6E 00 75 00 73  00 2E 00 63 00 65 00 6E  .a.n.u.s ...c.e.n
[0B0] 00 74 00 69 00 6C 00 65  00 2E 00 63 00 6F 00 6D  .t.i.l.e ...c.o.m
[0C0] 00 00 00 00 00 55 00 6E  00 69 00 78 00 00 00 53  .....U.n .i.x...S
[0D0] 00 61 00 6D 00 62 00 61  00 20 00 33 00 2E 00 30  .a.m.b.a . .3...0
[0E0] 00 2E 00 32 00 33 00 64  00 00 00 54 00 41 00 54  ...2.3.d ...T.A.T
[0F0] 00 4F 00 4F 00 49 00 4E  00 45 00 00 00           .O.O.I.N .E...
Got challenge flags:
Got NTLMSSP neg_flags=0x60890215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_NTLM2
  NTLMSSP_CHAL_TARGET_INFO
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60080215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_NTLM2
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP challenge set by NTLM2
challenge is:
[000] 3E 83 A3 35 0B 3E 80 77                           >..5.>.w
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60080215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_NTLM2
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
write_socket(5,278)
write_socket(5,278) wrote 278
read_socket_with_timeout: timeout read. EOF from client.
receive_smb_raw: length < 0!
client_receive_smb failed
size=296
smb_com=0x73
smb_rcls=22
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=9301
smb_uid=100
smb_mid=2
smt_wct=4
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=  197 (0xC5)
smb_bcc=253
[000] A1 81 C2 30 81 BF A0 03  0A 01 01 A1 0C 06 0A 2B  ...0.... .......+
[010] 06 01 04 01 82 37 02 02  0A A2 81 A9 04 81 A6 4E  .....7.. .......N
[020] 54 4C 4D 53 53 50 00 02  00 00 00 10 00 10 00 30  TLMSSP.. .......0
[030] 00 00 00 15 02 89 60 83  51 0B 2B 4C 7B 31 7F 00  ......`. Q.+L{1..
[040] 00 00 00 00 00 00 00 66  00 66 00 40 00 00 00 54  .......f .f. at ...T
[050] 00 41 00 54 00 4F 00 4F  00 49 00 4E 00 45 00 02  .A.T.O.O .I.N.E..
[060] 00 10 00 54 00 41 00 54  00 4F 00 4F 00 49 00 4E  ...T.A.T .O.O.I.N
[070] 00 45 00 01 00 0A 00 4A  00 41 00 4E 00 55 00 53  .E.....J .A.N.U.S
[080] 00 04 00 16 00 63 00 65  00 6E 00 74 00 69 00 6C  .....c.e .n.t.i.l
[090] 00 65 00 2E 00 63 00 6F  00 6D 00 03 00 22 00 6A  .e...c.o .m...".j
[0A0] 00 61 00 6E 00 75 00 73  00 2E 00 63 00 65 00 6E  .a.n.u.s ...c.e.n
[0B0] 00 74 00 69 00 6C 00 65  00 2E 00 63 00 6F 00 6D  .t.i.l.e ...c.o.m
[0C0] 00 00 00 00 00 55 00 6E  00 69 00 78 00 00 00 53  .....U.n .i.x...S
[0D0] 00 61 00 6D 00 62 00 61  00 20 00 33 00 2E 00 30  .a.m.b.a . .3...0
[0E0] 00 2E 00 32 00 33 00 64  00 00 00 54 00 41 00 54  ...2.3.d ...T.A.T
[0F0] 00 4F 00 4F 00 49 00 4E  00 45 00 00 00           .O.O.I.N .E...
SPNEGO login failed: NT_STATUS_END_OF_FILE
session setup failed: Call returned zero bytes (EOF)
---


-- 
Guillaume
E-mail: silencer_<at>_free-4ever_<dot>_net
Blog: http://guillaume.free-4ever.net
----
Site: http://www.free-4ever.net


More information about the samba mailing list