Re: [CentOS] Samba setup
I could never connect to my smb shares . So I browsed directly to a shared folder when I received the message that directed me to the link of which I sent earlier. I’m not sure how to tell what protocol version samba uses but it may be that it’s using the ver 1. I haven’t looked into trying to fix mine as I’m going to be redoing my Linux server and then after that I’ll be seeing if I can connect with my win10 pc. Don’t feel like adding any unnecessary patches to my win 10 machine unless I have to after I update my Linux box. Might want to do more research and see what actual protocol version the smb server is using Sent from my iPhone > On Jan 29, 2021, at 12:02 PM, Robert G. (Doc) Savage > wrote: > > >> >> On Fri, 2021-01-29 at 06:32 -0600, Chris Weisiger wrote: >> >> I’m not exactly sure if this may be the same issue I experienced but Google >> smb1 and windows10 . Apparently Microsoft removed support for Ann version 1 >> from windows 10 after one of the release updates >> >> https://go.Microsoft.com/fwlink/?linkid=852747 > > Chris, > > I added the following line to [global], but it didn't fix the problem. > > server max protocol = SMB2 > > --Doc ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba setup
> On Jan 28, 2021, at 10:49 PM, Robert G. (Doc) Savage via CentOS > wrote: > > On Fri, 2021-01-29 at 04:40 +, Strahil Nikolov wrote: >> I know from experience that you need to decide how you control access >> and you got 2 options: >> >> - Linux directory is set to 777 and all control is in samba >> - Linux directory is set as if unix user will access it and you use >> the sam uid/gid for both client and server accounts (AD, FreeIPA, >> LDAP) >> >> What is your settings right now ? >> >> Best Regards, >> Strahil Nikolov > > Strahil, > > 777 and ownership of /tank/Windows is nobody:nobody. It's actually an > empty directory right now. > > Not using AD/FreeIPA/LDAP. > > --Robert Savage > Fairview Heights, IL > > >> >>> On Thu, Jan 28, 2021 at 7:57, Robert G. (Doc) Savage via CentOS >>> wrote: On Tue, 2021-01-19 at 17:18 +0100, Götz Reinicke wrote: > > Anything in the samba logs? May be SELinux/Firewall issues? >>> >>> Götz, >>> >>> Unfortunately, no. >>> >>> The nmbd log verifies that the fileserver's samba service is the >>> local >>> master browser for WORKGROUP on both eth0 and virbr0. >>> >>> [2021/01/17 19:02:22.190795, 0] >>> >>> ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2 >>> ) >>> * >>> Samba name server LIONSTORE is now a local master browser for >>> workgroup >>> WORKGROUP on subnet 192.168.1.20 >>> * >>> >>> [2021/01/17 19:02:22.191085, 0] >>> >>> ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2 >>> ) >>> * >>> Samba name server LIONSTORE is now a local master browser for >>> workgroup >>> WORKGROUP on subnet 192.168.122.1 >>> * >>> >>> The samba smbd log simply reports the connection denials: >>> >>> [2021/01/17 23:07:40.304626, 0] >>> ../../lib/util/access.c:371(allow_access) >>> Denied connection from 192.168.1.30 (192.168.1.30 >>> >>> There's nothing in the SELinux logs for that date. >>> >>> I checked firewall-config on the storage server and verified that >>> the >>> samba service is allowed (but not samba-client or samba-dc). >>> >>> Is there a really comprehensive setup checklist available for >>> setting >>> up samba on CentOS? The partial how-tos I've been able to find are >>> obviously not enough. I'm looking for completer smb.conf setup, >>> firewall settings, required services, directory permissions, >>> accounts, >>> and anything else that's required. I'm running up against very >>> unhelpful roadblocks that seem to indicate a critical permissions >>> problem but nothing specific. >>> >>> V/R >>> --Doc Savage >>> Fairview Heights, IL >>> >>> ___ >>> CentOS mailing list >>> CentOS@centos.org >>> https://lists.centos.org/mailman/listinfo/centos > > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos I’m not exactly sure if this may be the same issue I experienced but Google smb1 and windows10 . Apparently Microsoft removed support for Ann version 1 from windows 10 after one of the release updates https://go.Microsoft.com/fwlink/?linkid=852747 Chris ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Testing
Testing Sent from my iPhone ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C7 AD server
Try this. I have been thinking of trying it on C7. http://www.linuxhelp.net/forums/index.php?showtopic=10868 -Original Message- From: "Alessandro Baggi"Sent: 2/6/2016 8:02 AM To: "centos@centos.org" Subject: Re: [CentOS] C7 AD server Il 06/02/2016 14:52, Alessandro Baggi ha scritto: > Il 06/02/2016 12:43, Alessandro Baggi ha scritto: >> Hi there, >> I want to setup a AD server with C7. Is this supported using samba >> release shipped with C7? >> >> I can't found Centos7 related how-to for study this setup. >> >> Can someone point me in the right direction? >> >> Thanks in advance > > Reading from Samba Wiki: > > Make sure that you use a recent Samba and note, that not all > distributions currently ship Samba packages, with Active Directory > Domain Controller capabilities. One of the reasons is, that some > distributions are based on MIT Kerberos, while Samba (currently) only > supports Heimdal Kerberos. E. g. Red Hat operating systems (RHEL, > CentOS, Fedora, etc.) are affected. In this case, choose one of the > other install options. > > For this I must use SerNet version due to Kerberos Version, and at this > time seems to be usable under payments. > > What is the way? Correction for last post. We can use enterprise samba packages. SAMBA+ is under payments. Someone had experiences with EnterpriseSamba? ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Test. Do Not Respond
___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Sorry
I'm posting from my phone so I can't bottom post, but I believe this thread has gone on way to long. Lets drop it and get back to what this mailing list is all about. I would rather read posts about the same technical things over and over again that have been asked hundreds of times. But when questions like that get asked, alot of times people reply by saying search the archives or have you searched google yet. Where as the top/bottom posting question I believe should be answered with the search the archives or search google answer. This is just my 2 cents. Now back to your regularly scheduled questions. -Original Message- From: Dave Stevens g...@uniserve.com Sent: 5/17/2014 7:07 PM To: CentOS mailing list centos@centos.org; Alexander Dalloz ad+li...@uni-x.org Subject: Re: [CentOS] Sorry Quoting Alexander Dalloz ad+li...@uni-x.org: Am 17.05.2014 23:22, schrieb Always Learning: Top posting ALWAYS makes sense when the poster has included nearly 200 lines of redundant and time-wasting waffle from previous posters. False argument. +1 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] HDD Problem....
I'm posting from my phone, so I have no choice but to top post. I have run across an issue like this. I have noticed the drives make a clicking noise if they are in an enclosure. I have then taken them out and they were perfectly fine. I found that the controller card in the enclosure was bad and not the hard drive. So take the drives out and they might be absolutely fine. -Original Message- From: Eddie O'Connor eoconno...@gmail.com Sent: 4/5/2014 1:41 PM To: CentOS mailing list centos@centos.org Subject: [CentOS] HDD Problem Ok so I have a 500GB WD Blue Scorpion HDD that I'm trying to access via USB, when I boot up my CentOS laptop the lights on the external USB casing light up...and I can hear the drive making noise, but after a few minutes I hear an abrupt click and the drive doesn't do anything. I can SEE it in the Disk Utility in CentOS,...I even tried to format it from there as well and the symptoms are still the same. The lights come on...it looks like its about to do something...and then the loud click and nothing happens. Can anyone volunteer some advice as to where I would look for troubleshooting this issue? I really am not interested in what's on it. I just want to re-format it and (possibly) use it for storage. I have tried using various toosl to try and wipe this drive but nothing seems to work...(SystemRescue CDD.B.A.N...PartImageHiram's BootCD) Any help or advice would be greatly appreciated. Thanks In Advance EGO II ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba problem
You can connect to a samba share without user or password authentication. That's how I have my server setup at my house. I dont know the settings off hand but illpost them shortly -Original Message- From: Earl Ramirez Sent: 10/04/13 8:35 PM To: CentOS mailing list Subject: Re: [CentOS] Samba problem On Fri, 2013-10-04 at 18:27 -0500, Joseph Hesse wrote: On 10/04/2013 02:39 PM, John R Pierce wrote: On 10/4/2013 12:11 PM, Joseph Hesse wrote: security = user you'll need to run smbpasswd -a admin on the samba server, and give the 'admin' SMB user a password. Samba can't use the unix /etc/password|shadow combination as the hashes used by SMB aren't compatible. I used smbpasswd to assign a Samba password to user admin. My Win7 virtual machine still couldn't see the share. It is my impression that the smb.conf file in the book I am using allows passwordless access to the shares. snip Are you able to authenticate to the samba server from the Windows 7 machine? Also, if it helps, here is some more output. [root@CentOS ~]# smbclient -L localhost -U Enter root's password: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.9-151.el6_4.1] Sharename Type Comment - --- homes Disk Home Directories IPC$IPC IPC Service (CentOS) Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.9-151.el6_4.1] Server Comment ---- CENTOS CentOS WIN7VM WorkgroupMaster ---- WORKGROUPWIN7VM What is the out put from smbclient -L localhost -U admin? I saw that you have the home directory enabled, by default SELinux does not permit access to the home directory, unless you enable the boolean $ sudo setsebool -P samba_enable_home_dirs on When you try to access the samba share from the windows 7 machine, what is happening? Are you being prompt for the credentials? If you do not have a backup of the smb.conf file, I have placed a copy from a clean install [0] [0] http://trinipino.com/share/smb.conf ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Kind Regards Earl Ramirez GPG Key: http://trinipino.com/PublicKey.asc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba problem
You can set security = share I had mine set to see the user share but I changed my setup -Original Message- From: Les Mikesell Sent: Friday, October 04, 2013 8:54 PM To: CentOS mailing list Subject: Re: [CentOS] Samba problem On Fri, Oct 4, 2013 at 8:44 PM, Chris Weisiger cweisi...@bellsouth.net wrote: You can connect to a samba share without user or password authentication. That's how I have my server setup at my house. I dont know the settings off hand but illpost them shortly You can set a share to publc or guest ok = yes. But then you won't see the home share of some other user. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba problem
when I set it to share I don’t need a passwordits configure like an anonymous file server. but I can tune the settings in actual shared section of the conf file -Original Message- From: John R Pierce Sent: Friday, October 04, 2013 11:43 PM To: centos@centos.org Subject: Re: [CentOS] Samba problem On 10/4/2013 9:27 PM, Chris Weisiger wrote: You can set security = share I had mine set to see the user share but I changed my setup are share passwords even supported anymore? that was the default mode for windows 3.x and 95-98 sharing, each share could have two passwords, one for read-only and one for write, and there was no concept of a user. what Ive always found works adequately is to create a smbpassword for each windows user, with the same password as they log onto their desktop. then windows will just autoconnect. if you have unix clients, use nfs, not smb!! what works *best* is to have active directory or another ldap+kerberos implementation, and have all your windows systems joined to the domain and users logging onto domain accounts. THEN you share to the domain accounts and its all good. windows 7 and newer default to requiring more strict encryption and authentication, which older systems may not provide by default. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Software RAID complete drives or individual partitions
I essentially configured the software raid to create a home server and not have to worry about individual drives. I've built a collection of several several gigs of music and pictures. Enough to look into a raid system. Plus it is alot cheaper than a hardware raid setup. Plus I want to do testing with it to possible use it for some of the clients that the business I work for do work for for basic file server services -Original Message- From: Mark LaPierre Sent: 3/5/2013 6:27 PM To: centos@centos.org Subject: Re: [CentOS] Software RAID complete drives or individual partitions On 03/04/2013 10:53 PM, Chris Weisiger wrote: I have been reading about software raid. I configured my first software raid system about a month ago. I have 4 500 Gig drives configured in RAID 5 configuration with a total of 1.5TB. Currently I configured the complete individual drivers as software raid, then created a /dev/md0 with the drives I then created a /file_storage partition on /dev/md0. I created my /boot / and swap partitions on a non raid drive in my system. Is the the proper way to configure software raid? ___ Hey Chris, What you have done is a totally acceptable way of building a raid array. Software raid on Linux is amazingly flexible. It is able to build arrays on individual matching drives as you have done, drives of different physical sizes, a combination physical drives and partitions on other drives, or a combination of partitions on different drives. It can even build a raid array on several partitions on one physical drive, not that you would ever want to do that. In other words, if you can dream it up, software raid can probably build it. The question is why are you using raid at all? If you are trying to increase access speed or data security then raid makes sense. The appropriate configuration depends on your available resources and the nature of your intent. -- _ °v° /(_)\ ^ ^ Mark LaPierre Registered Linux user No #267004 https://linuxcounter.net/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Software RAID complete drives or individual partitions
Im not so much concerned about the os not being on a raid system. I am really concerned about my data, music, pictures,docs, etc. I run a minimum os centos 5.9 install anyway so it would take long to reload the os if i had to. -Original Message- From: John R Pierce Sent: 3/5/2013 6:45 PM To: centos@centos.org Subject: Re: [CentOS] Software RAID complete drives or individual partitions On 3/5/2013 4:27 PM, Mark LaPierre wrote: The question is why are you using raid at all? indeed. the primary justification for the R in RAID, Redundant, is high availability. having the OS on a non-raid volume completely violates this.RAID is most definitely NOT a substitute for backups. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Software RAID complete drives or individual partitions
Im in the process of configuring my data to be backed up to external devices. -Original Message- From: John R Pierce Sent: 3/5/2013 6:45 PM To: centos@centos.org Subject: Re: [CentOS] Software RAID complete drives or individual partitions On 3/5/2013 4:27 PM, Mark LaPierre wrote: The question is why are you using raid at all? indeed. the primary justification for the R in RAID, Redundant, is high availability. having the OS on a non-raid volume completely violates this.RAID is most definitely NOT a substitute for backups. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Software RAID complete drives or individual partitions
I have been reading about software raid. I configured my first software raid system about a month ago. I have 4 500 Gig drives configured in RAID 5 configuration with a total of 1.5TB. Currently I configured the complete individual drivers as software raid, then created a /dev/md0 with the drives I then created a /file_storage partition on /dev/md0. I created my /boot / and swap partitions on a non raid drive in my system. Is the the proper way to configure software raid? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
Would that be the same as: why are there multiple desktops: kde gnome why are there multiple browsers: firefox konquerer why are there multiple text editors: vim joe nano why are there multiple mail distribution tools: sendmail, exim, postfix why why why Chris --- On Tue, 8/2/11, Miguel Medalha miguelmeda...@sapo.pt wrote: From: Miguel Medalha miguelmeda...@sapo.pt Subject: Re: [CentOS] Two ftp clients? Why? To: CentOS mailing list centos@centos.org Date: Tuesday, August 2, 2011, 4:01 PM What I'm left wondering is: 1) Why you are relying on PATH expansion for this from something as critical as a cron job. It is good sysadmin practice to specify explicit paths for situations like this rather than to worry about whether or not there is a good or valid reason for there being 2 ftp clients installed on the system. That was precisely my thought. I often noticed that people find it easier to blame others rather then questioning and rethinking their own actions... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] security updates?
--- On Thu, 3/17/11, m.r...@5-cent.us m.r...@5-cent.us wrote: From: m.r...@5-cent.us m.r...@5-cent.us Subject: Re: [CentOS] security updates? To: CentOS mailing list centos@centos.org Date: Thursday, March 17, 2011, 11:35 AM Alain Péan wrote: Le 17/03/2011 17:25, Alain Péan a écrit : Le 17/03/2011 17:23, Alain Péan a écrit : Le 17/03/2011 17:19, Tom H a écrit : On Thu, Mar 17, 2011 at 12:03 PM, Neil Viglienon...@viglieno.net wrote: On Thu, 2011-03-17 at 16:34 +0100, Alain Péan wrote: With all due respect, the release was announced to be ready last week, snip I use CentOS, I don't want to migrate to another distro to upgrade. Where was the release announced to be ready last week? Not quite: snip This is the original message : http://lists.centos.org/pipermail/centos-devel/2011-March/007061.html And on Karanbir twitter account : @ilukeberry http://twitter.com/ilukeberry not this week for 5.6, *hope* to get it public early next week ( so before Wednesday the 9th March ). 3:48 AM Mar 3rd snip Notice the word *HOPE*. If you want an announcement, it would be on http://centos.org, not from a twitter account (even if it is Karanbir's). mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Here is my 2 cents. I really appreciate all the people involved with the building and rebranding of redhat to create the centos distribution. If i had the time and dedication, I would definitely put forth the effort to help, but I cant, and therefore I dont complain about when updates get built. At times, to learn more about how things are done, I have downloaded the spec files and or src files and built several rpms to update my system. From what I learned, just looking through the spec and src files is time consuming, BUT building the files to create the RPMS is a whole other issue, which seems to take forever at times, depending on how many you are building. So all you people complaining about when the updates will be out, leave the guys alone, let them do their jobs and the updates will appear. So again...in the meantime, if you want the updates quicker, LEARN TO DO IT YOURSELF and you will get a better understanding of what happens and why it can take so long to get the updates pushed out. Thats my 2 cents and once again the people of who developed centOS, I appreciate all you do. Chris ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installation failure
Glad you got it working. Most of the power supply checkers aren't worth it. I checked 3 power supplies with a checker and all 3 didnt work on the pc i was working on. It was the power supplies, i took one out of a running pc and the one being worked on powered up. So it is just easier just to swap the power supply out to start with. Chris - Original Message - From:Mark mhullr...@gmail.com To:CentOS mailing list centos@centos.org Cc: Sent:Thursday, March 10, 2011 11:59 PM Subject:Re: [CentOS] Installation failure On Thu, Mar 10, 2011 at 9:01 PM, Chris Weisiger cweisi...@bellsouth.net wrote: Try checking the power supply, swap in another one from a different pc. Yeah, I figured that out about half an hour ago and got it going. Shoulda thought of that up front. Interestingly, I have a power supply tester I bought at CompUSA before they left SoCal, and it said that power supply was fine. Ha ha ha. I think I need a new one, one that actually works Thanks, everyone. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installation failure
Try checking the power supply, swap in another one from a different pc. Chris -Original Message- From: Mark Sent: Thursday, March 10, 2011 10:50 PM To: CentOS mailing list Subject: Re: [CentOS] Installation failure On Thu, Mar 10, 2011 at 8:18 PM, Eero Volotinen eero.voloti...@iki.fi wrote: 2011/3/11 Mark mhullr...@gmail.com: I'm trying to reinstall CentOS on a machine I've reconditioned for it, is it really working? check for broken memory chips and so.. The memory was working perfectly before I put it into this boc (came out of another one that's been running for months). but for reasons I can't fathom, when the installation disk comes up and prompts for the install type, and I type either enter (graphics isntall) or linux textenter, after it loads the initrd image, the machine shuts off. It's an older machine I built myself (and ran CentOS on for a number of years), AMD Athlon 64 x2, 2GB of memory, 2 SATA hard drives, ECS GE6100PM-M2 motherboard. What error messages it displays? None - the dots print out, then the screen goes black and the machine shuts off. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1204 / Virus Database: 1497/3499 - Release Date: 03/10/11 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos