[Samba] name mangling makes 8.3 unreadable unlike Windows fileserver

2013-10-03 Thread Kevin Field
Hi, I'm cross-posting here from serverfault.com in case anyone can help. I just found a similar question on askubuntu.com also without an answer. Switched recently from W2K3 to Samba4.0.9/CentOS6.4 for our fileshare for WinXP clients. Have an ancient (1995!) piece of software that uses

Re: [Samba] name mangling makes 8.3 unreadable unlike Windows fileserver

2013-10-03 Thread Kevin Field
On 2013-10-03 2:38 PM, Jeremy Allison wrote: On Thu, Oct 03, 2013 at 10:17:18AM -0400, Kevin Field wrote: Hi, I'm cross-posting here from serverfault.com in case anyone can help. I just found a similar question on askubuntu.com also without an answer. Switched recently from W2K3

[Samba] magic user mapping

2013-09-27 Thread Kevin Field
Hi, Samba 4.0.9 on CentOS 6.4 serving Windows XP clients here. I still haven't sat down and figured out Windows-RID-to-unix-ID maps yet. However, I noticed that I can put a person's lowercased name in a 'valid users' list for a share and it works, even though they don't have a unix account.

[Samba] vfs_recycle folder limit management

2013-09-26 Thread Kevin Field
Hi all, Running SerNet Samba 4.0.9 on CentOS 6.4 serving as an AD DC and fileshare for XP clients. Added recycler per the example at https://wiki.samba.org/index.php/Frequently_Asked_Questions to my smb.conf. Works great. My concern is that the recycle dir will eventually grow large.

Re: [Samba] vfs_recycle folder limit management

2013-09-26 Thread Kevin Field
On 2013-09-26 10:20 AM, Taylor, Jonn wrote: On 09/26/2013 08:47 AM, Kevin Field wrote: Hi all, Running SerNet Samba 4.0.9 on CentOS 6.4 serving as an AD DC and fileshare for XP clients. Added recycler per the example at https://wiki.samba.org/index.php/Frequently_Asked_Questions to my

Re: [Samba] vfs_recycle folder limit management

2013-09-26 Thread Kevin Field
On 2013-09-26 10:37 AM, Taylor, Jonn wrote: On 09/26/2013 09:24 AM, Kevin Field wrote: On 2013-09-26 10:20 AM, Taylor, Jonn wrote: On 09/26/2013 08:47 AM, Kevin Field wrote: Hi all, Running SerNet Samba 4.0.9 on CentOS 6.4 serving as an AD DC and fileshare for XP clients. Added recycler

Re: [Samba] Thunderbird 24.0 for Windows seems to ignore Samba4.0.9 permissions settings

2013-09-26 Thread Kevin Field
On 2013-09-25 8:03 PM, Kevin Field wrote: On 2013-09-25 2:47 PM, Johan Hendriks wrote: Kevin Field wrote: Hi, I have a CentOS 6.4 fileserver running SerNet Samba 4.0.9 with these global settings (not overridden): read only = No force create mode = 0777 force

[Samba] Thunderbird 24.0 for Windows seems to ignore Samba4.0.9 permissions settings

2013-09-25 Thread Kevin Field
Hi, I have a CentOS 6.4 fileserver running SerNet Samba 4.0.9 with these global settings (not overridden): read only = No force create mode = 0777 force directory mode = 0777 inherit acls = yes inherit owner = yes inherit permissions = yes On a

Re: [Samba] Thunderbird 24.0 for Windows seems to ignore Samba4.0.9 permissions settings

2013-09-25 Thread Kevin Field
On 2013-09-25 2:47 PM, Johan Hendriks wrote: Kevin Field wrote: Hi, I have a CentOS 6.4 fileserver running SerNet Samba 4.0.9 with these global settings (not overridden): read only = No force create mode = 0777 force directory mode = 0777 inherit acls = yes

[Samba] gpresult returns ERROR: The RPC server is unavailable.

2013-09-21 Thread Kevin Field
Hi, I have a CentOS 6.4 box running SerNet Samba 4.0.9 as an AD DC replicating from a W2k3 box. If I run gpresult /s OLDDC /user MYDOM\Me on a command prompt on OLDDC, I get a normal output, listing which GPOs are applied. If I run gpresult /s NEWDC /user MYDOM\Me in the same place, I get

Re: [Samba] AD DC eventually not browsable without restart, RPC server unavailable for user selection

2013-09-16 Thread Kevin Field
of the RPC server seem to function fine and then after some amount of time no longer seem to be available? Thanks, Kev On 2013-09-06 2:49 PM, Kevin Field wrote: Nothing too interesting: $ sudo tail -n 50 /var/log/samba/log.smbd smbd version 4.0.8-SerNet-RedHat-4.el6 started. Copyright

Re: [Samba] AD DC eventually not browsable without restart

2013-09-06 Thread Kevin Field
Yep, that's exactly it. Thanks! Kev On 2013-09-06 10:16 AM, Ricky Nance wrote: Have you disabled syslinux? That is what that change looks like to me. Ricky On Thu, Sep 5, 2013 at 3:26 PM, Kevin Field k...@brantaero.com mailto:k...@brantaero.com wrote: I just noticed something

Re: [Samba] AD DC eventually not browsable without restart

2013-09-06 Thread Kevin Field
, Kevin Field k...@brantaero.com mailto:k...@brantaero.com wrote: (Just for the record, I haven't restarted samba in a couple weeks now.) That's very interesting: via the IP, it is browsable. As for the outputs: $ sudo netstat -anp | grep samba\|smb tcp0 0 0.0.0.0

Re: [Samba] AD DC eventually not browsable without restart

2013-09-06 Thread Kevin Field
as needed), also I am interested if top has anything to say about samba or smbd (as for processor and memory usage). Ricky On Fri, Sep 6, 2013 at 12:12 PM, Kevin Field k...@brantaero.com mailto:k...@brantaero.com wrote: Yep, that's exactly it. Thanks! Kev On 2013-09-06 10:16 AM

Re: [Samba] AD DC eventually not browsable without restart

2013-09-05 Thread Kevin Field
with it. I also wonder if, if I leave GEYSER logged in long enough, I'll have the same result on it as I do on OLDDC. So nobody else is having this browsability problem, eh? Kev On 2013-08-24 1:41 PM, Kevin Field wrote: Hmm...it hasn't been long enough since a restart yet, because it's not doing

Re: [Samba] AD DC eventually not browsable without restart

2013-09-04 Thread Kevin Field
also wonder if, if I leave GEYSER logged in long enough, I'll have the same result on it as I do on OLDDC. So nobody else is having this browsability problem, eh? Kev On 2013-08-24 1:41 PM, Kevin Field wrote: Hmm...it hasn't been long enough since a restart yet, because it's not doing it ATM

Re: [Samba] AD DC eventually not browsable without restart

2013-08-24 Thread Kevin Field
/show_bug.cgi?id=9820 *From: *Kevin Field k...@brantaero.com *To: *samba@lists.samba.org *Sent: *Tuesday, August 20, 2013 9:38:32 AM *Subject: *[Samba] AD DC eventually not browsable without restart I have a SerNet Samba 4.0.8 AD DC

Re: [Samba] AD DC eventually not browsable without restart

2013-08-24 Thread Kevin Field
and see what the output of 'df -h' is. Ricky On Sat, Aug 24, 2013 at 10:02 AM, Kevin Field k...@brantaero.com mailto:k...@brantaero.com wrote: I've upgraded to 4.0.9 and this behaviour persists. Should I file a bug report, do you think? �Is nobody else experiencing this? Thanks

[Samba] CUPS working but errors from Windows clients accessing printer

2013-08-23 Thread Kevin Field
Hi, On CentOS 6.4 (newdc), I have CUPS 1.4.2-50.el6_4.5 installed, can access its web interface. There I set up our main shared printer, an OCE Imagistics cm2520, and successfully printed a test page. With SerNet Samba 4.0.9 on the same box configured every which example way I could find,

Re: [Samba] share permissions

2013-08-22 Thread Kevin Field
to the underlying directories (even if the underlying directory is 777, because the user simply can't get to that point)... If anyone disagree's or could explain this better please feel free to do so, I am not opposed to learning new things :) Ricky On Tue, Aug 20, 2013 at 10:10 AM, Kevin Field k

Re: [Samba] share permissions

2013-08-22 Thread Kevin Field
) is 755 permissions. Samba does run as root, but it also still obeys the rules underlying file system. Ricky On Thu, Aug 22, 2013 at 10:19 AM, Kevin Field k...@brantaero.com mailto:k...@brantaero.com wrote: I can understand that. However, I'm a bit confused about how this is supposed

Re: [Samba] share permissions

2013-08-22 Thread Kevin Field
to the folder it will cause things to fail, which is the case with the 'me' part of /home/me/share as it has 0700 permissions). On Thu, Aug 22, 2013 at 10:54 AM, Kevin Field k...@brantaero.com mailto:k...@brantaero.com wrote: Oh, so it only looks at the immediate parent's permissions

Re: [Samba] share permissions

2013-08-20 Thread Kevin Field
. Also since you are using a /home/me before your share, you need to make sure you have at least 755 permissions in both /home and /home/me, it might be a good idea to make a directory named /srv/mytestshare instead. Ricky On Fri, Aug 16, 2013 at 8:14 PM, Kevin Field k...@brantaero.com mailto:k

[Samba] AD DC eventually not browsable without restart

2013-08-20 Thread Kevin Field
I have a SerNet Samba 4.0.8 AD DC running on CentOS 6.4 (newdc) replicating from a W2K3 DC (olddc). When I first launch Samba using `sudo samba`, I can go to the Windows server and browse to \\newdc in Explorer, and I see mytestshare, netlogon, printers, sysvol, and Printers and Faxes.

Re: [Samba] share permissions

2013-08-20 Thread Kevin Field
since you are using a /home/me before your share, you need to make sure you have at least 755 permissions in both /home and /home/me, it might be a good idea to make a directory named /srv/mytestshare instead. Ricky On Fri, Aug 16, 2013 at 8:14 PM, Kevin Field k...@brantaero.com mailto:k

[Samba] chmod + remote save denied = file wiped?

2013-08-20 Thread Kevin Field
I have a SerNet Samba 4.0.8 AD DC running on CentOS 6.4 (newdc) replicating from a W2K3 DC (olddc). newdc also has a test share. I'm experiencing something strange whereby chmod and then an attempted file save causes a shared file to become zero bytes (despite the save not being blank, and

Re: [Samba] chmod + remote save denied = file wiped?

2013-08-20 Thread Kevin Field
BTW, I just confirmed this also happens with SELinux disabled. -K On 2013-08-20 11:23 AM, Kevin Field wrote: I have a SerNet Samba 4.0.8 AD DC running on CentOS 6.4 (newdc) replicating from a W2K3 DC (olddc). newdc also has a test share. I'm experiencing something strange whereby chmod

Re: [Samba] AD DC eventually not browsable without restart

2013-08-20 Thread Kevin Field
://bugzilla.samba.org/show_bug.cgi?id=9820 *From: *Kevin Field k...@brantaero.com *To: *samba@lists.samba.org *Sent: *Tuesday, August 20, 2013 9:38:32 AM *Subject: *[Samba] AD DC eventually not browsable without restart I have

Re: [Samba] AD DC eventually not browsable without restart

2013-08-20 Thread Kevin Field
is fixed in 4.0.9: https://bugzilla.samba.org/show_bug.cgi?id=9820 *From: *Kevin Field k...@mydomain.com *To: *samba@lists.samba.org *Sent: *Tuesday, August 20, 2013 9:38:32 AM *Subject: *[Samba] AD DC eventually not browsable

Re: [Samba] AD DC eventually not browsable without restart

2013-08-20 Thread Kevin Field
One other thing, I just noticed that while \\newdc is still unbrowsable, \\newdc\mytestshare works fine, as does \\newdc\netlogon. Kev On 2013-08-20 9:49 PM, Kevin Field wrote: Okay, I'm not sure, but I don't *think* it's that bug. First, I don't know much about winbind, and never meant

Re: [Samba] share permissions

2013-08-16 Thread Kevin Field
://www.revsys.com/writings/quicktips/turn-off-selinux.html Ricky On Thu, Aug 15, 2013 at 10:44 PM, Kevin Field k...@brantaero.com mailto:k...@brantaero.com wrote: I have a share setup on a Samba 4.0.8 / CentOS 6.4 box that is successfully replicating with a W2K3 server. �I'm following the HOWTO

Re: [Samba] Trying to Join a Working W2K3 AD

2013-08-15 Thread Kevin Field
Hi Marc, On 2013-08-15 4:18 AM, Marc Muehlfeld wrote: Hello Kevin, hello Eli, Am 15.08.2013 05:48, schrieb Kevin Field: I get to the step /usr/local/samba/bin/samba-tool dns add 192.168.1.252 _msdcs.domain.co.il 2d59ac49-1175-4656-943e-d556baa242cb CNAME DC2.domain.co.il -Uadministrator I

[Samba] Samba4 and iptables

2013-08-15 Thread Kevin Field
Hi everyone, I had posted recently about getting Samba4 to work on CentOS 6.4 but having changes only replicating in one direction, from the Win2k3 AD but not back to it. I solved the problem, this time, by disabling iptables. I find it a bit hard to understand. These are the rules I have

[Samba] users don't replicate from W2K3 to CentOS 6.4

2013-08-15 Thread Kevin Field
With iptables disabled until I can figure out appropriate rules ( http://www.spinics.net/lists/samba/msg104592.html -- what do you do then? ) I added a user using samba-tool user add. If I go to the Windows box and fire up ADUC, the user is not there, even though the AD Replication Status

Re: [Samba] Samba4 and iptables

2013-08-15 Thread Kevin Field
Thanks for your help, Thomas. I think it was the missing state part of some of the lines. When I use your example, it replicates, even in both directions this time! Which is quite odd, since without iptables running, I still had problems getting my Samba test user to replicate over to the

[Samba] share permissions

2013-08-15 Thread Kevin Field
I have a share setup on a Samba 4.0.8 / CentOS 6.4 box that is successfully replicating with a W2K3 server. I'm following the HOWTO here: https://wiki.samba.org/index.php/Setup_and_configure_file_shares [mytest] path = /home/me/mytestshare -- with or without trailing slash

Re: [Samba] Failed to find a writeable DC for domain joining to win2k3 AD DC

2013-08-14 Thread Kevin Field
: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Urspr�ngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Kevin Field Gesendet: Dienstag, 13. August 2013 16:15

Re: [Samba] Trying to Join a Working W2K3 AD

2013-08-14 Thread Kevin Field
Hi Eli, I'm trying to join a freshly compiled 4.0.3 installation as an additional DC to an existing W2K3 AD according to: https://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC I have built samba 4.0.3 on CentOS 6.3 x86_64. I am using the method that describes using the built in

[Samba] “Failed to find a writeable DC for domain” joining to win2k3 AD DC

2013-08-13 Thread Kevin Field
I have a CentOS 6.4 box with SerNet's Samba 4.0.8 installed and no smb.conf file yet, as it should be. I want it to become an AD DC in my existing Windows domain, replicating from the existing Windows Server 2003 box. I have SELinux enabled and want it to stay that way. I'm getting this error