Re: [Samba] windows 7 cannot connect
From my build docs for RHEL. YMMV and caveat emptor ;-) # 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 * softnofile 16384 * hardnofile 10 (NOTE: 10 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 1 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** authsufficient 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-boun...@lists.samba.org [mailto:samba-boun...@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:cwe...@gmail.com] 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 marc.fr...@wwu.edu 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
Re: [Samba] windows 7 cannot connect
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:cwe...@gmail.com] 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 Frommmarc.fr...@wwu.edu 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
Re: [Samba] windows 7 cannot connect
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-boun...@lists.samba.org [mailto:samba-boun...@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
Re: [Samba] windows 7 cannot connect
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-boun...@lists.samba.org [mailto:samba-boun...@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
Re: [Samba] windows 7 cannot connect
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:dresche...@gmail.com] 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 marc.fr...@wwu.edu 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
Re: [Samba] windows 7 cannot connect
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:dresche...@gmail.com] 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 Frommmarc.fr...@wwu.edu 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
Re: [Samba] windows 7 cannot connect
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 li...@aarcane.org 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:dresche...@gmail.com] 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 Frommmarc.fr...@wwu.edu 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/sambahttps://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
Re: [Samba] windows 7 cannot connect
On Wed, Aug 10, 2011 at 3:13 PM, Marc Fromm marc.fr...@wwu.edu 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
Re: [Samba] windows 7 cannot connect
-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 marc.fr...@wwu.edu 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 x333Baltimore, 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
Re: [Samba] windows 7 cannot connect
On Wed, Aug 10, 2011 at 4:28 PM, Jason Pyeron jpye...@pdinc.us 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
Re: [Samba] windows 7 cannot connect
-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
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:cwe...@gmail.com] 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 marc.fr...@wwu.edu 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
[Samba] windows 7 cannot connect
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
Re: [Samba] windows 7 cannot connect
On Tue, Aug 9, 2011 at 2:42 PM, Marc Fromm marc.fr...@wwu.edu 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
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
Re: [Samba] Windows 7 cannot connect to domain member
Hello, That is THE solution. It runs nows. Thanks for your help. Michel On 10/05/10 16:31, Jean-Jacques Moulis wrote: On 10/5/2010 1:42 PM, Michel Correge wrote: When I try to connect some share (user's home) from the Windows box, I get strange results : - If the share is on the PDC, I can connect giving Username and Password - If the share is on a member of the domain different from the PDC, connection fails. for clients not member of the domain, you need to specify the domain in the username box when connecting to a member server. DomainName\Username when the domain name is unspecified the member server uses MemberServerName\UserName and that don't work (if you do not define such an user on the member server local password database) this behavior is rather new for samba but normal for a windows server. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Windows 7 cannot connect to domain member
Hi, I have installed Samba 3.5.5 on a Sparc Solaris 10 system and it's the PDC of a domain mainly consisting of other Sun boxes. On the other hand, I have a PC with Windows 7 that I don't want to put in the same domain (it's in a workgroup) When I try to connect some share (user's home) from the Windows box, I get strange results : - If the share is on the PDC, I can connect giving Username and Password - If the share is on a member of the domain different from the PDC, connection fails. Configuration for PDC : Load smb config files from /usr/local/samba-3.5.4/lib/smb.conf rlimit_max: rlimit_max (256) below minimum Windows limit (16384) Processing section [netlogon] Processing section [profiles] Processing section [print$] Processing section [printers] Processing section [homes] Loaded services file OK. Server role: ROLE_DOMAIN_PDC Press enter to see a dump of your service definitions [global] unix charset = iso8859-1 workgroup = DCSD-T interfaces = bge0 map to guest = Bad Password passdb backend = tdbsam:/var/samba-3.5.4/private/passdb.tdb username map = /usr/local/samba-%v/lib/usermap log file = /var/samba-%v/log/samba-%m.log printcap name = /usr/local/samba-3.5.4/lib/printcap disable spoolss = Yes logon path = logon drive = Q: logon home = \\%L\%U domain logons = Yes os level = 32 preferred master = Yes domain master = Yes [netlogon] comment = Network Logon Service path = /var/samba-%v/netlogon browseable = No [profiles] comment = Profiles Service path = /var/samba-%v/profiles read only = No create mask = 0600 directory mask = 0700 [print$] comment = Printer Driver Download Area path = /var/samba-%v/drivers write list = root guest ok = Yes [printers] comment = All Printers path = /var/samba-%v/spool create mask = 0700 guest ok = Yes printable = Yes browseable = No [homes] comment = Home Directory read only = No create mask = 0640 directory mask = 0750 browseable = No Configuration for a domain member : Load smb config files from /usr/local/samba-3.5.4/lib/smb.conf rlimit_max: rlimit_max (256) below minimum Windows limit (16384) Processing section [PC_Softs] Processing section [homes] Loaded services file OK. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions [global] unix charset = iso8859-1 workgroup = DCSD-T security = DOMAIN passdb backend = tdbsam:/var/samba-%v/private/passdb.tdb log file = /var/samba-%v/log/samba-%m.log load printers = No local master = No [PC_Softs] comment = Logiciels PC path = /local/PC_SOFTS write list = correge guest ok = Yes [homes] comment = Home Directory read only = No create mask = 0640 directory mask = 0750 browseable = No Result of an attempt of connection on the member : [2010/10/05 13:25:47.648076, 2] libsmb/namequery.c:801(name_query) Got a positive name query response from 134.212.240.15 ( 134.212.240.15 ) [2010/10/05 13:25:47.940835, 2] auth/auth.c:314(check_ntlm_password) check_ntlm_password: Authentication for user [admin] - [admin] FAILED with error NT_STATUS_NO_SUCH_USER [2010/10/05 13:25:55.915986, 2] smbd/sesssetup.c:1390(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2010/10/05 13:25:55.917166, 2] smbd/sesssetup.c:1390(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2010/10/05 13:25:55.939908, 2] auth/auth.c:314(check_ntlm_password) check_ntlm_password: Authentication for user [correge] - [correge] FAILED with error NT_STATUS_NO_SUCH_USER [2010/10/05 13:26:00.436250, 2] smbd/sesssetup.c:1390(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. Any idea of what is wrong ? Thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Windows 7 cannot connect to domain member
You are missing password server=yourpdc on your member server. How should your member server know about your users? Daniel --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Michel Correge Gesendet: Dienstag, 5. Oktober 2010 13:43 An: samba@lists.samba.org Betreff: [Samba] Windows 7 cannot connect to domain member Hi, I have installed Samba 3.5.5 on a Sparc Solaris 10 system and it's the PDC of a domain mainly consisting of other Sun boxes. On the other hand, I have a PC with Windows 7 that I don't want to put in the same domain (it's in a workgroup) When I try to connect some share (user's home) from the Windows box, I get strange results : - If the share is on the PDC, I can connect giving Username and Password - If the share is on a member of the domain different from the PDC, connection fails. Configuration for PDC : Load smb config files from /usr/local/samba-3.5.4/lib/smb.conf rlimit_max: rlimit_max (256) below minimum Windows limit (16384) Processing section [netlogon] Processing section [profiles] Processing section [print$] Processing section [printers] Processing section [homes] Loaded services file OK. Server role: ROLE_DOMAIN_PDC Press enter to see a dump of your service definitions [global] unix charset = iso8859-1 workgroup = DCSD-T interfaces = bge0 map to guest = Bad Password passdb backend = tdbsam:/var/samba-3.5.4/private/passdb.tdb username map = /usr/local/samba-%v/lib/usermap log file = /var/samba-%v/log/samba-%m.log printcap name = /usr/local/samba-3.5.4/lib/printcap disable spoolss = Yes logon path = logon drive = Q: logon home = \\%L\%U domain logons = Yes os level = 32 preferred master = Yes domain master = Yes [netlogon] comment = Network Logon Service path = /var/samba-%v/netlogon browseable = No [profiles] comment = Profiles Service path = /var/samba-%v/profiles read only = No create mask = 0600 directory mask = 0700 [print$] comment = Printer Driver Download Area path = /var/samba-%v/drivers write list = root guest ok = Yes [printers] comment = All Printers path = /var/samba-%v/spool create mask = 0700 guest ok = Yes printable = Yes browseable = No [homes] comment = Home Directory read only = No create mask = 0640 directory mask = 0750 browseable = No Configuration for a domain member : Load smb config files from /usr/local/samba-3.5.4/lib/smb.conf rlimit_max: rlimit_max (256) below minimum Windows limit (16384) Processing section [PC_Softs] Processing section [homes] Loaded services file OK. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions [global] unix charset = iso8859-1 workgroup = DCSD-T security = DOMAIN passdb backend = tdbsam:/var/samba-%v/private/passdb.tdb log file = /var/samba-%v/log/samba-%m.log load printers = No local master = No [PC_Softs] comment = Logiciels PC path = /local/PC_SOFTS write list = correge guest ok = Yes [homes] comment = Home Directory read only = No create mask = 0640 directory mask = 0750 browseable = No Result of an attempt of connection on the member : [2010/10/05 13:25:47.648076, 2] libsmb/namequery.c:801(name_query) Got a positive name query response from 134.212.240.15 ( 134.212.240.15 ) [2010/10/05 13:25:47.940835, 2] auth/auth.c:314(check_ntlm_password) check_ntlm_password: Authentication for user [admin] - [admin] FAILED with error NT_STATUS_NO_SUCH_USER [2010/10/05 13:25:55.915986, 2] smbd/sesssetup.c:1390(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2010/10/05 13:25:55.917166, 2] smbd/sesssetup.c:1390(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2010/10/05 13:25:55.939908, 2] auth/auth.c:314(check_ntlm_password) check_ntlm_password: Authentication for user [correge] - [correge] FAILED with error NT_STATUS_NO_SUCH_USER [2010/10/05 13:26:00.436250, 2] smbd/sesssetup.c:1390(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. Any idea of what is wrong ? Thanks -- To unsubscribe from this list go
Re: [Samba] Windows 7 cannot connect to domain member
I think that even with out that explicitly set domain members should be able to locate the domain controller. Does this problem exist with Windows clients that are joined to the domain? In smb.conf, have you set the ports? By default 139 and 445 are listening- if you disable 445 it doesn't seem to affect Windows clients joined to the domain but it does affect non-domain windows clients. I user to have a setup with 1 PDC and 2 domain members- all machines had a common unix user backend (NIS then LDAP.) Which I thought would make everything work AOK. Long and short, was that I still needed winbind running on the member servers and even though I had unix and samba user's both in LDAP, the idmapping (unix id's to windows sids) was not consisent. I converted the member servers to BDC's so that everything was consistent across machines. On 10/05/2010 08:30 AM, Daniel Müller wrote: You are missing password server=yourpdc on your member server. How should your member server know about your users? Daniel --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Michel Correge Gesendet: Dienstag, 5. Oktober 2010 13:43 An: samba@lists.samba.org Betreff: [Samba] Windows 7 cannot connect to domain member Hi, I have installed Samba 3.5.5 on a Sparc Solaris 10 system and it's the PDC of a domain mainly consisting of other Sun boxes. On the other hand, I have a PC with Windows 7 that I don't want to put in the same domain (it's in a workgroup) When I try to connect some share (user's home) from the Windows box, I get strange results : - If the share is on the PDC, I can connect giving Username and Password - If the share is on a member of the domain different from the PDC, connection fails. Configuration for PDC : Load smb config files from /usr/local/samba-3.5.4/lib/smb.conf rlimit_max: rlimit_max (256) below minimum Windows limit (16384) Processing section [netlogon] Processing section [profiles] Processing section [print$] Processing section [printers] Processing section [homes] Loaded services file OK. Server role: ROLE_DOMAIN_PDC Press enter to see a dump of your service definitions [global] unix charset = iso8859-1 workgroup = DCSD-T interfaces = bge0 map to guest = Bad Password passdb backend = tdbsam:/var/samba-3.5.4/private/passdb.tdb username map = /usr/local/samba-%v/lib/usermap log file = /var/samba-%v/log/samba-%m.log printcap name = /usr/local/samba-3.5.4/lib/printcap disable spoolss = Yes logon path = logon drive = Q: logon home = \\%L\%U domain logons = Yes os level = 32 preferred master = Yes domain master = Yes [netlogon] comment = Network Logon Service path = /var/samba-%v/netlogon browseable = No [profiles] comment = Profiles Service path = /var/samba-%v/profiles read only = No create mask = 0600 directory mask = 0700 [print$] comment = Printer Driver Download Area path = /var/samba-%v/drivers write list = root guest ok = Yes [printers] comment = All Printers path = /var/samba-%v/spool create mask = 0700 guest ok = Yes printable = Yes browseable = No [homes] comment = Home Directory read only = No create mask = 0640 directory mask = 0750 browseable = No Configuration for a domain member : Load smb config files from /usr/local/samba-3.5.4/lib/smb.conf rlimit_max: rlimit_max (256) below minimum Windows limit (16384) Processing section [PC_Softs] Processing section [homes] Loaded services file OK. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions [global] unix charset = iso8859-1 workgroup = DCSD-T security = DOMAIN passdb backend = tdbsam:/var/samba-%v/private/passdb.tdb log file = /var/samba-%v/log/samba-%m.log load printers = No local master = No [PC_Softs] comment = Logiciels PC path = /local/PC_SOFTS write list = correge guest ok = Yes [homes] comment = Home Directory read only = No create mask = 0640 directory mask = 0750 browseable = No Result of an attempt of connection on the member : [2010/10/05 13:25:47.648076, 2] libsmb/namequery.c:801(name_query) Got a positive name query response from
Re: [Samba] Windows 7 cannot connect to domain member
On 10/5/2010 1:42 PM, Michel Correge wrote: When I try to connect some share (user's home) from the Windows box, I get strange results : - If the share is on the PDC, I can connect giving Username and Password - If the share is on a member of the domain different from the PDC, connection fails. for clients not member of the domain, you need to specify the domain in the username box when connecting to a member server. DomainName\Username when the domain name is unspecified the member server uses MemberServerName\UserName and that don't work (if you do not define such an user on the member server local password database) this behavior is rather new for samba but normal for a windows server. -- Jean-Jacques Moulis Tel: (013) 281684 ISYFax: (013) 139282 Linköping UniversityE-mail: j...@isy.liu.se 581 83 Linköping -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba