Re: [Samba] Difference between real and reported disk usage

2012-12-17 Thread Berni CED
Berni Ced ced at bernispa.com writes: For example, i've analized the data copied with strict allocation activated and i've found that Windows Server 2008 make files space allocation in 1024 kiB blocks. Err, i meant Windows Server 2003, not 2008. In the meantime i've tested that Windows 7

Re: [Samba] Difference between real and reported disk usage

2012-12-17 Thread Berni CED
Berni CED ced at bernispa.com writes: Also, do you know a command that can restore back the 11 MB wasted in the latter two cases? Obviously, having enough space, i can make a copy of the entire folder hosting the share: cp -a origin-folder dest-folder But my question is if there is a command i

[Samba] [Announce] Samba 3.5.20 Available for Download

2012-12-17 Thread Karolin Seeger
Please not that this will probably be the last bugfix release of the Samba 3.5 release series. Details about the release planning are available on http://wiki.samba.org/index.php/Samba_Release_Planning ==

[Samba] not able to log on (PDC with ldap backend)

2012-12-17 Thread ingo . schmitt
Hello, I set up my first PDC with LDAP as backend. I'm able to join a vista client to the domain. However, when want to log onto after rebooting the client, it claims that the logon server is n/a. My smb and slapd.confs are attached. Any ideas what i did wrong or missed to configure? Thx, Ingo

Re: [Samba] Difference between real and reported disk usage

2012-12-17 Thread Pieter De Wit
On 17/12/2012 21:07, Berni CED wrote: Berni Ced ced at bernispa.com writes: For example, i've analized the data copied with strict allocation activated and i've found that Windows Server 2008 make files space allocation in 1024 kiB blocks. Err, i meant Windows Server 2003, not 2008. In the

Re: [Samba] About new test cases for Durable handle version 2

2012-12-17 Thread Stefan (metze) Metzmacher
Hi Santanu, I am not sure if I am addressing to the correct audience. So apologize for the that. I found in the existing smbtorture test suit do not have much test cases related to durable handle version 2 that is supported for SMB version 3 . I have done some work on that and would like

Re: [Samba] About new test cases for Durable handle version 2

2012-12-17 Thread Santanu Ghosh
Thanks Stefan, I was started adding testcase back on September on samba-4.0.0beta6 version. At that point of time I found that samba had only some preliminary framework for persistent handle tests. But those didn't test any particulate persistent open/reopen scenario. Hence I have added some

Re: [Samba] Samba 4, Winbind RFC2307

2012-12-17 Thread Thomas Simmons
Hello, I was able to get back to the original (incorrect 4294967295) uids/gids on the 4.0 member with 'net cache flush'. I remove the 4.0 member from the domain, compiled 3.6.10 and re-joined. Unfortunately, that doesn't work either. I have no idea what to do at this point. 3.6.10 output

[Samba] S4 AD Domain Up; but lots of NTLMSSP NTLM2 errors

2012-12-17 Thread Adam Tauno Williams
samba-4.0.0 x86_64, CentOS6.3 My Samba4 / AD is up and running after migrating this weekend. Testing looked good and the domain *is working* but there are some issues. My log.samba file is full of the following; I'm not certain of the significance of these. [2012/12/17 05:59:09, 0]

[Samba] S4 AD Domain Up; but no DNS auto-registration

2012-12-17 Thread Adam Tauno Williams
samba-4.0.0 x86_64, CentOS6.3 My Samba4 / AD is up and running after migrating this weekend. Testing looked good and the domain *is working* but there are some issues. Automatic DNS update is not working. Workstations seem to be registering their names but joining a server to the domain works

Re: [Samba] Samba4 - Windows 200x DNS Migration

2012-12-17 Thread Adam Tauno Williams
On Thu, 2012-12-13 at 15:58 -0500, Gaiseric Vandal wrote: Windows 200x AD DC's do not require that the DNS master is on a WIn 2003 AD server. You need a BIND9 compatible server with dynamic updates preferably enabled. If dynamic updates are not enabled then when a Windows machine joins

Re: [Samba] not able to log on (PDC with ldap backend)

2012-12-17 Thread Gaiseric Vandal
Hi Attachments are not supported on the mailing list. Does the pdbedit -Lv /machinename$/ command on the samba server show the machine account?The account flags should be [W ] only. In LDAP, you should see the following attributes objectClass=sambaSamAccount sambaNTPassword

Re: [Samba] not able to log on (PDC with ldap backend)

2012-12-17 Thread ingo . schmitt
Hi, I just posted my smb.conf to pastebin: http://pastebin.com/r29mgMcK I haven't specified ports - I assumed the default ones should do. I guess I ran more into a client side issue but I actually don't know. pdbedit -Lv shows the Administrator and the respective machine account. The only

Re: [Samba] Samba 4, Winbind RFC2307

2012-12-17 Thread Thomas Simmons
At least in the case of 3.6, it seems this is my problem: Error loading module '/usr/local/samba/lib/idmap/ad.so': /usr/local/samba/lib/idmap/ad.so: cannot open shared object file: No such file or directory Indeed, it does not exist: [root@ALW2 ~]# find /usr/local/samba/|grep ad.so

Re: [Samba] Samba4 Domain UP, but no roaming profiles

2012-12-17 Thread Stephen Jones
Hi, The problem is your smb.conf [profiles]. The only options you need are the path and read only = no. Control access from Windows with an ACL applied to the profiles share security properties rather than forcing permissions from Samba. S4 is different from S3. I'm not sure if those mask

Re: [Samba] not able to log on (PDC with ldap backend)

2012-12-17 Thread Gaiseric Vandal
But do you see Account Flags: [W ] for the Vista machine account? Did you also see a machine account for the samba PDC itself? It should include Account Flags:[S ] Are is the Vista client configured to use WINS? On 12/17/12 10:29,

Re: [Samba] Following symlinks

2012-12-17 Thread James Pifer
On 12/14/2012 11:12 PM, James Pifer wrote: I'm struggling with following symlinks with samba on the recent versions. I cannot use mount -bind as I've seen others suggest. This is for my mythtv backend, so I'm using the rename script to create nice names for the recordings. Anyway, I can map

Re: [Samba] Samba 4, Winbind RFC2307

2012-12-17 Thread Thomas Simmons
I got 3.6.10 working! I had to recompile with: --with-shared-modules=idmap_ad -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

Re: [Samba] Samba 4, Winbind RFC2307

2012-12-17 Thread Thomas Simmons
After recompiling --with-shared-modules=idmap_ad, my S4 member also works. It made no difference on the DC. On Mon, Dec 17, 2012 at 11:19 AM, Thomas Simmons twsn...@gmail.com wrote: I got 3.6.10 working! I had to recompile with: --with-shared-modules=idmap_ad -- To unsubscribe from this

[Samba] Samba4: Upload an Administrative Policy Template?

2012-12-17 Thread Adam Tauno Williams
We'd like to add an adm (administrative template) to our Samba4 server. I see where the .adm files are in the filesystem - /opt/s4/var/locks/sysvol/micore.us/Policies/{ED429C7D-156A-4F75-B21D-92DB8E10ACAB}/Adm/conf.adm - but how can I add a new ADM file? The ADM file in question allows the

[Samba] using samba4 as an authentication source

2012-12-17 Thread Admin
Hi, i have to deploy a integrated services platform consisting of a samba3, web-groupware and email (exim+cyrus) service, which has very limited options for user management. This new server is to replace a windows 2008 server. I am free to create all users anew. I'll try to configure it to

Re: [Samba] using samba4 as an authentication source

2012-12-17 Thread Andrew Bartlett
On Mon, 2012-12-17 at 20:54 +0100, Admin wrote: Hi, i have to deploy a integrated services platform consisting of a samba3, web-groupware and email (exim+cyrus) service, which has very limited options for user management. This new server is to replace a windows 2008 server. I am free to

Re: [Samba] Samba4 - Windows 200x DNS Migration

2012-12-17 Thread Andrew Bartlett
On Mon, 2012-12-17 at 09:38 -0500, Adam Tauno Williams wrote: On Thu, 2012-12-13 at 15:58 -0500, Gaiseric Vandal wrote: Windows 200x AD DC's do not require that the DNS master is on a WIn 2003 AD server. You need a BIND9 compatible server with dynamic updates preferably enabled. If

Re: [Samba] S4 AD Domain Up; but lots of NTLMSSP NTLM2 errors

2012-12-17 Thread Andrew Bartlett
On Mon, 2012-12-17 at 09:35 -0500, Adam Tauno Williams wrote: samba-4.0.0 x86_64, CentOS6.3 My Samba4 / AD is up and running after migrating this weekend. Testing looked good and the domain *is working* but there are some issues. My log.samba file is full of the following; I'm not certain

[Samba] LDAP Account Manager 4.0 released

2012-12-17 Thread Roland Gruber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 LDAP Account Manager (LAM) 4.0 - December 17th, 2012 LAM is a web frontend for managing accounts stored in an LDAP directory. Announcement: - - All account profiles and PDF

Re: [Samba] S4 AD Domain Up; but no DNS auto-registration

2012-12-17 Thread Andrew Bartlett
On Mon, 2012-12-17 at 09:36 -0500, Adam Tauno Williams wrote: samba-4.0.0 x86_64, CentOS6.3 My Samba4 / AD is up and running after migrating this weekend. Testing looked good and the domain *is working* but there are some issues. Automatic DNS update is not working. Workstations seem to

Re: [Samba] Checking data migration from samba3 to samba4

2012-12-17 Thread Andrew Bartlett
On Thu, 2012-12-13 at 17:56 +1300, Mario Codeniera wrote: How do we check the data from Samba4 that the data from Samba3 successfully migrated? I dunno if it successfully migrated coz got these (last part): No, the database has not been successfully migrated. The script has not completed

Re: [Samba] Samba 4 GA upgrade - auth failing

2012-12-17 Thread Andrew Bartlett
On Thu, 2012-12-13 at 01:06 -0600, Kristofer wrote: --Apple-Mail=_5451A272-9820-42BF-A54B-E864FA9CD7AB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Update: I downgraded back to RC4, and the servers are able to authenticate once = again.

Re: [Samba] Difference between real and reported disk usage

2012-12-17 Thread Berni CED
Pieter De Wit pieter at insync.za.net writes: What is the underlying file system, ext4 ? I wonder if it will be worth trying this on XFS, perhaps it behaves better with newer Windows clients ? Is this an option for you ? Hi Pieter! Yes i'm using ext4 but since the file transferring was done

Re: [Samba] S4 AD Domain Up; but no DNS auto-registration

2012-12-17 Thread Adam Tauno Williams
On Tue, 2012-12-18 at 08:27 +1100, Andrew Bartlett wrote: On Mon, 2012-12-17 at 09:36 -0500, Adam Tauno Williams wrote: samba-4.0.0 x86_64, CentOS6.3 My Samba4 / AD is up and running after migrating this weekend. Testing looked good and the domain *is working* but there are some issues.

Re: [Samba] Samba 4 GA upgrade - auth failing

2012-12-17 Thread Kristofer
Andrew, I posted a note to another thread when I saw your post re: acl:search = false. I did a step-by-step upgrade through all of the RC's, and RC6 is what broke me. Once I saw that post the other day, I threw that config option in and everything was back to normal. I guess I will just

Re: [Samba] S4 AD Domain Up; but no DNS auto-registration

2012-12-17 Thread Andrew Bartlett
On Mon, 2012-12-17 at 16:37 -0500, Adam Tauno Williams wrote: On Tue, 2012-12-18 at 08:27 +1100, Andrew Bartlett wrote: On Mon, 2012-12-17 at 09:36 -0500, Adam Tauno Williams wrote: samba-4.0.0 x86_64, CentOS6.3 My Samba4 / AD is up and running after migrating this weekend. Testing

Re: [Samba] Samba4: Upload an Administrative Policy Template?

2012-12-17 Thread Adam Tauno Williams
On Mon, 2012-12-17 at 14:40 -0500, Adam Tauno Williams wrote: We'd like to add an adm (administrative template) to our Samba4 server. I see where the .adm files are in the filesystem - /opt/s4/var/locks/sysvol/micore.us/Policies/{ED429C7D-156A-4F75-B21D-92DB8E10ACAB}/Adm/conf.adm - but how can

Re: [Samba] Samba3 joining W2k3 as member server

2012-12-17 Thread Andrew Bartlett
On Mon, 2012-12-17 at 17:00 +1300, Pieter De Wit wrote: Hi list, I have tried with all my might to get a samba3 server (Ubuntu 12.04.1 LTS) to join a Windows 2003 domain as a member server, without any luck. I have used,from memory, the official way of doing this (aka, from the samba.org

[Samba] Error with active Libvirt Bridge (virbr0)

2012-12-17 Thread Börje Johnsson
Just want to report an error in samba configuration / setup. I installed Samba 4 GA on a fresh installation of Ubuntu 12.04. The server is a testbed and has the virtualization package installed also. I have two network interfaces exept lo: eth0 and virbr0. In the provisioning step samba

[Samba] Samba4: wins hook wins support ???

2012-12-17 Thread Adam Tauno Williams
Does wins support and wins hook still work on Samba4? I hjave wins support enables [set to yes] and a wins hook script, but it never seems to be getting fired. -- Adam Tauno Williams GPG D95ED383 Systems Administrator, Python Developer, LPI / NCLA -- To unsubscribe from this list go to the

[Samba] Bash question about find out all accessible shares on Samba server

2012-12-17 Thread J Gao
Hello, I am working on a bash script to help user mount Samba share on his/her local Linux (Ubuntu) system. Now I can list all the Samba shares by command: #smbclient -N -gL \\sambaserver 21 | grep -e Disk| | cut -d'|' -f2 The problem is we have too many shares on the server so this come out

Re: [Samba] Samba4: wins hook wins support ???

2012-12-17 Thread Andrew Bartlett
On Mon, 2012-12-17 at 17:00 -0500, Adam Tauno Williams wrote: Does wins support and wins hook still work on Samba4? I hjave wins support enables [set to yes] and a wins hook script, but it never seems to be getting fired. The parameters appear to be hooked in, but I suspect that wins hook

[Announce] Samba 3.5.20 Available for Download

2012-12-17 Thread Karolin Seeger
Please not that this will probably be the last bugfix release of the Samba 3.5 release series. Details about the release planning are available on http://wiki.samba.org/index.php/Samba_Release_Planning ==

[SCM] Samba Shared Repository - branch v3-5-stable updated

2012-12-17 Thread Karolin Seeger
The branch, v3-5-stable has been updated via 0c72376 WHATSNEW: Prepare release notes for Samba 3.5.20. via 403ddeb Fix bug #9455 munmap called for an address location not mapped by samba. via 0a99e5d source3/libaddns: don't depend on the order in resp-answers[] via

[SCM] Samba Shared Repository - annotated tag samba-3.5.20 created

2012-12-17 Thread Karolin Seeger
The annotated tag, samba-3.5.20 has been created at 8a0214783831375f5cffca0d2ada3233d2f030e7 (tag) tagging 0c723760b4a8975bcd11e645ff76f6834559ae71 (commit) replaces samba-3.5.19 tagged by Karolin Seeger on Mon Dec 17 09:06:40 2012 +0100 - Log

[SCM] Samba Website Repository - branch master updated

2012-12-17 Thread Karolin Seeger
The branch, master has been updated via 0bbfd60 Announce Samba 3.5.20. via 98dbccf devel: Update current branch descriptions. from d3e615b Remove superflous 'for' http://gitweb.samba.org/?p=samba-web.git;a=shortlog;h=master - Log

[SCM] Samba Website Repository - branch master updated

2012-12-17 Thread Karolin Seeger
The branch, master has been updated via 9879681 devel: Fix some typos. from 0bbfd60 Announce Samba 3.5.20. http://gitweb.samba.org/?p=samba-web.git;a=shortlog;h=master - Log - commit