[Samba] Can't access shares - still doesn't work

Carl Carpenter ccarpenter at hillcountry.org
Tue Mar 18 19:38:58 GMT 2008


That was it.  Thanks.
 
 

Carl Carpenter
IT Manager
Hill Country Community MHMR Center
(830)258-5414
  

-----Original Message-----
From: Adam Williams [mailto:awilliam at mdah.state.ms.us] 
Sent: Tuesday, March 18, 2008 2:17 PM
To: ccarpenter at hillcountry.org
Cc: samba at lists.samba.org
Subject: Re: [Samba] Can't access shares - still doesn't work


have you tried adding msdfs root = yes in your global section?  i had to do
that on mine

Carl Carpenter wrote: 

I started over and tried again.  Using only the Fedora Core 6 installation

disks went all the way through the process of setting up Samba.  Had

absolutely no problem with accessing the shares.  Ran 'yum update'.  Now I'm

back to being asked for a username and password which it then won't

validate.  Does this narrow it down for anybody?  Is there something in the

Samba updates (or something else) that changes the rules?



Running FC6 and Samba 3.0.24-11.fc6.

Workstation is XP Pro

Authentication is to NT4 domain - PDC is NT4 server.



Carl Carpenter

IT Manager

Hill Country Community MHMR Center

(830)258-5414

 



  

-----Original Message-----

From: 

samba-bounces+ccarpenter=hillcountry.org at lists.samba.org 

[mailto:samba-bounces+ccarpenter=hillcountry.org at lists.samba.o

rg] On Behalf Of Carl Carpenter

Sent: Friday, March 14, 2008 9:46 AM

To: samba at lists.samba.org

Subject: RE: [Samba] Can't access shares - additional information





I realized I forgot to include my smb.conf file:



[root at custer etc]# testparm -s

Load smb config files from /etc/samba/smb.conf

Processing section "[homes]"

Processing section "[printers]"

Processing section "[tmp]"

Processing section "[Intranet]"

Loaded services file OK.

Server role: ROLE_DOMAIN_MEMBER

[global]

        workgroup = HCCMHMRC

        server string = Intranet

        security = DOMAIN

        password server = colnago

        log file = /var/log/samba/%m.log

        max log size = 50

        preferred master = No

        dns proxy = No

        wins server = 192.168.0.7

        default service = Intranet

        cups options = raw



[homes]

        comment = Home Directories

        read only = No



[printers]

        comment = All Printers

        path = //var/spool/samba

        printable = Yes

        browseable = No



[tmp]

        comment = Temporary file space

        path = /tmp

        read only = No

        guest ok = Yes



[Intranet]

        path = /var/www/html

        read only = No

        create mask = 0774

        directory mask = 0775

        guest ok = Yes



I can access the tmp share and the Printer share.  This tells 

me that there is not an issue finding the Samba server.



Permissions on Intranet share (/var/www/html):



[root at custer www]# pwd

/var/www

[root at custer www]# ls -al html

total 16

drwxrwxr-x 2 apache www-data 4096 Sep 18 10:27 .

drwxr-xr-x 8 root   root     4096 Sep 18 10:27 ..



Ccarpenter is a member of www-data.



I cleared out the samba log for my machine.  Then I tried to 

access the Intranet share.  It asked for username and 

password which, of course, failed.  Here's the contents of 

the log after that attempt.



[2008/03/14 09:39:23, 1] smbd/ipc.c:api_fd_reply(290)

  api_fd_reply: INVALID PIPE HANDLE: 72df

[2008/03/14 09:39:35, 1] smbd/service.c:make_connection_snum(950)

  osc00062 (192.168.0.101) connect to service Intranet 

initially as user ccarpenter (uid=501, gid=501) (pid

6070)

[2008/03/14 09:39:37, 1] smbd/service.c:close_cnum(1150)

  osc00062 (192.168.0.101) closed connection to service 

Intranet [2008/03/14 09:39:49, 1] 

smbd/service.c:make_connection_snum(950)

  osc00062 (192.168.0.101) connect to service Intranet 

initially as user ccarpenter (uid=501, gid=501) (pid

6071)

[2008/03/14 09:39:57, 1] smbd/service.c:close_cnum(1150)

  osc00062 (192.168.0.101) closed connection to service 

Intranet [root at custer samba]# tail -40 osc00062.log 

[2008/03/14 09:39:23, 1] smbd/ipc.c:api_fd_reply(290)

  api_fd_reply: INVALID PIPE HANDLE: 72df

[2008/03/14 09:39:35, 1] smbd/service.c:make_connection_snum(950)

  osc00062 (192.168.0.101) connect to service Intranet 

initially as user ccarpenter (uid=501, gid=501) (pid

6070)

[2008/03/14 09:39:37, 1] smbd/service.c:close_cnum(1150)

  osc00062 (192.168.0.101) closed connection to service 

Intranet [2008/03/14 09:39:49, 1] 

smbd/service.c:make_connection_snum(950)

  osc00062 (192.168.0.101) connect to service Intranet 

initially as user ccarpenter (uid=501, gid=501) (pid

6071)

[2008/03/14 09:39:57, 1] smbd/service.c:close_cnum(1150)

  osc00062 (192.168.0.101) closed connection to service Intranet



Then, looking through Webmin at the connections, I see this:



 	6097 	IPC$ 	ccarpenter 	ccarpenter 	

osc00062 	Fri

Mar 14 09:43:38 2008 	None



Which also coincides with the appearance of the Printers 

share which is not visible when I first open Custer through 

Network Neighborhood.



Is this an old problem that I'm supposed to find the answer 

in an obvious place, or has it stumped everyone out there?



Carl Carpenter

IT Manager

Hill Country Community MHMR Center

(830)258-5414

 



    

-----Original Message-----

From:

samba-bounces+ccarpenter=hillcountry.org at lists.samba.org

[mailto:samba-bounces+ccarpenter=hillcountry.org at lists.samba.o

rg] On Behalf Of Carl Carpenter

Sent: Thursday, March 13, 2008 3:10 PM

To: samba at lists.samba.org

Subject: [Samba] Can't access shares





Running FC6 and Samba 3.0.24-11.fc6.

Workstation is XP Pro



Initially, after disabling SELinux and turning off Iptables,

I could access the shares that were set up.  Came in this 

morning ready to start copying files and can't get in.  

Prompts me for a username and password which is rejected.  I 

know it's not my workstation because I have another FC6/Samba 

server running and have no problem getting to it.  Here's 

what else I know:



1.  Samba log for my machine shows no errors.  In fact, shows

me as connected.  



2.  Viewing connections to Samba through Webmin shows me as 

      

connected.

    

3.  Testing from the console connects me.



smbclient //Custer/ccarpenter -U ccarpenter

Password:

Domain=[HCCMHMRC] OS=[Unix] Server=[Samba 3.0.24-11.fc6]

smb: \>



4.  From the DOS prompt on my workstation, I can ping the

Samba server by name.  When I do a net view \\Custer it shows 

the shares.  When I do net use

m: \\Custer\Intranet it prompts me for a username and 

password and then fails.



I have added user=ccarpenter to the share--no effect.  As far

as I know, I didn't make any changes to Samba after I got 

      

it working. 

    

It's probably something simple, but what am I missing?



Carl Carpenter

IT Manager

Hill Country Community MHMR Center

(830)258-5414

 



--

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

    



  





More information about the samba mailing list