Re: [Samba] Git- Samba 4.1 Glusterfs 3.4, CentOs 6.4

2013-07-23 Thread Daniel Müller
This is the result when deleting the vfs-glusterfs.c and then running make:# Project rules pass Waf: Leaving directory `/root/samba4/samba-master/bin' source not found: 'vfs_glusterfs.c' in 'dir:///root/samba4/samba-master/source3/modules' make: *** [all] Fehler 1 I am afraid there is more to do

Re: [Samba] memory consumption with treesize pro and cifs shares

2013-07-23 Thread Linda W
Cy Mike wrote: > Hi everyone. I'm looking to solve an issue with Samba on a NAS being > accessed with TreeSize Pro. Using that program to scan through millions of > files is eating up memory on swap and eventually crashing the system. --- Which system is crashing? the NAS or the one running th

[Samba] Git- Samba 4.1 Glusterfs 3.4, CentOs 6.4

2013-07-23 Thread Daniel Müller
Dear all, to your notice:Samba 4.1 pulled from git will not compile under CentOs 6.4 if Glusterfs 3.4 is installed from epel-repo. Make will die with an error concerning "vfs modul glusterfs". There should be more documentation about the "vfs modul glusterfs". Daniel

Re: [Samba] Samba4 AD SysVol Replication (HowTo + Script)

2013-07-23 Thread Marc Muehlfeld
Hello Dewayne, Am 24.07.2013 01:59, schrieb Dewayne Geraghty: > Where you mention in the document PDC role, do you mean > PdcEmulationMasterRole, or is there some other meaning? Yes. I thought the DC with the FSMO role "PDC" would be a good choice to be the "Master", because some Microsoft tool

Re: [Samba] memory consumption with treesize pro and cifs shares

2013-07-23 Thread Gregory Carter
Add more memory or split the volume into smaller shares. Gc Cy Mike wrote: >Hi everyone. I'm looking to solve an issue with Samba on a NAS being >accessed with TreeSize Pro. Using that program to scan through millions of >files is eating up memory on swap and eventually crashing the system. It'

[Samba] memory consumption with treesize pro and cifs shares

2013-07-23 Thread Cy Mike
Hi everyone. I'm looking to solve an issue with Samba on a NAS being accessed with TreeSize Pro. Using that program to scan through millions of files is eating up memory on swap and eventually crashing the system. It's scanning mounted CIFS shares on the NAS running TrueNAS with samba version 3.6.9

[Samba] Issues launching files from a Command Prompt

2013-07-23 Thread Toby Ovod-Everett
Ever since upgrading from Fedora 17 to Fedora 19, which included moving from Samba 3.* to 4.*, I've had issues opening files from a Windows Command Prompt. I can open files fine from an Explorer window, but if I drop down to a Command Prompt and type a file name, that no longer opens the file. I'

[Samba] Error on classic upgrade - valid group

2013-07-23 Thread Jonis Maurin Ceará
Hi. I'm trying to convert from s3 to s4 using classic upgrade. I have LDAP backend and i'm getting this error: Ignoring group 'pgrd' S-1-5-21-511255529-1355219746-1726288727-3007 listed but then not found: Unable to enumerate group members, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION) The pro

Re: [Samba] Winbind troubles

2013-07-23 Thread steve
On Tue, 2013-07-23 at 23:21 +0100, Jonathan Buzzard wrote: > On 23/07/13 17:10, Rowland Penny wrote: > > [SNIP] > > > > > But if the group identified by primaryGroupID 513 has gidNumber 20513 > > (which would be in my opinion best practice) without looking in the > > source code of ss

Re: [Samba] Winbind troubles

2013-07-23 Thread Jonathan Buzzard
On 23/07/13 17:10, Rowland Penny wrote: [SNIP] But if the group identified by primaryGroupID 513 has gidNumber 20513 (which would be in my opinion best practice) without looking in the source code of sssd you don't know whether sssd took the gidNumber of the user or took the pr

Re: [Samba] Samba4 join new DC: No RID Set DN - Failed to add RID Set

2013-07-23 Thread Jonathan Hunter
On 23 July 2013 21:37, Andrew Bartlett wrote: > > On 22 July 2013 22:01, Jonathan Hunter wrote: > > second-existing-dc# samba-tool fsmo seize --role=rid > > Attempting transfer... > > FSMO transfer of 'rid' role successful > > ERROR: Failed to initiate role seize of 'rid' role: objectclass: modi

[Samba] Samba4 AD SysVol Replication (HowTo + Script)

2013-07-23 Thread Marc Muehlfeld
Hello, as it is often a question here on the lists and by many others on the internet, I wrote a new HowTo for setting up a SysVol replication "workaround", until Samba supports this feature by itself: https://wiki.samba.org/index.php/SysVol_Replication For the replication process, I wrote a

[Samba] Cannot join Windows XP Pro to new Samba 4 AD

2013-07-23 Thread dahopkins
I have upgraded my Samba3+LDAP system to Samba 4 following the instructions given here: https://wiki.samba.org/index.php/Samba4/samba-tool/domain/classicupgrade/HOWTO I did this on a test server (so I also moved the ldap database, installed openldap, etc). The installation passes all the sim

Re: [Samba] Win 2003 DC Demotion

2013-07-23 Thread Garth Keesler
On 07/23/2013 03:37 PM, Garth Keesler wrote: On 07/23/2013 02:54 PM, Andrew Bartlett wrote: On Tue, 2013-07-23 at 06:49 -0500, Garth Keesler wrote: All, I've posted a few times about this but without response so it seems that not many folks are trying to do this. So, before I spend many mor

Re: [Samba] Upgrading samba3 to samba4 on a new server, and running them both at the same time

2013-07-23 Thread Andrew Bartlett
On Tue, 2013-07-23 at 09:46 -0700, Scott Goodwin wrote: > What I'm trying to avoid is having to physically set up a test network that > is completely isolated from our live samba3 network, in order to test > everything out. If I can run them both on the same network, it would be so > much easier

Re: [Samba] Win 2003 DC Demotion

2013-07-23 Thread Garth Keesler
On 07/23/2013 02:54 PM, Andrew Bartlett wrote: On Tue, 2013-07-23 at 06:49 -0500, Garth Keesler wrote: All, I've posted a few times about this but without response so it seems that not many folks are trying to do this. So, before I spend many more hours on this trying to make it work, a simple

Re: [Samba] Samba4 join new DC: No RID Set DN - Failed to add RID Set

2013-07-23 Thread Andrew Bartlett
On Tue, 2013-07-23 at 20:38 +0100, Jonathan Hunter wrote: > Hi, > > In time honoured fashion I am replying to my own post, as I think I have > figured out a workaround to my issue. Hopefully this will help others - > here's what I did. > > On 22 July 2013 22:01, Jonathan Hunter wrote: > > > Now

Re: [Samba] Win 2003 DC Demotion

2013-07-23 Thread Andrew Bartlett
On Tue, 2013-07-23 at 06:49 -0500, Garth Keesler wrote: > All, > > I've posted a few times about this but without response so it seems that > not many folks are trying to do this. So, before I spend many more hours > on this trying to make it work, a simple yes or no question: > > Has anyone su

Re: [Samba] Samba4 join new DC: No RID Set DN - Failed to add RID Set

2013-07-23 Thread Jonathan Hunter
Hi, In time honoured fashion I am replying to my own post, as I think I have figured out a workaround to my issue. Hopefully this will help others - here's what I did. On 22 July 2013 22:01, Jonathan Hunter wrote: > Now, I try to join the new server (CentOS 6.4 clean install; Samba 4.0.7 > from

[Samba] Upgrading samba3 to samba4 on a new server, and running them both at the same time

2013-07-23 Thread Scott Goodwin
With relation to this page: https://wiki.samba.org/index.php/Samba4/samba-tool/domain/classicupgrade/HOWTO I would like to upgrade to samba4 on a new server, but would like to test it all out before finalizing the switch. My question is, can I copy over my tdb and smb.conf files (as mentioned in th

Re: [Samba] dns query not giving back all registers (solved)

2013-07-23 Thread felix
> > Hello list. > > If I query my samba4 Active Directory domain with dig mydomain ANY or MX > it answers just with SOA and NS records, but not MX or some others I have > already defined. Is it right?? > > I've tried from the own samba4 server and from another linux host. > > My samba4 is up-to-dat

Re: [Samba] Winbind troubles

2013-07-23 Thread Rowland Penny
On 23 July 2013 16:44, Jonathan Buzzard wrote: > You don't seem to have taken on board that primaryGroupID is a numerical > identifier for an actual group. Now why Microsoft didn't use the group's > SID I have not the faintest idea. > > I suppose that you have noticed that the primaryGroupID is t

Re: [Samba] Winbind troubles

2013-07-23 Thread steve
On Tue, 2013-07-23 at 16:44 +0100, Jonathan Buzzard wrote: > On Tue, 2013-07-23 at 15:23 +0100, Rowland Penny wrote: > > > > > > > > If you want my opinion and you probably don't, people need to stop > > thinking NT server if they connect to a samba4 AD server and start > > thinking AD server, t

Re: [Samba] Winbind troubles

2013-07-23 Thread steve
On Tue, 2013-07-23 at 15:04 +0100, Jonathan Buzzard wrote: > On Tue, 2013-07-23 at 14:39 +0100, Rowland Penny wrote: > > Could this be yet another reason to use sssd instead of winbind? > > > > sssd does use the account gidNumber > > > > testuser > > > > primaryGroupID: 513 > > uidNumber: 300110

Re: [Samba] Winbind troubles

2013-07-23 Thread Jonathan Buzzard
On Tue, 2013-07-23 at 15:23 +0100, Rowland Penny wrote: > > On 23 July 2013 15:04, Jonathan Buzzard > wrote: > Not what I said. The primaryGroupID is an identifier for a > group in AD, > bit like a SID is (I don't get that either). So primaryGroupID > 513 might >

Re: [Samba] Winbind troubles

2013-07-23 Thread steve
On Tue, 2013-07-23 at 14:53 +0100, Jonathan Buzzard wrote: > > What gets me is people claiming that half a dozen lines of configuration > in smb.conf is more complicated than 30+ lines of configuration in an > entirely separate configuration file in addition to several lines in > smb.conf. It mig

Re: [Samba] Winbind troubles

2013-07-23 Thread Helmut Hullen
Hallo, Jonathan, Du meintest am 23.07.13: >> Why use a word like orthogonal? > Orthogonal is a single word, is precise and describes what is > required exactly. Sorry - "that depends". I know this word as a synonym of "rectangular", and I mostly know it in a geometrical environment. 90 degre

Re: [Samba] Winbind troubles

2013-07-23 Thread Rowland Penny
On 23 July 2013 15:04, Jonathan Buzzard wrote: > Not what I said. The primaryGroupID is an identifier for a group in AD, > bit like a SID is (I don't get that either). So primaryGroupID 513 might > refer to a group called sambausers, which has a it's own set of > RFC2307bis attributes which inclu

Re: [Samba] Winbind troubles

2013-07-23 Thread Rowland Penny
On 23 July 2013 14:53, Jonathan Buzzard wrote: > Orthogonal is a single word, is precise and describes what is required > exactly. It has been in my vocabulary for approaching 30 years. None > overlapping range is three words and more characters as well. I was not > aware that Newspeak was now a

Re: [Samba] Errors in parse_share_modes Testing CTDB 2.3 and Samba 4.0.7

2013-07-23 Thread John P Janosik
Volker Lendecke wrote on 07/23/2013 02:15:03 AM: > On Mon, Jul 22, 2013 at 03:43:21PM -0500, John P Janosik wrote: > > I'm working on building a CTDB/Samba cluster on AIX 7.1 with the latest > > levels to replace an older one running CTDB 1.0.113 and Samba 3.6.1. I > > have the new servers up

Re: [Samba] Winbind troubles

2013-07-23 Thread Jonathan Buzzard
On Tue, 2013-07-23 at 14:39 +0100, Rowland Penny wrote: > Could this be yet another reason to use sssd instead of winbind? > > sssd does use the account gidNumber > > testuser > > primaryGroupID: 513 > uidNumber: 3001106 > gidNumber: 20513 > > getent passwd testuser > testuser:*:3001106:20513:t

Re: [Samba] Winbind troubles

2013-07-23 Thread Jonathan Buzzard
On Tue, 2013-07-23 at 14:20 +0100, Rowland Penny wrote: > OK, the documentation is better but people still get it wrong probably > because it is more complex than it needs to be, I personally find it > easier to set sssd up, but that is just me. > > Why use a word like orthogonal?, just who knows

Re: [Samba] Winbind troubles

2013-07-23 Thread Rowland Penny
Could this be yet another reason to use sssd instead of winbind? sssd does use the account gidNumber testuser primaryGroupID: 513 uidNumber: 3001106 gidNumber: 20513 getent passwd testuser testuser:*:3001106:20513:testuser:/home/DOMAIN/testuser:/bin/bash Rowland On 23 July 2013 13:54, Jonath

Re: [Samba] Winbind troubles

2013-07-23 Thread Rowland Penny
OK, the documentation is better but people still get it wrong probably because it is more complex than it needs to be, I personally find it easier to set sssd up, but that is just me. Why use a word like orthogonal?, just who knows what orthogonal means, I have only being speaking english for 56 y

Re: [Samba] Winbind troubles

2013-07-23 Thread Jonathan Buzzard
On Tue, 2013-07-23 at 11:25 +0200, steve wrote: > On Tue, 2013-07-23 at 10:05 +0100, Jonathan Buzzard wrote: > > > > > It's probably still not working for him because he needs to clear the > > now poluted cache/database that winbind has created from previous > > attempts. Using net cache flush mi

Re: [Samba] Winbind troubles

2013-07-23 Thread Jonathan Buzzard
On Tue, 2013-07-23 at 11:55 +0100, Rowland Penny wrote: [SNIP] > > I thought that testparm did exactly that, it tested all the parameters > in smb.conf, so if the ranges overlap, it should report the error. > You thought wrong then. It tests to see if they are valid so 1000-akjf is in

[Samba] Compiling Samba 4.0.7 - make test results

2013-07-23 Thread Mgr. Peter Tuharsky, MsU Banska Bystrica
Hallo, I'm new here. Doing compilation of Samba 4.0.7 on Debian Wheezy accordingly to Samba Wiki page. I have used configure parameters --enable-debug --enable-selftest and after make, I ran make test. Now I'm puzzled, because it apparently stops at step 96 (after 15 minutes, CPU still running at

[Samba] Win 2003 DC Demotion

2013-07-23 Thread Garth Keesler
All, I've posted a few times about this but without response so it seems that not many folks are trying to do this. So, before I spend many more hours on this trying to make it work, a simple yes or no question: Has anyone successfully demoted a Win 2003 PDC without error after joining a Sam

Re: [Samba] Winbind troubles

2013-07-23 Thread Rowland Penny
On 23 July 2013 11:40, Jonathan Buzzard wrote: > On Tue, 2013-07-23 at 11:06 +0100, Rowland Penny wrote: > > [SNIP] > > > > > OK, I see where you are coming from, but until testparm starts saying > > 'this will not work because' people will keep on having problems with > > winbind, also why do yo

Re: [Samba] Winbind troubles

2013-07-23 Thread Jonathan Buzzard
On Tue, 2013-07-23 at 11:06 +0100, Rowland Penny wrote: [SNIP] > > OK, I see where you are coming from, but until testparm starts saying > 'this will not work because' people will keep on having problems with > winbind, also why do you need to set up the ranges anyway. testparm does not guarant

Re: [Samba] Winbind troubles

2013-07-23 Thread Rowland Penny
On 23 July 2013 10:05, Jonathan Buzzard wrote: > This is where Matthew went wrong, it's right there in the man page > (unlike three years ago). There are also a large smattering of posts > from myself on this list over the last two years on how important it is > not to have overlapping ranges for

Re: [Samba] Winbind troubles

2013-07-23 Thread Jonathan Buzzard
On Tue, 2013-07-23 at 11:25 +0200, steve wrote: > On Tue, 2013-07-23 at 10:05 +0100, Jonathan Buzzard wrote: > > > > > It's probably still not working for him because he needs to clear the > > now poluted cache/database that winbind has created from previous > > attempts. Using net cache flush mi

Re: [Samba] Winbind troubles

2013-07-23 Thread steve
On Tue, 2013-07-23 at 10:05 +0100, Jonathan Buzzard wrote: > > It's probably still not working for him because he needs to clear the > now poluted cache/database that winbind has created from previous > attempts. Using net cache flush might work. Personally I would stop > samba delete the tdb fil

Re: [Samba] Winbind troubles

2013-07-23 Thread Jonathan Buzzard
On Tue, 2013-07-23 at 10:15 +0200, steve wrote: [SNIP] > > +1 > sssd just works: there is plain English documentation available and you > get rfc2307 out of the box. The same day;) > > otoh, if you must stick with winbind there are reports of success here. > Just one more thought to bugzilla it

Re: [Samba] Winbind troubles

2013-07-23 Thread steve
On Tue, 2013-07-23 at 09:40 +0200, L.P.H. van Belle wrote: > Hai, > > > I'm having exactly the same problem with winbind as Matthew Daubenspeck. > also on ubuntu 12.04 with sernet packages. ( used sernet-samba-winbind 4.0.7 ) > > I remove the complete config atm but am at the point reinstallin

Re: [Samba] Winbind troubles

2013-07-23 Thread L . P . H . van Belle
Hai, I'm having exactly the same problem with winbind as Matthew Daubenspeck. also on ubuntu 12.04 with sernet packages. ( used sernet-samba-winbind 4.0.7 ) I remove the complete config atm but am at the point reinstalling now. I'll wait with that until you put you howto on. i cant loose the

Re: [Samba] Errors in parse_share_modes Testing CTDB 2.3 and Samba 4.0.7

2013-07-23 Thread Volker Lendecke
On Mon, Jul 22, 2013 at 03:43:21PM -0500, John P Janosik wrote: > I'm working on building a CTDB/Samba cluster on AIX 7.1 with the latest > levels to replace an older one running CTDB 1.0.113 and Samba 3.6.1. I > have the new servers up and running and they seem to work, but I'm worried > about

Re: [Samba] Building with debug symbols and different optimisation levels

2013-07-23 Thread Andrew Bartlett
On Thu, 2013-07-18 at 11:54 +0100, Edward Robbins wrote: > Hello, > I would like to build samba at different optimisation levels with debug > symbols, in order to test a static analysis tool I have developed. I have > found the configure option "--enable-developer", which I presume enables > debug