Usually this is a matter of filesystem permissions being wrong.
Can (for example) a sales person access the sales share when logged into the server's console?

TB

Leonardo Carneiro wrote:
i still have this problem i have not found any solution. sorry for the 'up' on the topic, but i'm really in trouble with this situation. any idea anyone?

Leonardo Carneiro escreveu:
after many tries and upgrading my samba to 3.2.5, the sharing is working... kind of. now everyone can access their exclusive folders on the server, also can acess the public folder (anyone can access this folder without authentication). when people try to access folders that they should not access (like a IT guy accessing the Sales folder), the server also forbid the access. But when someone try to access their group folder (like the Sales guy accessing the Sales folder), windows show a error message, telling me the folder is no accessible.

any help is welcome.

tks in advance.

Leonardo Carneiro escreveu:
Hi fellows. I'm new to the list and hope I'll have a nice time here.

one of my servers running samba+ldap is not working properly.

the setup is:

Debian 5

   fileserver:/etc/samba#smbd --version
   Version 3.0.24
   fileserver:/etc/samba# slapd -V
   @(#) $OpenLDAP: slapd 2.3.30 (Oct  5 2008 22:08:58) $
j...@galadriel:/home/jmm/ldap/openldap2.3-2.3.30/debian/build/servers/slapd


After a samba upgrade via apt-get, the user could not access their shared folders anymore.

Looking at the logs i'd saw some strage things:

smbd.log:

     ===============================================================
   [2009/05/19 08:45:59, 0] lib/fault.c:fault_report(42)
     INTERNAL ERROR: Signal 11 in pid 6550 (3.0.24)
     Please read the Trouble-Shooting section of the Samba3-HOWTO
   [2009/05/19 08:45:59, 0] lib/fault.c:fault_report(44)
         From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
   [2009/05/19 08:45:59, 0] lib/fault.c:fault_report(45)
     ===============================================================
   [2009/05/19 08:45:59, 0] lib/util.c:smb_panic(1599)
     PANIC (pid 6550): internal error
   [2009/05/19 08:45:59, 0] lib/util.c:log_stack_trace(1706)
     BACKTRACE: 15 stack frames:
      #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822c3d3]
      #1 /usr/sbin/smbd(smb_panic+0x46) [0x822c4c6]
      #2 /usr/sbin/smbd [0x821a69a]
      #3 [0xb7eff420]
      #4 /usr/lib/liblber-2.4.so.2(ber_memfree_x+0x50) [0xb76ac300]
      #5 /usr/lib/libldap_r-2.4.so.2 [0xb76dc274]
      #6 /usr/lib/libldap_r-2.4.so.2 [0xb76bc6d8]
      #7 /usr/lib/libldap_r-2.4.so.2 [0xb76eb950]
      #8 /lib/ld-linux.so.2 [0xb7f0e453]
      #9 /lib/i686/cmov/libc.so.6(exit+0x89) [0xb7b23ab9]
      #10 /usr/sbin/smbd [0x82c23bc]
      #11 /usr/sbin/smbd [0x82c23e0]
      #12 /usr/sbin/smbd(main+0x10f0) [0x82c3860]
      #13 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7b0b455]
      #14 /usr/sbin/smbd [0x8082b11]
   [2009/05/19 08:45:59, 0] lib/fault.c:dump_core(173)
     dumping core in /var/log/samba/cores/smbd
   [2009/05/19 08:45:59, 0] lib/fault.c:fault_report(41)
     ===============================================================
   [2009/05/19 08:45:59, 0] lib/fault.c:fault_report(42)
     INTERNAL ERROR: Signal 11 in pid 6556 (3.0.24)
     Please read the Trouble-Shooting section of the Samba3-HOWTO
   [2009/05/19 08:45:59, 0] lib/fault.c:fault_report(44)
         From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
   [2009/05/19 08:45:59, 0] lib/fault.c:fault_report(45)
     ===============================================================
   [2009/05/19 08:45:59, 0] lib/util.c:smb_panic(1599)
     PANIC (pid 6556): internal error
   [2009/05/19 08:45:59, 0] lib/util.c:log_stack_trace(1706)
     BACKTRACE: 16 stack frames:
      #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822c3d3]
      #1 /usr/sbin/smbd(smb_panic+0x46) [0x822c4c6]
      #2 /usr/sbin/smbd [0x821a69a]
      #3 [0xb7eff420]
      #4 /usr/lib/liblber-2.4.so.2(ber_memfree_x+0x50) [0xb76ac300]
      #5 /usr/lib/libldap_r-2.4.so.2 [0xb76dc274]
      #6 /usr/lib/libldap_r-2.4.so.2 [0xb76bc6d8]
      #7 /usr/lib/libldap_r-2.4.so.2 [0xb76eb950]
      #8 /lib/ld-linux.so.2 [0xb7f0e453]
      #9 /lib/i686/cmov/libc.so.6(exit+0x89) [0xb7b23ab9]
      #10 /usr/sbin/smbd [0x82c23bc]
      #11 /usr/sbin/smbd [0x82c23e0]
      #12 /usr/sbin/smbd(start_background_queue+0x25c) [0x824893c]
      #13 /usr/sbin/smbd(main+0x1344) [0x82c3ab4]
      #14 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7b0b455]
      #15 /usr/sbin/smbd [0x8082b11]
   [2009/05/19 08:45:59, 0] lib/fault.c:dump_core(173)
     dumping core in /var/log/samba/cores/smbd

and the 'net getlocalsid' returns me the following:

   fileserver:/var/log/samba# net getlocalsid
   [2009/05/19 09:25:19, 0]
   lib/smbldap_util.c:smbldap_search_domain_info(267)
     smbldap_search_domain_info: Got too many (2) domain info entries
   for domain DOMINIO
   SID for domain DOMINIO is: S-1-5-21-874179082-3571801642-3889913597

Other tests also returns me the smb_ldap_search_domain_info error, but my ldap only one sambaDomain and sambaDomainName entries. Other apps using ldap like squid are working fine. I've searched the web and the list looking for a solution, but haven't found =/

I do apreciate any help. Sorry about my poor english.

Tks in advance.





**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to