[Samba] Joining Samba4 as DC--Error Failed to find a writeable DC for domain

2013-07-31 Thread Daniel Müller
Dear all, I set up samba 4.1 (SlaveDC)in a test environment on CentOs 6.4. I tried to join this host to my running and provisioned MasterDC (Samba 4/CentOs 6.4). On the SlaveDC I did : samba-tool domain join tplk.loc DC -Uadministrator --realm=tplk.loc --dns-backend=BIND9_DLZ It gives me:

Re: [Samba] Joining Samba4 as DC--Error Failed to find a writeable DC for domain

2013-07-31 Thread Daniel Müller
Just did the trick: Put the nameserver MasterDC in my /etc/resolv.conf on the SlaveDC and all is finished. Please add this hint to http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC --- EDV Daniel Müller Leitung EDV Tropenklinik

Re: [Samba] Windows 8 pro and Samba 4

2013-07-31 Thread isscma
El 2013-07-30 22:57, Marc Muehlfeld escribió: Am 30.07.2013 18:43, schrieb Marc Muehlfeld: I'll try to clarify the Wiki article about the registry changes for that during the next time. I over-worked the Wiki Win7 registry hack page and also renamed it:

Re: [Samba] Samba 4.0.7 PANIC invalid lock_order

2013-07-31 Thread Volker Lendecke
On Wed, Jul 24, 2013 at 09:53:06AM +, bruno.meneuvr...@ioxar.fr wrote: Dear all, I'm struggling to get samba 4.0.7 working as a file server. I'm using mac osx 10.8.4 with Excel for Mac 2011 (14.3.6). I'm able to create a new Spreadsheet and to save it with a new name. I'm also able to

[Samba] DNS update shows errors TKEY is unacceptable on joined Samba 4 DC

2013-07-31 Thread Daniel Müller
Dear all, after succesfull joining my new samba 4 DC to the domain. There is an error on using, samba_dnsupdate --verbose --all-names On the new joined dc: dns_tkey_negotiategss: TKEY is unacceptable Failed nsupdate: 1 How can I fix it!? Dnsupdate on the Master is running well. [root@s4slave

Re: [Samba] ./configure LDAP checks failing on AIX

2013-07-31 Thread Gilles Pion
2013/7/30 Gaiseric Vandal gaiseric.van...@gmail.com You may also want to set LD_LIBRARY_PATH to include /usr/local/openldap/lib It's the link phase which fails, not the run. The problem *is* the lack of #include ldap.h: without it the configure check fails, with it is successful. I've been

[Samba] nmbd is not running

2013-07-31 Thread Kevin Sha
Hi I have samba domain controller in my network. and recently I have changed the netmask of the network. Then nmbd is not working could you please help me to solve this issue nmbd -i nmbd version 3.5.6 started. Copyright Andrew

Re: [Samba] How to install a replacement PDC?

2013-07-31 Thread samba1
Thanks for all the info. It sounds like the process might be more involved than I’d hoped, although I had a feeling it might not be totally straightforward. I need to do a bit of reading up on Samba so that I have a better idea of how it hangs together with regard to passwords, groups and

Re: [Samba] samba4 - classicupgrade - problem - passdb.error uncaught exception - Cannot load backend methods for 'ldapsam:ldap://localhost' backend NT_STATUS_CANT_ACCESS_DOMAIN_INFO

2013-07-31 Thread itsaheb
Thanks Andrew for your reply. This time i have setup Samba4 on new test server but im still getting the same error message: # /usr/local/samba/bin/samba-tool domain classicupgrade --dbdir=/samba3/ --use-xattrs=yes --realm=mydomain.com /samba3/smb.conf --dns-backend=BIND9_DLZ Reading smb.conf

[Samba] How to solve: client XXX.XXX.XXX.XXX#55873: update 'XXX/IN' denied ---samba_dlz: cancelling transaction on zone

2013-07-31 Thread Daniel Müller
Dear all, how can I solve the issue with samba 4 bind_dlz , when a windows client is joined to the domain I get this error,ex.: 4master named[2814]: client 192.168.135.126#55873: update 'tplk.loc/IN' denied Jul 31 14:29:17 s4master named[2814]: samba_dlz: cancelling transaction on zone tplk.loc

Re: [Samba] nmbd is not running

2013-07-31 Thread Gaiseric Vandal
Can you show the ifconfig -a output on your server (or whatever the appropriate command for your OS .) The bind failed on ... 255 suggests the IP of the server is set wrong. On 07/31/13 05:17, Kevin Sha wrote: Hi I have samba domain controller in my network. and recently I have changed the

[Samba] Problem to demote samba4 dc

2013-07-31 Thread Davy HUBERT
Hi all, I recently migrated our samba 3 domain to an AD domain using Samba 4 classic upgrade tool. Well, everything seems to work fine since i'm still alive ;) . I promoted a Windows 2k8 box as a new DC of this domain and I transfer the 5 FSMO roles to it. Now I would like to demote the

[Samba] Turnkey Samba 4 Solutions?

2013-07-31 Thread Steve Ligett
H - I'm a Resara Server user - Resara Server was a turnkey Samba 4 system. I have been lurking on this list, trying to decide what way to go for the future. I've seen some post regarding moving from Resara, but I'm not sure if I want to get my hands dirty - I've enjoyed the simplicity of Resara.

Re: [Samba] Joining Samba4 as DC--Error Failed to find a writeable DC for domain

2013-07-31 Thread Marc Muehlfeld
Hello Daniel Am 31.07.2013 09:39, schrieb Daniel Müller: Just did the trick: Put the nameserver MasterDC in my /etc/resolv.conf on the SlaveDC and all is finished. Please add this hint to http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC I already had this on my to-do list,

Re: [Samba] Problem to demote samba4 dc

2013-07-31 Thread Jonis Maurin Ceará
I had the same problem some days ago.no reply from list and still with same problem :( Em 31/07/2013 10:35, Davy HUBERT escreveu: Hi all, I recently migrated our samba 3 domain to an AD domain using Samba 4 classic upgrade tool. Well, everything seems to work fine since i'm still

Re: [Samba] Problem to demote samba4 dc

2013-07-31 Thread Marc Muehlfeld
Hello Davy, Am 31.07.2013 15:35, schrieb Davy HUBERT: I recently migrated our samba 3 domain to an AD domain using Samba 4 classic upgrade tool. Well, everything seems to work fine since i'm still alive ;) . I promoted a Windows 2k8 box as a new DC of this domain and I transfer the 5 FSMO

Re: [Samba] How to install a replacement PDC?

2013-07-31 Thread samba1
Actually, I seem to have it working now! I’ll need to document what I did, and will have to test it again from scratch as I may have done one or two things which weren’t necessary etc. The PC is logging onto the Debian server with no nasty warnings or errors, the server-side login script is

Re: [Samba] nmbd is not running

2013-07-31 Thread Gaiseric Vandal
It looks like you have are using a block of private class B's as a contiguous CIDR range including 172.16.x.x and 172.17.x.x I played around with the IP's using various on line subnet calculators http://jodies.de/ipcalc?host=172.16.30.4mask1=15mask2= Address: 172.16.30.4 Netmask:

Re: [Samba] Problem to demote samba4 dc

2013-07-31 Thread Ricky Nance
I had this happen the other day and ran it down to the DomainDNS and ForestDNS not transferring fully. I haven't yet had time to file a bug on this. Ricky On Wed, Jul 31, 2013 at 8:35 AM, Davy HUBERT davy.hub...@univ-montp3.frwrote: Hi all, I recently migrated our samba 3 domain to an AD

Re: [Samba] Problem to demote samba4 dc

2013-07-31 Thread Jonis Maurin Ceará
In my case, all transfer was made using windows GUI and no errors, everything fine.except those 2 'extra' roles, which i don't know (and fsmo show doesn't show). Em 31/07/2013 11:00, Ricky Nance escreveu: I had this happen the other day and ran it down to the DomainDNS and ForestDNS not

[Samba] Split DNS with Samba4 internal DNS

2013-07-31 Thread George
Hi team, I have a working Samba4 build on production now (running 4.0.7). The problem is that the AD domain is the same as the external public domain, but the web and mail servers are hosted externally. So basically I need to resolve www.domain.com and mail.domain.com using an external nameserver

Re: [Samba] NT4 clients

2013-07-31 Thread Ryan Bair
OK. I got all excited and ran the test against a 2008 DC this morning. After allowing NT4 crypto through group policy, it worked seamlessly. Here's what I saw through wireshark: 1. same old failed extended security negotiation .. 2. Win7 sends DC TGS-REQ for cifs/nt4test 3. DC replies KRB-ERROR:

Re: [Samba] Problem to demote samba4 dc

2013-07-31 Thread Davy HUBERT
Hello Marc, Le 31/07/2013 15:50, Marc Muehlfeld a écrit : Hello Davy, Am 31.07.2013 15:35, schrieb Davy HUBERT: I recently migrated our samba 3 domain to an AD domain using Samba 4 classic upgrade tool. Well, everything seems to work fine since i'm still alive ;) . I promoted a Windows 2k8

[Samba] file locking failure

2013-07-31 Thread steve
4.0.7 DC, 4.0.7 fileserver, with openSUSE, w7 and xp clients. cifs-utils 6.1 on Linux. Hi I have set: kernel oplocks = yes on the fileserver If the xp client opens a file using e.g. Notepad, the opensuse client can edit it at the same time and vica versa. If I open the same file on each client

[Samba] samba runs only in interactive mode

2013-07-31 Thread Gints Neimanis
Hi, We have migrated our old Win2000 AD domain (~ 1000 user accounts) to Samba 4.0.7 AD, but some things doesn't work as expected (samba process crashes a few times a day/week with PANIC without any noticeable reason; samba dbcheck can't fix some db errrors and so on) , and I'm trying to

Re: [Samba] SMB throughput inquiry, Jeremy, and James' bow tie

2013-07-31 Thread Linda W
Stan Hoeppner wrote: With FDX fast ethernet steady SMB throughput was ~8.5MB/s. FTP and HTTP throughput were ~11.5MB/s. With GbE steady SMB throughput is ~23MB/s, nearly a 3x improvement, making large file copies such as ISOs much speedier. However ProFTPd and Lighttpd throughput are both a

[Samba] SOLVED: Re: samba runs only in interactive mode

2013-07-31 Thread Gints Neimanis
On 07/31/2013 07:06 PM, Gints Neimanis wrote: When I run samba in daemon mode, then it stops responding (but still shows in process list) /usr/local/samba/sbin/samba -d 3 -M single smbclient //vasec/netlogon -k -c exit session setup failed: NT_STATUS_IO_TIMEOUT When samba is run in daemon

Re: [Samba] Intermittent access to Sysvol/Netlogon shares

2013-07-31 Thread Mike Ray
After some digging, I believe it to be an issue where samba-tool demote does not remove the DFS records. This causes clients to attempt to map \\domain\ with a DC that is unavailable, giving the error. A manual solution is to remove the bad entries from

[Samba] Problem to demote samba4 dc

2013-07-31 Thread Davy HUBERT
Hi all, I recently migrated our samba 3 domain to an AD domain using Samba 4 classic upgrade tool. Well, every seems to work fine since i'm still alive ;) . I promoted a Windows 2k8 box as a new DC of this domain and I transfer the 5 FSMO roles to it. Now I would like to demote the

Re: [Samba] Correct NTP Settings for Samba 4.0.6?

2013-07-31 Thread Jason MacChesney
Hi Andrew, I've been struggling silently with this for quite awhile. With pretty much an identical set-up (save for my W7 machines being handled by Virtual Box) I'm at my wit's end. A tcpdump initially revealed that the server with Samba4(.0.7) and NTP was being sent packets, but never returning

Re: [Samba] ./configure LDAP checks failing on AIX

2013-07-31 Thread Andrew Bartlett
On Tue, 2013-07-30 at 11:47 +0200, Gilles Pion wrote: Note that with the following fix to .source3/wscript the check is successfull, replaced conf.CHECK_FUNCS_IN('ldap_init ldap_init_fd ldap_initialize ldap_set_rebind_proc', 'ldap')

Re: [Samba] ./configure LDAP checks failing on AIX

2013-07-31 Thread Andrew Bartlett
On Tue, 2013-07-30 at 11:47 +0200, Gilles Pion wrote: Note that with the following fix to .source3/wscript the check is successfull, replaced conf.CHECK_FUNCS_IN('ldap_init ldap_init_fd ldap_initialize ldap_set_rebind_proc', 'ldap')

Re: [Samba] samba4 - classicupgrade - problem - passdb.error uncaught exception - Cannot load backend methods for 'ldapsam:ldap://localhost' backend NT_STATUS_CANT_ACCESS_DOMAIN_INFO

2013-07-31 Thread Andrew Bartlett
On Wed, 2013-07-31 at 15:41 +0530, itsaheb wrote: Thanks Andrew for your reply. This time i have setup Samba4 on new test server but im still getting the same error message: # /usr/local/samba/bin/samba-tool domain classicupgrade --dbdir=/samba3/ --use-xattrs=yes

Re: [Samba] Slow FIND_FIRST2 response

2013-07-31 Thread Jeremy Allison
On Tue, Jul 30, 2013 at 12:56:18PM -0400, Ryan Bair wrote: I'm running Samba 4.0.7 on CentOS 6.4 running double duty as DC and file server. OS X clients are taking a _long_ time to list long directories. One directory with 10K entries is taking 3-4 minutes to display the entries in Finder.

Re: [Samba] How to solve: client XXX.XXX.XXX.XXX#55873: update 'XXX/IN' denied ---samba_dlz: cancelling transaction on zone

2013-07-31 Thread Amitay Isaacs
Hi Daniel, On Wed, Jul 31, 2013 at 10:46 PM, Daniel Müller muel...@tropenklinik.dewrote: Dear all, how can I solve the issue with samba 4 bind_dlz , when a windows client is joined to the domain I get this error,ex.: 4master named[2814]: client 192.168.135.126#55873: update 'tplk.loc/IN'

[Samba] UIDs/GIDs Mapping and Permissions in Samba

2013-07-31 Thread Chris Hayes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm wondering how essential it is to ensure that Samba User/Group to UIDs/GIDs mapping across various Samba servers remain consistent. I realise that Samba uses the extended ACLs and also uses extended attributes to store blobs of Windows ACL

Re: [Samba] Correct NTP Settings for Samba 4.0.6?

2013-07-31 Thread Murray Fraser
Hi Andrew Did you comile NTP with --enable-ntp-signd ? If you run 'ntpd -d' as root do you see: transmit ntp_signd packet: at 44 XX.XX.XX.XX-XX.XX.XX.XX mode 4 keyid 5004 len 68 - Murray On Sun, Jul 28, 2013 at 2:43 PM, Andrew Martin amar...@xes-inc.com wrote: - Original Message

autobuild: intermittent test failure detected

2013-07-31 Thread autobuild
The autobuild test system has detected an intermittent failing test in the current master tree. The autobuild log of the failure is available here: http://git.samba.org/autobuild.flakey/2013-07-31-1140/flakey.log The samba3 build logs are available here:

[SCM] Samba Shared Repository - branch master updated

2013-07-31 Thread Jeremy Allison
The branch, master has been updated via f9d19c4 Ensure gpfs kernel leases are wrapped in a become_root()/unbecome_root() pair. via 1af8b07 Wrap setting leases in become_root()/unbecome_root() to ensure correct delivery of signals. via 63db069 torture: add

[SCM] CTDB repository - branch master updated - ctdb-2.3-31-g824dcec

2013-07-31 Thread Amitay Isaacs
The branch, master has been updated via 824dcec35ec461d78e22b2ea109473b32bfe3972 (commit) via f6b066a23610fb0092298861c21a9b354b91e2f1 (commit) via 10a057d8e15c8c18e540598a940d3548c731b0b4 (commit) via 7e7e59c4047c78159387089eca65d90037bcf722 (commit) via