[Samba] Samba Core dump when using AD groups on the Linux File System??

Mostro Mostro mostro713 at gmail.com
Sat Mar 10 15:36:31 GMT 2007


Hi all,

smbd -V:   Version 3.0.23d-19.2-1179-SUSE-SL10.2

I'm seeing a core dump in /var/log/messages when trying to access the
security tab from Windows when I have Active Directory users and groups
assigned to the Linux file system.

I can replicate this each time by doing the following.

Change the permissions on the Linux directory I have specified as a share in
smb.conf.

ls -ltr /dir/
drwxrwxrwx  2 root                  users                     4096
2007-03-10 09:17 shared

With these setting I can access the security tab from Windows without seeing
any errors in the messages log.

Permissions from the security tab show up as:

Everyone
root (Unix User\root)
users (Unix Group\users)

Now, I change permissions on the file system to:

 chown -R "DOMAIN\administrator" shared/ && chgrp -R "DOMAIN\domain users"
shared/

ls -ltr /dir/
drwxrwxrwx  2 DOMAIN\administrator DOMAIN\domain users  4096 2007-03-10
09:17 shared

Next, go back to access the security tab on the share while tailing the
messages log. I receive this:

The log below doesn't get created until I click on the security tab.

[2007/03/10 10
  ===============================================================
 [2007/03/10 10
  INTERNAL ERROR
  Please read the Trouble-Shooting section of the Samba3-HOWTO
 [2007/03/10 10

  From
 [2007/03/10 10
  ===============================================================
 [2007/03/10 10
  PANIC (pid 13523)
 [2007/03/10 10
  BACKTRACE
   #0 /usr/sbin/smbd(log_stack_trace+0x2d) [0x8021661d]
   #1 /usr/sbin/smbd(smb_panic+0x5d) [0x8021674d]
   #2 /usr/sbin/smbd [0x8020250a]
   #3 [0xb7f9a420]
   #4 /lib/libc.so.6(abort+0x101) [0xb7af8801]
   #5 /usr/sbin/smbd [0x8021c9f6]
   #6 /usr/sbin/smbd(talloc_steal+0x3a) [0x8021cbca]
   #7 /usr/sbin/smbd(lookup_sids+0x3aa) [0x801d3bca]
   #8 /usr/sbin/smbd [0x80106dc1]
   #9 /usr/sbin/smbd(_lsa_lookup_sids2+0x12d) [0x8010741d]
   #10 /usr/sbin/smbd [0x80103621]
   #11 /usr/sbin/smbd(api_rpcTNP+0x198) [0x80160ae8]
   #12 /usr/sbin/smbd(api_pipe_request+0x19e) [0x8016113e]
   #13 /usr/sbin/smbd [0x8015cbcf]
   #14 /usr/sbin/smbd [0x8015d10c]
   #15 /usr/sbin/smbd(write_to_pipe+0x6e) [0x8015b93e]
   #16 /usr/sbin/smbd [0x8005ee81]
   #17 /usr/sbin/smbd [0x8005f3b6]
   #18 /usr/sbin/smbd(reply_trans+0x5e0) [0x8005fcc0]
   #19 /usr/sbin/smbd [0x800b3d40]
   #20 /usr/sbin/smbd(smbd_process+0x78b) [0x800b4e3b]
   #21 /usr/sbin/smbd(main+0xbd0) [0x802bebf0]
   #22 /lib/libc.so.6(__libc_start_main+0xdc) [0xb7ae3f9c]
   #23 /usr/sbin/smbd [0x80042d91]
 [2007/03/10 10
  unable to change to /var/log/samba/cores/smbdrefusing to dump core
 [2007/03/10 10
  ===============================================================
 [2007/03/10 10
  INTERNAL ERROR
  Please read the Trouble-Shooting section of the Samba3-HOWTO
 [2007/03/10 10

  From
 [2007/03/10 10
  ===============================================================
 [2007/03/10 10
  PANIC (pid 13524)
 [2007/03/10 10
  BACKTRACE
   #0 /usr/sbin/smbd(log_stack_trace+0x2d) [0x8021661d]
   #1 /usr/sbin/smbd(smb_panic+0x5d) [0x8021674d]
   #2 /usr/sbin/smbd [0x8020250a]
   #3 [0xb7f9a420]
   #4 /lib/libc.so.6(abort+0x101) [0xb7af8801]
   #5 /usr/sbin/smbd [0x8021c9f6]
   #6 /usr/sbin/smbd(talloc_steal+0x3a) [0x8021cbca]
   #7 /usr/sbin/smbd(lookup_sids+0x3aa) [0x801d3bca]
   #8 /usr/sbin/smbd [0x80106dc1]
   #9 /usr/sbin/smbd(_lsa_lookup_sids2+0x12d) [0x8010741d]
   #10 /usr/sbin/smbd [0x80103621]
   #11 /usr/sbin/smbd(api_rpcTNP+0x198) [0x80160ae8]
   #12 /usr/sbin/smbd(api_pipe_request+0x19e) [0x8016113e]
   #13 /usr/sbin/smbd [0x8015cbcf]
   #14 /usr/sbin/smbd [0x8015d10c]
   #15 /usr/sbin/smbd(write_to_pipe+0x6e) [0x8015b93e]
   #16 /usr/sbin/smbd [0x8005ee81]
   #17 /usr/sbin/smbd [0x8005f3b6]
   #18 /usr/sbin/smbd(reply_trans+0x5e0) [0x8005fcc0]
   #19 /usr/sbin/smbd [0x800b3d40]
   #20 /usr/sbin/smbd(smbd_process+0x78b) [0x800b4e3b]
   #21 /usr/sbin/smbd(main+0xbd0) [0x802bebf0]
   #22 /lib/libc.so.6(__libc_start_main+0xdc) [0xb7ae3f9c]
   #23 /usr/sbin/smbd [0x80042d91]
 [2007/03/10 10
  unable to change to /var/log/samba/cores/smbdrefusing to dump core

P.S. I'm really new to SAMBA as a domain member server and I don't want to
waste anyone's time with useless information. So, if there is more
information or further debugging needed before I post let me know...

Thanks in advance...


More information about the samba mailing list