RE: [Samba] Path issues in share name
You are 100% correct on this. After banging my head against the wall for a couple of hours I thought of SELinux also and disabled it. After that it worked with no errors. I'm still surprised that people haven't run across that error more. Google didn't return anything intelligent at all, guess I'll put it on my blog to help others. Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Johnson Sent: Saturday, November 12, 2005 11:56 AM To: Gerald (Jerry) Carter Cc: samba@lists.samba.org Subject: Re: [Samba] Path issues in share name I did check the permissions of the directory and everything looks good. [EMAIL PROTECTED] home]# ls -l total 413528 drwxr-xr-x 2 baj baj 4096 Nov 12 10:35 baj drwxrwxrwx 4 root root 4096 Nov 12 11:35 samba It also isn't mounting my home dir on the windows xp machine, same error as before with the obvious changes in the error message, and those permissions look good too. I'll mention that I didn't make any changes to the home dir section of the config file. I did a ps of the smb process and it still looks like it runs as root, does it spawn children that run as some other user that could be causing this problem??? On Sat, 2005-11-12 at 10:45 -0600, Gerald (Jerry) Carter wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Barry Johnson wrote: > | I'm trying to setup samba 3 on FC4 to act a PDC and file server. I > | created the smb.conf file like I always have in the past but I keep > | getting this error. > | > | /home/samba/netlogon' does not exist or is not a directory, when > | connecting to [netlogon] > | > | with relevant section from smb.conf [netlogon] > |comment = Network Logon Service > |path = /home/samba/netlogon > |guest ok = yes > |writable = no > |share modes = no > | > | and for sanity sake > | [EMAIL PROTECTED] samba]# ls -l > | total 16 > | drwxr-xr-x 2 root root 4096 Nov 19 2002 netlogon > | drwxrwxr-x 6 root root 4096 Aug 30 2004 profiles > | [EMAIL PROTECTED] samba]# pwd > | /home/samba > > > Barry, > > Check permissions on /home/samba > > > > > > cheers, jerry > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.0 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFDdhwVIR7qMdg1EfYRAs3oAJ9pb7Ie8tS2jOlXUBHWXQDxAC7/8gCeP+0C > EtfLNMLC7DKsA6+d6WTVHLI= > =P6jU > -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Path issues in share name
On Sat, Nov 12, 2005 at 11:55:51AM -0500, Barry Johnson wrote: > I did check the permissions of the directory and everything looks good. > > [EMAIL PROTECTED] home]# ls -l > total 413528 > drwxr-xr-x 2 baj baj 4096 Nov 12 10:35 baj > drwxrwxrwx 4 root root 4096 Nov 12 11:35 samba > > It also isn't mounting my home dir on the windows xp machine, same error > as before with the obvious changes in the error message, and those > permissions look good too. I'll mention that I didn't make any changes > to the home dir section of the config file. > > I did a ps of the smb process and it still looks like it runs as root, > does it spawn children that run as some other user that could be causing > this problem??? You probably have SELinux enabled, and didn't adjust the Samba policy to allow access to that directory. The easy workaround is to disable SELinux or put it in permissive mode. The correct solution is to change the policy and/or the security context for /home/samba. Please submit a bug report at bugzilla.redhat.com against the selinux-policy-targeted component. Unfortunatly, it's impossible to create a SELinux policy for Samba that will work for all configurations out of the box, because the configuration for Samba is so site-specific. -- JF -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Path issues in share name
I did check the permissions of the directory and everything looks good. [EMAIL PROTECTED] home]# ls -l total 413528 drwxr-xr-x 2 baj baj 4096 Nov 12 10:35 baj drwxrwxrwx 4 root root 4096 Nov 12 11:35 samba It also isn't mounting my home dir on the windows xp machine, same error as before with the obvious changes in the error message, and those permissions look good too. I'll mention that I didn't make any changes to the home dir section of the config file. I did a ps of the smb process and it still looks like it runs as root, does it spawn children that run as some other user that could be causing this problem??? On Sat, 2005-11-12 at 10:45 -0600, Gerald (Jerry) Carter wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Barry Johnson wrote: > | I'm trying to setup samba 3 on FC4 to act a PDC and file server. I > | created the smb.conf file like I always have in the past but I keep > | getting this error. > | > | /home/samba/netlogon' does not exist or is not a directory, when > | connecting to [netlogon] > | > | with relevant section from smb.conf [netlogon] > |comment = Network Logon Service > |path = /home/samba/netlogon > |guest ok = yes > |writable = no > |share modes = no > | > | and for sanity sake > | [EMAIL PROTECTED] samba]# ls -l > | total 16 > | drwxr-xr-x 2 root root 4096 Nov 19 2002 netlogon > | drwxrwxr-x 6 root root 4096 Aug 30 2004 profiles > | [EMAIL PROTECTED] samba]# pwd > | /home/samba > > > Barry, > > Check permissions on /home/samba > > > > > > cheers, jerry > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.0 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFDdhwVIR7qMdg1EfYRAs3oAJ9pb7Ie8tS2jOlXUBHWXQDxAC7/8gCeP+0C > EtfLNMLC7DKsA6+d6WTVHLI= > =P6jU > -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Path issues in share name
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry Johnson wrote: | I'm trying to setup samba 3 on FC4 to act a PDC and file server. I | created the smb.conf file like I always have in the past but I keep | getting this error. | | /home/samba/netlogon' does not exist or is not a directory, when | connecting to [netlogon] | | with relevant section from smb.conf [netlogon] |comment = Network Logon Service |path = /home/samba/netlogon |guest ok = yes |writable = no |share modes = no | | and for sanity sake | [EMAIL PROTECTED] samba]# ls -l | total 16 | drwxr-xr-x 2 root root 4096 Nov 19 2002 netlogon | drwxrwxr-x 6 root root 4096 Aug 30 2004 profiles | [EMAIL PROTECTED] samba]# pwd | /home/samba Barry, Check permissions on /home/samba cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDdhwVIR7qMdg1EfYRAs3oAJ9pb7Ie8tS2jOlXUBHWXQDxAC7/8gCeP+0C EtfLNMLC7DKsA6+d6WTVHLI= =P6jU -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Path issues in share name
I'm trying to setup samba 3 on FC4 to act a PDC and file server. I created the smb.conf file like I always have in the past but I keep getting this error. /home/samba/netlogon' does not exist or is not a directory, when connecting to [netlogon] with relevant section from smb.conf [netlogon] comment = Network Logon Service path = /home/samba/netlogon guest ok = yes writable = no share modes = no and for sanity sake [EMAIL PROTECTED] samba]# ls -l total 16 drwxr-xr-x 2 root root 4096 Nov 19 2002 netlogon drwxrwxr-x 6 root root 4096 Aug 30 2004 profiles [EMAIL PROTECTED] samba]# pwd /home/samba Any help possible is appreciated... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba