Help!

[Samba] windows 7 cannot connect

 
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Samba RSS
Next:  [Samba] Samba sharing authentication  
Author Message
Marc Fromm
External


Since: May 27, 2009
Posts: 4



PostPosted: Wed Aug 10, 2011 12:50 am    Post subject: [Samba] windows 7 cannot connect
Archived from groups: linux>samba (more info?)

I just set up my first windows 7 desktop. When I try to map a drive to the red hat linux samba share it complains that the "server cannot perform the requested operation." Windows XP machines work with no problem.

The linux samba information:
[root@finaid45 samba]$ rpm -qa | grep smb
pam_smb-1.1.7-7.2.1
libsmbclient-3.0.33-3.29.el5_6.2
gnome-vfs2-smb-2.16.2-8.el5

[root@finaid45 samba]$ rpm -qa | grep samba
samba-client-3.0.33-3.29.el5_6.2
samba-common-3.0.33-3.29.el5_6.2
samba-3.0.33-3.29.el5_6.2
system-config-samba-1.2.41-5.el5


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Gregory Carter
External


Since: Aug 09, 2011
Posts: 4



PostPosted: Wed Aug 10, 2011 1:10 am    Post subject: Re: [Samba] windows 7 cannot connect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 08/09/2011 01:42 PM, Marc Fromm wrote:
> I just set up my first windows 7 desktop.
My condolences.

> When I try to map a drive to the red hat linux samba share it complains that the "server cannot perform the requested operation." Windows XP machines work with no problem.
First, I would remove all security contexts from the Windows 7
workstation. Turn the firewall off. Turn off your virus
software/security software.

Try again.
> The linux samba information:
> [root@finaid45 samba]$ rpm -qa | grep smb
> pam_smb-1.1.7-7.2.1
> libsmbclient-3.0.33-3.29.el5_6.2
> gnome-vfs2-smb-2.16.2-8.el5
>
> [root@finaid45 samba]$ rpm -qa | grep samba
> samba-client-3.0.33-3.29.el5_6.2
> samba-common-3.0.33-3.29.el5_6.2
> samba-3.0.33-3.29.el5_6.2
> system-config-samba-1.2.41-5.el5
>
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
John Drescher
External


Since: Jan 20, 2009
Posts: 57



PostPosted: Wed Aug 10, 2011 1:10 am    Post subject: Re: [Samba] windows 7 cannot connect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, Aug 9, 2011 at 2:42 PM, Marc Fromm wrote:
> I just set up my first windows 7 desktop. When I try to map a drive to the red hat linux samba share it complains that the "server cannot perform the requested operation." Windows XP machines work with no problem.
>
> The linux samba information:
> [root@finaid45 samba]$ rpm -qa | grep smb
> pam_smb-1.1.7-7.2.1
> libsmbclient-3.0.33-3.29.el5_6.2
> gnome-vfs2-smb-2.16.2-8.el5
>
> [root@finaid45 samba]$ rpm -qa | grep samba
> samba-client-3.0.33-3.29.el5_6.2
> samba-common-3.0.33-3.29.el5_6.2
> samba-3.0.33-3.29.el5_6.2
> system-config-samba-1.2.41-5.el5
>

Is the samba machine a pdc?

John
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Robert Adkins II
External


Since: Aug 10, 2011
Posts: 1



PostPosted: Wed Aug 10, 2011 6:30 pm    Post subject: Re: [Samba] windows 7 cannot connect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

No, you do not need to turn off all of that on Windows 7. I have had no
issues with connecting 7 different Windows 7 Professional workstations into
my network. Most of the systems here are running Windows XP Professional and
are joined to the domain.

The only issue that I have had is joining the Windows 7 systems into the
domain. I understand that it might be possible, but I haven't had the time
to really dig into that.

There might be some authentication elements within smb.conf to adjust to
allow the Windows 7 systems to authenticate users on the network, but I may
have made those adjustments quite some time ago in order to allow Windows
95, 98, NT 4.0 and Windows 2000 to all join the domain in their various
ways.

All you need is to have the Windows 7 machines in the workgroup of the
Domain or the workgroup, then create individual user accounts on the Windows
7 machines that mirror the account user IDs and passwords on the Samba
server.

Regards,
Robert Adkins II


> -----Original Message-----
> From: samba-bounces@lists.samba.org
> [mailto:samba-bounces@lists.samba.org] On Behalf Of Gregory Carter
> Sent: Tuesday, August 09, 2011 2:51 PM
> To: samba@lists.samba.org
> Subject: Re: [Samba] windows 7 cannot connect
>
> On 08/09/2011 01:42 PM, Marc Fromm wrote:
> > I just set up my first windows 7 desktop.
> My condolences.
>
> > When I try to map a drive to the red hat linux samba
> share it complains that the "server cannot perform the
> requested operation." Windows XP machines work with no problem.
> First, I would remove all security contexts from the Windows 7
> workstation. Turn the firewall off. Turn off your virus
> software/security software.
>
> Try again.
> > The linux samba information:
> > [root@finaid45 samba]$ rpm -qa | grep smb
> > pam_smb-1.1.7-7.2.1
> > libsmbclient-3.0.33-3.29.el5_6.2
> > gnome-vfs2-smb-2.16.2-8.el5
> >
> > [root@finaid45 samba]$ rpm -qa | grep samba
> > samba-client-3.0.33-3.29.el5_6.2
> > samba-common-3.0.33-3.29.el5_6.2
> > samba-3.0.33-3.29.el5_6.2
> > system-config-samba-1.2.41-5.el5
> >
> >
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Anders Norrbring
External


Since: Jul 20, 2007
Posts: 6



PostPosted: Wed Aug 10, 2011 11:30 pm    Post subject: Re: [Samba] windows 7 cannot connect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Robert Adkins II skrev 2011-08-10 14:28:
>
> No, you do not need to turn off all of that on Windows 7. I have had no
> issues with connecting 7 different Windows 7 Professional workstations into
> my network. Most of the systems here are running Windows XP Professional and
> are joined to the domain.
>
> The only issue that I have had is joining the Windows 7 systems into the
> domain. I understand that it might be possible, but I haven't had the time
> to really dig into that.
>
> There might be some authentication elements within smb.conf to adjust to
> allow the Windows 7 systems to authenticate users on the network, but I may
> have made those adjustments quite some time ago in order to allow Windows
> 95, 98, NT 4.0 and Windows 2000 to all join the domain in their various
> ways.
>
> All you need is to have the Windows 7 machines in the workgroup of the
> Domain or the workgroup, then create individual user accounts on the Windows
> 7 machines that mirror the account user IDs and passwords on the Samba
> server.
>
> Regards,
> Robert Adkins II
>

Robert, it's easy to join a samba domain, here's how..
http://wiki.samba.org/index.php/Windows7

Anders


>
>> -----Original Message-----
>> From: samba-bounces@lists.samba.org
>> [mailto:samba-bounces@lists.samba.org] On Behalf Of Gregory Carter
>> Sent: Tuesday, August 09, 2011 2:51 PM
>> To: samba@lists.samba.org
>> Subject: Re: [Samba] windows 7 cannot connect
>>
>> On 08/09/2011 01:42 PM, Marc Fromm wrote:
>>> I just set up my first windows 7 desktop.
>> My condolences.
>>
>>> When I try to map a drive to the red hat linux samba
>> share it complains that the "server cannot perform the
>> requested operation." Windows XP machines work with no problem.
>> First, I would remove all security contexts from the Windows 7
>> workstation. Turn the firewall off. Turn off your virus
>> software/security software.
>>
>> Try again.
>>> The linux samba information:
>>> [root@finaid45 samba]$ rpm -qa | grep smb
>>> pam_smb-1.1.7-7.2.1
>>> libsmbclient-3.0.33-3.29.el5_6.2
>>> gnome-vfs2-smb-2.16.2-8.el5
>>>
>>> [root@finaid45 samba]$ rpm -qa | grep samba
>>> samba-client-3.0.33-3.29.el5_6.2
>>> samba-common-3.0.33-3.29.el5_6.2
>>> samba-3.0.33-3.29.el5_6.2
>>> system-config-samba-1.2.41-5.el5
>>>
>>>
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba
>>
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Marc Fromm
External


Since: May 27, 2009
Posts: 4



PostPosted: Thu Aug 11, 2011 2:20 am    Post subject: Re: [Samba] windows 7 cannot connect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

My googling seems to point at upgrading samba to 3.4. Currently installed on my RHEL 5.2 32 bit server is as listed below for smb and samba.

If I was running RHEL 64 bit I would be supported by red hat and updating the OS to the latest 5.x would provide this for me. For some reason red hat feels they do not need to support their 32 bit users, which my server is running, and updating the OS does not update certain packages like samba and php. Even though I have paid support with red hat they will not provide support to update the needed packages.

Thus, is there a detailed set of procedures on how to manually upgrade samba on a RHEL 5.2 server? I do not want to try this by trial and error and cripple the server.

Thanks

-----Original Message-----
From: John Drescher [mailto: ]
Sent: Tuesday, August 09, 2011 12:00 PM
To: Marc Fromm; samba
Subject: Re: [Samba] windows 7 cannot connect

On Tue, Aug 9, 2011 at 2:42 PM, Marc Fromm wrote:
> I just set up my first windows 7 desktop. When I try to map a drive to the red hat linux samba share it complains that the "server cannot perform the requested operation." Windows XP machines work with no problem.
>
> The linux samba information:
> [root@finaid45 samba]$ rpm -qa | grep smb
> pam_smb-1.1.7-7.2.1
> libsmbclient-3.0.33-3.29.el5_6.2
> gnome-vfs2-smb-2.16.2-8.el5
>
> [root@finaid45 samba]$ rpm -qa | grep samba
> samba-client-3.0.33-3.29.el5_6.2
> samba-common-3.0.33-3.29.el5_6.2
> samba-3.0.33-3.29.el5_6.2
> system-config-samba-1.2.41-5.el5
>

Is the samba machine a pdc?

John

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Christ Schlacta
External


Since: Dec 24, 2010
Posts: 10



PostPosted: Thu Aug 11, 2011 2:20 am    Post subject: Re: [Samba] windows 7 cannot connect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The best bet is to not go with *hat in the first place. however, as
you've already failed that, your second best bet is to modify the source
RPM from upstream, or from one of the other RPM distros (like fedora, or
CENTos)(both of which are as bad as *hat) and build it on your machine.

On 8/10/2011 13:13, Marc Fromm wrote:
> My googling seems to point at upgrading samba to 3.4. Currently installed on my RHEL 5.2 32 bit server is as listed below for smb and samba.
>
> If I was running RHEL 64 bit I would be supported by red hat and updating the OS to the latest 5.x would provide this for me. For some reason red hat feels they do not need to support their 32 bit users, which my server is running, and updating the OS does not update certain packages like samba and php. Even though I have paid support with red hat they will not provide support to update the needed packages.
>
> Thus, is there a detailed set of procedures on how to manually upgrade samba on a RHEL 5.2 server? I do not want to try this by trial and error and cripple the server.
>
> Thanks
>
> -----Original Message-----
> From: John Drescher [mailto: ]
> Sent: Tuesday, August 09, 2011 12:00 PM
> To: Marc Fromm; samba
> Subject: Re: [Samba] windows 7 cannot connect
>
> On Tue, Aug 9, 2011 at 2:42 PM, Marc Fromm wrote:
>> I just set up my first windows 7 desktop. When I try to map a drive to the red hat linux samba share it complains that the "server cannot perform the requested operation." Windows XP machines work with no problem.
>>
>> The linux samba information:
>> [root@finaid45 samba]$ rpm -qa | grep smb
>> pam_smb-1.1.7-7.2.1
>> libsmbclient-3.0.33-3.29.el5_6.2
>> gnome-vfs2-smb-2.16.2-8.el5
>>
>> [root@finaid45 samba]$ rpm -qa | grep samba
>> samba-client-3.0.33-3.29.el5_6.2
>> samba-common-3.0.33-3.29.el5_6.2
>> samba-3.0.33-3.29.el5_6.2
>> system-config-samba-1.2.41-5.el5
>>
> Is the samba machine a pdc?
>
> John
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Anil Wakhare
External


Since: Aug 10, 2011
Posts: 1



PostPosted: Thu Aug 11, 2011 3:10 am    Post subject: Re: [Samba] windows 7 cannot connect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,
For windows 7 there is a script file on internet please find it on
internet,i hope that you will find it.i have connect the windows7 to Samba
on RHEL 5 successfully.

On Thu, Aug 11, 2011 at 1:45 AM, Christ Schlacta wrote:

> The best bet is to not go with *hat in the first place. however, as you've
> already failed that, your second best bet is to modify the source RPM from
> upstream, or from one of the other RPM distros (like fedora, or CENTos)(both
> of which are as bad as *hat) and build it on your machine.
>
>
> On 8/10/2011 13:13, Marc Fromm wrote:
>
>> My googling seems to point at upgrading samba to 3.4. Currently installed
>> on my RHEL 5.2 32 bit server is as listed below for smb and samba.
>>
>> If I was running RHEL 64 bit I would be supported by red hat and updating
>> the OS to the latest 5.x would provide this for me. For some reason red hat
>> feels they do not need to support their 32 bit users, which my server is
>> running, and updating the OS does not update certain packages like samba and
>> php. Even though I have paid support with red hat they will not provide
>> support to update the needed packages.
>>
>> Thus, is there a detailed set of procedures on how to manually upgrade
>> samba on a RHEL 5.2 server? I do not want to try this by trial and error and
>> cripple the server.
>>
>> Thanks
>>
>> -----Original Message-----
>> From: John Drescher [mailto: ]
>> Sent: Tuesday, August 09, 2011 12:00 PM
>> To: Marc Fromm; samba
>> Subject: Re: [Samba] windows 7 cannot connect
>>
>> On Tue, Aug 9, 2011 at 2:42 PM, Marc Fromm wrote:
>>
>>> I just set up my first windows 7 desktop. When I try to map a drive to
>>> the red hat linux samba share it complains that the "server cannot perform
>>> the requested operation." Windows XP machines work with no problem.
>>>
>>> The linux samba information:
>>> [root@finaid45 samba]$ rpm -qa | grep smb
>>> pam_smb-1.1.7-7.2.1
>>> libsmbclient-3.0.33-3.29.el5_**6.2
>>> gnome-vfs2-smb-2.16.2-8.el5
>>>
>>> [root@finaid45 samba]$ rpm -qa | grep samba
>>> samba-client-3.0.33-3.29.el5_**6.2
>>> samba-common-3.0.33-3.29.el5_**6.2
>>> samba-3.0.33-3.29.el5_6.2
>>> system-config-samba-1.2.41-5.**el5
>>>
>>> Is the samba machine a pdc?
>>
>> John
>>
>>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/**mailman/options/samba<https://lists.samba.org/mailman/options/samba>
>



--

-------------------------------------------

Thanks & Regards.
Anil S Wakhare.
Pune 411027,Maharashtra,India
Ph:-9763328839
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Chris Weiss
External


Since: Mar 24, 2011
Posts: 10



PostPosted: Thu Aug 11, 2011 3:20 am    Post subject: Re: [Samba] windows 7 cannot connect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, Aug 10, 2011 at 3:13 PM, Marc Fromm wrote:
> My googling seems to point at upgrading samba to 3.4. Currently installed on my RHEL 5.2 32 bit server is as listed below for smb and samba.
>
> If I was running RHEL 64 bit I would be supported by red hat and updating the OS to the latest 5.x would provide this for me. For some reason red hat feels they do not need to support their 32 bit users, which my server is running, and updating the OS does not update certain packages like samba and php. Even though I have paid support with red hat they will not provide support to update the needed packages.
>
> Thus, is there a detailed set of procedures on how to manually upgrade samba on a RHEL 5.2 server? I do not want to try this by trial and error and cripple the server.
>

I think RH 5 has a samba 3.x package, or was that only Centos? I
don't recall what version it was intro'd
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Jason Pyeron
External


Since: Aug 10, 2011
Posts: 1



PostPosted: Thu Aug 11, 2011 3:30 am    Post subject: Re: [Samba] windows 7 cannot connect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> -----Original Message-----
> From: Chris Weiss
> Sent: Wednesday, August 10, 2011 17:17
> To: Marc Fromm
> Subject: Re: [Samba] windows 7 cannot connect
>
> On Wed, Aug 10, 2011 at 3:13 PM, Marc Fromm
> wrote:
> > My googling seems to point at upgrading samba to 3.4.
> Currently installed on my RHEL 5.2 32 bit server is as listed
> below for smb and samba.
> >
> > If I was running RHEL 64 bit I would be supported by red
> hat and updating the OS to the latest 5.x would provide this
> for me. For some reason red hat feels they do not need to
> support their 32 bit users, which my server is running, and
> updating the OS does not update certain packages like samba
> and php. Even though I have paid support with red hat they
> will not provide support to update the needed packages.
> >
> > Thus, is there a detailed set of procedures on how to
> manually upgrade samba on a RHEL 5.2 server? I do not want to
> try this by trial and error and cripple the server.
> >
>
> I think RH 5 has a samba 3.x package, or was that only
> Centos? I don't recall what version it was intro'd


RHEL=Centos

They have 3.0.33-3.29.el5_6.2 on x86_64

http://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/samba-3.0.
33-3.29.el5_6.2.src.rpm

-Jason

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100 -
- +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.



--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Chris Weiss
External


Since: Mar 24, 2011
Posts: 10



PostPosted: Thu Aug 11, 2011 3:50 am    Post subject: Re: [Samba] windows 7 cannot connect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, Aug 10, 2011 at 4:28 PM, Jason Pyeron wrote:
>
>> -----Original Message-----
>> From: Chris Weiss
>> Sent: Wednesday, August 10, 2011 17:17
>> To: Marc Fromm
>> Subject: Re: [Samba] windows 7 cannot connect
>>
>> I think RH 5 has a samba 3.x package, or was that only
>> Centos?  I don't recall what version it was intro'd
>
>
> RHEL=Centos
>
> They have 3.0.33-3.29.el5_6.2 on x86_64
>
> http://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/samba-3.0.
> 33-3.29.el5_6.2.src.rpm
>

yum search samba3x
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Philipoff, Andrew
External


Since: Aug 11, 2011
Posts: 2



PostPosted: Thu Aug 11, 2011 4:30 am    Post subject: Re: [Samba] windows 7 cannot connect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>> -----Original Message-----
>> From: Chris Weiss
>> Sent: Wednesday, August 10, 2011 17:17
>> To: Marc Fromm
>> Subject: Re: [Samba] windows 7 cannot connect
>>
>> I think RH 5 has a samba 3.x package, or was that only Centos?  I
>> don't recall what version it was intro'd
>
>
> RHEL=Centos
>
> They have 3.0.33-3.29.el5_6.2 on x86_64
>
> http://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/samba-3.0.
> 33-3.29.el5_6.2.src.rpm
>

> yum search samba3x

I migrated our RHEL 5 servers from the Red Hat supplied Samba 3.0.33 packages to their samba3x packages. Before installing any of the samba3x packages I had to un-install all Samba 3.0.33 packages except for libsmbclient-3.0.33. We operate in an mixed 2003-2008 AD environment with Windows XP/Vista/7 and Mac OS X clients. I installed the following packages:

samba3x-3.5.4
samba3x-client-3.5.4
samba3x-common-3.5.4
samba3x-doc-3.5.4
samba3x-winbind-3.5.4.

Andrew Philipoff
Infrastructure Coordinator
UCSF Department of Medicine - IT Services

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Marc Fromm
External


Since: May 27, 2009
Posts: 4



PostPosted: Thu Aug 11, 2011 4:40 am    Post subject: Re: [Samba] windows 7 cannot connect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The server currently has 3.0.33 on it, but it needs at least 3.4 to work with windows 7 computers. Red hat will not be upgrading samba beyond 3.0.33 for their 32bit RH5 users. Thus I am stuck and cannot use yum and the red hat repos to do the upgrade.

On site directed me to this page to download the rpms, but I am not experienced enough with manually updating a package.
http://ftp.sernet.de/pub/samba/ . I downloaded all the files listed under the 3.6/rhel/5/i386 directory.

Thus I was hoping to find to step by step on how to do the upgrade.

-----Original Message-----
From: Chris Weiss [mailto: ]
Sent: Wednesday, August 10, 2011 2:17 PM
To: Marc Fromm
Cc: John Drescher; samba@lists.samba.org
Subject: Re: [Samba] windows 7 cannot connect

On Wed, Aug 10, 2011 at 3:13 PM, Marc Fromm wrote:
> My googling seems to point at upgrading samba to 3.4. Currently installed on my RHEL 5.2 32 bit server is as listed below for smb and samba.
>
> If I was running RHEL 64 bit I would be supported by red hat and updating the OS to the latest 5.x would provide this for me. For some reason red hat feels they do not need to support their 32 bit users, which my server is running, and updating the OS does not update certain packages like samba and php. Even though I have paid support with red hat they will not provide support to update the needed packages.
>
> Thus, is there a detailed set of procedures on how to manually upgrade samba on a RHEL 5.2 server? I do not want to try this by trial and error and cripple the server.
>

I think RH 5 has a samba 3.x package, or was that only Centos? I don't recall what version it was intro'd

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Gaiseric Vandal
External


Since: May 21, 2007
Posts: 55



PostPosted: Thu Aug 11, 2011 7:40 pm    Post subject: Re: [Samba] windows 7 cannot connect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Upgrading from 3.0x. to 3.4. has come up several times in the past. You
may see some earlier post from me on the subject. Make a copy of your
current smb.conf, private directory and locks directory. (These
directories should include your password database and other key files.)

Assuming a single server, no domain trusts, TDB backend, unix users in
/etc/passwd, the existing config should be mostly fine with samba 3.4.x.

You may need to explicitly create an "Administrator" account if one does
not exist.



You may need to explicitly define a local unix "nobody" account to map
as the guest account

e.g.
useradd .... smbnobody
vi smb.conf
.....
guest account = smb_nobody
...


There may have been changes on how password policies function (e.g
maximum password age etc.)

You may also want to run " net groupmap list" before and after the
upgade to make sure that well know windows groups (e.g. Domain Admins,
Domain Users, Users etc) are maintained.




On 08/10/2011 06:38 PM, Marc Fromm wrote:
> The server currently has 3.0.33 on it, but it needs at least 3.4 to work with windows 7 computers. Red hat will not be upgrading samba beyond 3.0.33 for their 32bit RH5 users. Thus I am stuck and cannot use yum and the red hat repos to do the upgrade.
>
> On site directed me to this page to download the rpms, but I am not experienced enough with manually updating a package.
> http://ftp.sernet.de/pub/samba/ . I downloaded all the files listed under the 3.6/rhel/5/i386 directory.
>
> Thus I was hoping to find to step by step on how to do the upgrade.
>
> -----Original Message-----
> From: Chris Weiss [mailto: ]
> Sent: Wednesday, August 10, 2011 2:17 PM
> To: Marc Fromm
> Cc: John Drescher; samba@lists.samba.org
> Subject: Re: [Samba] windows 7 cannot connect
>
> On Wed, Aug 10, 2011 at 3:13 PM, Marc Fromm wrote:
>> My googling seems to point at upgrading samba to 3.4. Currently installed on my RHEL 5.2 32 bit server is as listed below for smb and samba.
>>
>> If I was running RHEL 64 bit I would be supported by red hat and updating the OS to the latest 5.x would provide this for me. For some reason red hat feels they do not need to support their 32 bit users, which my server is running, and updating the OS does not update certain packages like samba and php. Even though I have paid support with red hat they will not provide support to update the needed packages.
>>
>> Thus, is there a detailed set of procedures on how to manually upgrade samba on a RHEL 5.2 server? I do not want to try this by trial and error and cripple the server.
>>
> I think RH 5 has a samba 3.x package, or was that only Centos? I don't recall what version it was intro'd
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Andrew Masterson
External


Since: Aug 16, 2011
Posts: 1



PostPosted: Tue Aug 16, 2011 4:00 am    Post subject: Re: [Samba] windows 7 cannot connect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

From my build docs for RHEL. YMMV and caveat emptor Wink

--------------------------------------------

# cd /etc/yum.repos.d
# wget http://ftp.sernet.de/pub/samba/<major version>/rhel/5/sernet-samba.repo
> where <major version> is something like 3.5
# yum install samba3.x86_64 samba3-*64*

> increase maximum number of open files and processes for large rsync and copy operations:
> add the following line to /etc/security/limits.conf
* soft nofile 16384
* hard nofile 100000
(NOTE: 100000 should be < `cat /proc/sys/fs/file-max` or one rogue process can lock the entire box! LEAVE SOME ROOM!)

# vi ~/.bashrc
> add the following lines to the end of the script
ulimit -u hard 100000000
PS1='[\t \u@\h \W]\$ '

> to allow domain logins to the local box add the following to /etc/pam.d/system-auth **NOTE NOT NEEDED FOR NORMAL FILE SERVERS**USE WITH CAUTION**
auth sufficient pam_winbind.so

> REBOOT

# yum update -y

> copy smb.conf to /etc/samba from working server, or backup location, modify as needed for new host (i.e. share locations)
> copy krb5.conf to /etc from working server (note: arcfour-hmac-md5 is the only encryption type that seems to work with server 2008SP2 DCs and samba 3.5+)

> test samba configuration for basic typos, etc.
# testparm

> modify /etc/nsswitch.conf to add winbind lookups
passwd: files winbind
group: files winbind

> make a machine account in the domain
# net ads join -U Administrator
(note: if it complains about a DNS update, that is OK as you already specified a static IP in DNS)

> enter the DOMAIN administrator password, note: this creates /etc/samba/secrets.tdb - secure this file, as well as /var/lib/samba/gencache_notrans.tdb, gencache.tdb, group_mapping.ldb
# nmbd -D
# smbd -D
# winbindd

> ensure auto-startup. Edit /etc/rc.d/rc.local and add 5 lines
/usr/sbin/nmbd -D
/usr/sbin/smbd -D
/usr/sbin/winbindd
/usr/bin/wbinfo -u
/usr/bin/wbinfo -g

> check setup
wbinfo -u (returns a list of domain users)
wbinfo -g (returns a list of domain groups)
wbinfo -t (tests shared secret with domain)
nslookup <hostname> (make sure DNS is configured properly)

> set up backups as appropriate...

DONE

--------------------------------------------

Hopefully that helps.

-=Andrew


-----Original Message-----
From: samba-bounces@lists.samba.org [mailto:samba-bounces@lists.samba.org] On Behalf Of Marc Fromm
Sent: Wednesday, August 10, 2011 4:38 PM
To: Chris Weiss
Cc: samba@lists.samba.org
Subject: Re: [Samba] windows 7 cannot connect

The server currently has 3.0.33 on it, but it needs at least 3.4 to work with windows 7 computers. Red hat will not be upgrading samba beyond 3.0.33 for their 32bit RH5 users. Thus I am stuck and cannot use yum and the red hat repos to do the upgrade.

On site directed me to this page to download the rpms, but I am not experienced enough with manually updating a package.
http://ftp.sernet.de/pub/samba/ . I downloaded all the files listed under the 3.6/rhel/5/i386 directory.

Thus I was hoping to find to step by step on how to do the upgrade.

-----Original Message-----
From: Chris Weiss [mailto: ]
Sent: Wednesday, August 10, 2011 2:17 PM
To: Marc Fromm
Cc: John Drescher; samba@lists.samba.org
Subject: Re: [Samba] windows 7 cannot connect

On Wed, Aug 10, 2011 at 3:13 PM, Marc Fromm wrote:
> My googling seems to point at upgrading samba to 3.4. Currently installed on my RHEL 5.2 32 bit server is as listed below for smb and samba.
>
> If I was running RHEL 64 bit I would be supported by red hat and updating the OS to the latest 5.x would provide this for me. For some reason red hat feels they do not need to support their 32 bit users, which my server is running, and updating the OS does not update certain packages like samba and php. Even though I have paid support with red hat they will not provide support to update the needed packages.
>
> Thus, is there a detailed set of procedures on how to manually upgrade samba on a RHEL 5.2 server? I do not want to try this by trial and error and cripple the server.
>

I think RH 5 has a samba 3.x package, or was that only Centos? I don't recall what version it was intro'd

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Samba All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum