I have a perfectly functional Samba file and print server. I will be adding several Window 2008 servers to serve as terminal server hosts running in virtual machines. I would like to convert my Samba server to a PDC (Primary Domain Controller) for these terminal servers to use. And leave everyone else as a work group (the current situation). I'd like to
1) use /etc/password and /etc/samba/smbpasswd as the source of the user accounts
2) limit what users the terminal servers can see based on a particular group (/etc/group)
So far I have tried the example howto's on the samba site and wound up having to restore /etc/nsswitch.conf in rescue mode.
I have to rename a group of machines in my little samba domain (tbd backend) but there is an ugly bug that makes this impossible. have set 'rename user script' variable corectly, also checked all configurations.When i change computer name in my windows box, it shows an error saying something like "Error calling remote procedure"Looking on server side, username for the machine gets correctly changed in /usr/passwd, and also in samba database.But samba log says:
=============================================================== [2009/10/08 11:10:32, 0] lib/fault.c:fault_report(42) INTERNAL ERROR: Signal 11 in pid 11052 (3.0.33-3.7.el5_3.1)
I have CentOS 5.5 installed on my Dell D600. This release includes SAMBA 3.0. Question: Is there a way to use yum to upgrade / install the latest version of SAMBA (3.5.3)?
A "yum search samba" shows there is only the "samba3x" release available - which is SAMBA 3.0
I've downloaded the SAMBA3-3.5.3-43.el5.i386.rpm package for Cent OS 5 from the SAMBA.org site, but when I try to install it, it fails due to package dependencies.
Short of downloading the source and compiling it myself, is there a better method to get the latest version of SAMBA installed on my system?
I've installed CentOS 5.3 on a machine, and I need a Samba version 3.2 or higher. Since 3.4 is out, I thought I'd grab that. But, "yum list|grep samba" gives me only version 3.0.33. Is there a package of Samba I can grab that will upgrade the 3.0 installation so that I don't have two laying around? If not and I need to compile from source, do you have any suggestions for what arguments I should give configure? I'm not used to Linux coming from the BSD world
i am running centOS 5.5 with samba 3.3.8 I have enabled wins to see if i can get my windows workstation to be able to browse for the samba server and also be able to ping by hostname. I don't know if i have missed something in the config but I was going to upgrade to see if its an issue with 3.3.8.
if an upgrade is the solution can someone give me a how to on the upgrade. I used yum install samba3 to install it and found a how to to install 3.5 but the how to said i need to in all them ./configure command as the original install and it should install over 3.3.8. I don't know how to find that because i used yum.
I upgraded the samba on Ubuntu Server 8.04 to 3.5.2 so Windows 7 would be able to log into the domain. Now Samba isn't using ACL permissions and I can't alter the ACL with the Windows security dialog. All the permissions still show correctly on the server. Did something change with Samba 3.5.2? How to get the ACL to work with Samba 3.4.3 or newer?
I have a CentOS + Samba server and Windows XP client machines. Users, passwords and permissions are entered on the server machine.users and passwords ( same as on the server ) are entered in the XP client machine.When attempting to access a public file on the server using a XP client machine and the IP address of my server, I am asked a user name and password and none of the already entered seem to work. I cannot access the server file (prompted again and again to enter user name and password). What did i miss
Following yesterday's and then today's upgrade of my Debian 8 32-bit system (among other things to samba 2:4.1.17+dfsg-2+deb8u2 (yesterday: ...deb8u1)) I cannot connect my Mint 17.3 laptop to the server anymore. Were there any changes to smb.conf regarding authentication or other aspects that might lead to this problem? I am enclosing part of my smb.conf. By the way - I also have trouble using ssh to connect to the Debian machine, such as the ssh-command taking "for ever" and then getting the message "Write failed: Broken pipe" when entering an ls-command on the command line.
H. Stoellinger smb.conf: [global] workgroup = RAINERMUSIK netbios name = hsdesk server string = Samba Server hsdesk
A very strange thing happened to me today after upgrading a Lenny server to Squeeze. All seems to be working great except for the fact that I cannot join the server to our domain (made a work copy of the virtual machine holding Debian, upgraded that, renamed and changed IP).
The problem I'm having is related to Samba as far as I can tell. On the Lenny server(s) I have the 'net' command to join a server to a domain but not on the upgraded version (Squeeze). It just says command not found and there's indeed no 'net' in /usr/bin where it's supposed to be.
I imagine that something went wrong upgrading Samba although the rest works, the daemons are running, kerberos works (kinit, klist), and so on, I only miss the net command.
Is there a way to install that separately or which package do I have to reinstall (samba-common, sambafs, ...)?
I have other servers (clean install and upgrade from Lenny to Squeeze) that do have the command in /usr/bin. Can I just copy it over from one to another or do I have to remove and reinstall Samba all together?
I'm using CentOS 5.3, and I want to allow my samba server from selinux. I disabled my selinux and it works fine, but I want to keep my seline firewall on and want to allow other workstation to access my samba server.
I have re-installed our operating system (CentOS 5) ,what is the best way to restore our Samba server? Can it be as simple as copying the smb.config and smbpasswd files back into the /etc/samba directory? That's what I am hoping. If I just copy the smb.config and the smbpasswd files back to the samba directory will the machine trusts, users and passwords just work? If not, what is the proper procedure for restoring. Actually i want to make CentOS 5.3 as my Domain Controller, I want to test all Scenario in case of any disaster of DC before putting it into production environment. I have some queries as:
1. Is CentOS 5 is more stable than RHEL 5 etc.
2. How can i take back up of entire samba server if need it in case of any disaster. How can i restore it.
3. How can i use logon scripts like GPO in windows servers.
4. How can add users in samba server and linux at one time with one command.
5. tell me any Web based samba administration tool other than SWAT.
I'm planning to use a virtual CentOS box for web development (to use the same software as on the real server). I configured Samba to have root guest access to /var/www/ but it doesn't let me in /var. Chmod 777 doesn't help. Nethertheless, I have full access to /sbin and /etc.
I'm having problems using Samba+winbind 3.3.8 as a fileserver on a Win2008 domain. - getent and wbinfo are reporting correct information about users. - Ownership of file created from user using the samba mount are working fine. However, my groups directories are allowing people who shouldn't .. From the shell everything is working as expected, but not from samba..
Still new to Linux and especially samba. I have setup samba for 2 shares, will list below shares. 1 which requires a login and 1 temp folder which I would like guest access to. Currently I have security = user which works great for the data folder which requires a login. If I try to access temp I get asked for a user name and password as well. I tried to set security = share which then allowed access to temp with out a login but also allowed access to the data folder. From the data folder I emoved public = yes. I then get asked for a user name and password like I should but the system will not accept it. This is a Centos 5.5 server with a mail server on it.
[data] comment = Data Folder path = /home/data/ public = yes writable = yes browseable = yes printable = no avaliable = yes write list = glenn, force create mode = 0660 force directory mode = 0770
[temp] comment = temp folder path = /home/temp/ public = yes writeable = yes browseable = yes guest ok = yes guest only = yes guest account = nobody available = yes force user = nobody force group = nobody
I would like to setup LDAP (openldap) with Samba. I would like to know what should I setup first? Should I setup LDAP before Samba or Samba before LDAP?
Just completed a fresh install if V5.3. It works fine.
Samba server: I tried to create a Samba user named "root" with Windows user name "administrator". Message is something like "account already exists"? I know "root" exists, but why can't I use it as a login? I don't get this error when I use another existing user account "LouA".
This is important to me because many documents state that "root" is to be used as the user name. I don't want to change these.
Current set-up allows access to all users (there is no Samba user listed) and I can read, write and delete files from Windows just fine.
I recently installed CentOS 5.3. There I select desktop package (Gnome and KDE) didn't select server in CentOS 5.3 installation gui. I want to connect to the windows active directory domain in our company. To do this I want to run the samba service. But it is not listed in the services. (#service --status-all) but I cant see the samba config file smb.conf why I cant run this other services smbd, nmbd is also not listed. But winbind is listed and I started it.
I'm trying to set up a test system for Windows 7. I've been having trouble getting it to map drives on the domain where I work, so I wanted to set up a test system with a similar setup so I can play around with settings without mucking up our network. Only problem is I can't get it configured to even work with XP, which does work on our domain.
When I type \server in the Run box I get the explorer window showing all of the test shares I've set up. But when I try to access them, it says the network path could not be found. Here is my smb.conf file:
[global] workgroup = MAJOR netbios name = VPN realm = MAJOR.COM
Good evening, I get the following error when prompted for my user name and password credentials that have access to the domain rights on the server. After typing in root and the password I get the following.
"The specified computer account could not be found. Contact an administrator to verify the account is in the domain. If the account has been deleted, unjoin, reboot and rejoin the domain."
Posted below is my smb.conf file, however I feel like I am screwing up the last steps with group-mapping, net commands, and creating accounts.
[global] workgroup = SCRUGGSHOME passdb backend = tdbsam printcap name = cups add user script = /usr/sbin/useradd -m %u
I've been testing a PDC with samba and LDAP these days with the following unsolved issue. 1. I can add the client PC (Windows XP SP3) with the Domain Admin user (Manager) from the client PC, but when i try to add a user I get this message "The trust relationship between this workstation and primary domain failed", so as it can be added later I ignored this message and choose 'close' and reboot the PC. 2. Since the login screen is showed, the message 'Duplicate name exists on the network' appears. So I try to log on with a valid domain username and password after pressing ctrl+alt+del and get the error message: "System cannot log you on because domain rmprb is not available"
Error looking for next uid in sambaDomainName=sambaDomain,dc=DOMAINNAME:No such object at /usr/lob/perl5/vendor_perl/5.8.8/smbldap_tools.pm line 1194.why does this appear, Is there any configurations missing?
I don't think it has anything to do with the config file.More to do with SElinux. I need to know how to configure SElinux so I can see my samba share when SELinuxis on. When I setenforce 0 I can seen all the files and folders set it to setenforce 1 cannot see anything.Here is the output when I ran [root@fileserver /]# getsebool -a | grep smballow_smbd_anon_write --> onsmbd_disable_trans --> onThese two options were off I tried turning them on.This is another one of the commands I tried running. I did change a few options but I am not sure which I do need to change. I am running a stand alone server so I don't need the DC option.
[root@fileserver /]# getsebool -a | grep samba samba_domain_controller --> off samba_enable_home_dirs --> off
How to configure samba, cups, whatever else is necessary to turn centOS into a print server that provides the print driver to any client adding a printer shared from the server? For example, I have a Xerox Phaser 6125n and I was able to configure my server to share the printer for clients on the network, but I still have to have the driver available on each client that uses the printer. I want to be able to put the driver on the server and provide it automatically to any client who installs the printer.
Also, this is not as important but rather just an annoyance, I am having an issue with samba that I can't figure out. I have user shares set up on the server but the first time any user accesses their personal share they need to provide their password. How can I set up user mapping between linux and windows accounts so that authentication is automatic? I've done this in the past with Fedora Core 2, but that was a long time ago and the same doesn't work on centOS.
I've got a situation where I would normally use NFS, but cannot. So in it's place I need to use a samba share (even though it's linux -> linux). I need it completely open and world writeable as if I had done an rw in an NFS export. I thought I had it as when logged in as a user I can edit delete etc. however the apache user seems to be struggling with creating files. Here's my smb.conf as it stands.
[global] workgroup = WGRP server string = Samba Server Version %v security = user passdb backend = tdbsam unix extensions = no
Can anyone point me in the direction of setting up shares for windows machines on centos. I have found a few document but never managed to get it up and running correctly. I need to be able to get access to subfolder etc for different users. Is there any way of doing it with some sort of gui?
I need to mount my raid array on CentOS 5.2 samba server.
Here are my hardware specs: Motherboard: Tyan S2510 LE dual PIII CPU's: Intel PIII 850ghz socket 370 Memory: 4 gig Crucial 133 ECC SDRAM OS: 2 x'x IBM Travelstar 6.4 gig 2.5 hard drives, (low heat/noise) Storage: 4 x's Seagate 500 gig IDE 7200 rpm RAID controller: 3Ware 7500-12 controller, (RAID 5) (66 mhz PCI bus) NIC: 3COM 3C996B-T gigabit NIC, (66 mhz PCI bus)
I have the 2 IBM's set as RAID 1, (mirror) and the 4 Seagates as RAID 5, (1.5 TB) I have installed the OS with minor problems, (motherboard doesn't like the 2.6.18-128.1.14.el5 kernel, removed it from my grub.conf).
My problem is mounting the RAID array. I have done the following: formatted with fdisk; fdisk /dev/sdb Then formatted with the following command; mkfs.ext3 -m 0 /dev/sdb
The hard drive was formatted with the ext3 files system, but I have mounted it as an ext2 file system as I don't want 'journaling' to occur. I then edited my /ect/fstab like this: .....
Then: mount -a When I go into my "home" directory and type ls, I get the following: [root@hydra home]# ls -l total 24 drwx------ 2 zog zog 4096 Jun 23 15:50 zog lrwxrwxrwx 1 root root 6 Jun 23 15:46 home -> /home/ drwxrwxrwx 2 root root 16384 Jun 23 15:34 lost+found drwxr-xr-x 2 root root 4096 Jun 23 17:18 tmp Why my home directory is showing under home?