[Samba] Samba4: Replication of DNS data from one AD server to another

2013-01-07 Thread Dominic Evans
Hi, As per the Samba 4.0.0 release notes: Replication of DNS data from one AD server to another may not work. The DNS data used by the internal DNS server and bind9_dlz is stored in an application partition in our directory. The replication of this partition is not yet reliable. I

[Samba] ANNOUNCE: cifs-utils release 5.9 ready for download

2013-01-07 Thread Jeff Layton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 With the merge of the new plugin interface, it's probably a good time for a new cifs-utils release. Distro packagers should take special note of the changes with the new plugin interface since it has implications for how the tools are packaged. In

Re: [Samba] SaMBa 4.0 - homedir mapping

2013-01-07 Thread Stephen Jones
The short answer is yes. Do it from Active Directory Users Computers when creating the user account. ADUC is available by installing the RSAT tools on a Windows client joined to the domain. Initial setup is to create the share for user home directories. For example, create the directory

[Samba] [4.0] Machine account creation

2013-01-07 Thread Kaito Kumashiro
Hello I have a Samba 4.0 DC and I want to add a new machine account manually. I cannot use 'net ads join', because there is no (and cannot be) Samba client on that machine. I need to use samba-tool for this. When I issue a command: samba-tool user add MACHINE$ --random-password

[Samba] Samba 4.0.0 - Browseable option don't work

2013-01-07 Thread Bruno Pereira
Hello, I configured some shares with the option browseable = No but this share still browseable. my smb.conf: [global] workgroup = CENA-C realm = cena-c.pt netbios name = SAMBA server role = active directory domain controller template shell = /bin/bash

[Samba] Getting Element not found (I only have the german error) if accessing the shars by \\realm.name\!

2013-01-07 Thread Florian Scholz
Hi, SAMBA users, If I try to access the shares by \\samdom.asta.lan I get an element not found error but if I access it with the samba servers ip address, everything works just fine! I'm using samba4 4.0.0-1 Greets Flo -- To unsubscribe from this list go to the following URL and read the

Re: [Samba] Samba 4.0.0 - Browseable option don't work

2013-01-07 Thread Hleb Valoshka
On 1/7/13, Bruno Pereira bpere...@ipbrick.com wrote: I configured some shares with the option browseable = No but this share still browseable. server services = ... smb I guess the reason is the ntvfs. Try s3fs. -- To unsubscribe from this list go to the following URL and read the

Re: [Samba] SaMBa 4.0 - homedir mapping

2013-01-07 Thread Adam Sienkiewicz
Hi I tryed this option but it is not work - I wrote about it in another post. My symtomps are: I set permission as given there: http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx?Redirected=true but I have a

[Samba] Samba 4 Does not join existing domain as additional DC - Refusing to replicate from a read-only repilca into a read-write replica

2013-01-07 Thread Chris Lewis
Hello, This behaviour may be of interest: Attempting to join samba4.0 to an AD domain running a single 2008 R2 server. DNS is being provided by an existing bind 9 server. After command: /usr/local/samba/bin/samba-tool domain join example.com DC -U Administrator -W EXAMPLE

[Samba] Password expiry

2013-01-07 Thread ray klassen
Can't disable password expiry for 2 different samba 3.X installations. One is based on Debian squeeze, the other Ubuntu precise. I have altered the password policy with pdbedit pdbedit -P maximum password age -C -1 and set the X flag on accounts pdbedit -c [X ] username   and the accounts

[Samba] Samba 4 Services for UNIX?

2013-01-07 Thread Robert Moggach
I have a working Samba 4.0.0 AD DC running and am able to manage users etc using the Windows tools. Great. Now I want to as much as possible eliminate the need for an additional directory service (OpenLDAP and/or Open Directory) if not entirely. I need automount working and Posix users. I believe

Re: [Samba] Samba 4 Services for UNIX?

2013-01-07 Thread Andrew Bartlett
On Mon, 2013-01-07 at 16:21 -0500, Robert Moggach wrote: I have a working Samba 4.0.0 AD DC running and am able to manage users etc using the Windows tools. Great. Now I want to as much as possible eliminate the need for an additional directory service (OpenLDAP and/or Open Directory) if not

Re: [Samba] 3.6.10 file handle leak under ancient 32-bit kernel

2013-01-07 Thread starlight . 2013q1
Realized that the differences between the 'config.h' files is what really matters--attached below with good/bad order in the pairs. Several likely enough culprits appear in the list and I'm willing to dig around the code. Can anyone suggest which #define is the most probable cause? Thanks

Re: [Samba] AIX and ADS support?

2013-01-07 Thread Benjamin Huntsman
I'm getting the impression that ADS support isn't available on AIX at all. I built a copy of OpenLDAP, and while the configure script detects the ldap headers, it still says that Active Directory support is not available. Has anyone had any luck getting this working on AIX? Thanks in advance!

[Samba] Samba 4 on AIX with XLC

2013-01-07 Thread Benjamin Huntsman
Has anyone tried building Samba 4.0 on AIX with XLC? I'm moving right along, but tripping up on some bugs in source3/utils/net_rpc.c, source3/utils/net_rpc_printer.c, and source3/utils/net_cache.c where there is an invalid use of the : operator. According to some other posts on the PostgreSQL

Re: [Samba] Samba 4 on AIX with XLC

2013-01-07 Thread Benjamin Huntsman
As a further follow-up, here's an example, from source3/utils/net_cache.c: d_printf(_(Key: %s\t Timeout: %s\t Value: %s %s\n), keystr, timeout_str, datastr, timeout now_t ? : _((expired))); My C skills aren't good enough to understand what's being done here, but the offending

Re: [Samba] 3.6.10 file handle leak under ancient 32-bit kernel

2013-01-07 Thread starlight . 2013q1
Ah, and of course a 'strace'. http://binnacle.cx/file/smbd_file_leak_strace.txt The leak appears related to the open(log) events where /var/log is opened and scanned periodically. See three 'open' calls without any matching close. Most of the /proc/###/fd entries are for /var/log, but

Re: [Samba] Samba 4 on AIX with XLC

2013-01-07 Thread Jeremy Allison
On Mon, Jan 07, 2013 at 10:58:08PM +, Benjamin Huntsman wrote: As a further follow-up, here's an example, from source3/utils/net_cache.c: d_printf(_(Key: %s\t Timeout: %s\t Value: %s %s\n), keystr, timeout_str, datastr, timeout now_t ? : _((expired))); My C skills

Re: [Samba] Samba 4 on AIX with XLC

2013-01-07 Thread Benjamin Huntsman
On Mon, Jan 07, 2013 at 10:58:08PM +, Benjamin Huntsman wrote: As a further follow-up, here's an example, from source3/utils/net_cache.c: d_printf(_(Key: %s\t Timeout: %s\t Value: %s %s\n), keystr, timeout_str, datastr, timeout now_t ? : _((expired))); My C skills

Re: [Samba] 3.6.10 file handle leak under ancient 32-bit kernel

2013-01-07 Thread starlight . 2013q1
Looking at the good system: open(log, O_RDONLY|O_DIRECTORY) = 28 fstat(28, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 fstat(28, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 fcntl(28, F_GETFL) = 0x18000 (flags O_RDONLY|O_LARGEFILE|O_DIRECTORY) fcntl(28, F_SETFD,

Re: [Samba] Samba 4 on AIX with XLC

2013-01-07 Thread Michael Wood
Hi On 8 January 2013 02:16, Benjamin Huntsman bhunts...@mail2.cu-portland.edu wrote: On Mon, Jan 07, 2013 at 10:58:08PM +, Benjamin Huntsman wrote: As a further follow-up, here's an example, from source3/utils/net_cache.c: d_printf(_(Key: %s\t Timeout: %s\t Value: %s %s\n), keystr,

Re: [Samba] Samba 4 on AIX with XLC

2013-01-07 Thread Benjamin Huntsman
_(...) is how the localisation is done AFAIK. i.e. it's for translating messages into different languages. Maybe there's something wrong with internationalisation/localisation (i18n/l10n) on the system? See what the configure output says about it (maybe gettext). -- Michael Wood

Re: [Samba] [PATCH] Re: samba-tool domain classicupgrade with LDAP backend

2013-01-07 Thread Andrew Bartlett
On Fri, 2013-01-04 at 12:53 +0100, Juan Asensio Sánchez wrote: Hi Andrew Unfortunately, after applying the patch, recompile, uninstall and install again, I am getting the same error: # cd ~/samba-4.0.0 # patch -p1 ~/0001-s4-libcli-resolv-Add-alias-hosts-for-host-in-name-re.patch #

Re: [Samba] [PATCH] Re: samba-tool domain classicupgrade with LDAP backend

2013-01-07 Thread Andrew Bartlett
On Tue, 2013-01-08 at 18:42 +1100, Andrew Bartlett wrote: On Fri, 2013-01-04 at 12:53 +0100, Juan Asensio Sánchez wrote: Hi Andrew Unfortunately, after applying the patch, recompile, uninstall and install again, I am getting the same error: # cd ~/samba-4.0.0 # patch -p1

[SCM] Samba Shared Repository - branch master updated

2013-01-07 Thread Volker Lendecke
The branch, master has been updated via f2d67af tdb: Fix undefined prototype warnings via 1beb4bc tdb: Fix in error messages from 94f11e9 s3-net: Fix rpc_service_list_internal() null pointer passing. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log

[SCM] Samba Shared Repository - branch master updated

2013-01-07 Thread Andreas Schneider
The branch, master has been updated via 6a5afa2 spoolss: add stubs for new JobNamedProperty dcerpc calls. via 638ed90 spoolss: add SPOOLSS_DRIVER_VERSION_2012 (4) define to IDL. via 22994ca spoolss: add Windows ARM architecture defines to IDL. from f2d67af tdb: Fix

[SCM] CTDB repository - branch master updated - ctdb-2.0-43-g3cc596d

2013-01-07 Thread Amitay Isaacs
The branch, master has been updated via 3cc596d2b459d834f9785b3a98027e46431ff2b9 (commit) via 6a1d88a17321f7e1dc84b4823d5e7588516a6904 (commit) via 8adb255e62dbe60d1e983047acd7b9c941231d11 (commit) via f6ce18d011dd9043b04256690d826deb2640cd89 (commit) via

[SCM] Samba Shared Repository - branch master updated

2013-01-07 Thread Jeremy Allison
The branch, master has been updated via eae01b0 samba-tool Add --service argument to samba-tool ntacl get/set via cef5f46 pysmbd: Change to keyword based arguments via 4741cda scripting-provision: Set sysvol ACLs on the sysvol share via 0533905 scripting-ntacls:

[SCM] CTDB repository - branch master updated - ctdb-2.0-44-g13a5944

2013-01-07 Thread Amitay Isaacs
The branch, master has been updated via 13a5944f8a27d43006acfffba76958693cae7702 (commit) from 3cc596d2b459d834f9785b3a98027e46431ff2b9 (commit) http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=master - Log - commit

[SCM] CTDB repository - branch master updated - ctdb-2.0-52-g50abf59

2013-01-07 Thread Amitay Isaacs
The branch, master has been updated via 50abf597cefe6f8ea2a2ff7694bf84641344a9b1 (commit) via e2aaa64925cca359c71520e01a18fc9461b0da4d (commit) via 03356fd5ae7a3ac35fde0289cbea7c71ecf07367 (commit) via 13e5e609b262847b607e7af7e0685f44e7cb8e36 (commit) via