[Samba] samba + ldap authentication

Peter Nyberg Peter.Nyberg at dbb.su.se
Thu Jun 10 07:52:08 GMT 2004


Hi all!
I have authentication problems with samba + ldap. When I populate the list
through smbldap-populate.pl a administrator account was created. I asume this is
the same account as rootdn "cn=Manager,dc=dbb,dc=su,dc=se". With the same
password, right?
Ldap seams to be ok and when I do
root at s2:/usr/local/samba/bin# ./net groupmap list
Domain Admins (S-1-5-21-1027936538-659792286-2162639956-512) -> wheel
Domain Users (S-1-5-21-1027936538-659792286-2162639956-513) -> smbusers
Domain Guests (S-1-5-21-1027936538-659792286-2162639956-514) -> smbguests
Administrators (S-1-5-21-1027936538-659792286-2162639956-544) -> 544
users (S-1-5-21-1027936538-659792286-2162639956-545) -> 545
Guests (S-1-5-21-1027936538-659792286-2162639956-546) -> 546
Power Users (S-1-5-21-1027936538-659792286-2162639956-547) -> 547
Account Operators (S-1-5-21-1027936538-659792286-2162639956-548) -> 548
Server Operators (S-1-5-21-1027936538-659792286-2162639956-549) -> 549
Print Operators (S-1-5-21-1027936538-659792286-2162639956-550) -> 550
Backup Operators (S-1-5-21-1027936538-659792286-2162639956-551) -> 551
Replicator (S-1-5-21-1027936538-659792286-2162639956-552) -> 552
Domain Computers (S-1-5-21-1027936538-659792286-2162639956-553) -> 553

Everything seams to be ok
When I do a ./net rpc group LIST global -U administrator
Password: "same password as for rootdn"
The username or password was not correct.

I have the same password in secret.tdb as in slapd.conf
Isn't administrator=Manager? 
If not, what's the standard password for administrator then and how could that
account have access to the ldap database? 
I also tried to use ./net rpc group LIST global -U Manager with the same result.
Please help me understand how it works. I think I'm very close now.

I'm very grateful of all kinds of help in this matter

If I log that command with -d 255 I recieve
root at s2:/usr/local/samba/bin# ./net rpc group LIST global -U administrator -d 255
[2004/06/10 08:47:13, 5] lib/debug.c:debug_dump_status(360)
  INFO: Current debug levels:
    all: True/255
    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
[2004/06/10 08:47:13, 3] param/loadparm.c:lp_load(3810)
  lp_load: refreshing parameters
[2004/06/10 08:47:13, 3] param/loadparm.c:init_globals(1300)
  Initialising global parameters
[2004/06/10 08:47:13, 3] param/params.c:pm_process(566)
  params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2004/06/10 08:47:13, 3] param/loadparm.c:do_section(3322)
  Processing section "[global]"
  doing parameter ldap ssl = start_tls
  doing parameter idmap gid = 15000-20000
  doing parameter delete user from group script =
/usr/local/sbin/smbldap-groupmod -x "%u" "%g"
  doing parameter allow hosts = 130.237.179.0/24
  doing parameter netbios name = s2
[2004/06/10 08:47:13, 4] param/loadparm.c:handle_netbios_name(2700)
  handle_netbios_name: set global_myname to: S2
  doing parameter printing = cups
  doing parameter ldap passwd sync = yes
  doing parameter idmap uid = 15000-20000
  doing parameter logon script = logon.bat
  doing parameter local master = Yes
  doing parameter workgroup = DBB
  doing parameter os level = 255
  doing parameter ldap admin dn = "cn=Manager,dc=dbb,dc=su,dc=se"
  doing parameter update encrypted = Yes
  doing parameter printcap name = cups
  doing parameter add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
  doing parameter winbind separator = +
  doing parameter load printers = yes
  doing parameter ldap user suffix = ou=Users
  doing parameter add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
  doing parameter socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192
  doing parameter add user to group script = /usr/local/sbin/smbldap-groupmod -m
"%u" "%g"
  doing parameter logon drive = H:
  doing parameter username map = /etc/samba/smbusers
  doing parameter domain master = Yes
  doing parameter encrypt passwords = Yes
  doing parameter passdb backend = ldapsam:ldap://s2.dbb.su.se
  doing parameter logon home = \\%L\%U\.profile
  doing parameter wins support = Yes
  doing parameter ldap delete dn = Yes
  doing parameter server string = Samba PDC running %v
  doing parameter ldap machine suffix = ou=Computers
  doing parameter ldap group suffix = ou=Groups
  doing parameter path = /home/Users
  doing parameter ldap suffix = dc=dbb,dc=su,dc=se
  doing parameter logon path = \\%L\profiles\%U
  doing parameter add user script = /usr/local/sbin/smbldap-useradd -m "%u"
  doing parameter set primary group script = /usr/local/sbin/smbldap-usermod -g
