[Samba] Samba + LDAP segfaulting

John Madden maddenj at skynet.ie
Fri Feb 21 20:27:48 GMT 2003


Hey,

I tried to set up samba to auth via LDAP for accessing shared home
directories. However, whenever a connection is made, samba segfaults.
Details follow:

Machine Spec: Sun E450, 2G RAM, Solaris 9
Samba 2.2.7a	] -- all 
openldap-2.0.23	] -- compiled
nss_ldap-203.4	] -- from
pam_ldap-159 	] -- source

Samba was compiled as follows:

./configure --prefix=/usr/local/samba --with-ldapsam && make && make
install

Following is an example of the problem:

maddenj at skynet:~$smbclient //holly/maddenj
added interface ip=136.201.105.2 bcast=136.201.105.255
nmask=255.255.255.0
Got a positive name query response from 136.201.105.4 ( 136.201.105.4 )
Password: 
session setup failed: code 0

Attached are the following:

bugreport.log -- log.smbd showing samba startup, connection and segfault.
debug set at 10

gdb.out -- gdb output of the segfault

where.out -- gdb "where" on the segfaulted pid

disass.out -- gdb "disass" of the last routine in samba before outside
routines are called

ldif.out -- ldif of the user account (maddenj) I've been testing this
with. generated with ldapsearch -LLL -D"root_dn" -W uid=maddenj >
ldif.out

smb.conf -- conf file

If I can provide you with any more information, just ask and I'll try
and get it together.

-- 
Chat ya later,

John.
--
BOFH excuse #1: clock speed
-------------- next part --------------
[2003/02/19 22:18:02, 0] smbd/server.c:main(707)
  smbd version 2.2.7a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2003/02/19 22:18:02, 1] lib/debug.c:debug_message(258)
  INFO: Debug class all level = 10   (pid 1562 from pid 1562)
  doing parameter socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
  doing parameter encrypt passwords = yes
  doing parameter wins support = no
  doing parameter os level = 200
  doing parameter domain master = yes
  doing parameter local master = no
  doing parameter preferred master = no
  doing parameter name resolve order = lmhosts host wins bcast
  doing parameter dns proxy = no
  doing parameter preserve case = yes
  doing parameter short preserve case = yes
  doing parameter unix password sync = no
  doing parameter max log size = 1000
[2003/02/19 22:18:02, 2] param/loadparm.c:do_section(3055)
  Processing section "[HOMES]"
  doing parameter comment = Writable home directories
  doing parameter browseable = no
  doing parameter writable = yes
  doing parameter public = no
  doing parameter guest ok = no
  doing parameter path = /export/home/%u
[2003/02/19 22:18:02, 2] param/loadparm.c:do_section(3055)
  Processing section "[rw_homes]"
  doing parameter comment = Writable home directories
  doing parameter browseable = no
  doing parameter writable = yes
  doing parameter public = no
  doing parameter guest ok = no
  doing parameter path = /export/home/%u
[2003/02/19 22:18:02, 2] param/loadparm.c:do_section(3055)
  Processing section "[ro_homes]"
  doing parameter comment = Read-Only home directories
  doing parameter browseable = no
  doing parameter public = no
  doing parameter guest ok = no
  doing parameter path = /export/home/%u
[2003/02/19 22:18:02, 4] param/loadparm.c:lp_load(3485)
  pm_process() returned Yes
[2003/02/19 22:18:02, 3] param/loadparm.c:lp_add_ipc(2023)
  adding IPC service IPC$
[2003/02/19 22:18:02, 3] param/loadparm.c:lp_add_ipc(2023)
  adding IPC service ADMIN$
[2003/02/19 22:18:02, 10] param/loadparm.c:set_server_role(3439)
  set_server_role: ROLE_STANDALONE
[2003/02/19 22:18:02, 7] param/loadparm.c:lp_servicenumber(3594)
  lp_servicenumber: couldn't find printers
[2003/02/19 22:18:02, 7] param/loadparm.c:lp_servicenumber(3594)
  lp_servicenumber: couldn't find printers
[2003/02/19 22:18:02, 6] param/loadparm.c:lp_file_list_changed(2297)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Tue Feb 18 18:03:28 2003
  
[2003/02/19 22:18:02, 2] lib/interface.c:add_interface(81)
  added interface ip=136.201.105.4 bcast=136.201.105.255 nmask=255.255.255.0
[2003/02/19 22:18:02, 5] lib/hash.c:hash_table_init(68)
  Hash size = 521.
[2003/02/19 22:18:02, 6] lib/charset.c:codepage_initialise(336)
  codepage_initialise: client code page = 850
[2003/02/19 22:18:02, 5] lib/charset.c:load_client_codepage(194)
  load_client_codepage: loading codepage 850.
  Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
  Adding chars 0xa0 0xb5 (l->u = True) (u->l = True)
  Adding chars 0x83 0xb6 (l->u = True) (u->l = True)
  Adding chars 0xc6 0xc7 (l->u = True) (u->l = True)
  Adding chars 0x84 0x8e (l->u = True) (u->l = True)
  Adding chars 0x86 0x8f (l->u = True) (u->l = True)
  Adding chars 0x91 0x92 (l->u = True) (u->l = True)
  Adding chars 0x87 0x80 (l->u = True) (u->l = True)
  Adding chars 0x8a 0xd4 (l->u = True) (u->l = True)
  Adding chars 0x82 0x90 (l->u = True) (u->l = True)
  Adding chars 0x88 0xd2 (l->u = True) (u->l = True)
  Adding chars 0x89 0xd3 (l->u = True) (u->l = True)
  Adding chars 0x8d 0xde (l->u = True) (u->l = True)
  Adding chars 0xa1 0xd6 (l->u = True) (u->l = True)
  Adding chars 0x8c 0xd7 (l->u = True) (u->l = True)
  Adding chars 0x8b 0xd8 (l->u = True) (u->l = True)
  Adding chars 0xd0 0xd1 (l->u = True) (u->l = True)
  Adding chars 0xa4 0xa5 (l->u = True) (u->l = True)
  Adding chars 0x95 0xe3 (l->u = True) (u->l = True)
  Adding chars 0xa2 0xe0 (l->u = True) (u->l = True)
  Adding chars 0x93 0xe2 (l->u = True) (u->l = True)
  Adding chars 0xe4 0xe5 (l->u = True) (u->l = True)
  Adding chars 0x94 0x99 (l->u = True) (u->l = True)
  Adding chars 0x9b 0x9d (l->u = True) (u->l = True)
  Adding chars 0x97 0xeb (l->u = True) (u->l = True)
  Adding chars 0xa3 0xe9 (l->u = True) (u->l = True)
  Adding chars 0x96 0xea (l->u = True) (u->l = True)
  Adding chars 0x81 0x9a (l->u = True) (u->l = True)
  Adding chars 0xec 0xed (l->u = True) (u->l = True)
  Adding chars 0xe7 0xe8 (l->u = True) (u->l = True)
  Adding chars 0x9c 0x0 (l->u = False) (u->l = False)
[2003/02/19 22:18:02, 10] lib/util_unistr.c:load_dos_unicode_map(738)
  load_dos_unicode_map: 850
[2003/02/19 22:18:02, 5] lib/util_unistr.c:load_unicode_map(599)
  load_unicode_map: loading unicode map for codepage 850.
[2003/02/19 22:18:02, 10] lib/util_unistr.c:load_unix_unicode_map(755)
  load_unix_unicode_map: ISO8859-1 (init_done=0, override=0)
[2003/02/19 22:18:02, 5] lib/util_unistr.c:load_unicode_map(599)
  load_unicode_map: loading unicode map for codepage ISO8859-1.
[2003/02/19 22:18:02, 3] smbd/server.c:main(747)
  loaded services
[2003/02/19 22:18:02, 3] smbd/server.c:main(762)
  Becoming a daemon.
[2003/02/19 22:18:03, 8] lib/util.c:fcntl_lock(1304)
  fcntl_lock 6 34 0 1 2
[2003/02/19 22:18:03, 8] lib/util.c:fcntl_lock(1342)
  fcntl_lock: Lock call successful
[2003/02/19 22:18:03, 5] smbd/connection.c:claim_connection(156)
  claiming  0
[2003/02/19 22:18:03, 3] lib/util_sock.c:open_socket_in(813)
  bind succeeded on port 139
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 8
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 4
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 0
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 49152
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 49152
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDLOWAT.
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVLOWAT.
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDTIMEO.
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVTIMEO.
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 8
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 4
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 1
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 16
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 16
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 4096
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 4288
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDLOWAT.
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVLOWAT.
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDTIMEO.
[2003/02/19 22:18:03, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVTIMEO.
[2003/02/19 22:18:03, 2] smbd/server.c:open_sockets(215)
  waiting for a connection
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 8
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 4
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 1
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 16
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 16
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 4096
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 5792
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDLOWAT.
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVLOWAT.
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDTIMEO.
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVTIMEO.
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 8
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 4
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 1
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 16
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 16
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 4096
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 5792
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDLOWAT.
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVLOWAT.
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDTIMEO.
[2003/02/19 22:18:09, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVTIMEO.
[2003/02/19 22:18:09, 10] printing/nt_printing.c:update_c_setprinter(368)
  update_c_setprinter: c_setprinter = 0
[2003/02/19 22:18:09, 6] param/loadparm.c:lp_file_list_changed(2297)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Tue Feb 18 18:03:28 2003
  
[2003/02/19 22:18:09, 3] smbd/oplock.c:init_oplocks(1211)
  open_oplock_ipc: opening loopback UDP socket.
[2003/02/19 22:18:09, 3] lib/util_sock.c:open_socket_in(813)
  bind succeeded on port 0
[2003/02/19 22:18:09, 3] smbd/oplock.c:init_oplocks(1242)
  open_oplock ipc: pid = 1564, global_oplock_port = 59184
[2003/02/19 22:18:09, 4] lib/time.c:get_serverzone(114)
  Serverzone is 0
[2003/02/19 22:18:09, 10] lib/util_sock.c:read_smb_length_return_keepalive(559)
  got smb length of 72
[2003/02/19 22:18:09, 10] lib/access.c:check_access(304)
  check_access: allow = 136.201. 127., deny = 
[2003/02/19 22:18:09, 3] lib/access.c:check_access(318)
  check_access: no hostnames in host allow/deny list.
[2003/02/19 22:18:09, 2] lib/access.c:check_access(329)
  Allowed connection from  (136.201.105.2)
[2003/02/19 22:18:09, 6] smbd/process.c:process_smb(877)
  got message type 0x81 of len 0x48
[2003/02/19 22:18:09, 3] smbd/process.c:process_smb(878)
  Transaction 0 of length 76
[2003/02/19 22:18:09, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=HOLLY            name2=SKYNET2        
[2003/02/19 22:18:09, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=holly remote=skynet2
[2003/02/19 22:18:09, 6] param/loadparm.c:lp_file_list_changed(2297)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Tue Feb 18 18:03:28 2003
  
[2003/02/19 22:18:09, 5] smbd/connection.c:claim_connection(156)
  claiming  0
[2003/02/19 22:18:09, 5] smbd/reply.c:reply_special(152)
  init msg_type=0x81 msg_flags=0x0
[2003/02/19 22:18:09, 6] lib/util_sock.c:write_socket(518)
  write_socket(12,4)
[2003/02/19 22:18:09, 6] lib/util_sock.c:write_socket(521)
  write_socket(12,4) wrote 4
[2003/02/19 22:18:09, 10] lib/util_sock.c:read_smb_length_return_keepalive(559)
  got smb length of 164
[2003/02/19 22:18:09, 6] smbd/process.c:process_smb(877)
  got message type 0x0 of len 0xa4
[2003/02/19 22:18:09, 3] smbd/process.c:process_smb(878)
  Transaction 1 of length 168
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(275)
  size=164
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=8
  smb_flg2=1
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(281)
  smb_tid=0
  smb_pid=26084
  smb_uid=0
  smb_mid=1
  smt_wct=0
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(291)
  smb_bcc=129
[2003/02/19 22:18:09, 10] lib/util.c:dump_data(1531)
  [000] 02 50 43 20 4E 45 54 57  4F 52 4B 20 50 52 4F 47  .PC NETW ORK PROG
[2003/02/19 22:18:09, 10] lib/util.c:dump_data(1539)
  [010] 52 41 4D 20 31 2E 30 00  02 4D 49 43 52 4F 53 4F  RAM 1.0. .MICROSO
[2003/02/19 22:18:09, 10] lib/util.c:dump_data(1539)
  [020] 46 54 20 4E 45 54 57 4F  52 4B 53 20 31 2E 30 33  FT NETWO RKS 1.03
[2003/02/19 22:18:09, 10] lib/util.c:dump_data(1539)
  [030] 00 02 4D 49 43 52 4F 53  4F 46 54 20 4E 45 54 57  ..MICROS OFT NETW
[2003/02/19 22:18:09, 10] lib/util.c:dump_data(1539)
  [040] 4F 52 4B 53 20 33 2E 30  00 02 4C 41 4E 4D 41 4E  ORKS 3.0 ..LANMAN
[2003/02/19 22:18:09, 10] lib/util.c:dump_data(1539)
  [050] 31 2E 30 00 02 4C 4D 31  2E 32 58 30 30 32 00 02  1.0..LM1 .2X002..
[2003/02/19 22:18:09, 10] lib/util.c:dump_data(1539)
  [060] 53 61 6D 62 61 00 02 4E  54 20 4C 41 4E 4D 41 4E  Samba..N T LANMAN
[2003/02/19 22:18:09, 10] lib/util.c:dump_data(1539)
  [070] 20 31 2E 30 00 02 4E 54  20 4C 4D 20 30 2E 31 32   1.0..NT  LM 0.12
[2003/02/19 22:18:09, 10] lib/util.c:dump_data(1539)
  [080] 00                                                . 
[2003/02/19 22:18:09, 3] smbd/process.c:switch_message(685)
  switch message SMBnegprot (pid 1564)
[2003/02/19 22:18:09, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/02/19 22:18:09, 5] smbd/uid.c:change_to_root_user(217)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2003/02/19 22:18:09, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2003/02/19 22:18:09, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[2003/02/19 22:18:09, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [MICROSOFT NETWORKS 3.0]
[2003/02/19 22:18:09, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [LANMAN1.0]
[2003/02/19 22:18:09, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [LM1.2X002]
[2003/02/19 22:18:09, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [Samba]
[2003/02/19 22:18:09, 6] param/loadparm.c:lp_file_list_changed(2297)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Tue Feb 18 18:03:28 2003
  
[2003/02/19 22:18:09, 6] param/loadparm.c:lp_file_list_changed(2297)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Tue Feb 18 18:03:28 2003
  
[2003/02/19 22:18:09, 3] smbd/negprot.c:reply_negprot(426)
  Selected protocol NT LANMAN 1.0
[2003/02/19 22:18:09, 5] smbd/negprot.c:reply_negprot(433)
  negprot index=6
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(275)
  size=81
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(281)
  smb_tid=0
  smb_pid=26084
  smb_uid=0
  smb_mid=1
  smt_wct=17
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[0]=6 (0x6)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[1]=12803 (0x3203)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[2]=256 (0x100)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[3]=1024 (0x400)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[4]=65 (0x41)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[5]=0 (0x0)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[6]=256 (0x100)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[7]=7168 (0x1C00)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[8]=6 (0x6)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[9]=63744 (0xF900)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[10]=227 (0xE3)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[11]=32768 (0x8000)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[12]=25126 (0x6226)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[13]=25800 (0x64C8)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[14]=49880 (0xC2D8)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[15]=1 (0x1)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(286)
  smb_vwv[16]=2048 (0x800)
[2003/02/19 22:18:09, 5] lib/util.c:show_msg(291)
  smb_bcc=12
[2003/02/19 22:18:09, 10] lib/util.c:dump_data(1531)
  [000] D0 7E 6A 1E 48 4A B2 01  43 53 4E 00              .~j.HJ.. CSN.
[2003/02/19 22:18:09, 6] lib/util_sock.c:write_socket(518)
  write_socket(12,85)
[2003/02/19 22:18:09, 6] lib/util_sock.c:write_socket(521)
  write_socket(12,85) wrote 85
[2003/02/19 22:18:12, 10] lib/util_sock.c:read_smb_length_return_keepalive(559)
  got smb length of 132
[2003/02/19 22:18:12, 6] smbd/process.c:process_smb(877)
  got message type 0x0 of len 0x84
[2003/02/19 22:18:12, 3] smbd/process.c:process_smb(878)
  Transaction 2 of length 136
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(275)
  size=132
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=8
  smb_flg2=1
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(281)
  smb_tid=0
  smb_pid=26084
  smb_uid=0
  smb_mid=1
  smt_wct=13
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(286)
  smb_vwv[0]=255 (0xFF)
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(286)
  smb_vwv[1]=0 (0x0)
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(286)
  smb_vwv[2]=65535 (0xFFFF)
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(286)
  smb_vwv[3]=2 (0x2)
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(286)
  smb_vwv[4]=26084 (0x65E4)
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(286)
  smb_vwv[5]=1564 (0x61C)
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(286)
  smb_vwv[6]=0 (0x0)
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(286)
  smb_vwv[7]=24 (0x18)
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(286)
  smb_vwv[8]=24 (0x18)
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(286)
  smb_vwv[9]=0 (0x0)
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(286)
  smb_vwv[10]=0 (0x0)
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(286)
  smb_vwv[11]=16 (0x10)
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(286)
  smb_vwv[12]=0 (0x0)
[2003/02/19 22:18:12, 5] lib/util.c:show_msg(291)
  smb_bcc=71
[2003/02/19 22:18:12, 10] lib/util.c:dump_data(1531)
  [000] DB F3 66 89 DF 7C B4 8A  76 91 44 5F 0D 2E C4 9A  ..f..|.. v.D_....
[2003/02/19 22:18:12, 10] lib/util.c:dump_data(1539)
  [010] D1 AE 82 2E 6B F1 37 08  33 A6 FD 5A 31 7A 9E D6  ....k.7. 3..Z1z..
[2003/02/19 22:18:12, 10] lib/util.c:dump_data(1539)
  [020] 10 57 E0 82 15 24 E2 8A  49 2A CB 62 94 1F E0 F8  .W...$.. I*.b....
[2003/02/19 22:18:12, 10] lib/util.c:dump_data(1539)
  [030] 4D 41 44 44 45 4E 4A 00  43 53 4E 00 55 6E 69 78  MADDENJ. CSN.Unix
[2003/02/19 22:18:12, 10] lib/util.c:dump_data(1539)
  [040] 00 53 61 6D 62 61 00                              .Samba. 
[2003/02/19 22:18:12, 3] smbd/process.c:switch_message(685)
  switch message SMBsesssetupX (pid 1564)
[2003/02/19 22:18:12, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/02/19 22:18:12, 5] smbd/uid.c:change_to_root_user(217)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2003/02/19 22:18:12, 3] smbd/reply.c:reply_sesssetup_and_X(858)
  Domain=[CSN]  NativeOS=[Unix] NativeLanMan=[Samba]
[2003/02/19 22:18:12, 3] smbd/reply.c:reply_sesssetup_and_X(868)
  sesssetupX:name=[MADDENJ]
[2003/02/19 22:18:12, 6] param/loadparm.c:lp_file_list_changed(2297)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Tue Feb 18 18:03:28 2003
  
[2003/02/19 22:18:12, 5] passdb/pdb_ldap.c:ldap_open_connection(121)
  ldap_open_connection: starting...
[2003/02/19 22:18:12, 10] passdb/pdb_ldap.c:ldap_open_connection(148)
  Initializing connection to holly.csn.ul.ie on port 389
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:ldap_open_connection(216)
  ldap_open_connection: connection opened
[2003/02/19 22:18:12, 10] passdb/pdb_ldap.c:ldap_connect_system(241)
  ldap_connect_system: Binding to ldap server as "cn=Accounts,dc=skynet,dc=ie"
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:ldap_connect_system(250)
  ldap_connect_system: succesful connection to the LDAP server
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:ldap_search_one_user(262)
  ldap_search_one_user: searching for:[(&(uid=maddenj)(objectclass=sambaAccount))]
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(360)
  get_single_attribute: [uid] = [maddenj]
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:init_sam_from_ldap(495)
  Entry found for user: maddenj
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(360)
  get_single_attribute: [pwdLastSet] = [1044217111]
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(354)
  get_single_attribute: [logonTime] = [<does not exist>]
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(354)
  get_single_attribute: [logoffTime] = [<does not exist>]
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(354)
  get_single_attribute: [kickoffTime] = [<does not exist>]
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(354)
  get_single_attribute: [pwdCanChange] = [<does not exist>]
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(354)
  get_single_attribute: [pwdMustChange] = [<does not exist>]
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(360)
  get_single_attribute: [cn] = [John Madden]
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(354)
  get_single_attribute: [homeDrive] = [<does not exist>]
[2003/02/19 22:18:12, 5] passdb/pdb_ldap.c:init_sam_from_ldap(545)
  homeDrive fell back to 
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(354)
  get_single_attribute: [smbHome] = [<does not exist>]
[2003/02/19 22:18:12, 4] lib/substitute.c:automount_server(177)
  Home server: holly
[2003/02/19 22:18:12, 5] passdb/pdb_ldap.c:init_sam_from_ldap(554)
  smbHome fell back to \\holly\maddenj
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(354)
  get_single_attribute: [scriptPath] = [<does not exist>]
[2003/02/19 22:18:12, 5] passdb/pdb_ldap.c:init_sam_from_ldap(563)
  scriptPath fell back to 
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(354)
  get_single_attribute: [profilePath] = [<does not exist>]
[2003/02/19 22:18:12, 4] lib/substitute.c:automount_server(177)
  Home server: holly
[2003/02/19 22:18:12, 5] passdb/pdb_ldap.c:init_sam_from_ldap(572)
  profilePath fell back to \\holly\maddenj\profile
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(354)
  get_single_attribute: [description] = [<does not exist>]
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(354)
  get_single_attribute: [userWorkstations] = [<does not exist>]
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(360)
  get_single_attribute: [rid] = [6330]
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(354)
  get_single_attribute: [primaryGroupID] = [<does not exist>]
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(360)
  get_single_attribute: [lmPassword] = [3BA6C6933484C65BAAD3B435B51404EE]
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(360)
  get_single_attribute: [ntPassword] = [05910F25FC29706021062CE5C2CB7152]
[2003/02/19 22:18:12, 2] passdb/pdb_ldap.c:get_single_attribute(360)
  get_single_attribute: [acctFlags] = [[U          ]]
[2003/02/19 22:18:12, 4] smbd/password.c:smb_password_ok(475)
  smb_password_ok: Checking SMB password for user maddenj
[2003/02/19 22:18:12, 5] smbd/password.c:smb_password_ok(489)
  smb_password_ok: challenge received
[2003/02/19 22:18:12, 4] smbd/password.c:smb_password_ok(499)
  smb_password_ok: Checking NT MD4 password
[2003/02/19 22:18:12, 4] smbd/password.c:smb_password_ok(501)
  smb_password_ok: NT MD4 password check succeeded
[2003/02/19 22:18:12, 7] param/loadparm.c:lp_servicenumber(3594)
  lp_servicenumber: couldn't find maddenj
[2003/02/19 22:18:12, 3] param/loadparm.c:lp_add_home(1982)
  adding home directory maddenj at /export/home/maddenj
[2003/02/19 22:18:12, 10] smbd/password.c:register_vuid(288)
  register_vuid: (2665,100) maddenj MADDENJ CSN guest=0
[2003/02/19 22:18:12, 10] smbd/password.c:register_vuid(298)
  register_vuid: allocated vuid = 100
[2003/02/19 22:18:12, 3] smbd/sec_ctx.c:push_sec_ctx(297)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2003/02/19 22:18:12, 3] smbd/uid.c:push_conn_ctx(286)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2003/02/19 22:18:12, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2003/02/19 22:18:12, 0] lib/fault.c:fault_report(38)
  ===============================================================
[2003/02/19 22:18:12, 0] lib/fault.c:fault_report(39)
  INTERNAL ERROR: Signal 11 in pid 1564 (2.2.7a)
  Please read the file BUGS.txt in the distribution
[2003/02/19 22:18:12, 0] lib/fault.c:fault_report(41)
  ===============================================================
[2003/02/19 22:18:12, 0] lib/util.c:smb_panic(1094)
  PANIC: internal error
[2003/02/19 22:18:16, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/02/19 22:18:16, 5] smbd/uid.c:change_to_root_user(217)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2003/02/19 22:18:16, 2] smbd/server.c:exit_server(461)
  Closing connections
[2003/02/19 22:18:16, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to 
[2003/02/19 22:18:16, 5] smbd/oplock.c:receive_local_message(108)
  receive_local_message: doing select with timeout of 1 ms
[2003/02/19 22:18:16, 3] smbd/server.c:exit_server(495)
  Server exit (Caught TERM signal)
-------------- next part --------------
root at holly:~# gdb /usr/local/samba/sbin/smbd 7823
GNU gdb 5.0
Copyright 2000 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 "sparc-sun-solaris2.9"...
/root/7823: No such file or directory.
Attaching to program `/usr/local/samba/sbin/smbd', process 7823
Reading symbols from /usr/lib/libsec.so.1...done.
Loaded symbols for /usr/lib/libsec.so.1
Reading symbols from /usr/lib/libgen.so.1...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libldap.so.5...done.
Loaded symbols for /usr/lib/libldap.so.5
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/lib/libmd5.so.1...done.
Loaded symbols for /usr/lib/libmd5.so.1
Reading symbols from /usr/lib/libaio.so.1...done.
Loaded symbols for /usr/lib/libaio.so.1
Reading symbols from /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
Retry #1:
Retry #2:
Retry #3:
Retry #4:
[New LWP 1]
Symbols already loaded for /usr/lib/libsec.so.1
Symbols already loaded for /usr/lib/libgen.so.1
Symbols already loaded for /usr/lib/libsocket.so.1
Symbols already loaded for /usr/lib/libnsl.so.1
Symbols already loaded for /usr/lib/libldap.so.5
Symbols already loaded for /usr/lib/libc.so.1
Symbols already loaded for /usr/lib/libdl.so.1
Symbols already loaded for /usr/lib/libmp.so.2
Symbols already loaded for /usr/lib/librt.so.1
Symbols already loaded for /usr/lib/libmd5.so.1
Symbols already loaded for /usr/lib/libaio.so.1
Symbols already loaded for /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
0xff01ae00 in _poll () from /usr/lib/libc.so.1
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0xfefb2e48 in strlen () from /usr/lib/libc.so.1
(gdb) 

-------------- next part --------------
(gdb) where
#0  0xfefb2e48 in strlen () from /usr/lib/libc.so.1
#1  0xfeda68e0 in ?? ()
#2  0xfede09f4 in ?? ()
#3  0xfedda820 in ?? ()
#4  0xfedda880 in ?? ()
#5  0xfedc8a5c in ?? ()
#6  0xfedc8b6c in ?? ()
#7  0xfee370c0 in ?? ()
#8  0xfee36e70 in ?? ()
#9  0xfee399b4 in ?? ()
#10 0xfefc92a0 in nss_search () from /usr/lib/libc.so.1
#11 0xff015c40 in _getgroupsbymember () from /usr/lib/libc.so.1
#12 0xfefc0da8 in initgroups () from /usr/lib/libc.so.1
#13 0x124668 in winbind_initgroups ()
#14 0x6aec0 in initialise_groups ()
#15 0x37534 in register_vuid ()
#16 0x503ec in reply_sesssetup_and_X ()
#17 0x7341c in switch_message ()
#18 0x734a8 in construct_reply ()
#19 0x73754 in process_smb ()
#20 0x74274 in smbd_process ()
#21 0x31a10 in main ()

-------------- next part --------------
(gdb) disass winbind_initgroups
Dump of assembler code for function winbind_initgroups:
0x124630 <winbind_initgroups>:  save  %sp, -120, %sp
0x124634 <winbind_initgroups+4>:        mov  %i0, %l1
0x124638 <winbind_initgroups+8>:        clr  [ %fp + -20 ]
0x12463c <winbind_initgroups+12>:       call  0x78268 <lp_winbind_separator>
0x124640 <winbind_initgroups+16>:       sethi  %hi(0x197000), %l0
0x124644 <winbind_initgroups+20>:       ldsb  [ %o0 ], %o1
0x124648 <winbind_initgroups+24>:       ld  [ %l0 + 0x3ac ], %o2
0x12464c <winbind_initgroups+28>:       call  %o2
0x124650 <winbind_initgroups+32>:       mov  %l1, %o0
0x124654 <winbind_initgroups+36>:       cmp  %o0, 0
0x124658 <winbind_initgroups+40>:       bne  0x124670 <winbind_initgroups+64>
0x12465c <winbind_initgroups+44>:       mov  %l1, %o0
0x124660 <winbind_initgroups+48>:       call  0x1b18c8 <initgroups>
0x124664 <winbind_initgroups+52>:       mov  %i1, %o1
0x124668 <winbind_initgroups+56>:       b  0x1247b8 <winbind_initgroups+392>
0x12466c <winbind_initgroups+60>:       mov  %o0, %i0
0x124670 <winbind_initgroups+64>:       call  0x1245d4 <wb_getgroups>
0x124674 <winbind_initgroups+68>:       add  %fp, -20, %o1
0x124678 <winbind_initgroups+72>:       mov  %o0, %i0
0x12467c <winbind_initgroups+76>:       sethi  %hi(0x1c5000), %o0
0x124680 <winbind_initgroups+80>:       ld  [ %o0 + 0x58 ], %o0 ! 0x1c5058 <DEBUGLEVEL_CLASS>
0x124684 <winbind_initgroups+84>:       cmp  %o0, 9
0x124688 <winbind_initgroups+88>:       ble  0x1246dc <winbind_initgroups+172>
0x12468c <winbind_initgroups+92>:       mov  0xa, %o0
0x124690 <winbind_initgroups+96>:       sethi  %hi(0x176c00), %o1
0x124694 <winbind_initgroups+100>:      or  %o1, 0x100, %o1     ! 0x176d00 <dos_errs+151688>
0x124698 <winbind_initgroups+104>:      sethi  %hi(0x176c00), %o2
0x12469c <winbind_initgroups+108>:      or  %o2, 0x160, %o2     ! 0x176d60 <dos_errs+151784>
0x1246a0 <winbind_initgroups+112>:      call  0x108500 <dbghdr>
0x1246a4 <winbind_initgroups+116>:      mov  0x12a, %o3
0x1246a8 <winbind_initgroups+120>:      cmp  %o0, 0
0x1246ac <winbind_initgroups+124>:      be  0x1246dc <winbind_initgroups+172>
0x1246b0 <winbind_initgroups+128>:      cmp  %i0, -1
0x1246b4 <winbind_initgroups+132>:      bne  0x1246c8 <winbind_initgroups+152>
0x1246b8 <winbind_initgroups+136>:      sethi  %hi(0x176c00), %o0
0x1246bc <winbind_initgroups+140>:      sethi  %hi(0x176c00), %o0
0x1246c0 <winbind_initgroups+144>:      b  0x1246cc <winbind_initgroups+156>
0x1246c4 <winbind_initgroups+148>:      or  %o0, 0x1a0, %o2     ! 0x176da0 <dos_errs+151848>
0x1246c8 <winbind_initgroups+152>:      or  %o0, 0x1a8, %o2
0x1246cc <winbind_initgroups+156>:      sethi  %hi(0x176c00), %o0
0x1246d0 <winbind_initgroups+160>:      or  %o0, 0x178, %o0     ! 0x176d78 <dos_errs+151808>
0x1246d4 <winbind_initgroups+164>:      call  0x108634 <dbgtext>
0x1246d8 <winbind_initgroups+168>:      mov  %l1, %o1
0x1246dc <winbind_initgroups+172>:      cmp  %i0, -1
0x1246e0 <winbind_initgroups+176>:      be  0x124790 <winbind_initgroups+352>
0x1246e4 <winbind_initgroups+180>:      mov  %i0, %l0
0x1246e8 <winbind_initgroups+184>:      clr  %o2
0x1246ec <winbind_initgroups+188>:      cmp  %o2, %i0
0x1246f0 <winbind_initgroups+192>:      bge  0x124720 <winbind_initgroups+240>
0x1246f4 <winbind_initgroups+196>:      clr  %o1
0x1246f8 <winbind_initgroups+200>:      ld  [ %fp + -20 ], %o3
0x1246fc <winbind_initgroups+204>:      sll  %o1, 2, %o0
0x124700 <winbind_initgroups+208>:      ld  [ %o3 + %o0 ], %o0
0x124704 <winbind_initgroups+212>:      cmp  %o0, %i1
0x124708 <winbind_initgroups+216>:      be,a   0x124710 <winbind_initgroups+224>
0x12470c <winbind_initgroups+220>:      mov  1, %o2
0x124710 <winbind_initgroups+224>:      inc  %o1
0x124714 <winbind_initgroups+228>:      cmp  %o1, %l0
0x124718 <winbind_initgroups+232>:      bl  0x124700 <winbind_initgroups+208>
0x12471c <winbind_initgroups+236>:      sll  %o1, 2, %o0
0x124720 <winbind_initgroups+240>:      cmp  %o2, 0
0x124724 <winbind_initgroups+244>:      bne  0x124768 <winbind_initgroups+312>
0x124728 <winbind_initgroups+248>:      mov  %l0, %o0
0x12472c <winbind_initgroups+252>:      sll  %l0, 2, %o1
0x124730 <winbind_initgroups+256>:      ld  [ %fp + -20 ], %o0
0x124734 <winbind_initgroups+260>:      call  0x11c330 <Realloc>
0x124738 <winbind_initgroups+264>:      inc  %o1
0x12473c <winbind_initgroups+268>:      cmp  %o0, 0
0x124740 <winbind_initgroups+272>:      bne,a   0x124754 <winbind_initgroups+292>
0x124744 <winbind_initgroups+276>:      st  %o0, [ %fp + -20 ]
0x124748 <winbind_initgroups+280>:      sethi  %hi(0x1b1c00), %o1
0x12474c <winbind_initgroups+284>:      b  0x124784 <winbind_initgroups+340>
0x124750 <winbind_initgroups+288>:      mov  0xc, %o0
0x124754 <winbind_initgroups+292>:      mov  %o0, %o1
0x124758 <winbind_initgroups+296>:      sll  %l0, 2, %o0
0x12475c <winbind_initgroups+300>:      st  %i1, [ %o1 + %o0 ]
0x124760 <winbind_initgroups+304>:      inc  %l0
0x124764 <winbind_initgroups+308>:      mov  %l0, %o0
0x124768 <winbind_initgroups+312>:      call  0x10dbf4 <sys_setgroups>
0x12476c <winbind_initgroups+316>:      ld  [ %fp + -20 ], %o1
0x124770 <winbind_initgroups+320>:      cmp  %o0, -1
0x124774 <winbind_initgroups+324>:      bne  0x1247a0 <winbind_initgroups+368>
0x124778 <winbind_initgroups+328>:      ld  [ %fp + -20 ], %o0
0x12477c <winbind_initgroups+332>:      sethi  %hi(0x1b1c00), %o1
0x124780 <winbind_initgroups+336>:      mov  1, %o0
0x124784 <winbind_initgroups+340>:      st  %o0, [ %o1 + 0x360 ]
0x124788 <winbind_initgroups+344>:      b  0x12479c <winbind_initgroups+364>
0x12478c <winbind_initgroups+348>:      mov  -1, %i0
0x124790 <winbind_initgroups+352>:      sethi  %hi(0x1b1c00), %o1
0x124794 <winbind_initgroups+356>:      mov  5, %o0
0x124798 <winbind_initgroups+360>:      st  %o0, [ %o1 + 0x360 ]
0x12479c <winbind_initgroups+364>:      ld  [ %fp + -20 ], %o0
0x1247a0 <winbind_initgroups+368>:      cmp  %o0, 0
0x1247a4 <winbind_initgroups+372>:      be  0x1247b8 <winbind_initgroups+392>
0x1247a8 <winbind_initgroups+376>:      nop 
0x1247ac <winbind_initgroups+380>:      call  0x1b17c0 <free>
0x1247b0 <winbind_initgroups+384>:      nop 
0x1247b4 <winbind_initgroups+388>:      clr  [ %fp + -20 ]
0x1247b8 <winbind_initgroups+392>:      ret 
0x1247bc <winbind_initgroups+396>:      restore 
End of assembler dump.

-------------- next part --------------
dn: uid=maddenj,ou=People,dc=skynet,dc=ie
uid: maddenj
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
objectClass: sambaAccount
shadowMax: 99999
shadowWarning: 7
shadowFlag: 134539996
uidNumber: 2665
gidNumber: 100
homeDirectory: /home/maddenj
cn: John Madden
userPassword:: <<pass removed>>
shadowLastChange: 11920
gecos: John Madden,Plassey Village,,086-3819658
loginShell: /bin/bash
altShell: /etc/rimapd
rid: 6330
lmPassword: <<pass removed>>
ntPassword: <<pass removed>>
acctFlags: [U          ]
pwdLastSet: 1044217111

-------------- next part --------------
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2001/05/08 10:44:56

# Global parameters
[global]
   guest account = nobody
   invalid users = root

   security = user
   netbios name = holly
   workgroup = CSN
   server string = UL Computer Society

# LDAP Stuff
ldap admin dn = "cn=Accounts,dc=skynet,dc=ie"
ldap server = holly.csn.ul.ie
ldap ssl = no
ldap port = 389
ldap suffix = "ou=People,dc=skynet,dc=ie"


# This is just attempting to broadcast to the UL network. Will work on 
# this again at some stage.
#   remote browse sync = 136.201.*.*
#   remote announce = 136.201.255.255
   
# Comment this out if ppl want to map their home dirs from outside ul
   hosts allow = 136.201. 127. 

   syslog only = no
   log level = 10

   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096

   encrypt passwords = yes
#   smb passwd file = /usr/local/samba/private/smbpasswd

   wins support = no

   os level = 200
   domain master = yes
   local master = no
   preferred master = no

   name resolve order = lmhosts host wins bcast 
   
   dns proxy = no
   
   preserve case = yes
   short preserve case = yes

   unix password sync = no

   max log size = 1000


[HOMES]
   comment = Writable home directories
   browseable = no
   writable = yes
   public = no
   guest ok = no
   path = /export/home/%u

[rw_homes]
   comment = Writable home directories
   browseable = no
   writable = yes
   public = no
   guest ok = no
   path = /export/home/%u

[ro_homes]
   comment = Read-Only home directories
   browseable = no
   public = no
   guest ok = no
   path = /export/home/%u


More information about the samba mailing list