thomas.broman@teliasonera.com
2006-Apr-26 13:35 UTC
[Samba] Problems connecten a pc to samba om fedora server
Hello, I have problems to connect my pc to my samba server. I can log in to the server and I can se some folders but i can't access them. The error message i recive in the log file looks like this: [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(250) [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(251) se_access_check: user sid is S-1-5-21-2872186745-2418432764-454733278-501 se_access_check: also S-1-5-21-2872186745-2418432764-454733278-514 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-32-546 se_access_check: also S-1-5-21-2872186745-2418432764-454733278-2001 [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(250) [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(251) se_access_check: user sid is S-1-5-21-2872186745-2418432764-454733278-501 se_access_check: also S-1-5-21-2872186745-2418432764-454733278-514 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-32-546 se_access_check: also S-1-5-21-2872186745-2418432764-454733278-2001 [2006/04/26 15:20:22, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 500) - sec_ctx_stack_ndx = 0 [2006/04/26 15:20:22, 0] smbd/service.c:make_connection_snum(663) '/home/thbr00' does not exist or permission denied when connecting to [thbr00] Error was Permission denied [2006/04/26 15:20:22, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/04/26 15:20:22, 3] smbd/connection.c:yield_connection(69) Yielding connection to thbr00 [2006/04/26 15:20:22, 3] smbd/error.c:error_packet(146) error packet at smbd/reply.c(668) cmd=117 (SMBtconX) NT_STATUS_BAD_NETWORK_NAME [2006/04/26 15:20:31, 3] smbd/process.c:process_smb(1194) Does someone have a clue what the problem is? /Thomas
Aravinda Guzzar
2006-Apr-26 14:19 UTC
[Samba] Problems connecten a pc to samba om fedora server
Hi, I think the problem might be that the shares doesn't exist or the connected user doesn't have the READ permission on them. Pls see below the log message: '/home/thbr00' does not exist or permission denied when connecting to [thbr00] Error was Permission denied Also if you want more information run the smbd in interactive mode as below with debug on in interactive mode. This will give you more information. smbd -d10 -i HTH Aravinda On 4/26/06, thomas.broman@teliasonera.com <thomas.broman@teliasonera.com> wrote:> > Hello, > > I have problems to connect my pc to my samba server. I can log in to the > server and I can se some folders but i can't access them. > The error message i recive in the log file looks like this: > > [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(250) > [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(251) > se_access_check: user sid is > S-1-5-21-2872186745-2418432764-454733278-501 > se_access_check: also S-1-5-21-2872186745-2418432764-454733278-514 > se_access_check: also S-1-1-0 > se_access_check: also S-1-5-2 > se_access_check: also S-1-5-32-546 > se_access_check: also S-1-5-21-2872186745-2418432764-454733278-2001 > [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(250) > [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(251) > se_access_check: user sid is > S-1-5-21-2872186745-2418432764-454733278-501 > se_access_check: also S-1-5-21-2872186745-2418432764-454733278-514 > se_access_check: also S-1-1-0 > se_access_check: also S-1-5-2 > se_access_check: also S-1-5-32-546 > se_access_check: also S-1-5-21-2872186745-2418432764-454733278-2001 > [2006/04/26 15:20:22, 3] smbd/sec_ctx.c:set_sec_ctx(288) > setting sec ctx (0, 500) - sec_ctx_stack_ndx = 0 > [2006/04/26 15:20:22, 0] smbd/service.c:make_connection_snum(663) > '/home/thbr00' does not exist or permission denied when connecting to > [thbr00] Error was Permission denied > [2006/04/26 15:20:22, 3] smbd/sec_ctx.c:set_sec_ctx(288) > setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 > [2006/04/26 15:20:22, 3] smbd/connection.c:yield_connection(69) > Yielding connection to thbr00 > [2006/04/26 15:20:22, 3] smbd/error.c:error_packet(146) > error packet at smbd/reply.c(668) cmd=117 (SMBtconX) > NT_STATUS_BAD_NETWORK_NAME > [2006/04/26 15:20:31, 3] smbd/process.c:process_smb(1194) > > Does someone have a clue what the problem is? > > /Thomas > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >
thomas.broman@teliasonera.com
2006-Apr-26 14:22 UTC
[Samba] Problems connecten a pc to samba om fedora server
Hi, I have already checked that. The path exists and all users has read,write,execute permission. /Thomas B ________________________________ From: Aravinda Guzzar [mailto:aguzzar@gmail.com] Sent: den 26 april 2006 16:18 To: samba@lists.samba.org Cc: Broman, Thomas T. Subject: Re: [Samba] Problems connecten a pc to samba om fedora server Hi, I think the problem might be that the shares doesn't exist or the connected user doesn't have the READ permission on them. Pls see below the log message: '/home/thbr00' does not exist or permission denied when connecting to [thbr00] Error was Permission denied Also if you want more information run the smbd in interactive mode as below with debug on in interactive mode. This will give you more information. smbd -d10 -i HTH Aravinda On 4/26/06, thomas.broman@teliasonera.com <thomas.broman@teliasonera.com> wrote:Hello, I have problems to connect my pc to my samba server. I can log in to the server and I can se some folders but i can't access them. The error message i recive in the log file looks like this: [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(250) [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(251) se_access_check: user sid is S-1-5-21-2872186745-2418432764-454733278-501 se_access_check: also S-1-5-21-2872186745-2418432764-454733278-514 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-32-546 se_access_check: also S-1-5-21-2872186745-2418432764-454733278-2001 [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(250) [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(251) se_access_check: user sid is S-1-5-21-2872186745-2418432764-454733278-501 se_access_check: also S-1-5-21-2872186745-2418432764-454733278-514 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-32-546 se_access_check: also S-1-5-21-2872186745-2418432764-454733278-2001 [2006/04/26 15:20:22, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 500) - sec_ctx_stack_ndx = 0 [2006/04/26 15:20:22, 0] smbd/service.c:make_connection_snum(663) '/home/thbr00' does not exist or permission denied when connecting to [thbr00] Error was Permission denied [2006/04/26 15:20:22, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/04/26 15:20:22, 3] smbd/connection.c:yield_connection(69) Yielding connection to thbr00 [2006/04/26 15:20:22, 3] smbd/error.c:error_packet(146) error packet at smbd/reply.c(668) cmd=117 (SMBtconX) NT_STATUS_BAD_NETWORK_NAME [2006/04/26 15:20:31, 3] smbd/process.c:process_smb(1194) Does someone have a clue what the problem is? /Thomas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
thomas.broman@teliasonera.com
2006-Apr-26 14:59 UTC
[Samba] Problems connecten a pc to samba om fedora server
Hi again, Thnaks for your help. I have found that it is something wrong with the startscript for samba.( /etc/init.d/smb) Because when i started the smbd manually it seems to work fine. Thanks again, Thomas From: Aravinda Guzzar [mailto:aguzzar@gmail.com] Sent: den 26 april 2006 16:45 To: Broman, Thomas T. Cc: samba@lists.samba.org Subject: Re: [Samba] Problems connecten a pc to samba om fedora server Hi, the problem or error message shows up when the below if condition fails>>>>if (stat(conn->connectpath, &st) != 0 || !S_ISDIR(st.st_mode))so this must be either "stat" call failing or the directory doesn't exist. -Aravinda On 4/26/06, thomas.broman@teliasonera.com <thomas.broman@teliasonera.com> wrote:Hi, I have already checked that. The path exists and all users has read,write,execute permission. /Thomas B ________________________________ From: Aravinda Guzzar [mailto:aguzzar@gmail.com] Sent: den 26 april 2006 16:18 To: samba@lists.samba.org Cc: Broman, Thomas T. Subject: Re: [Samba] Problems connecten a pc to samba om fedora server Hi, I think the problem might be that the shares doesn't exist or the connected user doesn't have the READ permission on them. Pls see below the log message: '/home/thbr00' does not exist or permission denied when connecting to [thbr00] Error was Permission denied Also if you want more information run the smbd in interactive mode as below with debug on in interactive mode. This will give you more information. smbd -d10 -i HTH Aravinda On 4/26/06, thomas.broman@teliasonera.com <thomas.broman@teliasonera.com > wrote: Hello, I have problems to connect my pc to my samba server. I can log in to the server and I can se some folders but i can't access them. The error message i recive in the log file looks like this: [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(250) [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(251) se_access_check: user sid is S-1-5-21-2872186745-2418432764-454733278-501 se_access_check: also S-1-5-21-2872186745-2418432764-454733278-514 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-32-546 se_access_check: also S-1-5-21-2872186745-2418432764-454733278-2001 [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(250) [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(251) se_access_check: user sid is S-1-5-21-2872186745-2418432764-454733278-501 se_access_check: also S-1-5-21-2872186745-2418432764-454733278-514 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-32-546 se_access_check: also S-1-5-21-2872186745-2418432764-454733278-2001 [2006/04/26 15:20:22, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 500) - sec_ctx_stack_ndx = 0 [2006/04/26 15:20:22, 0] smbd/service.c:make_connection_snum(663) '/home/thbr00' does not exist or permission denied when connecting to [thbr00] Error was Permission denied [2006/04/26 15:20:22, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/04/26 15:20:22, 3] smbd/connection.c:yield_connection(69) Yielding connection to thbr00 [2006/04/26 15:20:22, 3] smbd/error.c:error_packet(146) error packet at smbd/reply.c(668) cmd=117 (SMBtconX) NT_STATUS_BAD_NETWORK_NAME [2006/04/26 15:20:31, 3] smbd/process.c:process_smb(1194) Does someone have a clue what the problem is? /Thomas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- Aravinda (Views expressed here are my personal opinion ONLY)