"%g" "%u"
  doing parameter preferred master = Yes
  doing parameter ldap idmap suffix = ou=Users
  doing parameter domain logons = Yes
[2004/06/10 08:47:13, 4] param/loadparm.c:lp_load(3842)
  pm_process() returned Yes
[2004/06/10 08:47:13, 7] param/loadparm.c:lp_servicenumber(3952)
  lp_servicenumber: couldn't find homes
[2004/06/10 08:47:13, 10] param/loadparm.c:set_server_role(3760)
  set_server_role: role = ROLE_DOMAIN_PDC
[2004/06/10 08:47:13, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset UCS-2LE
[2004/06/10 08:47:13, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset UCS-2LE
[2004/06/10 08:47:13, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset UTF8
[2004/06/10 08:47:13, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset UTF8
[2004/06/10 08:47:13, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset ASCII
[2004/06/10 08:47:13, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset ASCII
[2004/06/10 08:47:13, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset 646
[2004/06/10 08:47:13, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset 646
[2004/06/10 08:47:13, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset ISO-8859-1
[2004/06/10 08:47:13, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset ISO-8859-1
[2004/06/10 08:47:13, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset UCS2-HEX
[2004/06/10 08:47:13, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset UCS2-HEX
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/06/10 08:47:13, 5] lib/util.c:init_names(270)
  Netbios name list:-
  my_netbios_names[0]="S2"
[2004/06/10 08:47:13, 2] lib/interface.c:add_interface(79)
  added interface ip=130.237.179.6 bcast=130.237.179.255 nmask=255.255.255.0
Password:"rootdn password"
[2004/06/10 08:48:32, 3] libsmb/cliconnect.c:cli_start_connection(1337)
  Connecting to host=127.0.0.1
[2004/06/10 08:48:32, 3] lib/util_sock.c:open_socket_out(710)
  Connecting to 127.0.0.1 at port 445
[2004/06/10 08:48:32, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_KEEPALIVE = 0
[2004/06/10 08:48:32, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_REUSEADDR = 0
[2004/06/10 08:48:32, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_BROADCAST = 0
[2004/06/10 08:48:32, 5] lib/util_sock.c:print_socket_options(105)
  socket option TCP_NODELAY = 1
[2004/06/10 08:48:32, 5] lib/util_sock.c:print_socket_options(105)
  socket option IPTOS_LOWDELAY = 16
[2004/06/10 08:48:32, 5] lib/util_sock.c:print_socket_options(105)
  socket option IPTOS_THROUGHPUT = 16
[2004/06/10 08:48:32, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_SNDBUF = 16384
[2004/06/10 08:48:32, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_RCVBUF = 16384
[2004/06/10 08:48:32, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_SNDLOWAT = 1
[2004/06/10 08:48:32, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_RCVLOWAT = 1
[2004/06/10 08:48:32, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_SNDTIMEO = 0
[2004/06/10 08:48:32, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_RCVTIMEO = 0
[2004/06/10 08:48:32, 6] lib/util_sock.c:write_socket(407)
  write_socket(3,183)
[2004/06/10 08:48:32, 6] lib/util_sock.c:write_socket(410)
  write_socket(3,183) wrote 183
[2004/06/10 08:48:32, 10] lib/util_sock.c:read_smb_length_return_keepalive(463)
  got smb length of 127
[2004/06/10 08:48:32, 5] lib/util.c:show_msg(456)
[2004/06/10 08:48:32, 5] lib/util.c:show_msg(466)
  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=19478
  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]= 5888 (0x1700)
  smb_vwv[ 8]=   76 (0x4C)
  smb_vwv[ 9]=64768 (0xFD00)
  smb_vwv[10]=32995 (0x80E3)
  smb_vwv[11]=  128 (0x80)
  smb_vwv[12]=48672 (0xBE20)
  smb_vwv[13]=46833 (0xB6F1)
  smb_vwv[14]=50254 (0xC44E)
  smb_vwv[15]=34817 (0x8801)
  smb_vwv[16]=15103 (0x3AFF)
  smb_bcc=58
[2004/06/10 08:48:32, 10] lib/util.c:dump_data(1830)
  [000] 73 32 00 00 00 00 00 00  00 00 00 00 00 00 00 00  s2...... ........
  [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
[2004/06/10 08:48:32, 5] lib/util.c:show_msg(456)
[2004/06/10 08:48:32, 5] lib/util.c:show_msg(466)
  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=19478
  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]= 5888 (0x1700)
  smb_vwv[ 8]=   76 (0x4C)
  smb_vwv[ 9]=64768 (0xFD00)
  smb_vwv[10]=32995 (0x80E3)
  smb_vwv[11]=  128 (0x80)
  smb_vwv[12]=48672 (0xBE20)
  smb_vwv[13]=46833 (0xB6F1)
  smb_vwv[14]=50254 (0xC44E)
  smb_vwv[15]=34817 (0x8801)
  smb_vwv[16]=15103 (0x3AFF)
  smb_bcc=58
[2004/06/10 08:48:32, 10] lib/util.c:dump_data(1830)
  [000] 73 32 00 00 00 00 00 00  00 00 00 00 00 00 00 00  s2...... ........
  [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
[2004/06/10 08:48:32, 4] lib/time.c:get_serverzone(122)
  Serverzone is -7200
[2004/06/10 08:48:32, 3] libsmb/cliconnect.c:cli_session_setup_spnego(676)
  Doing spnego session setup (blob length=58)
[2004/06/10 08:48:32, 3] libsmb/cliconnect.c:cli_session_setup_spnego(701)
  got OID=1 3 6 1 4 1 311 2 2 10
[2004/06/10 08:48:32, 3] libsmb/cliconnect.c:cli_session_setup_spnego(708)
  got principal=NONE
[2004/06/10 08:48:32, 6] lib/util_sock.c:write_socket(407)
  write_socket(3,156)
[2004/06/10 08:48:32, 6] lib/util_sock.c:write_socket(410)
  write_socket(3,156) wrote 156
[2004/06/10 08:48:32, 10] lib/util_sock.c:read_smb_length_return_keepalive(463)
  got smb length of 222
[2004/06/10 08:48:32, 5] lib/util.c:show_msg(456)
[2004/06/10 08:48:32, 5] lib/util.c:show_msg(466)
  size=222
  smb_com=0x73
  smb_rcls=22
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=19478
  smb_uid=0
  smb_mid=2
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  135 (0x87)
  smb_bcc=179
[2004/06/10 08:48:32, 10] lib/util.c:dump_data(1830)
  [000] A1 81 84 30 81 81 A0 03  0A 01 01 A1 0C 06 0A 2B  ...0.... .......+
  [010] 06 01 04 01 82 37 02 02  0A A2 6C 04 6A 4E 54 4C  .....7.. ..l.jNTL
  [020] 4D 53 53 50 00 02 00 00  00 06 00 06 00 30 00 00  MSSP.... .....0..
  [030] 00 15 02 89 60 2E 3A EC  AF 6A 33 B6 95 00 00 00  ....`.:. .j3.....
  [040] 00 00 00 00 00 34 00 34  00 36 00 00 00 44 00 42  .....4.4 .6...D.B
  [050] 00 42 00 02 00 06 00 44  00 42 00 42 00 01 00 04  .B.....D .B.B....
  [060] 00 53 00 32 00 04 00 12  00 64 00 62 00 62 00 2E  .S.2.... .d.b.b..
  [070] 00 73 00 75 00 2E 00 73  00 65 00 03 00 04 00 73  .s.u...s .e.....s
  [080] 00 32 00 00 00 00 00 55  00 6E 00 69 00 78 00 00  .2.....U .n.i.x..
  [090] 00 53 00 61 00 6D 00 62  00 61 00 20 00 33 00 2E  .S.a.m.b .a. .3..
  [0A0] 00 30 00 2E 00 32 00 61  00 00 00 44 00 42 00 42  .0...2.a ...D.B.B
  [0B0] 00 00 00                                          ... 
[2004/06/10 08:48:32, 5] lib/util.c:show_msg(456)
[2004/06/10 08:48:32, 5] lib/util.c:show_msg(466)
  size=222
  smb_com=0x73
  smb_rcls=22
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=19478
  smb_uid=0
  smb_mid=2
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  135 (0x87)
  smb_bcc=179
[2004/06/10 08:48:32, 10] lib/util.c:dump_data(1830)
  [000] A1 81 84 30 81 81 A0 03  0A 01 01 A1 0C 06 0A 2B  ...0.... .......+
  [010] 06 01 04 01 82 37 02 02  0A A2 6C 04 6A 4E 54 4C  .....7.. ..l.jNTL
  [020] 4D 53 53 50 00 02 00 00  00 06 00 06 00 30 00 00  MSSP.... .....0..
  [030] 00 15 02 89 60 2E 3A EC  AF 6A 33 B6 95 00 00 00  ....`.:. .j3.....
  [040] 00 00 00 00 00 34 00 34  00 36 00 00 00 44 00 42  .....4.4 .6...D.B
  [050] 00 42 00 02 00 06 00 44  00 42 00 42 00 01 00 04  .B.....D .B.B....
  [060] 00 53 00 32 00 04 00 12  00 64 00 62 00 62 00 2E  .S.2.... .d.b.b..
  [070] 00 73 00 75 00 2E 00 73  00 65 00 03 00 04 00 73  .s.u...s .e.....s
  [080] 00 32 00 00 00 00 00 55  00 6E 00 69 00 78 00 00  .2.....U .n.i.x..
  [090] 00 53 00 61 00 6D 00 62  00 61 00 20 00 33 00 2E  .S.a.m.b .a. .3..
  [0A0] 00 30 00 2E 00 32 00 61  00 00 00 44 00 42 00 42  .0...2.a ...D.B.B
  [0B0] 00 00 00                                          ... 
[2004/06/10 08:48:32, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(879)
  Got challenge flags:
[2004/06/10 08:48:32, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  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
[2004/06/10 08:48:32, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(901)
  NTLMSSP: Set final flags:
[2004/06/10 08:48:32, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  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
[2004/06/10 08:48:32, 5] libsmb/ntlmssp.c:ntlmssp_client_challenge(975)
  NTLMSSP challenge set by NTLM2
[2004/06/10 08:48:32, 5] libsmb/ntlmssp.c:ntlmssp_client_challenge(976)
  challenge is: 
[2004/06/10 08:48:32, 5] lib/util.c:dump_data(1830)
  [000] 36 04 73 D8 66 75 E0 84                           6.s.fu.. 
[2004/06/10 08:48:32, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(319)
  NTLMSSP Sign/Seal - Initialising with flags:
[2004/06/10 08:48:32, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  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
[2004/06/10 08:48:32, 6] lib/util_sock.c:write_socket(407)
  write_socket(3,262)
[2004/06/10 08:48:32, 6] lib/util_sock.c:write_socket(410)
  write_socket(3,262) wrote 262
[2004/06/10 08:48:32, 10] lib/util_sock.c:read_smb_length_return_keepalive(463)
  got smb length of 96
[2004/06/10 08:48:32, 5] lib/util.c:show_msg(456)
[2004/06/10 08:48:32, 5] lib/util.c:show_msg(466)
  size=96
  smb_com=0x73
  smb_rcls=109
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=19478
  smb_uid=0
  smb_mid=3
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    9 (0x9)
  smb_bcc=53
[2004/06/10 08:48:32, 10] lib/util.c:dump_data(1830)
  [000] A1 07 30 05 A0 03 0A 01  02 55 00 6E 00 69 00 78  ..0..... .U.n.i.x
  [010] 00 00 00 53 00 61 00 6D  00 62 00 61 00 20 00 33  ...S.a.m .b.a. .3
  [020] 00 2E 00 30 00 2E 00 32  00 61 00 00 00 44 00 42  ...0...2 .a...D.B
  [030] 00 42 00 00 00                                    .B... 
[2004/06/10 08:48:33, 5] lib/util.c:show_msg(456)
[2004/06/10 08:48:33, 5] lib/util.c:show_msg(466)
  size=96
  smb_com=0x73
  smb_rcls=109
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=19478
  smb_uid=0
  smb_mid=3
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    9 (0x9)
  smb_bcc=53
[2004/06/10 08:48:33, 10] lib/util.c:dump_data(1830)
  [000] A1 07 30 05 A0 03 0A 01  02 55 00 6E 00 69 00 78  ..0..... .U.n.i.x
  [010] 00 00 00 53 00 61 00 6D  00 62 00 61 00 20 00 33  ...S.a.m .b.a. .3
  [020] 00 2E 00 30 00 2E 00 32  00 61 00 00 00 44 00 42  ...0...2 .a...D.B
  [030] 00 42 00 00 00                                    .B... 
[2004/06/10 08:48:33, 3] libsmb/cliconnect.c:cli_session_setup(820)
  SPENGO login failed: Logon failure
[2004/06/10 08:48:33, 1] libsmb/cliconnect.c:cli_full_connection(1425)
  failed session setup with NT_STATUS_LOGON_FAILURE
[2004/06/10 08:48:33, 1] utils/net.c:connect_to_ipc(150)
  Cannot connect to server.  Error was NT_STATUS_LOGON_FAILURE
[2004/06/10 08:48:33, 10] intl/lang_tdb.c:lang_tdb_init(135)
  lang_tdb_init: /usr/local/samba/lib/C.msg: No such file or directory
The username or password was not correct.
[2004/06/10 08:48:33, 2] utils/net.c:main(767)
  return code = -1
root at s2:/usr/local/samba/bin# 


Peter Nyberg
Institutionen för Biokemi och Biofysik (DBB)
Sv.Arrhenius vägen 12
106 91 Stockholm
Tel: 08-16 24 69
Mobil: 070 339 24 69
Fax 08 153679







More information about the samba mailing list