[Samba] Windows 7 Clients Slow/Unresponsive with some file types
I am having some unresponsive and very slow performance with a couple of different file types with Samba and Windows 7 clients. The problems manifest in the following manners: IGES files, these are CAD files. When opening up certain IGES files from the server, the application can take upwards of 10 minutes to open up the file. If I copy the same file from the server to the desktop, the file will open up in a few seconds. This is most noticable with files in sizes over a few megabytes. Quickbooks. Logging into the Quickbooks file can take longer than normal, upwards of 30 seconds, instead of 5 or fewer seconds. Once in, the application operates normally, until a reconcile action is taken. What happens is that the reconcile action goes through, but the application appears to be processing the reconcile for an inordinate amount of time. This has been left sitting for upwards of 10 to 15 minutes without returning control to the user. Killing the application and then reopening and checking confirms that the reconcile operation was succesful. The file size for the Quickbooks file is over 200 megabytes in size. I have a feeling that this is mostly an optimization issue more than anything else. Any suggestions or pointers towards rectifying this would be most appreciated. Thank you. -- Regards, Robert -- 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 Clients Slow/Unresponsive with some file types
I have added the socket options of SO_RCVBUFF=65536 and SO_SNDBUFF=65536 and while that has greatly increased file transfer speed, it's instantaneous to transmit an 11mb file from the server to a Windows 7 desktop, there has been no increase in performance for opening up that particular file from the server. Additionally, I should add that we also have other binary file types that can be equally or significantly larger than the IGS files that open up nearly as fast over the network as they do on the local system. These files are the native format for the CAD System that we utilize. The files are not plain text, like the IGES files are. -- Regards, Robert Adkins -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Robert Adkins II Sent: Tuesday, September 18, 2012 8:44 AM To: samba@lists.samba.org Subject: [Samba] Windows 7 Clients Slow/Unresponsive with some file types I am having some unresponsive and very slow performance with a couple of different file types with Samba and Windows 7 clients. The problems manifest in the following manners: IGES files, these are CAD files. When opening up certain IGES files from the server, the application can take upwards of 10 minutes to open up the file. If I copy the same file from the server to the desktop, the file will open up in a few seconds. This is most noticable with files in sizes over a few megabytes. Quickbooks. Logging into the Quickbooks file can take longer than normal, upwards of 30 seconds, instead of 5 or fewer seconds. Once in, the application operates normally, until a reconcile action is taken. What happens is that the reconcile action goes through, but the application appears to be processing the reconcile for an inordinate amount of time. This has been left sitting for upwards of 10 to 15 minutes without returning control to the user. Killing the application and then reopening and checking confirms that the reconcile operation was succesful. The file size for the Quickbooks file is over 200 megabytes in size. I have a feeling that this is mostly an optimization issue more than anything else. Any suggestions or pointers towards rectifying this would be most appreciated. Thank you. -- Regards, Robert -- 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] Changed PDC IP, all hell broke lose
I think you can/should have them remove the PDC from their WINS entry on their end and then you can rejoin the network with the new IP Address. Outside of that, I can only suggest looking into how to send an update to a record on a WINS server from a Samba PDC. I'm unsure if that is possible as I have only run a fully Windows or a Linux/Samba with Windows Clients as a network. -- Regards, Robert Adkins -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Paul Raines Sent: Tuesday, September 04, 2012 2:24 PM To: samba@lists.samba.org Subject: Re: [Samba] Changed PDC IP, all hell broke lose It is definitely an issue with the WINS server which returns the old IP address # nmblookup -U 172.27.88.81 -R 'MRIRESEARCH#1b' querying MRIRESEARCH on 172.27.88.81 132.183.202.95 MRIRESEARCH1b SO it is not automatically picking up the IP change which happened 4 days ago and I have restarted samba on my PDC several times. The old IP is definitely not in /etc/hosts anymore or anywhere in smb.conf. It only shows up in gencache.tdb in the files /var/lib/samba even though I keep deleting that file when I restart. WINS is a total mystery to me. How is this supposed to work? -- Paul Raines (http://help.nmr.mgh.harvard.edu) On Tue, 4 Sep 2012 12:00pm, Paul Raines wrote: I have no idea what the WINS server is except that I am sure it running on Windows since they are totally Windows-based organization. So the WINS server is definitely the problem? When I talk to them and mention I am using Samba on Linux they may totally just say we don't support it and hang up. It seems a strange design that a WINS server can take precedence over my explicit password server setting in my smb.conf file. -- Paul Raines (http://help.nmr.mgh.harvard.edu) On Tue, 4 Sep 2012 11:21am, Robert Adkins II wrote: More information is required. What is the WINS server running OS wise? Can you work with the IT Staff in charge of that WINS Server? -- Regards, Robert Adkins -Original Message- From: Paul Raines [mailto:rai...@nmr.mgh.harvard.edu] Sent: Tuesday, September 04, 2012 11:16 AM To: Robert Adkins II Cc: samba@lists.samba.org Subject: RE: [Samba] Changed PDC IP, all hell broke lose I am not running winbindd on the server. I am using the WINS server of my hospital which I have no control over. I have already tried deleting browse.dat (I do not see the other two files anywhere) to no avail. So my fear is that this is all happening because the WINS server is refusing to recognize the change since I cannot do anything about it. Is that the issue? Is there anyway to force a WINS server to change the IP it has a for domain master browser? -- Paul Raines (http://help.nmr.mgh.harvard.edu) On Tue, 4 Sep 2012 10:59am, Robert Adkins II wrote: It's most likely that your server has the old IP Address Cached in the wins.dat, browse.dat, browse.tdb. I recommend the following: Shutdown the windbind, nmbd and smbd services. Back up each of the above mentioned files. Delete the original above named files. Restart your services and then see if you can connect. You may also need to edit your samba configuration file to point to the new server IP Address as the PDC Master Browser. (Assuming you didn't already do that.) The problem is that your server is telling clients to attempt to find it on a network that no longer exists. -- Regards, Robert Adkins II -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Paul Raines Sent: Tuesday, September 04, 2012 10:41 AM To: samba@lists.samba.org Subject: [Samba] Changed PDC IP, all hell broke lose I had to move my RedHat 5 box acting as a PDC to a new IP address. It is running samba 3.5.10. After the move, none of my windows or linux samba clients worked anymore. I tried rejoining some to the domain, but would get error Unable to find a suitable server Join to domain 'MRIRESEARCH' is not valid The old PDC IP address is 132.183.202.95 and nothing is at that IP anymore (for 4 days now). The new IP is 172.21.21.35 I ran 'net -d 10 join' and would see it was still trying to connect to the old IP address. I tried 'net cache flush' to no avail. I shut down samba, removed every file in /var/cache/samba and still no change. It tries to go to the old IP address. On the PDC box, I increase 'os level' from 60 to 70, stopped the nmbd and smbd processes, did a 'net flush cache' and restarted nmbd and smbd. Still it fails and the nmbd log as the following. == [2012/09/04 10:09:25, 0] nmbd/nmbd.c:857(main) nmbd version 3.5.10-0.110
Re: [Samba] Changed PDC IP, all hell broke lose
Great to see! -- Regards, Robert Adkins -Original Message- From: Paul Raines [mailto:rai...@nmr.mgh.harvard.edu] Sent: Thursday, September 06, 2012 9:45 AM To: Robert Adkins II Cc: samba@lists.samba.org Subject: RE: [Samba] Changed PDC IP, all hell broke lose I emailed the admins and they said they removed the old IP address from the WINS server and that seemed to fix things. -- Paul Raines (http://help.nmr.mgh.harvard.edu) On Thu, 6 Sep 2012 9:37am, Robert Adkins II wrote: I think you can/should have them remove the PDC from their WINS entry on their end and then you can rejoin the network with the new IP Address. Outside of that, I can only suggest looking into how to send an update to a record on a WINS server from a Samba PDC. I'm unsure if that is possible as I have only run a fully Windows or a Linux/Samba with Windows Clients as a network. -- Regards, Robert Adkins -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Paul Raines Sent: Tuesday, September 04, 2012 2:24 PM To: samba@lists.samba.org Subject: Re: [Samba] Changed PDC IP, all hell broke lose It is definitely an issue with the WINS server which returns the old IP address # nmblookup -U 172.27.88.81 -R 'MRIRESEARCH#1b' querying MRIRESEARCH on 172.27.88.81 132.183.202.95 MRIRESEARCH1b SO it is not automatically picking up the IP change which happened 4 days ago and I have restarted samba on my PDC several times. The old IP is definitely not in /etc/hosts anymore or anywhere in smb.conf. It only shows up in gencache.tdb in the files /var/lib/samba even though I keep deleting that file when I restart. WINS is a total mystery to me. How is this supposed to work? -- Paul Raines (http://help.nmr.mgh.harvard.edu) On Tue, 4 Sep 2012 12:00pm, Paul Raines wrote: I have no idea what the WINS server is except that I am sure it running on Windows since they are totally Windows-based organization. So the WINS server is definitely the problem? When I talk to them and mention I am using Samba on Linux they may totally just say we don't support it and hang up. It seems a strange design that a WINS server can take precedence over my explicit password server setting in my smb.conf file. -- Paul Raines (http://help.nmr.mgh.harvard.edu) On Tue, 4 Sep 2012 11:21am, Robert Adkins II wrote: More information is required. What is the WINS server running OS wise? Can you work with the IT Staff in charge of that WINS Server? -- Regards, Robert Adkins -Original Message- From: Paul Raines [mailto:rai...@nmr.mgh.harvard.edu] Sent: Tuesday, September 04, 2012 11:16 AM To: Robert Adkins II Cc: samba@lists.samba.org Subject: RE: [Samba] Changed PDC IP, all hell broke lose I am not running winbindd on the server. I am using the WINS server of my hospital which I have no control over. I have already tried deleting browse.dat (I do not see the other two files anywhere) to no avail. So my fear is that this is all happening because the WINS server is refusing to recognize the change since I cannot do anything about it. Is that the issue? Is there anyway to force a WINS server to change the IP it has a for domain master browser? -- Paul Raines (http://help.nmr.mgh.harvard.edu) On Tue, 4 Sep 2012 10:59am, Robert Adkins II wrote: It's most likely that your server has the old IP Address Cached in the wins.dat, browse.dat, browse.tdb. I recommend the following: Shutdown the windbind, nmbd and smbd services. Back up each of the above mentioned files. Delete the original above named files. Restart your services and then see if you can connect. You may also need to edit your samba configuration file to point to the new server IP Address as the PDC Master Browser. (Assuming you didn't already do that.) The problem is that your server is telling clients to attempt to find it on a network that no longer exists. -- Regards, Robert Adkins II -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Paul Raines Sent: Tuesday, September 04, 2012 10:41 AM To: samba@lists.samba.org Subject: [Samba] Changed PDC IP, all hell broke lose I had to move my RedHat 5 box acting as a PDC to a new IP address. It is running samba 3.5.10. After the move, none of my windows or linux samba clients worked anymore. I tried rejoining some to the domain, but would get error Unable to find a suitable server Join to domain 'MRIRESEARCH' is not valid The old PDC IP address is 132.183.202.95 and nothing is at that IP anymore (for 4 days now). The new IP is 172.21.21.35 I ran 'net -d 10 join
Re: [Samba] Changed PDC IP, all hell broke lose
It's most likely that your server has the old IP Address Cached in the wins.dat, browse.dat, browse.tdb. I recommend the following: Shutdown the windbind, nmbd and smbd services. Back up each of the above mentioned files. Delete the original above named files. Restart your services and then see if you can connect. You may also need to edit your samba configuration file to point to the new server IP Address as the PDC Master Browser. (Assuming you didn't already do that.) The problem is that your server is telling clients to attempt to find it on a network that no longer exists. -- Regards, Robert Adkins II -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Paul Raines Sent: Tuesday, September 04, 2012 10:41 AM To: samba@lists.samba.org Subject: [Samba] Changed PDC IP, all hell broke lose I had to move my RedHat 5 box acting as a PDC to a new IP address. It is running samba 3.5.10. After the move, none of my windows or linux samba clients worked anymore. I tried rejoining some to the domain, but would get error Unable to find a suitable server Join to domain 'MRIRESEARCH' is not valid The old PDC IP address is 132.183.202.95 and nothing is at that IP anymore (for 4 days now). The new IP is 172.21.21.35 I ran 'net -d 10 join' and would see it was still trying to connect to the old IP address. I tried 'net cache flush' to no avail. I shut down samba, removed every file in /var/cache/samba and still no change. It tries to go to the old IP address. On the PDC box, I increase 'os level' from 60 to 70, stopped the nmbd and smbd processes, did a 'net flush cache' and restarted nmbd and smbd. Still it fails and the nmbd log as the following. == [2012/09/04 10:09:25, 0] nmbd/nmbd.c:857(main) nmbd version 3.5.10-0.110.el5_8 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 [2012/09/04 10:09:25.716397, 0] nmbd/nmbd_logonnames.c:160(add_logon_names) add_domain_logon_names: Attempting to become logon server for workgroup MRIRESEARCH on subnet 172.21.21.35 [2012/09/04 10:09:25.716599, 0] nmbd/nmbd_logonnames.c:160(add_logon_names) add_domain_logon_names: Attempting to become logon server for workgroup MRIRESEARCH on subnet 192.168.0.150 [2012/09/04 10:09:25.716671, 0] nmbd/nmbd_logonnames.c:160(add_logon_names) add_domain_logon_names: Attempting to become logon server for workgroup MRIRESEARCH on subnet UNICAST_SUBNET [2012/09/04 10:09:25.716768, 0] nmbd/nmbd_become_dmb.c:337(become_domain_master_browser_wins) become_domain_master_browser_wins: Attempting to become domain master browser on workgroup MRIRESEARCH, subnet UNICAST_SUBNET. [2012/09/04 10:09:25.716828, 0] nmbd/nmbd_become_dmb.c:351(become_domain_master_browser_wins) become_domain_master_browser_wins: querying WINS server from IP 0.0.0.0 for domain master browser name MRIRESEARCH1b on workgroup MRIRESEARCH [2012/09/04 10:09:25.722744, 0] nmbd/nmbd_logonnames.c:121(become_logon_server_success) become_logon_server_success: Samba is now a logon server for workgroup MRIRESEARCH on subnet UNICAST_SUBNET [2012/09/04 10:09:25.722928, 0] nmbd/nmbd_become_dmb.c:235(become_domain_master_query_success) become_domain_master_query_success: There is already a domain master browser at IP 132.183.202.95 for workgroup MRIRESEARCH registered on subnet UNICAST_SUBNET. [2012/09/04 10:09:29.096239, 0] nmbd/nmbd_logonnames.c:121(become_logon_server_success) become_logon_server_success: Samba is now a logon server for workgroup MRIRESEARCH on subnet 172.21.21.35 [2012/09/04 10:09:29.096382, 0] nmbd/nmbd_logonnames.c:121(become_logon_server_success) become_logon_server_success: Samba is now a logon server for workgroup MRIRESEARCH on subnet 192.168.0.150 [2012/09/04 10:09:49.731244, 0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2) * Samba name server PDC-NMR is now a local master browser for workgroup MRIRESEARCH on subnet 172.21.21.35 * [2012/09/04 10:09:49.731468, 0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2) * Samba name server PDC-NMR is now a local master browser for workgroup MRIRESEARCH on subnet 192.168.0.150 * [2012/09/04 10:10:10.732440, 0] nmbd/nmbd_browsesync.c:247(domain_master_node_status_fail) domain_master_node_status_fail: Doing a node status request to the domain master browser for workgroup MRIRESEARCH at IP 132.183.202.95 failed. Cannot sync browser lists. [2012/09/04 10:10:10.732636, 0] nmbd/nmbd_browsesync.c:247(domain_master_node_status_fail) domain_master_node_status_fail: Doing a node status request to the domain master browser for workgroup MRIRESEARCH at IP 132.183.202.95 failed. Cannot sync browser lists. = Where
Re: [Samba] Changed PDC IP, all hell broke lose
More information is required. What is the WINS server running OS wise? Can you work with the IT Staff in charge of that WINS Server? -- Regards, Robert Adkins -Original Message- From: Paul Raines [mailto:rai...@nmr.mgh.harvard.edu] Sent: Tuesday, September 04, 2012 11:16 AM To: Robert Adkins II Cc: samba@lists.samba.org Subject: RE: [Samba] Changed PDC IP, all hell broke lose I am not running winbindd on the server. I am using the WINS server of my hospital which I have no control over. I have already tried deleting browse.dat (I do not see the other two files anywhere) to no avail. So my fear is that this is all happening because the WINS server is refusing to recognize the change since I cannot do anything about it. Is that the issue? Is there anyway to force a WINS server to change the IP it has a for domain master browser? -- Paul Raines (http://help.nmr.mgh.harvard.edu) On Tue, 4 Sep 2012 10:59am, Robert Adkins II wrote: It's most likely that your server has the old IP Address Cached in the wins.dat, browse.dat, browse.tdb. I recommend the following: Shutdown the windbind, nmbd and smbd services. Back up each of the above mentioned files. Delete the original above named files. Restart your services and then see if you can connect. You may also need to edit your samba configuration file to point to the new server IP Address as the PDC Master Browser. (Assuming you didn't already do that.) The problem is that your server is telling clients to attempt to find it on a network that no longer exists. -- Regards, Robert Adkins II -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Paul Raines Sent: Tuesday, September 04, 2012 10:41 AM To: samba@lists.samba.org Subject: [Samba] Changed PDC IP, all hell broke lose I had to move my RedHat 5 box acting as a PDC to a new IP address. It is running samba 3.5.10. After the move, none of my windows or linux samba clients worked anymore. I tried rejoining some to the domain, but would get error Unable to find a suitable server Join to domain 'MRIRESEARCH' is not valid The old PDC IP address is 132.183.202.95 and nothing is at that IP anymore (for 4 days now). The new IP is 172.21.21.35 I ran 'net -d 10 join' and would see it was still trying to connect to the old IP address. I tried 'net cache flush' to no avail. I shut down samba, removed every file in /var/cache/samba and still no change. It tries to go to the old IP address. On the PDC box, I increase 'os level' from 60 to 70, stopped the nmbd and smbd processes, did a 'net flush cache' and restarted nmbd and smbd. Still it fails and the nmbd log as the following. == [2012/09/04 10:09:25, 0] nmbd/nmbd.c:857(main) nmbd version 3.5.10-0.110.el5_8 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 [2012/09/04 10:09:25.716397, 0] nmbd/nmbd_logonnames.c:160(add_logon_names) add_domain_logon_names: Attempting to become logon server for workgroup MRIRESEARCH on subnet 172.21.21.35 [2012/09/04 10:09:25.716599, 0] nmbd/nmbd_logonnames.c:160(add_logon_names) add_domain_logon_names: Attempting to become logon server for workgroup MRIRESEARCH on subnet 192.168.0.150 [2012/09/04 10:09:25.716671, 0] nmbd/nmbd_logonnames.c:160(add_logon_names) add_domain_logon_names: Attempting to become logon server for workgroup MRIRESEARCH on subnet UNICAST_SUBNET [2012/09/04 10:09:25.716768, 0] nmbd/nmbd_become_dmb.c:337(become_domain_master_browser_wins) become_domain_master_browser_wins: Attempting to become domain master browser on workgroup MRIRESEARCH, subnet UNICAST_SUBNET. [2012/09/04 10:09:25.716828, 0] nmbd/nmbd_become_dmb.c:351(become_domain_master_browser_wins) become_domain_master_browser_wins: querying WINS server from IP 0.0.0.0 for domain master browser name MRIRESEARCH1b on workgroup MRIRESEARCH [2012/09/04 10:09:25.722744, 0] nmbd/nmbd_logonnames.c:121(become_logon_server_success) become_logon_server_success: Samba is now a logon server for workgroup MRIRESEARCH on subnet UNICAST_SUBNET [2012/09/04 10:09:25.722928, 0] nmbd/nmbd_become_dmb.c:235(become_domain_master_query_success) become_domain_master_query_success: There is already a domain master browser at IP 132.183.202.95 for workgroup MRIRESEARCH registered on subnet UNICAST_SUBNET. [2012/09/04 10:09:29.096239, 0] nmbd/nmbd_logonnames.c:121(become_logon_server_success) become_logon_server_success: Samba is now a logon server for workgroup MRIRESEARCH on subnet 172.21.21.35 [2012/09/04 10:09:29.096382, 0] nmbd/nmbd_logonnames.c:121(become_logon_server_success) become_logon_server_success: Samba is now a logon server
Re: [Samba] Phantom Domain Master Browser
There is no wins.dat or browse.dat anywhere on my server. I am surprised to find this to be the case. I do not have a machine on my network with the IP Address in question. Regards, Robert -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Gaiseric Vandal Sent: Tuesday, July 31, 2012 9:46 AM To: samba@lists.samba.org Subject: Re: [Samba] Phantom Domain Master Browser In the /var/samba/locks directory you may have browse.dat file or wins.* (if this is a WINS server) files that have incorrect info. You should be able to name/backup these files and restart nmbd. Is the phantom master browser a samba server or a Windows machine? the Samba DC normally should win browser elections but it is not always the case. On 07/20/12 09:08, Robert Adkins II wrote: I brought up the old server and have been reviewing the log files. There is no indication of the phantom master browser existing in the old log files. -- Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Robert Adkins II Sent: Friday, July 20, 2012 8:50 AM To: samba@lists.samba.org Subject: [Samba] Phantom Domain Master Browser There's a phantom domain master browser showing up in my Samba nmbd.log file. I keep thinking that maybe it is left over in one of the files that I transferred over from the old server to the new server and it isn't clearing itself out. Is there a way to clear that and is it possible to have a phantom browser fighting over the Domain from a copied over file? I transferred all of the Samba files found in /etc/samba to the new server. This was also an upgrade from Samba 3.2.7 to Samba 3.6.3 I have noticed some additional files in the /var/log/Samba directory as well as some additional files in the /etc/samba directory on the new server. -- Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Phantom Domain Master Browser
Nevermind. I found them. I also performed the below suggestions and the phantom IP address is still there, fighting for control of the network. -- Regards, Robert Adkins -Original Message- From: Robert Adkins II [mailto:radk...@impelind.com] Sent: Wednesday, August 29, 2012 10:54 AM To: 'gaiseric.van...@gmail.com'; 'samba@lists.samba.org' Subject: RE: [Samba] Phantom Domain Master Browser There is no wins.dat or browse.dat anywhere on my server. I am surprised to find this to be the case. I do not have a machine on my network with the IP Address in question. Regards, Robert -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Gaiseric Vandal Sent: Tuesday, July 31, 2012 9:46 AM To: samba@lists.samba.org Subject: Re: [Samba] Phantom Domain Master Browser In the /var/samba/locks directory you may have browse.dat file or wins.* (if this is a WINS server) files that have incorrect info. You should be able to name/backup these files and restart nmbd. Is the phantom master browser a samba server or a Windows machine? the Samba DC normally should win browser elections but it is not always the case. On 07/20/12 09:08, Robert Adkins II wrote: I brought up the old server and have been reviewing the log files. There is no indication of the phantom master browser existing in the old log files. -- Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Robert Adkins II Sent: Friday, July 20, 2012 8:50 AM To: samba@lists.samba.org Subject: [Samba] Phantom Domain Master Browser There's a phantom domain master browser showing up in my Samba nmbd.log file. I keep thinking that maybe it is left over in one of the files that I transferred over from the old server to the new server and it isn't clearing itself out. Is there a way to clear that and is it possible to have a phantom browser fighting over the Domain from a copied over file? I transferred all of the Samba files found in /etc/samba to the new server. This was also an upgrade from Samba 3.2.7 to Samba 3.6.3 I have noticed some additional files in the /var/log/Samba directory as well as some additional files in the /etc/samba directory on the new server. -- Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Phantom Domain Master Browser
Two things: 1. There is no active hosts on my network using that IP Address. 2. There are entries for the Phantom Domain Master Browser, they are pointing to the following: [Domain Name]#1c {string of #'s} -Phantom Server IP Address- *Current Samba Server IP Address* [Domain Name]#1b {string of #'s} -Phantom Server IP Address- *Current Samba Server IP Address* There are no single entries with the phantom IP Address. I have also run an nmap scan of the entire network, there is nothing listed as using the Phantom IP Address, we do not use Wireless and there is nothing plugged into any of the network jacks that I am unaware of, every port is accounted for. -- Regards, Robert Adkins -Original Message- From: Dale Schroeder [mailto:d...@briannassaladdressing.com] Sent: Wednesday, August 29, 2012 1:33 PM To: Robert Adkins II Cc: Samba Subject: Re: [Samba] Phantom Domain Master Browser Robert, Assuming one of the files you found was wins.dat, is there an entry for the offending IP with a corresponding hostname? Knowing the source should surely help with troubleshooting. Dale On 08/29/2012 10:08 AM, Robert Adkins II wrote: Nevermind. I found them. I also performed the below suggestions and the phantom IP address is still there, fighting for control of the network. -- Regards, Robert Adkins -Original Message- From: Robert Adkins II [mailto:radk...@impelind.com] Sent: Wednesday, August 29, 2012 10:54 AM To: 'gaiseric.van...@gmail.com'; 'samba@lists.samba.org' Subject: RE: [Samba] Phantom Domain Master Browser There is no wins.dat or browse.dat anywhere on my server. I am surprised to find this to be the case. I do not have a machine on my network with the IP Address in question. Regards, Robert -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Gaiseric Vandal Sent: Tuesday, July 31, 2012 9:46 AM To: samba@lists.samba.org Subject: Re: [Samba] Phantom Domain Master Browser In the /var/samba/locks directory you may have browse.dat file or wins.* (if this is a WINS server) files that have incorrect info. You should be able to name/backup these files and restart nmbd. Is the phantom master browser a samba server or a Windows machine? the Samba DC normally should win browser elections but it is not always the case. On 07/20/12 09:08, Robert Adkins II wrote: I brought up the old server and have been reviewing the log files. There is no indication of the phantom master browser existing in the old log files. -- Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Robert Adkins II Sent: Friday, July 20, 2012 8:50 AM To: samba@lists.samba.org Subject: [Samba] Phantom Domain Master Browser There's a phantom domain master browser showing up in my Samba nmbd.log file. I keep thinking that maybe it is left over in one of the files that I transferred over from the old server to the new server and it isn't clearing itself out. Is there a way to clear that and is it possible to have a phantom browser fighting over the Domain from a copied over file? I transferred all of the Samba files found in /etc/samba to the new server. This was also an upgrade from Samba 3.2.7 to Samba 3.6.3 I have noticed some additional files in the /var/log/Samba directory as well as some additional files in the /etc/samba directory on the new server. -- Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Phantom Domain Master Browser
There's a phantom domain master browser showing up in my Samba nmbd.log file. I keep thinking that maybe it is left over in one of the files that I transferred over from the old server to the new server and it isn't clearing itself out. Is there a way to clear that and is it possible to have a phantom browser fighting over the Domain from a copied over file? I transferred all of the Samba files found in /etc/samba to the new server. This was also an upgrade from Samba 3.2.7 to Samba 3.6.3 I have noticed some additional files in the /var/log/Samba directory as well as some additional files in the /etc/samba directory on the new server. -- Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Phantom Domain Master Browser
I brought up the old server and have been reviewing the log files. There is no indication of the phantom master browser existing in the old log files. -- Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Robert Adkins II Sent: Friday, July 20, 2012 8:50 AM To: samba@lists.samba.org Subject: [Samba] Phantom Domain Master Browser There's a phantom domain master browser showing up in my Samba nmbd.log file. I keep thinking that maybe it is left over in one of the files that I transferred over from the old server to the new server and it isn't clearing itself out. Is there a way to clear that and is it possible to have a phantom browser fighting over the Domain from a copied over file? I transferred all of the Samba files found in /etc/samba to the new server. This was also an upgrade from Samba 3.2.7 to Samba 3.6.3 I have noticed some additional files in the /var/log/Samba directory as well as some additional files in the /etc/samba directory on the new server. -- Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- 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
[Samba] Migrated Server Hardware - Now Experiencing Some Client Drops
I have recently upgrade the hardware that the Samba server was running on. This also included an OS and Samba version upgrade. Old Server OpenSuSe 11.1 Samba 3.2.7 New Server OpenSuSe 12.1 Samba 3.6.3 I moved over everything located in the /etc/samba directory from the old hardware to the new hardware. I set the new server to use the same IP Address, services, hostname. The only difference between the two servers (besides hardware) is the OS and the Samba revision. It's been about two weeks now and since the switch, I have had between none and upwards of three clients losing connection to the server for a short period of time. The clients do not show anything beyond themselves and maybe one other workstation on the network for upwards of 5 minutes. I have seen the following error in the log.nmbd file: [2012/07/13 10:55:06, 0] nmbd/nmbd_browsesync.c:486(get_domain_master_name_node_status_fail) get_domain_master_name_node_status_fail: Doing a node status request to the domain master browser at IP 192.168.254.57 failed. Which has not repeated for several hours. In searching through my DHCP lease log, ip address 192.168.254.57 is no longer leased and it is not holding the hostname of the PC that had that address. My smb.conf file has the OS Level set to 65, which should be high enough to be the master browser for the network. I also have the DHCP server providing the server's address as the WINS Server and the smb.conf file has WINS Support active and I am running the Winbind server. Is there a log level that may show me more information as to what might be duking it out with the new Samba Server? (The old server is not longer connected to the network, it is available only as a last resort back-up at this time.) -- Regards, Robert Adkins -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] speed of samba vs Windows
-Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Steve Thompson Sent: Thursday, June 28, 2012 11:07 AM To: Todor Fassl Cc: samba@lists.samba.org Subject: Re: [Samba] speed of samba vs Windows On Thu, 28 Jun 2012, Todor Fassl wrote: Is there any reason to believe that a samba server would be slower when serving up roaming profiles than a real Windows server? In my experience, Samba is much faster than Windows on comparable hardware. From 3 to 5 times faster, depending on function. Samba is also far more versatile and configurable than Windows Server. For instance, built into Samba it's possible to configure a Recycle Bin into each and every share. This is accomplished through adding a single line to the share. To do that on Windows, it requires a registry hack, on each workstation. Maybe that can be automated, but it doesn't have anything to do with the server, it's all done on the workstation, forget to implement the registry hack, then you forget about having a Recycle Bin on that share. I can't tell you how many times that Samba configuration has saved a piece of critical data. Our Windows guy insists samba is slow but I don't believe it. He claims that when you load a roamng profile, Windows downloads only files that have changed and samba downloads everything. But he doesn't know anything about samba and I don't know where he got that from. Indeed he doesn't know anything about Samba; he's wrong. Steve I concur. -Rob -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Migrating to new hardware
I'm looking for confirmation that what I am about to do will work. My intent is to decommission the existing Samba PDC hardware and put in its place the new hardware. I intend on having the users see no difference, in terms of what they have/had and will continue to have available. Right now I will be copying everything from the /etc/samba directory into the same on the new server, moving from Samba 3.2x to Samba 3.6x I also intend on copying over the passwd, shadow and group files. Am I missing anything? Thanks. -- Regards, Robert Adkins II -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Migrating to new hardware
Yeah, my plan is to scoot over the netlogin and the profiles directories as well (and all of the data currently shared on the fileserver too). Thanks. -- Regards, Robert Adkins II -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Gaiseric Vandal Sent: Monday, June 04, 2012 10:07 AM To: samba@lists.samba.org Subject: Re: [Samba] Migrating to new hardware Run testparm -v - you will probably want to copy over the /var/samba/locks directory lock directory = /var/samba/locks state directory = /var/samba/locks cache directory = /var/samba/locks pid directory = /var/samba/locks You also want to make sure your netlogon and profile directories are replicated. I ran into some issues migrating from 3.0.x to 3.4.x. I am not sure if these changes are already in placed in 3.2.x. In 3.4.x. I needed to explicitly defined a unix nobody user. guest account = smb_nobody I also had to explicitly grant admin perms to the domain admins group so that they had sufficient privileges on local PC's. But I think I had made some error somewhere else, so I don't think you will encounter this. I have an ldap backend, and I found with 3.4.x or 3.5.x. that joining the machine to the domain had some issues relating to ldap attributes being created or set properly. On 06/04/12 09:30, Robert Adkins II wrote: I'm looking for confirmation that what I am about to do will work. My intent is to decommission the existing Samba PDC hardware and put in its place the new hardware. I intend on having the users see no difference, in terms of what they have/had and will continue to have available. Right now I will be copying everything from the /etc/samba directory into the same on the new server, moving from Samba 3.2x to Samba 3.6x I also intend on copying over the passwd, shadow and group files. Am I missing anything? Thanks. -- 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] samba with nfs mount in path and MS Office App's
Review all of your permissions and confirm that those permissions are the same for all users having this issues on the server that is sharing the NFS share. I have a feeling that this is a share/permissions issue as much as it could be an NFS share issue. -- Regards, Robert Adkins -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of free...@gmx.ch Sent: Wednesday, October 12, 2011 10:30 AM To: samba@lists.samba.org Subject: [Samba] samba with nfs mount in path and MS Office App's Hi Listmembers Problem: Windows Clients having problems with Microsoft Office App's (Excel, Word) when the files are on the Samba Share documents (which is mapped through a Windows Drive Letter on the client). Two clients have MS Office 2003. They can open doc Documents but when they want to save it error messages are appearing (message about to less space on drive, but this is a false errormessage). Saving of documents does not work and MS Office crashes. Sometimes Word is crashing already when the user opens a document. Same with XLS document. One client has MS Office 2010. He can open and save changes in Microsoft Office Documents. But saving changes, even small ones, are taking 30 seconds. Clients which are using Open Office having no problems. They can even open and saving the MS Office document without Problem. Also with other Applications there are no problems (ex. opening pdf documents, txt documents with notepad etc.). So the problems occurs only while working with this share documents and using Microsoft Office. I've got another share on the same Samba Server named personal. The Microsoft Office clients have no problems on this share. The only difference is that the path from personal share in smb.conf is not a NFS Mount but a location on the harddisk of the server itselve (ext3 partition). So the problem has something to do with using Samba shares which have their path on NFS Mounts. System environment: Centos 5.x Server Samba Version 3.0.33 ***Samba Config [global] workgroup = OfficeLAN server string = qube2 lanman auth = Yes client NTLMv2 auth = Yes time server = Yes add machine script = /usr/sbin/useradd -d /dev/null -g samba-clients -s /bin/false -M %u logon script = %U.bat logon drive = M: logon home = \\%N\profiles\%U logon path = domain logons = Yes os level = 65 preferred master = Yes domain master = Yes wins server = 10.0.10.12 wins support = Yes ldap ssl = no admin users = @sysadmin printer admin = @sysadmin cups options = raw [documents] comment = documents path = /home/nfs_qube2/documents force user = admin read only = No guest ok = Yes *** The documents share is on a NFS Mount which is mounted in /etc/fstab 10.0.10.13:/vol/nfs_qube2/office-data /home/nfs_qube2 nfs rw,bg,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr Thanks for any advice -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone -- 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] cant see data in share
On my home Samba server, I had to switch the authentication from Share Level to User Level. When I did that, my MacBook Pro with OSX 10.7 (Lion) was able to enter the shares and access all of the files. Prior to that, I could see that the shares existed, but was unable to access them. All that I received was a cryptic error message. -- Regards, Robert Adkins II -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of John Kappeser Sent: Wednesday, August 24, 2011 1:05 PM To: samba@lists.samba.org Subject: [Samba] cant see data in share Hi all, i have a little problem. I installed on openSuse 11.4 samba 3.5.7 with standard config and only one share: [tools] path = /tools read only = No writable = Yes So, i can connect via my imac osx 10.6 to my home Dir and see the files in there. I can connect to the share tools too, but all data in there i cant see. The same from Windows pc. Here a snippet from log.smbd: [2011/08/24 18:44:14.359785, 0] smbd/dir.c:304(dptr_close) Invalid key 0 given to dptr_close What does it mean? I know samba very good, but with this version (3.5.7) i have a lot of trouble... Thanx a lot. Diese E-Mail und eventuell beigefügte Anhänge enthalten vertrauliche Informationen, die rechtlich besonders geschützt sein können. Diese Informationen sind ausschließlich für die als Adressaten genannten Personen bestimmt. Wenn Sie nicht der angeschriebene Empfänger sind oder diese E-Mail durch einen Übertragungsfehler erhalten haben, informieren Sie uns bitte sofort per E-Mail, Telefon oder Fax und löschen danach vorliegende E-Mail. Das unbefugte Kopieren dieser E-Mail, ihrer eventuell beigefügten Anhänge sowie die unbefugte Weitergabe der enthaltenen Informationen an Dritte sind nicht gestattet. Wir danken für Ihre Hilfe. This e-mail message together with its attachments, if any, is confidential and may contain information subject to legal privilege. The information contained in this e-mail or its attachments is intended solely for the persons named as addressees. If you are not the intended recipient or have received this e-mail in error, please advise us immediately by e-mail, telephone or fax and delete this message. Any unauthorised copying of this message or unauthorised distribution of the information contained herein is prohibited. Thank you for your co-operation. -- 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
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] Very slow samba performance on Centos 6
Wouldn't it be better to rerun these tests, not from the Ramdisk, but from a network connection to more closely resemble what the results will be when in a production environment? Doing such tests years back did show that FTP will typically be faster than Samba, due to the difference in overhead costs. Samba isn't a service like FTP, it has to negotiate SMB packets, interpret the requests/commands and then communicate that to the system it is running on. I haven't played with CIFS, but I imagine that it to would have a similar or potentially greater overhead than Samba itself. -- Regards, Robert Adkins II -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of vg_ us Sent: Thursday, August 04, 2011 2:12 PM To: volker.lende...@sernet.de Cc: samba@lists.samba.org Subject: Re: [Samba] Very slow samba performance on Centos 6 -- From: Volker Lendecke volker.lende...@sernet.de Sent: Thursday, August 04, 2011 11:01 AM To: vg_ us vg...@hotmail.com Cc: samba@lists.samba.org Subject: Re: [Samba] Very slow samba performance on Centos 6 On Thu, Aug 04, 2011 at 10:49:50AM -0400, vg_ us wrote: I have 2 identical Dell r510 servers with 10gig card, running centos 6 with samba-3.5.4-68.el6_0.2.x86_64. I setup 16G ramdisk samba share on both and ran cp from local ramdisk to samba ramdisk mount. If I cp 12 1-gig files, I get combined 100MB/s transfer rate. Single file cp maxes out at about 15MB/s. Ftp transfer give me over 300MB/s. Running with 9000 MTU. Most smb.conf is default. I even disabled atime and tried ext2 and xfs on ramdisk. Any help will be greatly appreciated. What client application are you using? If it is a cifsfs kernel mount, you might see such artifacts. Please retry with the smbclient(1) application. If that is also slow, we need to investigate further. I re-ran some of the tests with following result: Ftp ramdisk-to-ramdisk: 13572 MB, 32.8 secs - 413.8 MB/s Ftp ramdisk-to-hardisk: 13572 MB, 62.8 secs - 222.4 MB/s Smbclient ramdisk-to-ramdisk: 13572 MB 40 secs - 339 MB/s Smbclient ramdisk-to-harddisk: 13572 MB 64 secs - 212 MB/s cifsfs mount ramdisk-to-ramdisk: 13572 MB 289.8 - 47MB/s cifsfs mounts are really slow, so what happens when linux, windows and mac clients map/mount the share? Are they gonna be this slow? Any way to speed it up? Thanks - Vadim -- 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
[Samba] VFS Objects Recycle questions
I have a need to setup the recycle vfs object on our server. On my test server, I have all of the shares on a single drive and have put the following into each share: vfs_objects = recycle recycle:repository = [Actual Path and Partition that the share is located] recycle:directory_mode = 770 recycle:keeptree = Yes recycle:touch_mtime = Yes recycle:versions = Yes It works like a charm. All of the files when deleted from each share are dumped into the RecycleBin share, I have created a new share just for the RecycleBin that I have also mounted that I can perform a final delete on the files located within. On the live server, there are several partitions with shares split across the several partitions. The setup is the same, in terms of having the above entered into the individual shares and the RecycleBin for each share is located on the same partition/mount point that the share is located. Example: [share1] wide links = no writeable = yes path = /mnt/disk2/share1 write list = @share1 force group = share1 comment = Job Files and Related valid users = @share1 create mode = 770 user = @share1 directory mode = 770 vfs_objects = recycle recycle:repository = /mnt/disk2/sharebin/%u recycle:directory_mode = 770 recycle:keeptree = Yes recycle:touch_mtime = Yes recycle:versions = Yes [sharebin] wide links = no writeable = yes path = /mnt/disk2/sharebin write list = @share1 force directory mode = 770 force group = share1 sync always = yes force create mode = 770 comment = Location of Recycle Bin valid users = @share1 create mode = 770 user = @share1 directory mode = 770 Everything else matches, the folders exist, the folder permissions are the same, it's just a no go on relinking the files on a delete command from the share1 share. -- Regards, Robert -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] VFS Objects Recycle questions
Please disregard. It started working, out of the blue. (Yes, I had previously initiated my changes, forced a restart and even waited a good handful of minutes before performing a test delete.) -- Regards, Robert Adkins II -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Robert Adkins II Sent: Wednesday, July 27, 2011 9:27 AM To: samba@lists.samba.org Subject: [Samba] VFS Objects Recycle questions I have a need to setup the recycle vfs object on our server. On my test server, I have all of the shares on a single drive and have put the following into each share: vfs_objects = recycle recycle:repository = [Actual Path and Partition that the share is located] recycle:directory_mode = 770 recycle:keeptree = Yes recycle:touch_mtime = Yes recycle:versions = Yes It works like a charm. All of the files when deleted from each share are dumped into the RecycleBin share, I have created a new share just for the RecycleBin that I have also mounted that I can perform a final delete on the files located within. On the live server, there are several partitions with shares split across the several partitions. The setup is the same, in terms of having the above entered into the individual shares and the RecycleBin for each share is located on the same partition/mount point that the share is located. Example: [share1] wide links = no writeable = yes path = /mnt/disk2/share1 write list = @share1 force group = share1 comment = Job Files and Related valid users = @share1 create mode = 770 user = @share1 directory mode = 770 vfs_objects = recycle recycle:repository = /mnt/disk2/sharebin/%u recycle:directory_mode = 770 recycle:keeptree = Yes recycle:touch_mtime = Yes recycle:versions = Yes [sharebin] wide links = no writeable = yes path = /mnt/disk2/sharebin write list = @share1 force directory mode = 770 force group = share1 sync always = yes force create mode = 770 comment = Location of Recycle Bin valid users = @share1 create mode = 770 user = @share1 directory mode = 770 Everything else matches, the folders exist, the folder permissions are the same, it's just a no go on relinking the files on a delete command from the share1 share. -- Regards, Robert -- 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] VFS Objects Recycle questions / Round Two
It's working, for at least three user accounts, but it isn't working for all user accounts. If I attempt to delete a file through Samba while using my login, the file just disappears, it isn't relinked into the RecycleBin. However, if other accounts perform a delete through Samba, the file is relinked into the RecycleBin. Any ideas? -- Regards, Robert Adkins II -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Robert Adkins II Sent: Wednesday, July 27, 2011 1:22 PM To: samba@lists.samba.org Subject: Re: [Samba] VFS Objects Recycle questions Please disregard. It started working, out of the blue. (Yes, I had previously initiated my changes, forced a restart and even waited a good handful of minutes before performing a test delete.) -- Regards, Robert Adkins II -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Robert Adkins II Sent: Wednesday, July 27, 2011 9:27 AM To: samba@lists.samba.org Subject: [Samba] VFS Objects Recycle questions I have a need to setup the recycle vfs object on our server. On my test server, I have all of the shares on a single drive and have put the following into each share: vfs_objects = recycle recycle:repository = [Actual Path and Partition that the share is located] recycle:directory_mode = 770 recycle:keeptree = Yes recycle:touch_mtime = Yes recycle:versions = Yes It works like a charm. All of the files when deleted from each share are dumped into the RecycleBin share, I have created a new share just for the RecycleBin that I have also mounted that I can perform a final delete on the files located within. On the live server, there are several partitions with shares split across the several partitions. The setup is the same, in terms of having the above entered into the individual shares and the RecycleBin for each share is located on the same partition/mount point that the share is located. Example: [share1] wide links = no writeable = yes path = /mnt/disk2/share1 write list = @share1 force group = share1 comment = Job Files and Related valid users = @share1 create mode = 770 user = @share1 directory mode = 770 vfs_objects = recycle recycle:repository = /mnt/disk2/sharebin/%u recycle:directory_mode = 770 recycle:keeptree = Yes recycle:touch_mtime = Yes recycle:versions = Yes [sharebin] wide links = no writeable = yes path = /mnt/disk2/sharebin write list = @share1 force directory mode = 770 force group = share1 sync always = yes force create mode = 770 comment = Location of Recycle Bin valid users = @share1 create mode = 770 user = @share1 directory mode = 770 Everything else matches, the folders exist, the folder permissions are the same, it's just a no go on relinking the files on a delete command from the share1 share. -- Regards, Robert -- 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Unable to locate Domain Controller
[EMAIL PROTECTED] wrote: Hello, Ive installed Samba 3 ... however, when I try to add a machine to the domain I get the error that the domain controller cannot be contacted... I am able to login through \\server\folder... however, when I try to add the same machine to the domain, I get an error saying the domain controller cannot be contacted on the windows machine ..(winxp...)... Any ideas? There's a few things besides having the proper settings in your smb.conf 1. If the workstation is currently in a workgroup for the domain you wish to join, you need to take it out of that workgroup. The current work group cannot match the domain you wish to join. 2. You cannot have any mounts or even browsed connections to the domain controller in order to join the workstation to the domain. To correct this, open up the windows command prompt and type in the following case sensitive command: net use * /D This will disconnect ALL connections from the workstation to the domain controller. If you smb.conf file is configured properly, try the above and see if that corrects the issue. Regards, Rob -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Wierd Configuration
Rob Watkin wrote: Hi Everyone, I have a strange network design problem and I suspect that Samba may be part of the solution. Any suggestions welcome. :-) Here goes: Two organisations are sharing a single network of 30 Win95/98 clients with a few XP workstations. The network is owned and managed by a third organisation and the Internet connection is not too hot. So far so good :-). Org-1 wants to pay for their own Internet connection and have asked me to help. I hope to do this using a Linux box running Samba supporting roving profiles (which they need anyway) and Squid. Whats more Org-3 probably wont want me changing the default gateways on the PC's oh and worse there is _no_ DNS whatsoever! So far I have everything working as follows. When a new user is created her roving profile is copied from a template which already has Firefox setup with the necessary proxy settings. When she logs in if she uses Firefox then she will get the new fast connection but IE will deliver the old. (By the way, this works for Firefox but not IE because the latter saves it's configuration settings under HKEY_LOCAL_MACHINE or similar). I guess I will be able to handle email with Thunderbird in the same way. If your still with, thanks for reading so far! :-) So if a user is a member of the Samba domain then they will automatically get access to the new fast connection via the proxy server. My problem is to block access to Squid for users who have not been authenticated into the domain(Org-2). I could get the users to log into Squid manually but that would mean losing centralised user management. Thanks Rob Go to the Squid mailing list, after checking the Squid documentation about User Authentication. You should have your Squid answer fairly quickly. Regards, Rob -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Linux as PDC
Rob, Post your smb.conf file, remove identifying information or substitute it for something else, such as IP Address ranges and Server/Workgroup names. You may also wish to cut out any information about the shares as well. Beyond that, with these workstations you are attempting to join to the domain, are they already in a workgroup using the same name as the domain? Also, do they have any mounted drives on the server you are setting up as the Samba PDC? Both of those will cause a failure for Samba to allow the creation of computer accounts and Domain joining. If the computers are not part of DomainX and are part of WorkGroupY, but you have a share from the PDC of DomainX mounted, type the following in the Windows command line... net use * /D (Yes, with a capital D) This will disconnect all connections to the server and will allow you to join the workstation to the domain, just fine. -- Regards, Robert Adkins IT Manager/Buyer Impel Industries, Inc. Rob Watkin wrote: Hi, I am trying to configure Samba as a primary domain controller so that our local school can have roaming logins. I am using Ubuntu server 6.06.1 on i386. So far I can get everything working as a workgroup but I can't get my windows clients to join the domain. I have read and followed several HOWTO's but I keep hitting the same problems. Are there any documents which explain what a PDC is and how I can tell why my windows clients wont join my domain. Thanks Rob W -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Linux as PDC
Rob, Take your workstation and set it to the workgroup of 'testgroup' (Or whatever else you wish to name it), reboot the machine, then try and get it to join your BC Domain. I am not sure of the reasons, but either Windows or Samba dislikes trying to join a domain if it is already part of a workgroup with the same name as the domain. Also, if you have ANY mounted drives on the workstation that you are joining to the Domain Controller, you need to unmount those first. This is done thruogh the command I provided earlier and will provide again here: Open up the Windows command prompt. net use * /D (with a capital D) To summarize: 1. Remove the workstation from the workgroup that matches the domain of the PDC. Reboot the workstation. 2. Umount any mounted shares or connections to the server using the net use /D command. (If you have mounted shares remount at every login.) 3. Join the Domain of the PDC. That should take care of your issue. -- Regards, Robert Adkins IT Manager/Buyer Impel Industries, Inc. Rob Watkin wrote: Hi Robert I will post the latest version smb.conf file below. I have followed the instructions in http://us4.samba.org/samba/docs/man/Samba-HOWTO- Collection/FastStart.html section Domain Controller for the most part. I have one server (TAU) and one Windows XP client (vm-201). I can get vm-201 to join my BC workgroup but not the domain. I am rebooting the XP machine and restarting samba on TAU between experiments. I have just noticed the following error in the log file which I think is at the bottom of all this! When I try to get the XP box to join the BC domain it asks for a username and password, I give tom ** and then Windows says Computer Name Changes The following error occurred attempting to join the domain BC: The user name could not be found. OK log.smbd === [2006/09/01 14:39:42, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (1001, 100) - sec_ctx_stack_ndx = 0 useradd: unable to lock password file [2006/09/01 14:39:42, 0] rpc_server/srv_samr_nt.c:_samr_create_user (2415) _samr_create_user: Running the command `/usr/sbin/useradd - s /bin/false/ -d /var/lib/nobody vm-201$' gave 1 smb.conf [global] workgroup = BC netbios name = TAU server string = %h server (Samba, Ubuntu) passdb backend = tdbsam security = user username map = /etc/samba/smbusers name resolve order = wins bcast hosts domain logons = yes os level = 35 domain master = yes preferred master = yes wins support = yes # Set CUPS for printing printcap name = CUPS printing = CUPS # Default logon logon drive = H: logon home = \\%L\%U ### logon script = scripts/logon.bat logon script = scripts\logon.bat logon path = \\%L\profile\%U # Useradd scripts add user script = /usr/sbin/useradd -m %u delete user script = /usr/sbin/userdel -r %u add group script = /usr/sbin/groupadd %g delete group script = /usr/sbin/groupdel %g add user to group script = /usr/sbin/usermod -G %g %u add machine script = /usr/sbin/useradd -s /bin/false/ - d /var/lib/nobody %u idmap uid = 15000-2 idmap gid = 15000-2 # sync smb passwords woth linux passwords passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX \spassword:* %n\n . passwd chat debug = yes unix password sync = yes # set the loglevel log level = 3 [homes] comment = Home Directories valid users = %S read only = no browsable = no [printers] comment = All Printers path = /var/spool/samba printer admin = root, rob create mask = 0600 printable = yes guest ok = yes browsable = no [print$] comment = Printer Drivers Share path = /var/lib/samba/drivers write list = rob, root printer admin = rob, root [netlogon] comment = Network Logon Service path = /home/samba/netlogon admin users = root, rob guest ok = yes browseable = no ### admin users = Administrator ### valid users = %U ### read only = no [profile] comment = Roaming profile share path = /home/samba/profiles read only = no profile acls = yes ### valid users = %U ### create mode = 0600 ### directory mode = 0700 ### writable = yes ### browsable = no [allusers] comment = All Users path = /home/shares/allusers valid users = @users force group = users create mask = 0660 directory mask = 0771 writable = yes On Fri, 2006-09-01 at 09:25 -0400, Robert Adkins wrote: Rob, Post your smb.conf file, remove identifying information or substitute it for something else, such as IP Address ranges and Server/Workgroup names. You may also wish to cut out any information about the shares as well. Beyond that, with these workstations
Re: [Samba] Linux as PDC
Logan Shaw wrote: On Fri, 1 Sep 2006, Rob Watkin wrote: I will post the latest version smb.conf file below. I have followed the instructions in http://us4.samba.org/samba/docs/man/Samba-HOWTO- Collection/FastStart.html section Domain Controller for the most part. I have one server (TAU) and one Windows XP client (vm-201). I can get vm-201 to join my BC workgroup but not the domain. I am rebooting the XP machine and restarting samba on TAU between experiments. I have just noticed the following error in the log file which I think is at the bottom of all this! When I try to get the XP box to join the BC domain it asks for a username and password, I give tom ** and then I have to admit that I myself don't understand the exact requirements on what type of account is required here, but it must be some sort of administrator account, not a regular user account, that you use to join to the domain. So you need to use root, or possibly some other privileged account, but I know root works. - Logan root is needed, I believe, in order for Samba to create the Machine Account automatically. I believe that you need to create a Samba account for root, if you are using the Linux passwd/groups and the smbpasswd files for authentication purposes. Rob -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] ftp 8x faster than samba
Blaine Armsterd wrote: Robert Adkins wrote: Again, I suggest that you test like things with like things, test a Windows server's file sharing and then Samba file sharing. Test FTP on a Windows server and then FTP on a Linux server and do this on a controlled network where only the workstation and the server are connected via one hub that has no other network connected to it. That way you can more clearly determine which is faster. I tested the samve server and the same file over the same connection. There's 2 boxes on the switch here at my house. There's no more testing necessary. I can transfer the 723Mb file in 24 seconds using FTP. There's no reason for Samba to take over 2 minutes. Samba and FTP both have vastly differing overheads that affect the transfer of files. Samba (and Windows Server's Filesharing) will never equal FTP in performance. Neither will even come close. FTP is an entirely different protocol that is extremely loose and insecure. You are talking about comparing Oranges to Chevy Trucks. They aren't the same besides the fact that Oranges are commonly round and Chevy Trucks commonly have Round Tires on them. Setup a Windows Server 2003 machine and test copying that file using Windows Filesharing and also using an FTP Server on the Windows Server. That is what I mean when I say test like with like. Compare the speed of the Windows machine in serving that file via FTP and compare that to the Linux machine serving FTP, then compare both in serving SMB/CIFS filesharing. That is the only logical, reasonable and true test that you will be able to make. Again, I am posting this back to the Samba list. I will *NOT* respond to you again. Regards, Robert Adkins -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] ftp 8x faster than samba
Yoink wrote: Robert Adkins wrote: Yoink wrote: This gigabit connection should always be performing as it does under ftp, any advice? I copied a 600MB file from my workstation to our Samba server and it took approximately two minutes. I copied the same file from the Samba server to my workstation using the Command prompt and it took roughly 1 minute 30 seconds. Well I should get -25% performance too, no? Mine is more like -400%. My test was very unscientific and it is very likely that copying the file took exactly the same amount of time whether I used the command line or the Windows GUI. I know nothing of the hardware, installation setup and other testing variables you have in place, such as the testing environment, in order to be able to answer your question. Again, I suggest that you test like things with like things, test a Windows server's file sharing and then Samba file sharing. Test FTP on a Windows server and then FTP on a Linux server and do this on a controlled network where only the workstation and the server are connected via one hub that has no other network connected to it. That way you can more clearly determine which is faster. I understand that there has been significant testing performed like the above and the last time I checked, which was more then a few years ago, Samba performed musch faster then Windows for file sharing. I do recall reading a more recent article (maybe 2 years back) that suggested Windows Server 2003 same closer if not equal to Samba in file serving speed. You would also have to look at other factors, such as the underlying file system used on your server. I have been assuming you are using Linux with Samba, if that is the case you could be using a variety of different file systems for your Linux partitions. For example, if you are using ReiserFS, then you would see a marked increase in reading/writing and subsequently file sharing for relatively small files in, I believe, the sub-32kb range as ReiserFS is tuned for sharing many small files very quickly. However, ReiserFS (At least the last version I was using) wasn't great for serving large files, like the 700MB test file you are using. From what I know of EXT3FS, it is a well rounded file system that is neither particularly fast nor particularly slow in serving files of various sizes. It is a good middle ground file system and the one that I primarily use on my servers and other Linux installations. Beyond that, there are numerous other factors that can lead to a slowdown in file sharing speeds, which is something that I am hardly an expert in determining. So, I am posting this back to the list, perhaps someone there will be able to better advise you towards what to look into. Regards, Robert Adkins -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] ftp 8x faster than samba
I have just been doing some more reading (Google: Samba Test Results) on benchmarking results and it looks like Samba is capable of performing upwards of 2.5 times faster then Windows 2003, especially as the number of clients begins to ramp up in quantity. If you aren't getting those kind of results with direct comparisons between Windows File sharing and Linux File sharing on the same hardware, then I believe your problem is wholly unrelated to Samba. Also, from my understanding of the differences between how FTP and both Windows and Samba file sharing functions, you will never receive the kind of speeds from either Windows or Samba that you can through FTP. Regards, Robert Adkins Robert Adkins wrote: Yoink wrote: Robert Adkins wrote: Yoink wrote: This gigabit connection should always be performing as it does under ftp, any advice? I copied a 600MB file from my workstation to our Samba server and it took approximately two minutes. I copied the same file from the Samba server to my workstation using the Command prompt and it took roughly 1 minute 30 seconds. Well I should get -25% performance too, no? Mine is more like -400%. My test was very unscientific and it is very likely that copying the file took exactly the same amount of time whether I used the command line or the Windows GUI. I know nothing of the hardware, installation setup and other testing variables you have in place, such as the testing environment, in order to be able to answer your question. Again, I suggest that you test like things with like things, test a Windows server's file sharing and then Samba file sharing. Test FTP on a Windows server and then FTP on a Linux server and do this on a controlled network where only the workstation and the server are connected via one hub that has no other network connected to it. That way you can more clearly determine which is faster. I understand that there has been significant testing performed like the above and the last time I checked, which was more then a few years ago, Samba performed musch faster then Windows for file sharing. I do recall reading a more recent article (maybe 2 years back) that suggested Windows Server 2003 same closer if not equal to Samba in file serving speed. You would also have to look at other factors, such as the underlying file system used on your server. I have been assuming you are using Linux with Samba, if that is the case you could be using a variety of different file systems for your Linux partitions. For example, if you are using ReiserFS, then you would see a marked increase in reading/writing and subsequently file sharing for relatively small files in, I believe, the sub-32kb range as ReiserFS is tuned for sharing many small files very quickly. However, ReiserFS (At least the last version I was using) wasn't great for serving large files, like the 700MB test file you are using. From what I know of EXT3FS, it is a well rounded file system that is neither particularly fast nor particularly slow in serving files of various sizes. It is a good middle ground file system and the one that I primarily use on my servers and other Linux installations. Beyond that, there are numerous other factors that can lead to a slowdown in file sharing speeds, which is something that I am hardly an expert in determining. So, I am posting this back to the list, perhaps someone there will be able to better advise you towards what to look into. Regards, Robert Adkins -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] ftp 8x faster than samba
Yoink wrote: I've seen this problem mentioned many times in the various FAQs and How-Tos on the Internet, but none of the solutions presented therein have worked for me. SNIP This gigabit connection should always be performing as it does under ftp, any advice? I copied a 600MB file from my workstation to our Samba server and it took approximately two minutes. I copied the same file from the Samba server to my workstation using the Command prompt and it took roughly 1 minute 30 seconds. This was done with the Samba server acting as a Primary Domain Controller and with the workstation joined to the Domain. I just performed the above unscientific test about ten minutes ago. I had also performed this test when I initially switched us off of a Windows server and onto the Linux server about 4 years ago and the Samba server provided file sharing significantly faster then our previous Windows server had. From my rather limited understanding, it simply won't be possible to get Samba to provide the same speed as FTP, due to the serious difference between the layers of software that are in between FTP serving files and Samba serving files. For instance, FTP provides no real security beyond the clear text password, while Windows Filesharing and Samba does. A better and far more accurate test would be to time the transfer of files from a Windows Server to a Windows Workstation, via Windows Filesharing and then from the Linux Samba server to the Windows workstation with all other variables being the same. Testing like things is far superior to testing unlike things. I believe that if you were to setup a FTP server on a Windows server and then copy a file off that server, it would also be significantly faster then using Windows filesharing. I could be wrong, as fine tuning networking speeds and testing servers isn't part of my job. Regards, Robert Adkins -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba]UPDATE: Copying Windows 2K XP Profi....
Guido Lorenzutti wrote: You change the domain and ONLY fix the unix permissions and you expect this to work? Dream on :) I expected to find out what would happen. Nobody replied so I needed to give it a try. If you need a hand, I will try to help you, I have to do this on 1800 users a few days a go, but is to long to write if you don't need it. Sounds great! I still have a handful of users to switch over and a few of them are absolute bears if their stuff isn't exactly the same, all the time. -Rob Robert Adkins wrote: Robert Adkins wrote: Hello, In my effort to make the switchover as smooth as possible, I am thinking that I could copy a user's roaming profile off their workstation to the profile share on the Samba 3.x server, set the permissions and then take the workstation off the old domain, put it on the new domain and then login with the user and just like that, be done with it. Is this going to be problematic or is there something I could be missing that will cause this to backfire on me? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Copying Windows 2K XP Profiles to new Server
Hello, In my effort to make the switchover as smooth as possible, I am thinking that I could copy a user's roaming profile off their workstation to the profile share on the Samba 3.x server, set the permissions and then take the workstation off the old domain, put it on the new domain and then login with the user and just like that, be done with it. Is this going to be problematic or is there something I could be missing that will cause this to backfire on me? -- Regards, Robert Adkins IT Manager/Buyer Impel Industries, inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba]UPDATE: Copying Windows 2K XP Profi....
Robert Adkins wrote: Hello, In my effort to make the switchover as smooth as possible, I am thinking that I could copy a user's roaming profile off their workstation to the profile share on the Samba 3.x server, set the permissions and then take the workstation off the old domain, put it on the new domain and then login with the user and just like that, be done with it. Is this going to be problematic or is there something I could be missing that will cause this to backfire on me? I gave it a go. ...and found out that it just won't fly. I reset all the permissions on the files to match the permissions of the newly created profile for the test account I created. (Save that the profile was set to be owned by the actual user.) I fired up their login on the domain, at the workstation and it seemed to load up fine, except Microsoft Outlooked decided that it had never been installed in that user account before, which it shouldn't have done as the users NT profile should have been downloaded to the workstation from the server's copy. Anyway, I had to delete the whole user profile and create it through the a fresh login and then trick MS Outlook into using the right files AFTER it did it's install. -Rob -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Differences between 'logon home' and 'logon path'?
Hey All, I am going with creating a new Samba PDC, instead of trying to coax data files off of the old server at this time. Thankfully we have fewer then 40 workstations. So, this won't take to long. However, I am running into a snag. I want to duplicate much of what was in the old smb.conf, only I am finding a few differences and new parts in the 3.x line of Samba that wasn't part of the 2.x line of Samba. What's the difference between the 'login home' and the 'logon path'? Both seem to be pointing to some kind of profile, but have slightly different paths and slightly different end points with 'profile' in the line. Thanks, Rob -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Moving Samba PDC from one server to another...
...along with upgrading from the Samba 2.2.x line to the 3.x line. I have been reading through the Samba documentation and haven't found anything regarding moving a Samba PDC from one server to another server and also upgrade the Samba version. Am I looking at a lengthy removing and rejoining of all PCs from the old domain to the new domain and copying over the application data from their roaming profiles off the old server to the new server? It seems like there should be an easy way to handle this. Thanks for any pointers to documentation covering this. -Rob -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] grant administrator rights
Patrick DUBAU wrote: Hi, we want to give all our users all the rights on the stations, i see 2 solutions : - on the station goto local group administrators and add everyone - on the sation goto local group administrator annd add an LDAP group call UA (created by us with containing all ou users) Which way is the best in term of charge ? Someone told to me that in the first case windows has to handle all the users on the stations, but in the second case only one group (group UA). We have about 4000 users accounts in LDAP Does windows have problem handling so much users? Thanks for any suggestion or return of experience I see absolutely no reason to have 4000 users setup as Administrators on their local machines. However, if you wish to go down that route (Which I think is VERY dangerous from a security perspective.) inside your Samba Configuration file, you can setup a group to act as Administrator and just add all of your users to that group. If the OS you are hosting Samba on already has a Global Users group that every account is automatically part of, simply add this Group to the line detailing which groups/users are to have Administrator rights. Good luck. Robert Adkins IT Manger/Buyer Impel Industries, Inc. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] One SAMBA Server, two networks.
Hello, I am making some changes to our network to split the front office and back office onto two seperate subnets, but need to keep the same Samba server in place serving both subnets. What I am intending to do is install an additional network card into the server and address this new card for the new subnet. What I am looking to do is properly broadcast the server's samba status/availability across both networks and properly serve files/domain controller data across both subnets. To do this, I intend to duplicate all the entries in the lmhosts file in /etc/samba with the only difference being the network that the server is broadcasting on. Will this work, or is this more complicated then I am currently seeing? -- Regards, Robert Adkins IT Manager/Buyer Impel Industries, inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Profiles
Even though it might not look like it is so, your profiles are likely only being stored locally. In our case, I have a dmusers group that each user is a member of and the dmusers group has rw rights to the profiles directory on the server. What Windows does is store the profile on the local machine and will update the 'roaming profile' on the server, if applicable. You might not be seeing or receiving an error message stating that they aren't able to update/upload the profile to the server. Check in your Windows Event viewer to see if there are any message stating that. I would also check permissions on the 'profiles' directory. It might need a decent alteration of the existing permissions to allow the profiles to be updated. -Rob Miles Scruggs wrote: I have a few weird problems with profiles on my samba PDC. Right now I'm just testing with two XP pro clients. Samba is Samba version 3.0.2a-Debian The problems that I'm having and I believe are related are: 1.) Profiles are saved to the server, but don't migrate to different clients. This is very odd, I can make all sorts of changes to the profile and I can see those changes being saved to the server. When I log back in those changes are loaded to the local machine, if I try to login to another client, I see a totally separate profile. The kicker is that all data is being saved to the same path, but somehow it can differenetite which client is logging in. 2.) Once the profile is created on one client, the home dir is writable to only that client. The home dirs and profile dir is two separate locations /home/%u for homedirs /home/profile/%u for profiles Thanks for the help Miles -- Regards, Robert Adkins IT Manager/Buyer Impel Industries, inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Hiding some stuff
Mário Gamito wrote: Hi, Is there a way i could hide netlogon, profiles, homes, etc., from my windows 2000 users ? Will hide files solves the issue, or is there another way ? Any help would be appreciated. Warm Regards, Mário Gamito I know how to hide the netlogon and profiles directories. Put them somewhere on the server that isn't shared. I think there is also a setting within the smb.conf to not share/create the users 'home' directory. -Rob -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SAMBA and NFS
Eric Boehm wrote: On Wed, Jul 07, 2004 at 02:49:30PM -0400, bastard operater wrote: bastard == bastard operater [EMAIL PROTECTED] writes: bastard Thank you for the response. Would there still be a bastard performance problem if I had two NICs in the PC? One to bastard connect to the NFS share and the second NIC to connect to bastard the windows PCs? I am talking about a maximum of 20 bastard people connecting to the samba share with at most 5-6 bastard people passing data over the share. The samba server bastard would be a 2.2GHz PC with 512MB of RAM. I don't think that will help you. I am talking about the overhead of the two protocols. For example, if you were access files via NFS, you might see something like this client - NFS - NFS server and for samba client - SMB (CIFS) - Samba server However, in your example, client - SMB (CIFS) - Samba server - NFS - NFS server The client has to go through two network file systems to get to the data. Not really much of a slowdown. I have that confirugation setup within my own network with roughly 25 users. Primarily, they are accessing Samba from the server hosting the files, however if need be those Samba shares can be accessed via NFS then Samba off the second Server. I configured the two servers 'identically' with the second server running an rsyne between the 'share' and a 'share2' over NFS, that way if the primary server fails, all I need to do is change umount 'share2' and remount it as 'share' and voila no other changes are necesary, since the same fileshares are already available through Samba via both servers. If I wanted to, I could quickly edit the smb.conf file to change the 'server' name the second server broadcasts and within a few minutes everyone will be 'reconnected' to the 'original' server. In my tests, there really is very little difference in performance. -Rob -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba/win2k ??
Sheakoski, Corey M (PKI) wrote: They are logging onto a domain. What/Who is/are logging onto a domain? Your users or your workstations? Is the server a Windows Running Domain Controller or do you have Samba setup as a Domain Controler on some form of Linux/UNIX/*BSD? When going to map a network drive I can bring up a list of the users on the network, so I know that the users exist. When you say users, are you referring to 'Computers' or an Active Directory Store of User Accounts? it's just a matter of the password, using the win logon password doesnt work so I'm stuck right now. thanks for your help. With those answers I am sure that someone, either myself or others, could point you into the right direction. -Rob -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: want to ban XP Home Edition
tms3 wrote: Well remeber all...XP Prop and XP home are teh same OS. And w2k3 and XP sp2 are the same OS . Changes are made through the registry. Thus XP pro features that home doesn't have are disabled in the registry. Don't know how that would affect the actual stack. Something to think about. Oh yeah, and M$ is using the FreeBSD protocol stack anyway...only all users have root level access to it. Aren't there a few other differences then just a a registry change between the two? I believe that there is a difference, albiet small, between the XP Home and XP Pro kernels, in that the Home Edition will NOT use two processors regardless of what you do, whereas the Pro version will happily gobble up two CPUs. I honestly don't believe hat could be as simple as a registry change. Beyond that, there are a few other differences that are designed to 'force' people onto Windows XP Pro, if they want more 'corporate' (in my case actually functional) features in an OS. -Rob -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbpasswd !!?!
Samba utilizes the UNIX File permissions for telling Windows machines who can do what with a file. Due to this, you have a decent User and Group set of controls you can place on the files/directories that you choose to share with Samba. Without having users in the passwd file, Samba wouldn't be able to utilize those access rights. Yeah, it can be a paine, but it does a good job. If having multiple user account information to track is a pain, may I suggest converting to NIS or LDAP for user authentication? -Rob Alexander Varga wrote: please help me. Why I cannot create a user with smbpasswd without having this username in /etc/passwd??? ### bash-2.05# smbpasswd -a testaccount New SMB password: Retype new SMB password: Failed to initialise SAM_ACCOUNT for user testaccount. Failed to modify password entry for user testaccount bash-2.05# ## my global in smb.conf [global] workgroup = J9_C server string = %h server (Samba %v) dns proxy = no log file = /usr/local/samba/var/log.%m passdb backend = tdbsam smbpasswd invalid users = root passwd program = /bin/passwd %u socket options = TCP_NODELAY I compilled my samba using ./configure --prefix=/usr/local/samba --with-pam --with-pam_smbpass --with-acl-support and made a solaris package. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbpasswd !!?!
Dwight Tovey wrote: Robert Adkins said: Samba utilizes the UNIX File permissions for telling Windows machines who can do what with a file. Due to this, you have a decent User and Group set of controls you can place on the files/directories that you choose to share with Samba. Without having users in the passwd file, Samba wouldn't be able to utilize those access rights. Yeah, it can be a paine, but it does a good job. If having multiple user account information to track is a pain, may I suggest converting to NIS or LDAP for user authentication? I am also trying to set up a Samba server without having to define local Unix users. Using LDAP is fine for what we want to do. From what you are saying then, will I need to also install nss_ldap in order to get the proper access control? I am unsure, I have a small installation running and haven't been sufficiently motivated to move onto LDAP or NIS at this time. Currently, I stick with seperate passwd/group and smbpasswd files. If we weren't concerned about access control, could we just use the 'force user/group' parameters and not install nss_ldap? I am unsure, that's something I haven't needed to research or implement yet. I am sorry that I was only as helpful as I was previously. -Rob -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbpasswd !!?!
Alexander Varga wrote: Thanx ...and yes. It is realy a big trouble with lot of users. I tryed ldap, but hence my LDAP server is an Novel eDirectory, I am not realy familiar with it and couldn't find any advice on google to configurte it right(the problem I have is to use the right filters while searchyng the LDAP accounts and rights). I read about winbind. ... would it be a solution for me, or better try it once again with LDAP? I need also do manage access to directoryes with restrictions. maybe pam could do that. ... some suggestions? Unless I am mistaken, PAM is the combination passwd/group file with a seperate smbpasswd file. From what you are saying, that's not what you want. LDAP is what I would focus on and only because you seem to already have a working LDAP installation running.. If you are still in your early stages with this server (If it is a Linux Server) you could give it a reinstall, I know that during the (Expert) installation process of several different distributions you are asked what kind of authentication model you wish to use, I know that LDAP is one of the choices and it might be easier to configure that during the install then after the initial install of the OS. Believe me when I say this, I am totally lost when it comes to LDAP Authentication.and the above is just a guess. I am very far from an expert here, I am also not very familar with Winbind. I am mearly okay with a few areas of setting up Samba, nothing more. Good luck! -Rob -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Switching Samab PDC and BDCs
Hello Everyone, I am in need of making a change in how my users are authenticated by the Samba Domain Controllers. Basically, I need to switch the authentication to being done from the Primary Domain Controller to the Back-up Domain Controller and still keep all the rest of everything; the shares, login.bat files on the current PDC. At this time, I am thinking that all I need to do is change a few setting within the smb.conf file to make the current Samba BDC the new PDC and the current Samba PDC the new Samba BDC. From my current understanding, that will work out just perfectly for this situation. Am I missing anything in general? Thanks, Robert Adkins IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Replace NT4 PDC
Give yourself plenty of time - this isn't something you cobble together in a weekend. I did it (planning/lab/roll-out) in about 2-and-a-half months and I feel I rushed it. Make sure your PDC/BDC has plenty of RAM. I've got no less than 768M in my machines and I feel pretty comfortable with that. I've not had to hit the swap once - yet! You must not work in The Real World, I had to make the NT 4.0 to Samba PDC change-over in three days... So, it is possible to make the switch VERY quickly if you need to. It ended up taking another handful of days to work out all the wrinkles of permissions and rights. Of course, I only had one PDC and one office to deal with... I just had no extra machines to muck about with... The real pain I had was making the change-over to roaming profiles... BTW, you can make a Samba BDC for a Samba PDC, within the same office space. I have that configured right now as a fail-over system. That took a few extra weeks to build, but in the end it has all turned out pretty darn good. I also have to agree that you should have as much RAM as you can cram into those servers. With a large amount of RAM you can run an amazing number of processes with little to no slow-down or server error. Regards, Robert Adkins IT Manager/Buyer Impel Industries, Inc. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Odd Samba Related issues...
Hello All, I have been experiencing some slightly off issues with Samba on our main Primary Domain Controller recently. The client systems have, on occasion, coughed up an error stating that either the machine account or the password for the user account is invalid, when it is in fact VERY valid. The server itself is rarely ever over 1.43 in load average, determined through using Top and most of the time, the server is hovering at less then .92 Load average. I have been unable to test, so far, but it appears that this issue might be occurring during those higher load average times. This load average issue didn't exist until recently with the addition of some synchronization scripts that run several times a day. This scripts duplicated data from the main server to the Hot Back-up server. So, all of this could be related to disc access. I don't believe that it is related to the network, since the synchronization occurs over a separate network that only the two servers sit on, which has a separate addressing scheme as well as physically separate NICs and a 10/100 Switch in-between them. Any suggestions? Need more Information? Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Odd Folder issue.
Hello All, I have a reoccurring issue that has only started to appear recently with Samba. What we are seeing is the mass duplication of a folder within itself for something close to 30 iterations deep. Sometimes this will also move the data held within the folder one or two deep into the path. For Example... Let's call a share Data Data is mounted as the N: drive on all Windows worksations. Inside the N: Drive is a series of folders... N:\Incoming_Data N:\Jobs N:\Hold Inisde the Jobs directory there is a series of folders named after each job number series. Examples : 1100 1200 1300 1400, with subfolders within each of those listing the individual jobs themselves. Now, for some strange reason, sometimes the Jobs directory (it has happened to other directories as well) will replicate within itself normally moving all data directly held within it down two or three directories, yet it will continue to replicate the Jobs folder within itself for something like 20 to 30 iterations. Example (ASCI Approximation of the tree) - Data on 'Server'(N:) +[] Hold +[] Incoming_Data -[-]Jobs -[-]Jobs +[]1100 +[]1200 +[]1300 -[-]Jobs -[-]Jobs -[-]Jobs -[-]Jobs -[-]Jobs -[-]Jobs -[-]Jobs -[-]Jobs -[-]Jobs -[-]Jobs -[-]Jobs -[-]Jobs -[-]Jobs .and so on The system is running Red Hat 7.3 and Samba version 2.2.27-3.7.3, with Samba configured as a Primary Domain Controller. This could also be an ext3fs related issue and thus I will be posting this to the ext3fs mailing list as well. Although, this issue has ONLY appeared on Samba shared directory structures. Once fixed this issue will not show up for a few weeks or more. Thanks for any assistance offered. Regards, Robert Adkins IT Manager/Buyer Impel Industries, Inc. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Is there an easier way to add a user?
Hello All, I have a Samba PDC and Samba BDC working in our network. Currently, I am having no problems with adding users to the network. It is a slightly longer process then I would like to have, but it works. I am experiencing one slight issue that may have been covered previously, but I have been unable to locate anything on that. Here it is... I add a user account to the server and then to the Samba service. When I login with that new user and start up MS Word, the registry writing MS Word process starts up to configure Word and the rest of MS Office for that user. I have found that unless that user is configured, only temporarily, as a Domain Administrator, this process will fail utterly. Is there some kind of work around to avoid having to have a user temporarily configured with Domain Admin rights? As we grow over time, I have no desire to have to manually log every new user in our network onto their new system, make the configurations and then log them back off and then edit them out of the domain admins group. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] MAJOR XP profile issue - mandrake rpms - 2.2.7a
Here's what you need/should do... First off, if both the old and new systems are using the same encryption for passwords... Copy the old password containing files to the same location on the new machine, this keeps all UID's the same... Secondly, for Samba, setup your new Samba server to temporarily act as a Back-up Domain Controller, then use smbpasswd -s (I believe.) Anyway, there is a flag to smbpasswd that copies over and properly imports the SID from one Samba DC to another. Check the archives of this mailing list, there are more then a few mentions of setting up a Samba BDC. Also check the Swat HTML Help, there is a small section that will get you started with setting up a Samba BDC. Once you have the SID copied over, then you can convert the new server into the PDC by changing the smb.conf file. Once you have everything in place, copying over the profiles should work perfectly fine. Since both the domain and machine SIDs will be identical to how they are now. Hopefully what little info I have tossed your way will help you you. Good luck. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Hardy Sent: Monday, March 31, 2003 1:08 PM To: [EMAIL PROTECTED] Subject: [Samba] MAJOR XP profile issue - mandrake rpms - 2.2.7a problem: migrating from one server to another . . .physical and software migration. copied all profiles and am in the process of adding a new automated system for domain management (mysql backend, blah balh) so the uid's changed for each user. this is what how i THOUGHT things would work: 1. everyone logs out 2. shutdown samba on old server 3. add new users to new server 4. transfer ALL data to new server, including profiles, setup permissions on files to correspond with new uids 5. finish config of smb.conf on new server, adding the proper shares, etc . basically a mirror of the old box. 6. start up new server . . .login 9x machines for testing. 7. rejoin all XP machines to the domain, and i should have been good to go. the problem lies in that once i rejoin an XP machine (testing with a couple right now) is that the profiles don't load properly. the user logs in, everything seems to be ok . in that the desktop icons are present, custom apps seem to work . .but pieces are broken. for example . . .OE or outlook . broken. it's like the ntuser.dat file doesn't get pulled .. . i noticed that under documents and settings on the local machines HD the owner wasn't correct for the correct profile directory (normally, just the user name) and upon logging in . there was a new profile directory created, username.domain. That should have been fine i thought . .as long as the profile was copied from the network . but it's NOT being copied . . . .so i tried different machines . and various tests . from rejoining the domain and changing permission BEFORE logging in as the user to . .well . everything i can think of. so . my question is two fold . .is there any reason an XP machine that DID copy profiles from the network BEFORE the change wouldn't copy them now? logon path and logon home variables are the SAME and my 9x machines WORK fine . .i've got about 100 XP machines out there tho . .and i NEED this to work . .or i'm going to attempt to go back to the old server. last question . what is the proper profile directory . . username or username.domain and what is the presence of these two directories telling me . if anything? any help is appreciated GREATLY. Anthony Hardy Director of MIS Jefferson Davis Community College AIM: trist1066 Yahoo: trist1066 MSN: [EMAIL PROTECTED] icq 1221725 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] who to copy a registry file between users?
Ricardo, Do you think that it is possible to export that registry entry and then add a line or two to a new users login.bat file that will import that registry entry into their profile? I am far from an expert with the Windows registry, but I do believe that there is a command line application that will import registry entries and with the right flag, it will take care of the prompts. At the very worst, I think that you would have to give the new user instructions to click on the yes button, once the exported registry is run. You could work the user's login.bat script to be automatically changed to a script that no longer contains that registry import line, or you could make sure that you manually edit that line out after creating the user account. I believe that will fix your issue. Beyond that, I would definitely like to know any other ideas on working through this issue. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Cordeiro Sent: Friday, March 28, 2003 9:28 AM To: [EMAIL PROTECTED] Subject: [Samba] who to copy a registry file between users? Hi, I wounder if someone else had this same problem that I have, and solved it. So here it goes... I have 15 WinXP Pro workstations, on a Domain controlled by a Samba 2.2.8. The domain has 36 users, each with an independent roaming profile, on the PDC. Every machine have Adobe Premiere installed. However Premiere's configuration is saved on each user's registry HKEY_CURRENT_USER hive. So I have to find a way to get the correspondent registry tree in each ntuser.dat file. The question is how? I have tried copying a configured ntuser.dat and overwriting the ones on every other profile. It didn't work, and I guess it's because of the SIDs, right? 6 months ago, I got around the problem, by configuring a profile, logging on a test BOX, and copying the profile to the default user's one. Them erasing all the users' roaming profiles, on the PDC and logging on each of them on the test box. It solved the problem then, but right now, most of the user's have changed passwords, and sooner or later, I'll have to add more users, and that kind of task would be mindless. So I'm striving to find another way to work around this problem. I have Microsoft's TechNet software collection, but don't know how to find a usefull app. It looks like trying to find a needle on a hay stack :). So I'm wondering if someone else had the same problem, or has any ideias. I would really appreciate any help or thoughts. Thanks in advance, Ricardo Cordeiro This mail was sent by UebiMiau 2.5 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Security =Domain problems
Beau, You might want to consider updating to the latest version of Samba and then give your configuration another go. It is possible that a component relating to what your issue is has been updated and could fix your issue. If after updating to the latest release and the problem still exists, then repost to the list. (I have seen a few issues rectified with a simple Samba update. So, it might work in your case too.) Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Beau Hunter Sent: Friday, March 28, 2003 12:36 PM To: [EMAIL PROTECTED] Subject: [Samba] Security =Domain problems Hey all, Posted this about a week ago, have received no response, so I¹ll try again: I¹m currently trying to setup my box (samba 2.2.3a) to authenticate to a win2k AD PDC. I am currently importing users via LDAP, AD user authentication is working like a champ, however, SMB authentication is not. I can get it to work if I take out security=domain and change encrypt passwords to NO. The following configuration works perfectly (albeit with plaintext passwords) : Security = USER Encrypt passwords = NO Password server = ADPDC1 However, if I change it to this, it¹s broken: Security = DOMAIN Encrypt passwords = YES Password server = ADPDC1 When trying to log in, authentication is broken. I¹ve succesfully joined the domain from my box using: Smbpasswd j domain r ADPDC1 u Administrator The problem is that there are a ton of 98 boxes logging on to this machine, including remote users, and it¹s impossible to set them all up to use clear text. My guess is that this is a setting on my Active directory machine, but I haven¹t been able to find it. Does anyone have any suggestions? All help is appreciated greatly. -- Beau Hunter Technical Consultant Wedgetail Consulting 206-632-7228 www.wedgetailtechs.com -- The only thing necessary for evil to triumph is for good men to do nothing. - Edmund Burke (Cheers, Eric) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] New Files in Samba
Hello, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Halverson Sent: Thursday, March 27, 2003 9:37 AM To: Jaques Metz Cc: Samba List Subject: Re: [Samba] New Files in Samba On Thu, 2003-03-27 at 08:31, Jaques Metz wrote: Hi. I've configured Samba to work as a dedicated file server, but when a user create a new file in the shared directory, only this user can os access this file. What should I do to change this? Thanks. Jaques Metz The answer is simple... Let's say that you have a partition labeled share and inside it are a number of directories that you are sharing... cd in to the share partition... Then run this command... chmod -R g+s * What that will do is cause all files folders and sub-directories to be created with the same group ownership as group user that access and creates such files and folders. What you will end up with is the following when running a ls -l : [EMAIL PROTECTED] share]# ls -l total 84 drwxrwsrwx3 root account 4096 Jan 9 10:57 account drwxrws--- 29 root cad 4096 Mar 26 18:26 cad drwxr-x---5 root root 4096 Jan 20 11:13 configurations drwxrws--- 26 root docs 4096 Mar 25 12:11 docs drwxrws--- 31 root inspect 4096 Mar 27 07:07 inspect drwxrws---3 root jboss4096 Mar 27 09:43 jobboss drwxrws---2 root laser4096 Mar 27 10:09 laser drwxr-x---2 root root 4096 Mar 21 08:58 logfiles drwxrwS---2 root root16384 Jul 16 2002 lost+found drwxrws---3 root mail 4096 Jan 22 14:05 mail drwxrws--- 12 root mill 4096 Mar 27 10:08 mill drwxrws--- 18 root dmusers 4096 Mar 24 13:55 profiles drwxrws--- 27 root public 4096 Mar 26 16:02 public drwxrws--- 14 radkins purchasi 8192 Mar 27 10:00 purchasing drwxrws---9 dgillesp qsman4096 Mar 3 11:59 qs9000 drwxrws---2 root quotes 4096 Dec 5 10:33 quotes drwxrws---2 root shipping 4096 Feb 22 09:06 shipping If you know how the above output is read... The first listing shows what the files or directories are. The first group of 3 after the 'd' (which designates directory), refers to a user account, which in the case of most of the directories is root. The second group of 3 characters refers to the group, which can easily be seen above. The final group of 3 refers to world (meaning EVERYONE on the system) rights. If you are looking to fully utilize user and group security rights, then the final set of three should be --- like they are above. In the case of the second set of 3, the 's' denotes that all files and folders created within those directories will have the same group ownership rights attached to them. With this you can create a number of nested group/user rights. You'll want to look at the create mask (or create mode) options in that share. If you want rwx access for the creator and primary group, create mask would be 0770, if you want full access for everyone to have full access to the files, create mask would reflect 0777. Just make sure that your create mask corresponds with the linux/unix file permission structure. For the LOVE OF GOD, please refrain from using the number method when running chmod. You will have stricter control and actually KNOW what rights you are handing out to the various users and groups on your system when using the alpha character method. For example; chmod ug+rw some_text_file.txt Will put User u and Group g read r and write w rights onto the file. This will allow the user that has his or her username listed as the owner of the file as well as any members of the group that are listed on the file. For the World rights use o. To add such rights use a + sign in between the ugo (User, Group, World) and the rwx (Read, Write, Executable) and the - sign to take them away. If you have a group called Accounting that needs access to a directory then use the following command... chown root:Accounting directory_name Then change the rwx rights to allow the group Accounting to use the directory and files within. Then you can run whatever group ownership rights you want on that directory and all Accounting group members will have access to the files within. These two commands, chmod and chown, are likely the most important UNIX/Linux commands that you could ever possibly learn. -- Eric Halverson [EMAIL PROTECTED] Doctors Care Health Services Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Connection of Linux/Unix clients to Samba PDC
Brian, A Samba PDC acts like a Windows NT 4.0 Domain Controller. The issue you are experiencing is likely related to the configurations you had to do in order to get the Linux systems to connect to the Win2K Domain Controller. That is where I would start looking. Unfortunately, I haven't had a chance to focus on adding Linux workstations to our network. Just one machine that I use for some testing of software we would potentially use in out network someday. With that system, I was using LinNeighborhood and never ran into any issues with connecting to the Linux PDC. (It is a fairly manual method of mounting shares though.) Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Crittenden Sent: Wednesday, March 26, 2003 11:29 AM To: [EMAIL PROTECTED] Subject: [Samba] Connection of Linux/Unix clients to Samba PDC We replaced our Win2k PDC with a Samba PDC and have all Windows clients are connecting. But we are having difficulty logging on with the Linux and Unix servers to this domain. Is there something that must be done differently for them to connect? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba 2.2.8-1 as W2k Member server
Andre, It does that because Samba is using its own internal smbpasswd file. While you may have been able to get Samba 2.2.8-1 connected to the Windows 2000 Domain, it will not replicate the SAM data (usernames/passwords). Run this test; create a Linux user account, then create a Samba User account of the same name. (The Linux User account is required to create the Samba user account.) Once you have done that, attempt to connect to the server using Windows Explorer or whatever. (Make sure that you create a user account/password combo that exists in your Windows 2000 AD.) If all goes well, that user account should connect perfectly fine. I believe that they are working on figuring out how to get Samba to replicate the SAM data. However, that is still some time off, I believe. At this time, I know that you can setup a Samba PDC and another Samba server to act as a Samba Back-up Domain Controller, as we have that configuration working fine in our office. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andre Dieball Sent: Wednesday, March 26, 2003 11:34 AM To: [EMAIL PROTECTED] Subject: [Samba] Samba 2.2.8-1 as W2k Member server Hello I have a problem with setting up Samba as a AD member server. Environment: Linux tux 2.2.20-idepci (Debian Woody) samba 2.2.8-1.woody samba-common2.2.8-1.woody smbclient 2.2.8-1.woody (samba from people.samba.org/~peloy/samba) Smb.conf: ---cut--- [global] printer driver file = /etc/samba/printers.def encrypt passwords = true character set = ISO8859-15 socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY kernel oplocks = No invalid users = root password server = de-mail, plains interfaces = xx.xx.xx.xx/255.255.255.0 security = domain server string = PDF-Test workgroup = xx_ log level = 3 local master = No client code page = 850 netbios name = tux log file = /var/log/samba/%m guest account = nobody os level = 2 [shr] path = /shr browseable = yes writeable = yes guest ok = yes force user = nobody [pdf] comment = PDF Printer path = /var/tmp create mask = 0600 guest ok = yes printable = Yes ; browseable = No print command = /usr/bin/printpdf.sh %s %U lpq command = lprm command = printer driver = HP C LaserJet 4500-PS printer driver location = \\%h\printer$ [printer$] path = /etc/samba/printdrivers guest ok = yes read only = yes printable = yes ---cut--- I have created a machine acount in active directory named tux (as the netbios name in smb.conf) and made it pre W2k compatible. Aftrewards, I stopped samba and used: Smbpasswd -j xx_x -r de-mail -U administrator With the active directory administrator domain and received a message, that the domain has been joined. I see the node in network neighbourhood, but I can't access it. It always askes for a username/password combination. Any help is really appriciated. Rgds. Andre -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba 2.2.8-1 as W2k Member server
Andre, Take a look at your old smb.conf file, if you still have it available. I believe that you have a setting difference regarding authentication that is causing your issue. We don't allow access to anyone that doesn't have an account on the domain. So, our smb.conf is configured to disallow guest and nobody accounts. Perhaps yours is configured in that fashion as well. Good luck. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: Andre Dieball [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 12:33 PM To: 'Robert Adkins II'; [EMAIL PROTECTED] Subject: RE: [Samba] Samba 2.2.8-1 as W2k Member server Hello Robert Thanks for your mail. The thing is, that it worked in exect the same configuration before (Samba 2.2.7a). I don't want Samba do be part of any kind of domain controllers, I just want it to offer services (printer) to active directory users. I'm not sure, but I think, that's why anybody, who does not have an samba account uses the user nobody. I had this issue with 2.2.7a before, but can't remember how I solved it :-( Rgds. Andre -Original Message- From: Robert Adkins II [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 5:59 PM To: 'Andre Dieball'; [EMAIL PROTECTED] Subject: RE: [Samba] Samba 2.2.8-1 as W2k Member server Andre, It does that because Samba is using its own internal smbpasswd file. While you may have been able to get Samba 2.2.8-1 connected to the Windows 2000 Domain, it will not replicate the SAM data (usernames/passwords). Run this test; create a Linux user account, then create a Samba User account of the same name. (The Linux User account is required to create the Samba user account.) Once you have done that, attempt to connect to the server using Windows Explorer or whatever. (Make sure that you create a user account/password combo that exists in your Windows 2000 AD.) If all goes well, that user account should connect perfectly fine. I believe that they are working on figuring out how to get Samba to replicate the SAM data. However, that is still some time off, I believe. At this time, I know that you can setup a Samba PDC and another Samba server to act as a Samba Back-up Domain Controller, as we have that configuration working fine in our office. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andre Dieball Sent: Wednesday, March 26, 2003 11:34 AM To: [EMAIL PROTECTED] Subject: [Samba] Samba 2.2.8-1 as W2k Member server Hello I have a problem with setting up Samba as a AD member server. Environment: Linux tux 2.2.20-idepci (Debian Woody) samba 2.2.8-1.woody samba-common2.2.8-1.woody smbclient 2.2.8-1.woody (samba from people.samba.org/~peloy/samba) Smb.conf: ---cut--- [global] printer driver file = /etc/samba/printers.def encrypt passwords = true character set = ISO8859-15 socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY kernel oplocks = No invalid users = root password server = de-mail, plains interfaces = xx.xx.xx.xx/255.255.255.0 security = domain server string = PDF-Test workgroup = xx_ log level = 3 local master = No client code page = 850 netbios name = tux log file = /var/log/samba/%m guest account = nobody os level = 2 [shr] path = /shr browseable = yes writeable = yes guest ok = yes force user = nobody [pdf] comment = PDF Printer path = /var/tmp create mask = 0600 guest ok = yes printable = Yes ; browseable = No print command = /usr/bin/printpdf.sh %s %U lpq command = lprm command = printer driver = HP C LaserJet 4500-PS printer driver location = \\%h\printer$ [printer$] path = /etc/samba/printdrivers guest ok = yes read only = yes printable = yes ---cut--- I have created a machine acount in active directory named tux (as the netbios name in smb.conf) and made it pre W2k compatible. Aftrewards, I stopped samba and used: Smbpasswd -j xx_x -r de-mail -U administrator With the active directory administrator domain and received a message, that the domain has been joined. I see the node in network neighbourhood, but I can't access it. It always askes for a username/password combination. Any help is really appriciated. Rgds. Andre -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba as a PDC
You should submit your smb.conf file. There are likely a few areas that need tweaking in it to work properly. Also, the WinXP machines will need to have Machine Accounts created in Samba. You also must have the Samba server, or another server, configured to act as a WINS server for the Win9x machines. In the Win9X network configuration window, the IP Address of the Samba or other WINS server must be inserted into the correct location. Reply to the list with your smb.conf file and someone might be able to help you out. Other then that, I would recommend picking up a copy of O'Reilly's Using Samba. It is slightly dated in regards to configuration, however it does have excellent supporting information which will fill in many gaps regarding how a Windows Domain and the SMB protocol functions. There is also some limited information available in Swat, the web-based configuration tool, that should have been installed along with Samba. (Automatically, not something that you needed to install.) You can access that through Webmin, which should have been installed by default on Mandrake 9.0. If you look at or configure your smb.conf file in Swat, be prepared for some radical changes to your smb.conf file. Swat strips out all of the nonsense (to the samba service) from the file. This streamlines and greatly increases the speed at which Samba will run, mostly because Samba will reread the smb.conf quite often while running. (Which means if you make a change, add or remove a share, you needn't restart Samba which could possibly drop some users from accessing shares.) If you are REALLY new to Samba and fairly new to Linux, I am unable to recommend this next piece enough. You must learn UNIX groups and file permissions. Without a fairly solid understanding of those two pieces, you will have significant issues with your file shares. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of C K Rutland Sent: Saturday, March 22, 2003 1:02 AM To: [EMAIL PROTECTED] Subject: [Samba] Samba as a PDC HELP. I am running samba 2.2.7 on mandrake 9.0. I have setup samba and configured my smb.conf file correctly as fair as i can tell but am still having trouble. When i run testparm everything appears fine. I can ping every machine on my network but can't get any of my four machines to logon to the domain. I have three machines with 98 and one with xp. I have downloaded the xp registry patch yet on every machine it still says it can't find the domain. I have tried using swat and everything else i can think of. Can any body offer any suggestions??? Thanks Josh -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Ext3fs/ReiserFS Performance Enhancing
Hello All, I have been doing some research to find a method to increase the performance of writes to the hard drives in my servers. I am running Samba and all writes to the server hard drives are taking at least 3 to 10 times (It varies) the amount of time it took to write such files on our older Windows NT 4.0 File Server. The following information is provided to keep this issue on track... It is not a NIC or network issue. Reads of files from those drives take place almost instantly. I have been able to copy an entire 700MB CD-ROM ISO image off of the server in less then 3 minutes, yet writing a 5 MB file to the server will take approximately the 3 minutes, or more. I have also optimized the smb.conf file as best as it can be. This resulted in a gain of approximately 15 seconds. This happens regardless of how busy the server is in serving files to other users as I have tested this while all PCs were in use on the network and also when none were in use. In some of my searching, I have read that ReiserFS has faster write performance then Ext3FS. So, I blew away the share partition on our test server, recreated that with ReiserFS and rebuilt the share. So far, I have only seen a few seconds of speed increase. (The other odd thing is that the Windows Explorer file copy progress bar is much more consistent to the ReiserFS share then the ext3fs share.) I have a few ideas about why there is a slowdown and a few ideas of what could possibly increase performance. However, I am at a loss as to how to implement those changes or how to verify that they are even possible. (Except by asking this list.) My Google searches have come up dry with actual methods (ie. Commands to look at or actually use.) to implement some performance enhancements. All they say are things like, change ext3fs's method of writing the journal from the stock conservative method to the much faster, yet slightly dangerous, method. There is just no mention of how that is done. I have read through the man pages and there is nothing that leaps out and says, This is the command that alters the ext3fs journal method. From what I read, so far, about the two journaling methods it is a VERY acceptable risk for the potential performance increase. (It is even more acceptable if it can be setup only to affect the share partition, which is also its own separate drive.) There are a few other ideas that I have, but after thinking those over, they would likely be far more of a hassle then they would be worth. Are there any suggestions for increasing HD Write performance, while still using a journaling FS? At this time, I do not have the resources and additional funds to rebuild the hard drives using XFS or JFS. So, it has to be ReiserFS or ext3fs. Thanks for any assistance! Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Ext3fs/ReiserFS Performance Enhancing
Sorry... I sent this to the wrong list. It was meant for a more general Linux list. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Adkins II Sent: Friday, March 21, 2003 10:02 AM To: [EMAIL PROTECTED] Subject: [Samba] Ext3fs/ReiserFS Performance Enhancing Hello All, I have been doing some research to find a method to increase the performance of writes to the hard drives in my servers. I am running Samba and all writes to the server hard drives are taking at least 3 to 10 times (It varies) the amount of time it took to write such files on our older Windows NT 4.0 File Server. The following information is provided to keep this issue on track... It is not a NIC or network issue. Reads of files from those drives take place almost instantly. I have been able to copy an entire 700MB CD-ROM ISO image off of the server in less then 3 minutes, yet writing a 5 MB file to the server will take approximately the 3 minutes, or more. I have also optimized the smb.conf file as best as it can be. This resulted in a gain of approximately 15 seconds. This happens regardless of how busy the server is in serving files to other users as I have tested this while all PCs were in use on the network and also when none were in use. In some of my searching, I have read that ReiserFS has faster write performance then Ext3FS. So, I blew away the share partition on our test server, recreated that with ReiserFS and rebuilt the share. So far, I have only seen a few seconds of speed increase. (The other odd thing is that the Windows Explorer file copy progress bar is much more consistent to the ReiserFS share then the ext3fs share.) I have a few ideas about why there is a slowdown and a few ideas of what could possibly increase performance. However, I am at a loss as to how to implement those changes or how to verify that they are even possible. (Except by asking this list.) My Google searches have come up dry with actual methods (ie. Commands to look at or actually use.) to implement some performance enhancements. All they say are things like, change ext3fs's method of writing the journal from the stock conservative method to the much faster, yet slightly dangerous, method. There is just no mention of how that is done. I have read through the man pages and there is nothing that leaps out and says, This is the command that alters the ext3fs journal method. From what I read, so far, about the two journaling methods it is a VERY acceptable risk for the potential performance increase. (It is even more acceptable if it can be setup only to affect the share partition, which is also its own separate drive.) There are a few other ideas that I have, but after thinking those over, they would likely be far more of a hassle then they would be worth. Are there any suggestions for increasing HD Write performance, while still using a journaling FS? At this time, I do not have the resources and additional funds to rebuild the hard drives using XFS or JFS. So, it has to be ReiserFS or ext3fs. Thanks for any assistance! Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Ext3fs/ReiserFS Performance Enhancing
The speed is nearly identical, regardless of which server that I attempt to write data to. Running ifconfig reveals the following information... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9588652 errors:3 dropped:0 overruns:1 frame:3 TX packets:10666832 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1953448761 (1862.9 Mb) TX bytes:1870489113 (1783.8 Mb) Interrupt:10 Base address:0xe000 Having 3 errors out of 9588652 packets sent is extremely acceptable in my book. The error rate is so far beneath 1% that it is for all intent and purposes, irrelevant. The spare/test server hasn't had any recorded errors and suffers from the same write performance issues. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: Rashkae [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 10:40 AM To: Robert Adkins II Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Ext3fs/ReiserFS Performance Enhancing Finding out how to tune the EXT3 journaling method would be good. That information has eluded my searches as well... However, before you fiddle with your file system, you should really investigate what your problem really is. Unfortunately, you assertian that you do not have network problems because you can download a file quickly is not at all true. Many network problems can affect traffic one way moreso than the other. There is no reason that writing a 10MB file to a Samba share should take more a 10 seconds. (Mine goes in a bout 5 seconds, and my Samba server hard drive writing speed is actually *very* slow) If it's taking you over a minute to transfer 5 MB, something is very very wrong. On Fri, 21 Mar 2003, Robert Adkins II wrote: Hello All, I have been doing some research to find a method to increase the performance of writes to the hard drives in my servers. I am running Samba and all writes to the server hard drives are taking at least 3 to 10 times (It varies) the amount of time it took to write such files on our older Windows NT 4.0 File Server. The following information is provided to keep this issue on track... It is not a NIC or network issue. Reads of files from those drives take place almost instantly. I have been able to copy an entire 700MB CD-ROM ISO image off of the server in less then 3 minutes, yet writing a 5 MB file to the server will take approximately the 3 minutes, or more. I have also optimized the smb.conf file as best as it can be. This resulted in a gain of approximately 15 seconds. This happens regardless of how busy the server is in serving files to other users as I have tested this while all PCs were in use on the network and also when none were in use. In some of my searching, I have read that ReiserFS has faster write performance then Ext3FS. So, I blew away the share partition on our test server, recreated that with ReiserFS and rebuilt the share. So far, I have only seen a few seconds of speed increase. (The other odd thing is that the Windows Explorer file copy progress bar is much more consistent to the ReiserFS share then the ext3fs share.) I have a few ideas about why there is a slowdown and a few ideas of what could possibly increase performance. However, I am at a loss as to how to implement those changes or how to verify that they are even possible. (Except by asking this list.) My Google searches have come up dry with actual methods (ie. Commands to look at or actually use.) to implement some performance enhancements. All they say are things like, change ext3fs's method of writing the journal from the stock conservative method to the much faster, yet slightly dangerous, method. There is just no mention of how that is done. I have read through the man pages and there is nothing that leaps out and says, This is the command that alters the ext3fs journal method. From what I read, so far, about the two journaling methods it is a VERY acceptable risk for the potential performance increase. (It is even more acceptable if it can be setup only to affect the share partition, which is also its own separate drive.) There are a few other ideas that I have, but after thinking those over, they would likely be far more of a hassle then they would be worth. Are there any suggestions for increasing HD Write performance, while still using a journaling FS? At this time, I do not have the resources and additional funds to rebuild the hard drives using XFS or JFS. So, it has to be ReiserFS or ext3fs. Thanks for any assistance! Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http
RE: [Samba] Ext3fs/ReiserFS Performance Enhancing
Well, This suggestion makes perfect sense. I am looking into this, I have found some interesting information regarding this on Google and hope to have this figured out soon. Thanks for the assistance. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: David Brodbeck [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 11:09 AM To: '[EMAIL PROTECTED]'; Rashkae; Robert Adkins II Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Ext3fs/ReiserFS Performance Enhancing -Original Message- From: Larry McElderry [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 10:45 AM To: Rashkae; Robert Adkins II Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Ext3fs/ReiserFS Performance Enhancing I tend to agree. Perhaps a duplex mismatch between hub/switch and NIC? Just to add: A duplex mismatch can cause late collisions that will *not* always be reported as errors in the Ethernet stats. A common symptom is that pings or small transfers go well, but large ones crawl or grind to a halt. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Ext3fs/ReiserFS Performance Enhancing
Here are the results of mii-tool from both servers... Spare Server: eth0: negotiated 100baseTx-FD, link ok product info: vendor 00:10:18, model 23 rev 7 basic mode: autonegotiation enabled basic status: autonegotiation complete, link ok capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD Main Server eth0: negotiated 100baseTx-FD, link ok product info: vendor 00:10:5a, model 0 rev 0 basic mode: autonegotiation enabled basic status: autonegotiation complete, link ok capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD If I am reading this correctly, then it appears that they are setup to run at their very best. Using mii-tool, I have tested the Spare server by forcing several different speed settings from 100baseTX-FD/HD to 10baseT-FD and HD. I am still experiencing incredible slow downs when copying data to the server and much faster copies from the server. When moving down to the 10baseT speeds the copies to the server slow down a little more, but not by much. They slow down about the same percentage as the copies from the server do when dropping down to 10baseT speeds. (Which is to say it isn't extremely noticeable.) Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: David Brodbeck [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 11:18 AM To: 'Robert Adkins II' Subject: RE: [Samba] Ext3fs/ReiserFS Performance Enhancing If you're running Linux, mii-tool can be helpful. I've mostly run into this problem with older switches that don't do auto-negotiation properly. Check what the switch is expecting and make sure the ethernet card's settings agree. Sometimes it's best, at least for testing, to force both ends manually into a particular duplex setting instead of relying on auto-negotiation. (If you're using a hub, you should be in half-duplex mode, period.) -Original Message- From: Robert Adkins II [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 11:26 AM To: 'David Brodbeck'; [EMAIL PROTECTED]; 'Rashkae' Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Ext3fs/ReiserFS Performance Enhancing Well, This suggestion makes perfect sense. I am looking into this, I have found some interesting information regarding this on Google and hope to have this figured out soon. Thanks for the assistance. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: David Brodbeck [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 11:09 AM To: '[EMAIL PROTECTED]'; Rashkae; Robert Adkins II Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Ext3fs/ReiserFS Performance Enhancing -Original Message- From: Larry McElderry [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 10:45 AM To: Rashkae; Robert Adkins II Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Ext3fs/ReiserFS Performance Enhancing I tend to agree. Perhaps a duplex mismatch between hub/switch and NIC? Just to add: A duplex mismatch can cause late collisions that will *not* always be reported as errors in the Ethernet stats. A common symptom is that pings or small transfers go well, but large ones crawl or grind to a halt. -Original Message- From: Gareth Davies [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 11:04 AM To: [EMAIL PROTECTED]; Rashkae; Robert Adkins II Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Ext3fs/ReiserFS Performance Enhancing - Original Message - From: Larry McElderry [EMAIL PROTECTED] To: Rashkae [EMAIL PROTECTED]; Robert Adkins II [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, March 21, 2003 3:45 PM Subject: RE: [Samba] Ext3fs/ReiserFS Performance Enhancing I tend to agree. Perhaps a duplex mismatch between hub/switch and NIC? How long does it take to copy a 5MB file from one local drive to the second local drive (not involving the network)? I also concur. I just tested a 16mb file copying to a Winbind authenticated SAMBA share using Ext3fs and it took around 3-4 seconds. Copying between 2 SAMBA shares on the same machine took about 12 seconds. Copying from the share back to the Win2k machine took 4 seconds. Gareth Davies Willowbrook I.T. Ext. 235 * This email has been checked by the altohiway e-Sweeper Service * -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] To all who helped with Ext3fs/ReiserFS Performance Enhancing
First off, thanks! :) It appears that the issue could be a bad switch. At this time, I have turned down the server's NIC to run at 10baseT-FD and the performance has seriously increased. It now takes roughly 25 to 35 seconds to copy and 8mb file to the server, but it now takes a little longer to copy a file from the server. So, we are now in the market for some far superior network switches. Thanks again. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Substitution of NT
Diogo, The administration is not necessarily a big pain in the rear, the initial configuration and figuring out how all the pieces go together is the pain in the rear. Once it is up and running, it is very solid and performs quite well. There are a few minor things that set it apart from an actual Windows DC, but that is to be expected since it isn't a Windows PD. However, I understand that many of those niggling issues will be worked out in the next major release of Samba. In the meantime, you can get used to the differences and may find that they are nowhere near being a pain in the ass. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Diogo Saad Sent: Friday, March 21, 2003 12:39 PM To: [EMAIL PROTECTED] Subject: [Samba] Substitution of NT Hi, I wanna Samba to work as a PDC Many people told me that the administration is a pain in the ass If I use LDAP as a user repository should I improve the administration??? I could not find good articles / howtos / tutorials about Samba as a PDC. can you provide me some good links?? Sorry about my english!! ( I'm from Brasil) Bombing for peace is like fucking for virginity!! Thanks in advance Diogo [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Performance Increase Suggestions
Hello Everyone, I have a few users that are complaining about the slowness of copying files to and saving files directly to the Samba server. From my own recollections, the speed is rather identical to the speed we experienced on our old Windows NT 4.0 fileserver. One thing that could be the impetus of this issue is that Samba is serving up files, for opening and copying from the server to a local workstation, nearly instantly (in most cases). I have looked at some Samba performance increase settings and haven't had much luck with those, on my test server. I have played with the SO_RCVBUF and SO_SNDBUF with limited success. I have also played with the MTU settings and that did nothing but decrease client to server write performance. The server is running the fastest IDE hard drives that I could purchase at the time. (7200 rpm) The server itself is Red Hat 7.2 running with Ext3FS. Without spending money, are there any other methods through which I can dramatically increase the network write performance? Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Performance Increase Suggestions
Noel, I had already checked the NIC and found VERY acceptable errors. In over 2GBs of data transferred since my last scheduled maintenance reboot, there has only been 3 errors and 1 overrun. Which to me, is negligible as far as errors go. I have a sinking suspicion, that I am none to happy about, that I will need to compile a kernel with ReiserFS support, move ALL the data off of the Samba share, rebuild that partition with ReiserFS, recreate all the file permissions and then copy all of the data back over. This will of course take a few weeks, as I will need to run plenty of tests on the spare server and I only have a few hours available each week to work up such changes. Well, so much for the quick and simple fix. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: Noel Kelly [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 9:41 AM To: 'Robert Adkins II'; [EMAIL PROTECTED] Subject: RE: [Samba] Performance Increase Suggestions Just a thought, but I would check for errors on your NIC with ifconfig. Read times might still be quite good whilst write times are shot if there are network errors I have found. Noel Without spending money, are there any other methods through which I can dramatically increase the network write performance? Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Performance Increase Suggestions
Thanks for the suggestion Leroy, I probably should have added that when I built this server, I built it in overkill mode. It has much more RAM then is needed for our current load. The server has over 800 Megs of physical RAM dedicated to buffer and cache. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leroy van Logchem Sent: Tuesday, March 18, 2003 10:12 AM To: [EMAIL PROTECTED] Subject: RE: [Samba] Performance Increase Suggestions This will of course take a few weeks, as I will need to run plenty of tests on the spare server and I only have a few hours available each week to work up such changes. Well, so much for the quick and simple fix. To optimize for writing to disk, see the docs on memory management. I had some gain delaying the writes, but do add some RAM. Some reading material: http://en.tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/ chap29sec287.html http://www.linuxjournal.com/article.php?sid=5840 Goodluck! Regards, Leroy -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Performance Increase Suggestions
Noel, I would take Journaling over performance any day of the week. You can always find ways to increase performance, given enough time. However, even with battery back-ups if the power supply dies, I want to be back up and running after replacing the power supply almost immediately, not after having to hammer away at fixing broken inodes. (Which can take quite a while longer...) Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: Noel Kelly [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 10:49 AM To: 'Robert Adkins II'; [EMAIL PROTECTED] Subject: RE: [Samba] Performance Increase Suggestions Or you could just switch the filesystems to ext2? I believe this is just a case of changing your mount options in fstab and I think this is what John was alluding to earlier - ext3 adds a lot of baggage to the ext2 structure which slows it down quite considerably. Reiser and XFS were designed from the bottom up so make the journalling less of a performance issue. I guess it depends if you want to lose the journalling to gain performance? HTH Cheers, Noel -Original Message- From: Robert Adkins II [mailto:[EMAIL PROTECTED] Sent: 18 March 2003 15:15 To: Noel Kelly; [EMAIL PROTECTED] Subject: RE: [Samba] Performance Increase Suggestions Noel, I had already checked the NIC and found VERY acceptable errors. In over 2GBs of data transferred since my last scheduled maintenance reboot, there has only been 3 errors and 1 overrun. Which to me, is negligible as far as errors go. I have a sinking suspicion, that I am none to happy about, that I will need to compile a kernel with ReiserFS support, move ALL the data off of the Samba share, rebuild that partition with ReiserFS, recreate all the file permissions and then copy all of the data back over. This will of course take a few weeks, as I will need to run plenty of tests on the spare server and I only have a few hours available each week to work up such changes. Well, so much for the quick and simple fix. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: Noel Kelly [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 9:41 AM To: 'Robert Adkins II'; [EMAIL PROTECTED] Subject: RE: [Samba] Performance Increase Suggestions Just a thought, but I would check for errors on your NIC with ifconfig. Read times might still be quite good whilst write times are shot if there are network errors I have found. Noel Without spending money, are there any other methods through which I can dramatically increase the network write performance? Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] PDF Printer issue
Hello Everyone, I have a slight issue with configuring a PDF printer on my Samba servers. I have input the following into my smb.conf file and it does create the printer as well as work to create PDF files, except that it only functions when printing to that printer via Excel 2002. If I attempt it with anything else, even the Windows Test print, it fails. Now, in the Windows Printers folder, if I select the PDF printer the status box states that the printer is inactive and not ready. However, if I browse to the printer through the Windows Explorer Network Neighborhood, the printer shows up as active and ready. I am unsure quite what the problem is, which means it is likely something very easy. There is one thing to note, I have not a single Linux Printing Subsystem running on the machine as this server is not being used for regular printing of any sort. Here is my smb.conf section: [purchpdf] comment = PDF Generator for Purchasing path = /var/spool/samba valid users = *UserNames Removed* write list = *UserNames Removed* printable = yes print command = gs -dNOPAUSE -dbatch -q -sDEVICE=pdfwrite -sOutputFile=/share/purchasing/pdf/%J.pdf %J 1/dev/null 21; rm -f %J Thanks for any assistance that can be rendered. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] NT_STATUS question
Anyone, Is there a method to eliminate Windows attempting to open up a Desktop.ini file in every directory, save a few *important* ones, like C:\windows\, C:\Program Files and others? I am of the opinion that might help increase Windows performance or at least be easier on Samba Logfiles... I will look into it myself, but if someone has the answer handy... Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Bartlett Sent: Monday, February 24, 2003 5:01 PM To: Justin Anderson Cc: samba list Subject: Re: [Samba] NT_STATUS question On Tue, 2003-02-25 at 07:58, Justin Anderson wrote: Hi all Got a couple of errors in the logs wondering what they mean??? Google does not come up with too much on these NT_STATUS_NO_SUCH_FILE, NT_STATUS_SHARING_VIOLATION, NT_STATUS_INVALID_LEVEL and NT_STATUS_OBJECT_NAME_NOT_FOUND. Four clips illustrating the above are below... I have am wondering how I sort this out. I am particularly worried about the NT_STATUS_NO_SUCH_FILE. Errors are a standard part of SMB - and windows will often open non-existent files. (Like desktop.ini in *every* directory). Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] NT_STATUS question
Andrew, I am definitely not running Samba with a log level that high. There are times when I see a number of Samba error messages at the console. Nobody took the time to answer why they show up there and I was unable to locate any information as to why they show up on the console. I imagine that many of those will cease if there was a method to keep Windows from causing such errors to occur. It hasn't really caused me any major issues at this time, as the network I am running is still quite small. (less then 20 users) However, I could see that being a potential issue in the future, if Samba is attempting to service those requests as the number of users increase there will be an increase in the number of times that Samba needs to say, No, there isn't such a file to the Windows clients. Your suggestion to create a VFS module to handle that issue sounds interesting. I am completely lost as to where to begin looking, besides googling for it, do you have a link or two that you would recommend to introduce someone to VFS modules? Thanks. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: Andrew Bartlett [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 5:29 PM To: Robert Adkins II Cc: 'Andrew Bartlett'; 'Justin Anderson'; 'samba list' Subject: RE: [Samba] NT_STATUS question On Tue, 2003-02-25 at 09:34, Robert Adkins II wrote: Anyone, Is there a method to eliminate Windows attempting to open up a Desktop.ini file in every directory, save a few *important* ones, like C:\windows\, C:\Program Files and others? I am of the opinion that might help increase Windows performance or at least be easier on Samba Logfiles... If you run Samba with the log level that high, then your performance is already shot. If it is causing you particular pain (ie, more than a failed lookup - like it is brining offline-storage online or other such mischief - then look into writing a VFS module to make out that call). Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] SWAT
Clementina, I had issues with running Swat myself. I ended up running webmin (www.webmin.com) on the server. This system gives you a great and fairly easy to use method of configuring Samba, even though it does not support all Samba features. The Samba component to Webmin also contains a fully-running Swat installation. If you are introducing OpenSource software, I would definitely include Webmin as one of the tools. That software is quite powerful and capable of helping with the administration of many UNIX and related Operating Systems. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of clementina di meglio Sent: Tuesday, February 25, 2003 4:01 PM To: [EMAIL PROTECTED] Subject: [Samba] SWAT Dear Andrew Tridgell, Excuse me for my English: it's terrible! I am a italian tetcher of Computer Science and I want to introduce the Open Source Software in my school. At this moment I search for to configure a School's LAN with Samba, bad i am *not successful to run SWAT*. Can you help me? I work with Linux Redhat 8.0 and Samba 2.2.5. Tank's for your responce. Clementina Di Meglio -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Thoughts for you geniuses
Joel, As far as I know, Samba doesn't quite work in the fashion that you are expecting. However, there are a few things that Samba and supporting applications will do for you. To have something like a Network Neighborhood, I can only recommend an application called LinNeighborhood. You should be able to locate the application by searching either www.freshmeat.net or www.sourceforge.com. It is a very usable and easy to figure out application. There are a few things that you will need to do, in order for it to be accessible to all users on the Linux workstation. Which you will have to look through the FAQs for, it has been to long since I have had to make that accessible to all users on a Linux system. I do know that it has to do with setting the 'suid' bit on one or more files relating to the application. As for your site being able to see the Linux machine in Network Neighborhood, but being unable to access it from Windows systems. We would need to see how you have your smb.conf file configured to assist you in finding out what the deal is. If that is not possible, I am certain that a working file could be forwarded your way to create a testing environment to confirm the changes you may need to make. There is also one other component that might be missing, as you hadn't stated what you have completed thus far. If you haven't created Samba user accounts, which are separate yet require existing Linux system accounts, there is no real method to access the Linux system from a Windows system. The final piece you mention is, from what I know, currently impossible under Linux. While Windows 2000 does use a MS modified Kerberos system, I understand that it is quite different then the true Kerberos standard. To have network-wide authentication, you could look at developing an LDAP system, which the MS systems should be able to use for authentication. Unfortunately, the last part you request an answer on is something that I haven't had to look at myself. So, the information that I do have on that is rather limited. I hope that the information I have provided you is adequate to move forward with the tasks you have. Good luck. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Esler, Joel Contractor Sent: Wednesday, February 19, 2003 8:37 AM To: [EMAIL PROTECTED] Subject: [Samba] Thoughts for you geniuses Situation -- Samba 2.2.5, RedHat Linux 8.0 Domain -- W2K AD After boot, I can go into Network Neighborhood, and I can see the name of the computer. When I double click on it it's unaccessible. Also, I can't see the network from the Linux box, I can ping it all, but I can't see it. Where is the network neighborhood in Linux? Also, the big question... I need, (upon boot) in runlevel 5, that the Linux box will authenticate with the W2K Domain Controller, just like any Windows Client on the network. Joel -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: Groups with Samba domain controler or domain member
Besides how to overcome the issue with permissions using group names with spaces, what other kind of information do you need to know about groups? Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Chris de Vidal Sent: Monday, February 17, 2003 12:14 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [Samba] Re: Groups with Samba domain controler or domain member --- [EMAIL PROTECTED] wrote: Does anybody know more about groups? I am considering switching from NT to Samba domain and have made some test. Unfortunately I need to make two additional groups, except Domain Admin (one of them is Domain Users). Is it possible to make that with the stable version of Samba? And another, but not so important (for now) question. Currently I have a Samba server, providing files and printers as a part of NT domain. It has winbind running, and I can list all NT rous and users in the samba box. However, manipulating group ownership on files works only with groups that don't have spaces in their names. Does anybody know how to overcome this? chgrp 'Domain Admins' some_file.txt Good luck, /dev/idal __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: OT: suggestion! (was Re: [Samba] !!ATTENTION NEWBIES!!)
Chris, I have read a few more of your responses. It appears that you believe wholeheartedly that your more advanced questions are going unanswered simply because of the volume of lower skilled questions. Well, how do you know that there are enough people on the mailing list that have experienced the more advanced issues you are experiencing? Then, out of those people, how many of those do you believe will take their time to answer your questions? It is likely that the number is quite low. While I don't consider myself an expert with Samba, I can answer a few advanced questions and a glut of basic questions. When I was in the midst of configuring the domain controllers we are using, I read and answered dozens upon dozens of questions, newbie and otherwise. However, since I now have my issues resolved, I answer far fewer questions then I did previously. I believe that is very common amongst users that move beyond the basics of Samba and most other services. Once they have the majority of their issues resolved, they move one. So, it is likely that if all the Newbs started researching from the get go and rarely ever posted to the Samba list with their basic questions, you would still find your more advanced questions go unanswered. That's just the way things go. I would like to apologize for the feather ruffling that I have done regarding this issue. I didn't have all the information behind your issue until I read a few of your posts after the flames I started fanning. I wish you the best with finding the answers to your more advanced questions. I know that many of mine go unanswered and that is just the way it goes. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Chris de Vidal Sent: Friday, February 14, 2003 9:16 AM To: Kurt Weiss Cc: [EMAIL PROTECTED] Subject: Re: OT: suggestion! (was Re: [Samba] !!ATTENTION NEWBIES!!) --- Kurt Weiss [EMAIL PROTECTED] wrote: wow / i did newer see such a response to a theme as in this case! :-O Yeah, it actually had the opposite effect of what I was begging people to do :-P here's a suggestion: i did send (in a view cases) a short message to this 'NEWBEES' with important internet links, such as: (e.g.) http://www.samba.org/samba/ml-etiquette.html http://hr.uoregon.edu/davidrl/samba/ http://at.samba.org/samba/docs/ As did I. The message I wanted to get across was, Help yourself, this is why... This is how I help myself; here are ALL of the resources I've used! It just was misunderstood, I believe. I thought I was doing a service, but as I read it again, it looked like an angry slam, not what I hoped. Why can't we all get video email so inflections can be easier seen? (-: I actually spend more time with my email client helping newbies with greatly detailed letters than any other thing. A slam wasn't intended, and I'm sorry I was misunderstood. /dev/idal __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] !!ATTENTION NEWBIES!!
start sarcasm HI, My name is ANGRY MAILING LIST GUY. I am here to tell you that I don't appreciate seeing questions that are easily found within the basic documentation for the somewhat to extremely complex service that you wish to install on your server. I find it terribly taxing to have to deal with regular questions from what I consider newbs because my level of skill is so much higher then the rest of you. It doesn't matter that most of those questions come from people that speak English as a second or even third language, which means they might have some difficulty in understanding what I consider standard formatted sentences and manual pages. Furthermore, just because a great deal of the available online documentation is out of date, there is no reason why you plebeians shouldn't be able to infer how some the sections are configured in newer versions, even if those sections RADICALLY change how they are configured. I have had a bad day, so I am going to make sure that the rest of you all pay for me being in a bad mood. end sarcasm Personally, that is how I read the original poster's mailing. I have been reading this mailing list myself for a few months. While I can agree that there are many times when similar questions are posted, I have to vehemently disagree that they are useless questions. There has been more then one time when I have assisted someone, in a far off land, that may have had some serious issues in understanding the way that the manuals were written. Is it their fault that the structure of their native language is different then that of mine? It is no more their fault then it is my own fault for speaking differing languages. Also, is it their fault that some, if not a great deal of the available online documentation could be out of date? For instance, I recently asked about how to make a Samba BDC from a Samba PDC. Using the online documentation that came with SWAT, I NEVER would have been able to get it to work. The reason was simple, that function had changed file formats and the method of getting the SID had changed as well. If newbs tend to ask the same questions over and over and you don't like to see what they wrote, delete it. You don't have to respond and it's not that big of a deal to take a second to read something that you have no intention of responding positively to. You can also do what I do. Nicely answer the question and then point out a few pieces of material that could assist that newb in expanding their knowledge to a level closer to those of us who were once newbs ourselves. You may make more friends, gain respect and also flex the muscles within your own mind going over the little things that you might not have looked at in a little while. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Chris de Vidal Sent: Thursday, February 13, 2003 3:09 PM To: [EMAIL PROTECTED] Subject: [Samba] !!ATTENTION NEWBIES!! I've been reading this list for a few weeks now and I've given advice on questions that look challenging but I've deleted MANY questions like these: How do I (easy question found in the documents)? Though I don't count myself an expert, I've known enough experts to see that they _HATE_ it when you don't invest some time before asking a question. I too have been guilty of it, but I understand when I'm shot down or ignored. READ the manpages (man smb.conf, smbclient, etc.), /usr/share/doc/samba*, SEARCH the web (Google is your friend), SEARCH this mailing list (marc.theaimsgroup.com), READ the Samba website (I spend alot of time in the Documentation page), SEARCH your distro's website (e.g. RedHat.com has a GREAT docs section with Samba stuff in it), or READ one of the many fine books. I learned a TON from Teach Yourself Samba in 24 Hours but a possibly better book, Using Samba 2 from O'Reilly is out this month. PLEASE, PLEASE, PLEASE do your homework before asking, else your question will get ignored and you'll burn out the experts, whose time is better spent improving Samba than answering simple questions. /dev/idal __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Not able to login to Samba P
I believe that your issue is related to UNIX permissions. The location of your profiles directory must be set to allow all users R/W to it. Create a new group in your group file and add every user to it. Then change the ownership of the profiles directory. Also make sure that all of your users have R/W permissions on that directory. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Manjunath H N [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 5:37 PM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] Not able to login to Samba PDC. Hello All, I am getting Windows cannot create profile directory, when I try to log on to the Samba PDC, on Win2K m/c Also I am not getting any log messages, this is the only log I got, the second log I got a long time back the log file is not getting appended after further logins [2003/02/03 17:06:24, 0] smbd/service.c:make_connection(384) administrator logged in as admin user (root privileges) [2003/02/03 17:13:29, 0] lib/util_sock.c:read_data(436) read_data: read failure for 4. Error = Connection reset by peer But earlier for the same problem I was getting these logs [2003/02/01 13:53:08, 0] smbd/service.c:make_connection(252) iwave-123 (192.168.2.157) couldn't find service profiles Please help me I tried all the docs googled around quite a bit but still I cannot solve the problem Please help me. Regards Manjunath DISCLAIMER: This e-mail and any attachment (s) is for authorised use by the intended recipient (s) only. It may contain proprietary material, confidential information and/or be subject to the legal privilege of iWave Systems Technologies Private Limited. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from retaining, using, copying, alerting or disclosing the content of this message. Thank you for your co-operation. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] RAV for Samba (Linux i386)
Ryan, This should be looked as one of those security or convenience issues. While it is a little inconvenient and sometimes quite costly to have AV software installed and configured for automatic updates across an entire network. It is one of the safest and most secure things you can do. I am not discounting having AV software installed on your server, as that is something that should also be done, as that will definitely increase the security and integrity of your network. With some of the current self-installing spyware software that takes advantage of flaws(features) in Microsoft Internet Explorer and the Microsoft OS platform having AV on local workstations is incredibly important. With the supporting evidence that such spyware software can be installed with little to no user interaction, the leap is very easy to make that malicious code writers could include a payload to infect web-sites along with their next slammer/NIMDA-type virus. With that in mind, these users could unwittingly infect the internal network one computer at a time, through E-mail and any direct shares that might be created out of convenience. This could inevitably lead to an insecure network with the tendrils of some malicious cracker now reading all company data. Personally, I find AV an extremely useful and very important tool that must be installed upon any Microsoft based platform. If there is no reason to utilize a MS based platform on a computer system within your network, then don't use one. As an example, I will provide some base info about what we do. We are a small stamping plant. There are a few systems, CAD/CAM and CMM and Accounting systems that require Windows in order to function, as there is no other OS supported by the makers of the software we use. However, virtually all of our other PC's just use MS Office to work within our VERY manual job management system. So, I have been given the green light to implement all new workstations on Red Hat Linux using one of the free office packages that will easily allow the user to complete the basic tasks he/she will be required to do. In the immediate future, I am having a consulting firm build a web-based groupware system that will fit in nicely with our QS9000 program giving us the ability to perform virtually all of our administrative tasks from any and all OS platforms that supports web browsing. One that is in place, I will have the go ahead to start eliminating the purchase of any new MS Windows based computer systems, thus mitigating our risks from the platform that has the most virii written for it. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Ryan Beisner [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 02, 2003 10:29 AM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] RAV for Samba (Linux i386) Just wondering if anyone has thoughts (good or bad) about this product (RAV AntiVirus for Samba (Linux i386))...or any other? I have a client that wants to have A/V *on* their samba server, rather than just scanning the shares from a WS. Any comments regarding ANTIVIRUS PROTECTION and SAMBA are gratefully welcome! TIA -Ryan Beisner -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba as PDC for WinXP, Win9
Simon, What version of Windows XP are you using? If your client has purchased computers from Best Buy or a similar electronics mega-store they likely received WinXP Home Edition. (Which is what it sounds like based upon the use of Win9x machines you mentioned.) If that is the case, then you will be unable to get the WinXP machines to see the Samba Server (or a Windows Server for that matter) as anything other then a workgroup connected server. WinXP Home Edition doesn't have the ability to connect to a Domain, it was never included in the OS Design. This could become an issue for you, if your client isn't to up on some of the technical aspects of things. (Because they might come away thinking that this Samba thing isn't capable of being a DC, even though it is WinXP HE that is the problem.) If they are running Windows XP Professional, then the issue might be related to the release of Samba you are using. Update to the latest stable release of Samba. We have not a single Windows XP machine connected to our Domain. However, I have read of some issues with connecting Windows XP machines to a Samba Domain. Most everyone is recommended to update to the latest version of Samba and that is usually the end of their responses regarding that issue. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Simon A. F. Lund [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 2:20 PM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] Samba as PDC for WinXP, Win98 and Win95 Hello! Ive just got the lovely job of converting and old Windows NT 4 fileserver to FreeBSD, ive set up samba before as a simple fileshare but this place requires roaming profile login from WinXP, Win98 and Win95 clients. My question is whether or not any of you people have any experience with this and might be able to give some tips on the way? I've tried fidling with it but i cant get my WinXP clients to logon to the domain :( I need all the help i can get :) regards Simon -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Windows accounts with samba
Yes, there is a line in the smb.conf called 'domain admin group =' Just put the UNIX group name that you wish to have admin rights on Windows to there. Then open up your group file and add whomever needs those rights on the system. I have found that needs to be done the first time that a user account is setup on a Windows workstation when Office needs to install a few files to the registry. After that, you can log the workstation off and make them a regular user once again. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Rudolf Weeber [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 12:58 PM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] Windows accounts with samba pdc Hi! I run samba 2.2 as pdc and have the following problem: When I log onto win2k with an account form the samba-pdc, the Windows Account that is created is restricted, i.e. doesn't have the privileges to change the registry etc. I can change this by adding each user on each workstation manually. My question is: Is it possible to change this for the entire domain - or at least for one workstation? Thanks in advance! Rudolf -- Rudolf Weeber Mühlrain 9 70180 Stuttgart / Germany Tel: 0711 62009381 Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba as PDC for WinXP, Win9
Localization of the OS should have no bearing on this issue. The only thing localization could/should affect is which government agency receives your personal documents during the near continuous contact that ALL WinXP based machines makes to the 'net. (I need more coffee that was a bit more sarcastic then usual, sorry.) The issue is likely related to the release of Windows XP that is in use. All Windows XP's are not created equal. For ANY Domain use, VPN tunneling, Dual Processor, you MUST be using Windows XP Professional. There is no other way around it, without possibly breaking EULA's, copy right law and possibly other laws. (Which might involve borrowing DLL's and other things from Windows XP Pro and importing those into Windows XP Home Edition.) Windows XP Pro also supports encrypted file systems, which is not available on XP Home. Windows XP Home Edition is a toy that is meant purely for home use. It doesn|t support Domain Authentication, it will also never support dual processor systems. It does have some nice features and is based off of the Windows NT kernel, but it has a Home Version of the networking component and other important subsystems. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Jerome Warnier [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 2:28 PM To: [EMAIL PROTECTED]; Robert Adkins Subject: Re: [Samba] Samba as PDC for WinXP, Win98 and Win95 Simon A. F. Lund wrote: Hello! Ive just got the lovely job of converting and old Windows NT 4 fileserver to FreeBSD, ive set up samba before as a simple fileshare but this place requires roaming profile login from WinXP, Win98 and Win95 clients. My question is whether or not any of you people have any experience with this and might be able to give some tips on the way? I've tried fidling with it but i cant get my WinXP clients to logon to the domain :( I've got exactly the same problem, except I don't need roaming profiles. I modifier the registry keys in XP workstations, but it still won't work. I wonder if it has anything to do with the localisation of the XP version? I'm using a French one. I need all the help i can get :) regards Simon -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] win98 samba file server
Payam, How is Samba configured? (If you could cut and paste or attach your smb.conf file in a reply, we can help you out much better.) Is Samba setup to act as a Domain Controller or a simple workgroup configuration? Have you run any updates on the Windows 98 machines? Are the windows 98 machines in the same workgroup as the workgroup you set in your smb.conf file? Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: payam [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 3:10 PM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] win98 samba file server Hello everybody, it's a few minutes that i've subscribed in your mailing list. nice to meat all of you. I have samba on redhat 8 as a file server for a couple of win98 winXP's.It work's for my XP OS's but I don't know how to join the win98 's in. please help me thanks payam. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] win98 samba file server
Payam, You should definitely pick up a copy of O'Reilly's Using Samba book. The book is immeasurably useful, even though it is slightly out of date, due to its explanation of how the SMB protocol works and the section regarding setting up a Samba PDC for the various MS Operating Systems. What I believe to be your issue right now, is that you need to have an LMHOSTS file setup and also have your Samba server acting as a WINS server. Once you have that configured, it is a simple matter of pointing each Windows 98 based machine to the Samba server as the WINS server. At that point, you should be able to join the domain. There is a good deal of information that you need to write into the LMHOSTS file for Windows 98 machines to see and understand what your Domain Controller is. One thing you need to do is add the line 'wins server = ip address of your server' into your smb.conf file. Once that is done, you need to create an LMHOSTS file. This file needs to have a small number of lines detailing the IP Address of your server then resource identifiers, like server/domain name along with a resource type... For example; 192.168.254.22 super#1b 192.168.254.22 batman#1d 192.168.254.22 batman#20 192.168.254.22 batman#1c Line one states that the machine at IP Address 192.168.254.22 is the Domain Controller for the 'super' domain. The line with '1d' in it states that the server is a Master Browser. The next line with '20' in it makes the server broadcast it is a fileserver. The '1c' designates the server as a logon server. Once you have all that in place, those Windows 98 machines should be fine with connecting to your domain. Note: The above resource names are NetBIOS names. So, the Windows machines will require the NetBIOS protocol be installed on them as well. Hopefully that will take care of your issue. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: payam [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 5:06 PM To: Robert Adkins Cc: [EMAIL PROTECTED] Subject: RE: [Samba] win98 samba file server thanks Robert -I attached my smb.conf for you -I have not installed any updates on the win98's -my samba server has a domain name as werc.sharif.edu thanks alot,thanks alot thanks alot. payam -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Locating the MACHINE.SID fil
Greg, Thanks for the information. That will really help me out with this project. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Greg J. Zartman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 4:36 PM To: Robert Adkins Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Locating the MACHINE.SID fil Robert, Have a look at the following, section 7.5 http://us2.samba.org/samba/ftp/cvs_current/docs/htmldocs/samba-bdc.html -- Greg J. Zartman, P.E. Vice-President Logging Engineering International, Inc. 1243 West 7th Avenue Eugene, Oregon 97402 541-683-8383 541-683-8144 www.leiinc.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Locating the MACHINE.SID fil
I may have spoken to soon... I found a section that states to run the following on the BDC... 'net rpc getsid' I ran that command and nothing happened. I searched the system for a 'net' command and was unable to locate anything as well. I checked a few other things, seeing if it might be a part of smbclient or smbd, but I haven't found anything declaring such an option. Is this a separate program that is related to rpc or is it something that should have been installed alongside Samba? Thanks for the assistance! Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Robert Adkins Sent: Thursday, January 23, 2003 8:36 AM To: [EMAIL PROTECTED]; Greg J. Zartman; Robert Adkins Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Locating the MACHINE.SID fil Greg, Thanks for the information. That will really help me out with this project. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Greg J. Zartman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 4:36 PM To: Robert Adkins Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Locating the MACHINE.SID fil Robert, Have a look at the following, section 7.5 http://us2.samba.org/samba/ftp/cvs_current/docs/htmldocs/samba-bdc.html -- Greg J. Zartman, P.E. Vice-President Logging Engineering International, Inc. 1243 West 7th Avenue Eugene, Oregon 97402 541-683-8383 541-683-8144 www.leiinc.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Thanks for all the assistance!!!
Hello All! I just wanted to say thanks to everyone that has assisted me with answers to a few questions that I have had over the past few days. I now have both a Samba PDC and a Samba BDC working perfectly together. (Except that I have to put together an 'automagic' synchronization system.) Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] User account unable to be updated
Hello All, I have recently needed to add two new mounted network drives to a client workstation running Windows 2000 Professional. This machine is joined to the Samba 2.2.5-10 running PDC and has access to all of the network shares, with proper permissions that it was configured with when the PDC was brought online roughly one and a half months ago. The user now requires permanent access to two additional network shares and those have been added to the user account logon .bat file, the account has been added to the groups that have access to those shares and it has been confirmed that the shares is configured to allow all members of those groups access the share. Now, when the user logs onto the workstation, those new shares pause the logon .bat window and ask for a password. When the user account password is entered, the bat file continues and ends, without mounting up the new shares. So, I went into the My Network Places icon and attempted to manually mount those shares. This popped up a Username/Password window and it refused to mount up the share when the user account and password was entered. I also used the username/password combination of all the users that have access to those shares and not a single username/password combination functioned. (Although with using other username/passwords an error message about the credentials being used elsewhere popped up on the screen.) I have read some remarks on this list regarding machine passwords and how those are typically automatically updated by Windows 2000 machines across a Windows Domain. Could that be causing the problems that I am experiencing with this user account? If so, how does one go about fixing this issue? Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] brian.casey@mscsoftware.com
Everyone could setup an auto-responder to send replies to his E-mail address that contains instructions on how to properly setup his mail filters to skip the auto reply to this and any other mailing lists he is associated with. Perhaps when his company sees the incredible slow-down on their mail server and investigates the issue. They could unplug his machine from their network, freeing us all of the scourge his auto responder is providing us. Of course, he might also feel quite mortified to find out that his inbox is filled with some 100,000 E-mails that have directions to keep him from being viewed as a techno-illiterate in the future. (Can you imagine how long it would take to delete those E-mails using Outlook?) Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Paul Yeager [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 9:21 AM To: [EMAIL PROTECTED]; Kristyan Osborne; Robert Adkins Cc: Samba (E-mail) Subject: Re: [Samba] [EMAIL PROTECTED] - Out of office I sure *hope* so! Perhaps if folks who inflicted such things on the list were just suspended until they requested reinstatement, folks might get a hint! Is there anything in the mail header that might identify automatic replies as such, and could be used to filter them? Not that I'm perfect. my posts occasionally get bounced for being in HTML format. Paul Kristyan Osborne wrote: Is it possible to suspend this user from getting mail for a week otherwise we are going to get loads of out of office reports??? Cheers -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 22 January 2003 13:34 To: [EMAIL PROTECTED] Subject: [Samba] I am out of the office. I will be out of the office starting 01/21/2003 and will not return until 01/28/2003. I will respond to your message when I return. If you have questions regarding product licensing, please contact Natalie Rezek, at 323-259-4910; for any other issues requiring immediate attention, please contact Kevin Kilroy at 714-445-5623. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] User account unable to be up
SORRY! I solved the issue. It was nothing major. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Robert Adkins Sent: Wednesday, January 22, 2003 10:36 AM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] User account unable to be updated Hello All, I have recently needed to add two new mounted network drives to a client workstation running Windows 2000 Professional. This machine is joined to the Samba 2.2.5-10 running PDC and has access to all of the network shares, with proper permissions that it was configured with when the PDC was brought online roughly one and a half months ago. The user now requires permanent access to two additional network shares and those have been added to the user account logon .bat file, the account has been added to the groups that have access to those shares and it has been confirmed that the shares is configured to allow all members of those groups access the share. Now, when the user logs onto the workstation, those new shares pause the logon .bat window and ask for a password. When the user account password is entered, the bat file continues and ends, without mounting up the new shares. So, I went into the My Network Places icon and attempted to manually mount those shares. This popped up a Username/Password window and it refused to mount up the share when the user account and password was entered. I also used the username/password combination of all the users that have access to those shares and not a single username/password combination functioned. (Although with using other username/passwords an error message about the credentials being used elsewhere popped up on the screen.) I have read some remarks on this list regarding machine passwords and how those are typically automatically updated by Windows 2000 machines across a Windows Domain. Could that be causing the problems that I am experiencing with this user account? If so, how does one go about fixing this issue? Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Locating the MACHINE.SID file...
Hello, I am setting up our backup Linux server to act a BDC to our Linux PDC. In the directions that are available within the Swat Online Help... There is a section that states that the private/MACHINE.SID file must be copied over exactly as is to the Samba BDC in order for that machine to act as a Samba BDC to a Samba PDC. For the life of me, I have been unable to locate that file. I have updated by locatedb and have searched for it using a variety of strings and options... Does anyone know where that file is? Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Locating the MACHINE.SID fil
Additional Info... I am beginning to think that a file called 'secrets.tdb' might be what I am looking for. Inside that file is something mentioning SID. Of course, it also mentions the name of the PDC. If that is the file I am supposed to copy over. Then it is done. However, I still need a little more input for setting up a Samba BDC. With a Samba BDC, should I leave the server Netbios the same as the PDC or change that to the name of the BDC? If the latter is the case, do I then need to change the server name in the 'secrets.tdb' file to match the server name in the smb.conf file? Everything else in the BDC directions makes perfect sense and is currently done. I just need answers to these final questions before bringing the Samba service up live on that server. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Robert Adkins Sent: Wednesday, January 22, 2003 7:14 PM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] Locating the MACHINE.SID file... Hello, I am setting up our backup Linux server to act a BDC to our Linux PDC. In the directions that are available within the Swat Online Help... There is a section that states that the private/MACHINE.SID file must be copied over exactly as is to the Samba BDC in order for that machine to act as a Samba BDC to a Samba PDC. For the life of me, I have been unable to locate that file. I have updated by locatedb and have searched for it using a variety of strings and options... Does anyone know where that file is? Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] frustration samba and LDAP
Richard, So far, it has been my experience that learning (Open)LDAP is really no more difficult then learning Microsoft's Active Directory system. The only major difference that I see is that (Open)LDAP appears to be easier to recover, if there happens to be corruptions and such. Since you can basically create a flat text file and run a command that reads in that entire (Open)LDAP structure into the (Open)LDAP DB from that flat file. Of course, I am only beginning to look at (Open)LDAP, but I hope to have it all configured for our network soon. Unless I can think of a different method for keeping all of the user accounts, machine accounts and network information synced amongst the servers. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: richard [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 8:49 PM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] frustration samba and LDAP did someone really try to make this complicated or did it really just turn out this way?? How can any of you use LDAP with its.. cn=xyz ou=abc godknows=whatelse ..complicated syntax. I thought learning command line Linux was hardI don't want to go through that again! *) frustrations not withstanding...I do sincerely thank the Samba team for a package which has served us well for 3 years. R.C. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: frustration samba and LD
Jim, Perhaps you should forward your concerns to the OpenLDAP developers list and hopefully they can work out something to streamline the process. Perhaps they are already working on streamlining the system and require some help in tightening up some of their ideas. I am sure that they would welcome any suggestions that you may have. Of course, some of the issues that you have experienced also appear to have come from Samba's implementation of chatting with LDAP. Perhaps there are some things you could forward to the Samba developers that could also make for a much easier to operate Samba/(Open)LDAP experience. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Jim [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 8:12 AM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] Re: frustration samba and LDAP So far, it has been my experience that learning (Open)LDAP is really no more difficult then learning Microsoft's Active Directory system. The only major difference that I see is that (Open)LDAP appears to be easier to recover, if there happens to be corruptions and such. Actually, I'm going to side with him. Figureing out the setup has taken me just under 6 months which is way too long. IMHO, the problem isn't that the system is complex, exactly. Rather that it can seem so complex that one constantly winds up second guessing. It has too many components to keep track of and integrate (ACL's, smb.conf slapd.conf ldap.conf ldap.secret, search syntax etc. etc..). Despite thier individual complexity I've felt that they are collectively complex. If one isn't good at decomposeing problems into smaller domains, then one might be in trouble. Also there is the problem of thinking in an extra dimension for an object orientated database system when most of us are trained to think in relational terms. Couple this with the lack of an easy to use and understand query language/syntax (i.e. that we are spoiled by SQL)... -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Does 3MB/sec seem as fast as
John, I haven't done any direct performance testing, although I am planning on figuring that out now. (BTW, how is performance testing ran?) However, I can say that since converting over to the Samba PDC/File Server that the file transfer performance just feels much faster. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: John H Terpstra [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 4:12 PM To: [EMAIL PROTECTED]; Kees Damen; Robert Adkins Cc: Samba List Subject: Re: [Samba] Does 3MB/sec seem as fast as Samba is? On Thu, 16 Jan 2003, Kees Damen wrote: Hi, I think that in Windows there is code that detect that the server is not an original Windows NT or 2000 server box. After this detection Windows give's extra waits in the I/O to frustrate the user and encourage him to buy original Windows Server software. I don't trust these guys in Redmond. Sorry. I do not buy that story. I am able to get up to 11MB/sec on 100-Base-T and up to 30MB/sec over 1GBit Ethernet. Client is AMD MP1600+, 512MB RAM, Server is AMD MP1500+, 1GB RAM, 3Ware IDE RAID with 3 WD60GB 7200rpm drives. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Something I dislike
Hello, When I sometimes sit down at my Samba PDC and fire up the monitor, there are occasionally some log file messages displaying on the screen. This is while nobody is logged onto the local server, it is displayed right over the logon prompt. Here is an example... smb_trans2_request: result=-104, setting invalid smb_retry: successful, new pid=3347, generation=4 From what I gather, it appears that samba is running into an error and then it is spawning another process to take care of the user request. I can and should find out exactly what is happening to cause that, but right now I want to see what I can do to keep those messages from appearing on the monitor. Any suggestions? Thanks! Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Printer not accessible! Plea
Martin, There is a great deal more that needs to be done other then the creation of a smb.conf file for setting up a PDC for any Windows workstations. Unfortunately, I only have experience with setting up a PDC for a mixed bag of Windows 9x, Windows NT 4.0 and Win2K systems. The only WinXP machine we utilize is one laptop, which is rarely ever attached to the corporate network. So, that machine is just setup for to see our domain as a workgroup. I do know that some of the things that you need for a Samba PDC include setting up machine accounts in both your normal UNIX environment and also in the smbpasswd file. You also need a netlogon directory and a profiles directory, if you are using roaming profiles. Unfortunately, I don't have enough time available to go over all the configurations with you, since I am a one-man IT Department with many projects currently in the works... What I can do is send you some links and provide some guidance towards some information that helped me greatly. One thing I recommend is to pick up a copy of the O'Reilly book, Using Samba. While it is slightly dated these days, the book was immeasurably helpful as it explained quite a bit about how SMB (In Windows) works and gave some great background information for configuring a Samba PDC. Another wonderful resource is the built-in Swat HTML help files. If you haven't taken a look at Swat yet, definitely do so. It should have been part of your installation process for the version of Samba that you are using. One thing to consider before using Swat, is that Swat will rewrite your configuration file. This is important, because Samba rereads that file about every 20 to 30 seconds. This rewrite streamlines the file and allows Samba to turn up the speed considerably, especially if you have many shares. What it does is remove ALL of the comments and in-file documentation. Another tool that I used to configure my Samba install is webmin. It can be found at www.webmin.com. This tool is awesome for remotely administrating a UNIX Server, if you want to use a GUI tool. (Sometimes I really enjoy using such a tool, even though I am comfortable with CLI configurations.) Webmin will display everything at once in an easy to read format. The only thing it currently doesn't support configuring is a Samba PDC. Here are a few links to some helpful Samba PDC setups: http://www.linuxnetmag.com/en/issue6/m6samba1.html http://www.siliconvalleyccie.com/index.htm - There is a link titled Samba File/Print Sharing which should prove helpful as it has a section dedicated to Samba PDC. The final thing that I can recommend is to use the latest release of Samba. I have read of a number of issues with older releases of Samba with Windows XP and Windows 2000 with Service Pack 3 (but not SP1 or SP2 of Windows 2000.) I didn't have the time to really dig into those issues and I wouldn't be able to reproduce them here since I haven|t quite the same configurations of OSs. So, I can only imagine that MS made some minor changes to the way those client Operating Systems talk via the SMB protocol. I hope that has been helpful. Good luck with yor network! Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Martin Peter Hanke [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 12:48 PM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] Printer not accessible! Please review my conf on leaks Hi, I'm having problems with my printer, I can't access the printer not even as root! Please review my smb.conf and give me some hints on what I messed up. If you have some enhancements for me please add comments. Thanks for your efforts, Martin -- == I. Thessalonians 4:16 Thanks, Dad, for just letting me be a nerd. We don't stop playing because we grow older, We grow older because we stop playing. Being paranoid does not mean they are not out to get you. Important Information: This is best viewed with Netscape Explorer 21.5, at 3200x1800 pixels with 8xFSAA, 48bit color, 27 TFT (16x9), and a nail in the knee. == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Printer not accessible! Plea
Martin, Having the Domain name in the workgroup would do the trick. I did that because the end-user typically works on a Windows 2000 Workstation, with some different software then is installed on the laptop. The roaming profiles I have configured end up wreaking havoc between the laptop and the workstation. Since I didn't have the time to dig deeper and didn't wish to create two logons for that user, having the laptop working as if connected to a workgroup was and currently is the best option. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Martin Peter Hanke [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 3:53 PM To: Robert Adkins Subject: Re: [Samba] Printer not accessible! Plea Hi, thanks just ordered the O'Reilly book, guess it will be helpfull, by the way you are joining the laptop to the domain with the name of the domain in the workgroup setting? Is this right? I have the problem we will have up to 8 notebooks which will not be joined to the domain but have to access the data on the server. Is this the way to go? Martin Robert Adkins wrote: Martin, There is a great deal more that needs to be done other then the creation of a smb.conf file for setting up a PDC for any Windows workstations. Unfortunately, I only have experience with setting up a PDC for a mixed bag of Windows 9x, Windows NT 4.0 and Win2K systems. The only WinXP machine we utilize is one laptop, which is rarely ever attached to the corporate network. So, that machine is just setup for to see our domain as a workgroup. I do know that some of the things that you need for a Samba PDC include setting up machine accounts in both your normal UNIX environment and also in the smbpasswd file. You also need a netlogon directory and a profiles directory, if you are using roaming profiles. Unfortunately, I don't have enough time available to go over all the configurations with you, since I am a one-man IT Department with many projects currently in the works... What I can do is send you some links and provide some guidance towards some information that helped me greatly. One thing I recommend is to pick up a copy of the O'Reilly book, Using Samba. While it is slightly dated these days, the book was immeasurably helpful as it explained quite a bit about how SMB (In Windows) works and gave some great background information for configuring a Samba PDC. Another wonderful resource is the built-in Swat HTML help files. If you haven't taken a look at Swat yet, definitely do so. It should have been part of your installation process for the version of Samba that you are using. One thing to consider before using Swat, is that Swat will rewrite your configuration file. This is important, because Samba rereads that file about every 20 to 30 seconds. This rewrite streamlines the file and allows Samba to turn up the speed considerably, especially if you have many shares. What it does is remove ALL of the comments and in-file documentation. Another tool that I used to configure my Samba install is webmin. It can be found at www.webmin.com. This tool is awesome for remotely administrating a UNIX Server, if you want to use a GUI tool. (Sometimes I really enjoy using such a tool, even though I am comfortable with CLI configurations.) Webmin will display everything at once in an easy to read format. The only thing it currently doesn't support configuring is a Samba PDC. Here are a few links to some helpful Samba PDC setups: http://www.linuxnetmag.com/en/issue6/m6samba1.html http://www.siliconvalleyccie.com/index.htm - There is a link titled Samba File/Print Sharing which should prove helpful as it has a section dedicated to Samba PDC. The final thing that I can recommend is to use the latest release of Samba. I have read of a number of issues with older releases of Samba with Windows XP and Windows 2000 with Service Pack 3 (but not SP1 or SP2 of Windows 2000.) I didn't have the time to really dig into those issues and I wouldn't be able to reproduce them here since I haven|t quite the same configurations of OSs. So, I can only imagine that MS made some minor changes to the way those client Operating Systems talk via the SMB protocol. I hope that has been helpful. Good luck with yor network! Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Martin Peter Hanke [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 12:48 PM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] Printer not accessible! Please review my conf on leaks Hi, I'm having
RE: [Samba] Profiles ...
Unless your users are using Outlook (or virtually any E-mail client for that matter) I have a few users with .PST files that are over 1Gig in size. This is due to the regular amount of data files that we are sent. I have discussed with them the need to trim those files down. However, that isn't something that they are considering doing. My hands are pretty tied with that right now. In the near future, I am planning on replacing the current locally stored .PST files with an IMAP server. There are a few other things that I can do after that to cut down on the logon/logoff time. However, I have other more pressing matters to attend to. Anyway, our network speed is swift enough to get those logoffs down to about twenty minutes or so...(Crazy I know, but that's what it takes.) Logons are thankfully much faster. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: John H Terpstra [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 8:35 PM To: [EMAIL PROTECTED]; C.Lee Taylor; Robert Adkins Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Profiles ... On Wed, 15 Jan 2003, C.Lee Taylor wrote: Greetings ... This is a stupid question which have been wanting to ask for awhile, and hope somebody can help me. Profiles, if I understand it correctly come in two forms, local and roaming? Now local in on the computer the user uses and roaming is one that is download from the server when the user logs in. Correct. Now, where my problem is, when I have some users who have huge documents folder, this log on and log off takes a long time, not mention the problems I have run into when their computer is turn off incorrectly. I am sure this is a Micro$oftism, but is there a way to use roaming profiles, but have then use directly off the server and not copied to and from the server at login and logout? This is simply a symptom of BAD BAD BAD practice. You need to educate your users that they should store documents on a drive share. Keep profiles clean and small by making them mandatory. See the Win2K/WinXP resource kits for details how to create a mandatory profile. This forces your users to use network drives instead of dropping their poop all over the shop. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba