John | 1 Jun 2008 02:55
Picon

RE: CentOS-Samba question

 -----Original Message-----
From: centos-bounces@...
[mailto:centos-bounces@...] On Behalf
Of MHR
Sent: Saturday, May 31, 2008 2:57 PM
To: CentOS mailing list
Subject: Re: [CentOS] CentOS-Samba question

On Tue, May 27, 2008 at 5:17 PM, MHR <mhullrich@...> wrote:
> On Tue, May 27, 2008 at 4:51 PM, Christopher Chan 
> <christopher@...> wrote:

Okay, I went through the Samba Guide at
http://us3.samba.org/samba/docs/using_samba.  I read chapters 1, 2 & 3
fairly thoroughly, and I'm going through 12 (troubleshooting) now.
----------------------------------------------

I think your reading the wrong guide, try this one and this has traversed on
long enough. Almost Two weeks now. Below included is also a work (BASIC)
Configuration file to get you going. Then you will need to go on and
experiment from there.

This configuration below will work with a "forced user = use_name". Or
change the security mode to user and create accounts on the samba server for
the windows clients. Those accounts **HAVE** to mach the Window user and
password logons! Please read the comented sections.

Hope All This Helps and the Formatting Stays,
JohnStanley

(Continue reading)

Robert Moskowitz | 1 Jun 2008 06:02

Re: Setting Group owner of files on USB drive

I want to thank you all for your comments and the knowledge I gained 
thereby....

Kenneth Burgener wrote:
> On 5/31/2008 3:33 AM, Johnny Hughes wrote:
>> Robert Moskowitz wrote:
>> You can't expect it to maintain ext3 file permissions in a FAT32 
>> partition :D
>
>
> Not necessarily.  If the Linux files do not need to be accessed from 
> the windows environment, you could create an image file, format the 
> image as ext3, mount the image file as a loop device, and treat it as 
> a standard ext3 mount point. 
Since this is only a movable copy of files from my /home/me directory 
structure, I can live with loosing the group and needing to reset it if 
moved back to a ext3 partition.

I will just have to work out the right rsync of cp command to do the 
bulk movement without all those warnings.  SHould only take reading a 
few man pages for that...

Again thanks.
dnk | 1 Jun 2008 07:47
Picon

recommendations/suggestions - geographically spread network based on Centos

Good day all, 

I was wondering if I could pick some admin heads here as I have a HUGE project I have been tasked with.....

I am asking here since I will be basing everything on Centos, and want it to all play nice together. If anyone feels this is straying off topic, please just reply off list. I do not want to be the cause of one of those threads.

I have 3 offices, 1 in Canada, 2 in Mexico. We are currently investigating connectivity options (still no results yet), but I suspect one of the mexican sites will be very limited.

I need to setup the typical office setup, but need to get the following figured out. I personally do not have experience in this type of network (all my past experience comes from a centralized office, one location, or a multi office with services all based in their respective locations).

So because The connectivity is probably limited (in our mexican offices), I will need to take that into consideration (obviously).
Our head office has a 10mb full duplex fiber feed, but we also have equipment in data centers.

What I need in the end is:

- exchange like functions IE Global address book, shared calenders, etc (looking at scalix, or could keep my existing email server - very happy with it, and just setup a LDAP server and a CalDAV server - still investigating this one though).
Funambol with various connectors to push email and calendars to blackberries and iphones.
- vpn (openvpn) - mostly just the head office though
- collaborative / project management environment (looking at alfresco - sharepoint alternative)
- monitoring (nagios)
- helpdesk (glpi with ocs for inventory management)
- file sharing (samba)
- remote file backups (probably just rsync into a dedicated backup machine in a data center)
- access to all services (probably - still waiting back from the higher ups) from all locations

So my first thought is that my preference it to keep as much at a data center as possible due to security, temperature control, connection reliability, etc. Due to my inexperience with some of these products, (IE Scalix,etc) I am kind of wondering what the best way or topology is to do this is.

So at a brief first thought I kind of envisioned this:

- scalix,  Funambol, alfresco, nagios (also one in my office as backup), backup box collocated in the data center providing it can be locked down adequately, and still provide the needed services to all 3 offices.
- in each office a samba file server, vpn server.

Due to the probable connectivity issue with the remote offices (one is literally in the desert at a work site), I did not think a constant inter-office VPN was the way to go, Or even securing the main data center services with VPN (unless I could build it right for speed).

However I guess I could lock down the data center services with VPN, and create a constant connection between head office and the data center, and allow the other offices to connect via individual vpn connections as needed.

Thoughts? Just looking for a general broad overview, or some software recommendations if anyone from experience has a recommendation that is possibly better than the software I had outlined here.

Dnk



_______________________________________________
CentOS mailing list
CentOS@...
http://lists.centos.org/mailman/listinfo/centos
MHR | 1 Jun 2008 10:01
Picon

Re: CentOS-Samba question

On Sat, May 31, 2008 at 5:55 PM, John <jses27@...> wrote:
>
> I think your reading the wrong guide, try this one and this has traversed on
> long enough. Almost Two weeks now.

1) This has been going on, on and off, for a lot longer than two weeks.
2) I was hoping that it would be considered "long enough" when the
problem is solved.
3) My samba configuration is only a part of the problem, and it works
for my Windows XP guest, even with all the tweaks I've added/used.
The problem also has (a lot) to do with the Windows configuration,
which may not be perfect, since I used the "wrong guide" to set it up
and check it, but nothing here even addresses that.

But thank you for your opinion.

> Samba 3 By Example:
> http://us3.samba.org/samba/docs/man/Samba3-ByExample/
>
> Samba 3 How To:
> http://us3.samba.org/samba/docs/Samba3-HOWTO.pdf
> http://us3.samba.org/samba/docs/man/Samba3-HOWTO/

These were where I started out, and how I got what I have to work with
my WXP guest in the first place.  I was using the other guide as an
additional resource - it /is/ on the samba site, after all, and they
don't appear to have a step-by-step guide for samba 3+.

Thanks.

mhr
MHR | 1 Jun 2008 11:40
Picon

Re: CentOS-Samba question

I just found something interesting.  I brought up my XP guest, and it
had no trouble at all connecting to the shares, but it couldn't open
the workgroup at all and the printer had become disconnected.  I could
not reconnect through the workgroup (duh), but if I just input the
network name, the printer came up just fine.

So:

I can connect to my shares from the XP guest, and I can connect to my
printer from the XP guest, I just can't open the workgroup (this is
relatively new, like, since I began messing with the smb.conf file in
the last two weeks).

Don't know exactly what that means, but I haven't given up yet.
Tomorrow I'll dig in more on the remote machine and see where that all
takes me.

Any helpful suggestions still welcome....  :-)

mhr
John Bowden | 1 Jun 2008 13:56

External USB Hard Drive mount problems

Hi Folks
I have a number of external USB enclosures with hard drives in. Some are IDE 
and others are SATA drives. I'm running CentOS 5 + all updates. Recently when 
I plug in an external drive I get the message "Invalid filesystem type. I 
have install the NTFS-3G bits stuff and reformatted the hard drives with 
FAT32 but still get the same error message. This started after an update (not 
shore which one,) as I had been able to copy files to / from these disks 
before. I have turned off selinux and had a look at my fstab file, but can't 
see any thing obvious. Can some one point me in the right direction to debug 
this please?
Regards John
--

-- 
Guy Fawkes, the only man to enter the houses of Parliament
with honest intentions, (he was going to blow them up!)
Registered Linux user number 414240
John | 1 Jun 2008 14:20
Picon

RE: CentOS-Samba question

 -----Original Message-----
From: centos-bounces@...
[mailto:centos-bounces@...] On Behalf
Of MHR
Sent: Sunday, June 01, 2008 5:40 AM
To: CentOS mailing list
Subject: Re: [CentOS] CentOS-Samba question

I just found something interesting.  I brought up my XP guest, and it had no
trouble at all connecting to the shares, but it couldn't open the workgroup
at all and the printer had become disconnected.  I could not reconnect
through the workgroup (duh), but if I just input the network name, the
printer came up just fine.
-------------------------------------------------------
"""If you logged on from the Windows Guest Account then you know it is
authenticating by the guest or nobody account that's on the Samba Server.
The previous config file I that I stuck in the mail for you will work on a
Windows Client machine providing there is sufficient name and ip address
translation. It will authenticate against the samba server "nobody" account.
IE, as in provide anonymous user name and password authentication so the
user will not have to enter a password. That is to get you going on the
right path. From there you will need to incorporate some type of user mode
authentication. You don't want the whole world to access it."""
--------------------------------------------------------
So:

I can connect to my shares from the XP guest, and I can connect to my
printer from the XP guest, I just can't open the workgroup (this is
relatively new, like, since I began messing with the smb.conf file in the
last two weeks).

Don't know exactly what that means, but I haven't given up yet.
Tomorrow I'll dig in more on the remote machine and see where that all takes
me.

Any helpful suggestions still welcome....  :-)

Mhr
----------------------------------------------------------------------
OK, you don't need to just open the Workgroup. All you really need to do is
just add the share on the Samba server. Here we go like this; Tools | Map
Network Drive "or" Right Click My Computer and Select Map Network Drive.
What I believe you concern is about "Browsing the Network"? You don't need
to Browse the network in order to connect to the shares. But you will have
to add each share you have on the samba server to the windows clients.

Now if your really concerned about eyeball browsing the network (I am not
making fun of you either) Go To Start | Run |, and in the run command box
type "net use \\samba_server_name_here\". Then they should, I say should
again be in Network Neighborhood.

Also the your Win98 client may need to set up with an LMHOSTS file and using
NetBios/tcpip. They can be configured to use the Samba servers "WIN Server"
to provide hostname to ip address translation. It would really be
justafiable to have a DNS Server on the network to do the translation.

Another thing that comes to mind is that the Win98 clients are not
authenticating against the given user account. Now why is that? If I recall
right there is an issue with password encryption. I believe it's mentioned
in the earlier stated links I gave you and that would be in one of the
downloadable PDF Files.

Wish you Luck,
JohnStanley
_______________________________________________
CentOS mailing list
CentOS@...
http://lists.centos.org/mailman/listinfo/centos
John | 1 Jun 2008 14:38
Picon

RE: CentOS-Samba question

 -----Original Message-----
From: centos-bounces@...
[mailto:centos-bounces@...] On Behalf
Of MHR
Sent: Sunday, June 01, 2008 4:01 AM
To: CentOS mailing list
Subject: Re: [CentOS] CentOS-Samba question

On Sat, May 31, 2008 at 5:55 PM, John <jses27@...> wrote:
>
> I think your reading the wrong guide, try this one and this has 
> traversed on long enough. Almost Two weeks now.

1) This has been going on, on and off, for a lot longer than two weeks.
2) I was hoping that it would be considered "long enough" when the problem
is solved.
3) My samba configuration is only a part of the problem, and it works for my
Windows XP guest, even with all the tweaks I've added/used.
The problem also has (a lot) to do with the Windows configuration, which may
not be perfect, since I used the "wrong guide" to set it up and check it,
but nothing here even addresses that.

But thank you for your opinion.

> Samba 3 By Example:
> http://us3.samba.org/samba/docs/man/Samba3-ByExample/
>
> Samba 3 How To:
> http://us3.samba.org/samba/docs/Samba3-HOWTO.pdf
> http://us3.samba.org/samba/docs/man/Samba3-HOWTO/

These were where I started out, and how I got what I have to work with my
WXP guest in the first place.  I was using the other guide as an additional
resource - it /is/ on the samba site, after all, and they don't appear to
have a step-by-step guide for samba 3+.

Thanks.

Mhr
-------------------------------------
Hrmm. The Samba 3 guide covers all Samba Versions 3 and greater. There are
only minimal differences between the versions. Some options are being phased
out though so keep that in mind. 

Do this just for kicks. Take your samba config file and rename it. Take what
I posted in email to you and use it for the main samba config fig file. You
will only need to change the directory paths to match yours. Try one share
at a time. You should be able to access it (the samba server share) with any
windows xp user account, wether it's a guest account or not. You will need
the correct chmod and chown with the -R option on the shared folder.
Sometime when using the GUI in changing the folder and file permissions, it
want allow Recursiveness to the folder thus use the shell command to do it.

johnstanley.
_______________________________________________
CentOS mailing list
CentOS@...
http://lists.centos.org/mailman/listinfo/centos
Rogelio | 1 Jun 2008 21:53
Picon

Hardened ver of CentOS?

Can anyone recommend a hardened CentOS distro?
John R Pierce | 1 Jun 2008 22:40
Favicon

Re: Hardened ver of CentOS?

Rogelio wrote:
> Can anyone recommend a hardened CentOS distro?

CentOS /is/ a distro,  there is only one centos 'distribution'.      
centos configured with selinux enabled, appropriate firewall rules, and 
the minimum number of services required for your application should be 
fairly 'hardened' as-is.

Gmane