Re: [CentOS] Unable to share directory via Samba?

2009-12-10 Thread James Bensley
Thanks for all the input everyone, Basically I trashed the smb.conf and the folder I wanted to share, restarted the machine, re-wrote the smb.conf (again) and re-made the directory and set permissions etc, restarted the machine and all is well! Thanks all for your input it has helped me write

Re: [CentOS] Unable to share directory via Samba?

2009-12-02 Thread JS
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of James Bensley Sent: Tuesday, December 01, 2009 4:39 AM To: CentOS mailing list Subject: Re: [CentOS] Unable to share directory via Samba? This is the repeating entry from my

[CentOS] Unable to share directory via Samba?

2009-12-01 Thread James Bensley
So I went to System Administration Server Settings Samba and added a folder to share and initially set it to guest access to get things going. I couldn't access this one and only share on this server with guest access from either my Windows laptop (XP Pro SP3) or a Leopard server (10.5.8) so

Re: [CentOS] Unable to share directory via Samba?

2009-12-01 Thread Per Qvindesland
Hi What does testparm give you? Regards Per At Tuesday, 01-12-2009 on 10:05 James Bensley wrote: So I went to System Administration Server Settings Samba and added a folder to share and initially set it to guest access to get things going. I couldn't access this one and only share on this

Re: [CentOS] Unable to share directory via Samba?

2009-12-01 Thread Eero Volotinen
Quoting James Bensley jwbens...@gmail.com: So I went to System Administration Server Settings Samba and added a folder to share and initially set it to guest access to get things going. I couldn't access this one and only share on this server with guest access from either my Windows

Re: [CentOS] Unable to share directory via Samba?

2009-12-01 Thread James Bensley
The server is called Mars with one user, Mars! [m...@mars ~]$ testparm Load smb config files from /etc/samba/smb.conf Processing section [homes] Processing section [printers] Processing section [hestia] Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your

Re: [CentOS] Unable to share directory via Samba?

2009-12-01 Thread James Bensley
This is the repeating entry from my smbd.log from every time I try to mount the share via samba; [2009/12/01 09:32:59, 0] lib/util_sock.c:get_peer_addr(1224) getpeername failed. Error was Transport endpoint is not connected I had read online that this can be caused by samba not making its mind

Re: [CentOS] Unable to share directory via Samba?

2009-12-01 Thread James Bensley
Hmm some progress has been made. I removed the smb.conf file and wrote a new one manually but for some reason it only wants to let me connect as Guest and not a real user with some privileges? [global] workgroup = my group server string = Mars netbios name = Mars security = SHARE load printers

Re: [CentOS] Unable to share directory via Samba?

2009-12-01 Thread Benjamin Donnachie
2009/12/1 James Bensley jwbens...@gmail.com: I removed the smb.conf file and wrote a new  one manually but  for some reason it only wants to let me connect as Guest and not a real user with some privileges? Have you got SELinux enabled? Ben ___

Re: [CentOS] Unable to share directory via Samba?

2009-12-01 Thread James Bensley
No I haven't but thanks for having a guess xD -- Regards, James ;) Ogden Nash - The trouble with a kitten is that when it grows up, it's always a cat. - http://www.brainyquote.com/quotes/authors/o/ogden_nash.html ___ CentOS mailing list

Re: [CentOS] Unable to share directory via Samba?

2009-12-01 Thread Benjamin Donnachie
2009/12/1 James Bensley jwbens...@gmail.com: No I haven't but thanks for having a guess xD Worth a shot! :-) I've wasted far too much time in the past on a new samba server only to realise I'd forgotten to disable SELinux. What permissions do you have set on /home/mars? Ben

Re: [CentOS] Unable to share directory via Samba?

2009-12-01 Thread Eero Volotinen
Quoting James Bensley jwbens...@gmail.com: Hmm some progress has been made. I removed the smb.conf file and wrote a new one manually but for some reason it only wants to let me connect as Guest and not a real user with some privileges? try with log level = X (Sets the amount of log/debug

Re: [CentOS] Unable to share directory via Samba?

2009-12-01 Thread Benjamin Donnachie
2009/12/1 James Bensley jwbens...@gmail.com: I removed the smb.conf file and wrote a new  one manually but  for some reason it only wants to let me connect as Guest and not a real user with some privileges? Okay... had a closer look and suggests that your users are not authenticating properly.