[Samba] Issue with Oplocks
I've been using Samba for a number of years and suddenly Samba started throwing oplock errors and I simply can't figure out why. I've not changed any config parameters in some time, but have updated my version of samba as new packages become available for my distro. I'm running Centos 5.9 and the following versions of samba from stock Centos: samba3x-common-3.6.6-0.129.el5 samba3x-winbind-3.6.6-0.129.el5 samba3x-client-3.6.6-0.129.el5 samba3x-3.6.6-0.129.el5 Suddenly, over the last 2 weeks or so, I started to get the following types of oplock errors: Mar 11 08:57:38 fileserver smbd[22536]: [2013/03/11 08:57:38.925861, 0] smbd/oplock_linux.c:104(linux_oplock_signal_handler) Mar 11 08:57:38 fileserver smbd[22536]: linux_oplock_signal_handler: failed to find fsp for file fd=51 (file was closed ?) Mar 11 08:57:49 fileserver smbd[22536]: [2013/03/11 08:57:49.685736, 0] smbd/oplock_linux.c:158(linux_release_kernel_oplock) Mar 11 08:57:49 fileserver smbd[22536]: linux_release_kernel_oplock: Error when removing kernel oplock on file Bids and Proposals/2011/11-Nov/someproject/sol/Project White Paper - 2.1.docx, file_id = fd05:70045:0, gen_id = 3041820832. Error was Bad file descriptor My samba machine is setup as as a domain member of a legacy (win nt 4) type domain against a another Samba server that is running authentication. I have the following oplock options set is my smb.conf file: oplocks = true kernel oplocks = true level2 oplocks = true and the share is setup with the following config: [management] comment = Management Drive path = /home/files/dir/management/files read only = no writable = yes force group = shared printable = no inherit permissions = yes create mode = 0660 Any suggestions would be much appreciated. Greg -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Difference Between ver 3.2.x and ver 3.0.x
I want to Know the Difference between version 3.2 and 3.0.x. I know as 3.2.x support GPLv3 But other then that is there any difference ? http://us3.samba.org/samba/ftp/pre/WHATSNEW-3-2-0pre2.txt When can we expect the stable release of version 3.2 as it is in pre-release verion ? You good at reading tea leaves? That is about as good an answer as you are going to get from this list is my guess. Greg -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Administration Tool recommendations
Matt Arnilo S. Baluyos (Mailing Lists) wrote: Hi All, I have a project which is to build a customized Linux distribution with a focus on deploying a Samba as Primary Domain Controller. It's pretty much like Trixbox but instead of Asterisk and VOIP, will be focused on Samba. Right now, I am looking for a solution for an administrator to easily manage the service. Of particular importance would be to easily add workstations and set up users for Roaming Profiles. Have you had a look at SME Server? www.contribs.org This distro is based on Centos (RHEL). It is a real turnkey distro and installs out of the box ready to configure via a web interface. You never need to even look at the commandline. Setup of Samba as a PDC is just a matter of plugging in the workgroup name and checking a box sayin you want SME to be a PDC. Greg -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 3.0.25b as a domain member to a Samba PDC
I've been using Samba for about 7 years of so, but have hit a hurdle I just can't seem to figure out. I want to setup samba domain member servers to be members of a samba 3.0.25 (NT4 type) domain. No windbind, LDAP, or any other of the more complex authentication mechanism. This is the same functionality going way back to Samba 2.2, or so. In fact, I successfully did this on samba 2.2, but simply can't get it to work on samba 3. I've been hammering away for two days and I'm running Centos 4.5 (RHEL 4.5) host OSs with Samba 3.0.35b-1 RH rpms. Both machines are fairly high end Core 2 Duo machines with plenty of memory and hard drive space. I've tried to widdle the smb.conf files to their bare essentials just until I get this working. Samba Domain Client (smb.conf): [global] workgroup = testnet netbios name = client security = domain wins server = 90.0.0.25 log level = 10 encrypt passwords = yes Samba PDC (smb.conf): [global] workgroup = testnet netbios name = nameserver passdb backend = smbpasswd:/etc/samba/smbpasswd security = user os level = 35 preferred master = Yes domain master = Yes encrypt passwords = Yes domain logons = yes [Note: IP of PDC is 90.0.0.25] I am able to join the Samba Domain Client to the Samba domain, Testnet, and can see that the machine account was successfully created on the PDC. When I attempt to access a share on the Domain Client from the PDC using a domain user, here is what I get: [EMAIL PROTECTED] samba]# smbclient //client/public -U greg Password: session setup failed: NT_STATUS_LOGON_FAILURE Running the log level up to 10, it appears that the domain client is being authenticated by the PDC as a domain member: [2008/03/27 17:35:35, 10] libsmb/credentials.c:creds_client_check(327) creds_client_check: credentials check OK. [2008/03/27 17:35:35, 5] rpc_client/cli_netlogon.c:rpccli_netlogon_setup_creds(346) rpccli_netlogon_setup_creds: server NAMESERVER credential chain established. However, the Domain Client (Client) can't seem to authenticate the domain user (greg) from the PDC. I know this user account is a valid Samba account as I can's run smbclient activities on the PDC itself using this account. Following is the portion of the log level 10 output where the Domain Client seems to be looking for domain user on the PDC, but can't find it: [2008/03/27 17:35:35, 5] lib/username.c:Get_Pwnam_alloc(131) Finding user TESTNET\greg [2008/03/27 17:35:35, 5] lib/username.c:Get_Pwnam_internals(75) Trying _Get_Pwnam(), username as lowercase is testnet\greg [2008/03/27 17:35:35, 5] lib/username.c:Get_Pwnam_internals(83) Trying _Get_Pwnam(), username as given is TESTNET\greg [2008/03/27 17:35:35, 5] lib/username.c:Get_Pwnam_internals(93) Trying _Get_Pwnam(), username as uppercase is TESTNET\GREG [2008/03/27 17:35:35, 5] lib/username.c:Get_Pwnam_internals(102) Checking combinations of 0 uppercase letters in testnet\greg [2008/03/27 17:35:35, 5] lib/username.c:Get_Pwnam_internals(108) Get_Pwnam_internals didn't find user [TESTNET\greg]! The only thing that works for me is to create the domain user account on the domain client that mirrors what is on the PDC, which is basically USER level authentication. Any suggestions would be GREATLY appreciated. Thank you. Greg -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba