Re: [Samba] LDAP (Schemas,Users) to Samba4 migration

2013-04-11 Thread alxgrb
Hi, please look at this:= alxgrb@ubsrv:~ sudo /usr/local/samba/bin/smbclient -L localhost -U% Domain=[DEMO] OS=[Unix] Server=[Samba 4.0.5] Sharename Type Comment - --- netlogonDisk sysvol Disk

Re: [Samba] Samba crash (while logging in as administrator?)

2013-04-11 Thread Volker Lendecke
On Wed, Apr 10, 2013 at 09:26:45PM -0500, Nick Semenkovich wrote: I just had samba4 (git 69b3d19 from yesterday) crash while logging in as administrator. The login stalled, and on the samba4 AD DC, winbind stopped responding -- getent passwd stopped showing the domain entries, and commands

Re: [Samba] Pruning embedded samba 3.6 installation

2013-04-11 Thread Volker Lendecke
Start with only smbd and depending on your configuration the VFS modules. Depending on whether you need NetBIOS, you might also need nmbd. Please try to avoid security=share if at all possible. If you have just a fixed password, you can prepare a smbpasswd file externally, so that you can also

Re: [Samba] Dynamic DNS updates not working with BIND DLZ

2013-04-11 Thread Thomas Simmons
On Wed, Apr 10, 2013 at 10:22 PM, Stephen Jones lloydsyst...@fastmail.com.au wrote: Hi, A while ago I setup Samba4 on CentOS 6. Samba version was 4.0.0 using the RPM from SOGo. I used the DLZ BIND backend with BIND 9.8. I tested with a Windows 7 VM client. When I joined the client to

[Samba] Samba4 AD DC using s3fs an OpenIndiana/Illumos/Solaris

2013-04-11 Thread Henner Gratz
Hello! I've just built my first samba4 (4.0.5) on an OpenIndiana machine without any problems. But when it comes to the provision step the problems begin. Everything is fine, if I call samba-tool with the --use-ntvfs option. But I want to use samba4 with s3fs because of the support for newer

Re: [Samba] LDAP (Schemas,Users) to Samba4 migration

2013-04-11 Thread Andrew Bartlett
On Thu, 2013-04-11 at 01:00 -0700, alxgrb wrote: Hi, please look at this:= alxgrb@ubsrv:~ sudo /usr/local/samba/bin/smbclient -L localhost -U% Domain=[DEMO] OS=[Unix] Server=[Samba 4.0.5] Sharename Type Comment - --- netlogon

Re: [Samba] LDAP (Schemas,Users) to Samba4 migration

2013-04-11 Thread alxgrb
I have changed... alxgrb@ubsrv:~ sudo /usr/local/samba/bin/ldbadd -H /usr/local/samba/private/sam.ldb testuser.ldif [sudo] password for alxgrb: ERR: No such attribute : objectclass_attrs: attribute 'sambaSID' on entry 'UID=bmontag,CN=Users,DC=demo,DC=lan' was not found in the schema! on DN

Re: [Samba] Samba4 AD DC using s3fs an OpenIndiana/Illumos/Solaris

2013-04-11 Thread Rowland Penny
On 11/04/13 12:10, Henner Gratz wrote: Hello! I've just built my first samba4 (4.0.5) on an OpenIndiana machine without any problems. But when it comes to the provision step the problems begin. Everything is fine, if I call samba-tool with the --use-ntvfs option. But I want to use samba4

[Samba] Samba4 AD DC using s3fs an OpenIndiana/Illumos/Solaris

2013-04-11 Thread Henner Gratz
On 11/04/13 12:10, Henner Gratz wrote: / Hello! / / / / I've just built my first samba4 (4.0.5) on an OpenIndiana machine / / without any problems. / / But when it comes to the provision step the problems begin. Everything / / is fine, if I / / call samba-tool with the --use-ntvfs

Re: [Samba] Samba4 AD DC using s3fs an OpenIndiana/Illumos/Solaris

2013-04-11 Thread Rowland Penny
On 11/04/13 14:17, Henner Gratz wrote: Try installing libacl1-dev or libacl-devel I think that you either need ACL support adding to your filesystem in fstab or you need to find the openindiana variant of libacl-devel and re-compile or possibly both. Rowland -- This message has been

Re: [Samba] Pruning embedded samba 3.6 installation

2013-04-11 Thread Paul D. DeRocco
From: Volker Lendecke [mailto:volker.lende...@sernet.de] Start with only smbd and depending on your configuration the VFS modules. Depending on whether you need NetBIOS, you might also need nmbd. Please try to avoid security=share if at all possible. If you have just a fixed password, you

[Samba] Fwd: The network path was not found.

2013-04-11 Thread Hef
On Thu, Apr 11, 2013 at 12:13 AM, Gregory Sloop gr...@sloop.net wrote: I'll top post since you have... Hef: I don't think there is any way to change the ports - and you'd have to change them on each client, as well as the server. [Is there even a way to do that on a Windows client!? Some

Re: [Samba] Fwd: The network path was not found.

2013-04-11 Thread Gregory Sloop
And IMO, trying to do this, while streaming the CIFS data and login via the unprotected and vast-vagaries of the open internet - well that just seems pretty crazy to me. H Is CIFS data unencrypted or unprotected, or have some other vulnerability I H should be aware of? I believe the

Re: [Samba] Samba crash (while logging in as administrator?)

2013-04-11 Thread Nick Semenkovich
Is there any way we can get a backtrace from this? Also, which platform are you running on? invalid opcode, that kindof sounds like a compiler bug. I know that usually all compiler bugs turn out to be just plain program defects, so would it be possible that you run it under valgrind, just to

[Samba] Samba-tool modify users info?

2013-04-11 Thread Luc Lalonde
Hello, I'm wondering if there's a plan for including the possibility of modifying user attributes (must-change-at_next-login, profile-path, home-drive, home-directory, etc)? For the moment, it seems the only way to do this is when the user is created (samba-tool newuser) or by doing so via

Re: [Samba] Samba-tool modify users info?

2013-04-11 Thread Mike Ray
Luc- You can modify a user's attributes manually by using ldbedit. You can also modify a user's attributes via an LDIF file and the ldbmodify command . The first one may be easier/faster if you have to change only one thing; the second one is definitely more robust for large amounts of

Re: [Samba] Samba-tool modify users info?

2013-04-11 Thread John Drescher
I'm wondering if there's a plan for including the possibility of modifying user attributes (must-change-at_next-login, profile-path, home-drive, home-directory, etc)? I use ldap-account-manager on my Samba 3.6 / openldap 2.3.43 based servers with samba domain controllers (PDC + 2 BDCs) and

Re: [Samba] Samba-tool modify users info?

2013-04-11 Thread John Drescher
On Thu, Apr 11, 2013 at 11:58 AM, John Drescher dresche...@gmail.com wrote: I'm wondering if there's a plan for including the possibility of modifying user attributes (must-change-at_next-login, profile-path, home-drive, home-directory, etc)? I use ldap-account-manager on my Samba 3.6 /

[Samba] Samba4 Does cifs need a keytab for the multiuser option?

2013-04-11 Thread steve
Hi samba --version Version 4.0.6-GIT-4bebda4 smb.conf: [users] path = /home/users read only = No Working on the DC which is also the fileserver user steve2 can write to his folder at /home/users/steve2 But if we now mount the share: sudo mount -t cifs //doloresdc/users /mnt

[Samba] Internal LDAP explanation

2013-04-11 Thread Eric PEYREMORTE
Hi there ! I've read many documentation today but i can't understand samba 4 internal ldap server. I'm currently using samba3 with openldap backend. I'm considering using samba4 as my new domain controller in ADS mode. I have few questions : - Can i connect to the new ldap server from a

[Samba] Is there a guide to fsck a samba3 passdb.tdb?

2013-04-11 Thread Stephanie Sullivan
I've come to realize the underlying cause (at least one) for my contemplating suicide (not quite that bad yet) because of the classicupgrade process. It may be that my very old samba3 passdb.tdb needs to a get a fsck. if this were a filesystem, no problem but I don't know how to approach

[Samba] Weird, sudden 3.4 problem.

2013-04-11 Thread Don Krause
We've had basically no issues with an older samba 3.4 installation working with Win 7, but suddenly this morning, homes shares are acting strange. I can create new folders, I can create new documents. However, any attempt to rename the newly created file gives me access denied problems. I can

Re: [Samba] Weird, sudden 3.4 problem.

2013-04-11 Thread Jeremy Allison
On Thu, Apr 11, 2013 at 10:44:11AM -0700, Don Krause wrote: We've had basically no issues with an older samba 3.4 installation working with Win 7, but suddenly this morning, homes shares are acting strange. I can create new folders, I can create new documents. However, any attempt to

Re: [Samba] Pruning embedded samba 3.6 installation

2013-04-11 Thread Jeremy Allison
On Thu, Apr 11, 2013 at 07:01:21AM -0700, Paul D. DeRocco wrote: From: Volker Lendecke [mailto:volker.lende...@sernet.de] Start with only smbd and depending on your configuration the VFS modules. Depending on whether you need NetBIOS, you might also need nmbd. Please try to avoid

Re: [Samba] Samba4 Does cifs need a keytab for the multiuser option?

2013-04-11 Thread Rowland Penny
On 11/04/13 17:27, steve wrote: Hi samba --version Version 4.0.6-GIT-4bebda4 smb.conf: [users] path = /home/users read only = No Working on the DC which is also the fileserver user steve2 can write to his folder at /home/users/steve2 But if we now mount the share: sudo mount -t cifs

Re: [Samba] Weird, sudden 3.4 problem.

2013-04-11 Thread Don Krause
On Apr 11, 2013, at 11:10 AM, Jeremy Allison wrote: On Thu, Apr 11, 2013 at 10:44:11AM -0700, Don Krause wrote: We've had basically no issues with an older samba 3.4 installation working with Win 7, but suddenly this morning, homes shares are acting strange. I can create new folders, I

Re: [Samba] Weird, sudden 3.4 problem.

2013-04-11 Thread Jeremy Allison
On Thu, Apr 11, 2013 at 12:01:02PM -0700, Don Krause wrote: [homes] admin users = %S Having admins users = %S seems strange. Is this what you want ? admin users (S) This is a list of users who will be granted administrative privileges on the share. This means

Re: [Samba] Weird, sudden 3.4 problem.

2013-04-11 Thread Don Krause
On Apr 11, 2013, at 12:08 PM, Jeremy Allison wrote: On Thu, Apr 11, 2013 at 12:01:02PM -0700, Don Krause wrote: [homes] admin users = %S Having admins users = %S seems strange. Is this what you want ? admin users (S) This is a list of users who will be

Re: [Samba] Weird, sudden 3.4 problem.

2013-04-11 Thread Jeremy Allison
On Thu, Apr 11, 2013 at 12:18:46PM -0700, Don Krause wrote: On Apr 11, 2013, at 12:08 PM, Jeremy Allison wrote: On Thu, Apr 11, 2013 at 12:01:02PM -0700, Don Krause wrote: [homes] admin users = %S Having admins users = %S seems strange. Is this what you want ?

Re: [Samba] Weird, sudden 3.4 problem.

2013-04-11 Thread Don Krause
On Apr 11, 2013, at 12:23 PM, Jeremy Allison wrote: On Thu, Apr 11, 2013 at 12:18:46PM -0700, Don Krause wrote: On Apr 11, 2013, at 12:08 PM, Jeremy Allison wrote: On Thu, Apr 11, 2013 at 12:01:02PM -0700, Don Krause wrote: [homes] admin users = %S Having admins users = %S

Re: [Samba] Samba4 Does cifs need a keytab for the multiuser option?

2013-04-11 Thread steve
On 11/04/13 20:39, Rowland Penny wrote: On 11/04/13 17:27, steve wrote: Hi samba --version Version 4.0.6-GIT-4bebda4 smb.conf: [users] path = /home/users read only = No Working on the DC which is also the fileserver user steve2 can write to his folder at /home/users/steve2 But if we now

Re: [Samba] Internal LDAP explanation

2013-04-11 Thread Marc Muehlfeld
Hello Eric, Am 11.04.2013 19:22, schrieb Eric PEYREMORTE: - Can i connect to the new ldap server from a remote machine ( ldapsearch on port 389 ) ? If no why ? You work with it, as you did with openLDAP (authenticate against, etc.). Have a look here, for some examples:

Re: [Samba] Samba4 Does cifs need a keytab for the multiuser option?

2013-04-11 Thread Rowland Penny
On 11/04/13 20:42, steve wrote: On 11/04/13 20:39, Rowland Penny wrote: On 11/04/13 17:27, steve wrote: Hi samba --version Version 4.0.6-GIT-4bebda4 smb.conf: [users] path = /home/users read only = No Working on the DC which is also the fileserver user steve2 can write to his folder at

Re: [Samba] Samba4 member of an another « Samba4 » domain

2013-04-11 Thread Gémes Géza
2013-04-11 01:14 keltezéssel, François Lafont írta: Le 10/04/2013 06:59, Gémes Géza a écrit : You should check rfc2307 on the samba AD, if your users do not have uidNumber gidNumber attributes they are going to be ignored by the winbind daemon if you specify rfc2307 schema mode on the domain

[Samba] Changing server IP related questions

2013-04-11 Thread Stephanie Sullivan
I have samba4 as a AD DC which I built on a private subnet. I need to move it to the subnet where it will operate at a new IP address. The DC is using the internal DNS. I tried to find a way to dump the zones for the domain so I can see all the records, but samba-tool dns query true zone xfer

Re: [Samba] Samba4 Does cifs need a keytab for the multiuser option?

2013-04-11 Thread steve
On 11/04/13 22:05, Rowland Penny wrote: On 11/04/13 20:42, steve wrote: On 11/04/13 20:39, Rowland Penny wrote: On 11/04/13 17:27, steve wrote: Hi samba --version Version 4.0.6-GIT-4bebda4 smb.conf: [users] path = /home/users read only = No Working on the DC which is also the fileserver

Re: [Samba] Weird, sudden 3.4 problem. [Solved]

2013-04-11 Thread Don Krause
On Apr 11, 2013, at 12:23 PM, Jeremy Allison wrote: On Thu, Apr 11, 2013 at 12:18:46PM -0700, Don Krause wrote: On Apr 11, 2013, at 12:08 PM, Jeremy Allison wrote: On Thu, Apr 11, 2013 at 12:01:02PM -0700, Don Krause wrote: [homes] admin users = %S Having admins users = %S

Re: [Samba] Weird, sudden 3.4 problem. [Solved]

2013-04-11 Thread Jeremy Allison
On Thu, Apr 11, 2013 at 02:11:18PM -0700, Don Krause wrote: Ok, eliminating both Valid users and admin users and adding write list = %S to the [homes] share appears for have solved the issue. Thanks! Great - that makes me feel a lot happier about the safety of your solution :-).

[Samba] Version?

2013-04-11 Thread Bill Wilken
After removing all existing Samba folders, I downloaded,compiled, and provisioned Samba 4.0.5 under Ubuntu 12.04 desktop. But when I check for version (samba ­V or samba ‹version), samba responds with ³Version 4.0.0alpha18² Am I missing something? -- To unsubscribe from this list go to the

Re: [Samba] Weird, sudden 3.4 problem. [Solved]

2013-04-11 Thread Don Krause
On Apr 11, 2013, at 2:12 PM, Jeremy Allison wrote: On Thu, Apr 11, 2013 at 02:11:18PM -0700, Don Krause wrote: Ok, eliminating both Valid users and admin users and adding write list = %S to the [homes] share appears for have solved the issue. Thanks! Great - that makes me feel a

Re: [Samba] Version?

2013-04-11 Thread Marc Muehlfeld
Am 11.04.2013 23:30, schrieb Bill Wilken: After removing all existing Samba folders, I downloaded,compiled, and provisioned Samba 4.0.5 under Ubuntu 12.04 desktop. But when I check for version (samba ­V or samba ‹version), samba responds with ³Version 4.0.0alpha18² Am I missing something? I

Re: [Samba] Dynamic DNS updates not working with BIND DLZ

2013-04-11 Thread Stephen Jones
Hi Thomas, Thanks for the information. I did as you suggested and ran named in debug mode and issued 'ipconfig /registerdns' from the client. The output was similar to your post: failed gss_inquire_cred: GSSAPI error: Major = Unspecified GSS failure. Minor code may provide more information,

Re: [Samba] LDAP (Schemas,Users) to Samba4 migration

2013-04-11 Thread Andrew Bartlett
On Thu, 2013-04-11 at 05:06 -0700, alxgrb wrote: I have changed... alxgrb@ubsrv:~ sudo /usr/local/samba/bin/ldbadd -H /usr/local/samba/private/sam.ldb testuser.ldif [sudo] password for alxgrb: ERR: No such attribute : objectclass_attrs: attribute 'sambaSID' on entry

Re: [Samba] Version?

2013-04-11 Thread Bill Wilken
Thanks for the note. Even though I used apt-get remove to extinguish Ubuntu's distro binary, and even though samba4 didn't show up in its software manager, a check using the synaptic manager showed several pieces and parts of the old binary still hanging around. On 4/11/13 6:14 PM, Marc

Re: [Samba] Samba-tool modify users info?

2013-04-11 Thread Ricky Nance
Mike please don't encourage users to use ldbedit, there is more than a little chance that a lot of damage can be easily done. Other than that, it looks like you can still use `net sam set pwdmustchangenow user yes` Luc. Good luck, Ricky On Thu, Apr 11, 2013 at 10:54 AM, Mike Ray

Re: [Samba] Version?

2013-04-11 Thread Ricky Nance
Bill apt-get purge would be a better option, other than that, make sure that /usr/local/samba/bin and sbin are first in your path and all should be well still... add the following line to /root/.bashrc at the very end: export PATH=/usr/local/samba/sbin:/usr/local/samba/bin:$PATH then as root do

[Samba] Moving a computer from a down domain to a new domain

2013-04-11 Thread Robert Moskowitz
I had been running a samba server, the AMAHI F12 distro, that has samba 3.4.9. It ran well enough, but I was planning on replacing it with ClearOS. Well monday night I lost my server harddrive, so now it is crunch time to update/upgrade. I think I have ClearOS configured properly, it is

Re: [Samba] missing libgnutls.so.26

2013-04-11 Thread Phil Quesinberry
So, I'm getting rather confused again. You keep ripping your system apart, putting it back together again, and still having trouble. Yes... very frustrating. Can we do this exactly one step at a time? Absolutely - I pulled down the latest git from master and did as you said, although 'git am

[Samba] net rpc share allowedusers fails half the time?

2013-04-11 Thread Paul Wise
Hi all, [Please CC me in reply, I'm not subscribed] We have a weird situation on one of our shares, net rpc share allowedusers fails with NT_STATUS_IO_DEVICE_ERROR. Normally the command is run with the password passed on the command-line. If we manually type the password or turn up the debug

[SCM] Samba Shared Repository - branch v3-6-test updated

2013-04-11 Thread Karolin Seeger
The branch, v3-6-test has been updated via 70107fc vfs_fake_perms: Fix bug 9775, segfault for artificial conn_structs from 60a2fb5 Optimization suggested by Volker. Don't do a stat system call on normal read path. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test -

[SCM] Samba Shared Repository - branch v3-6-test updated

2013-04-11 Thread Karolin Seeger
The branch, v3-6-test has been updated via 6848fb1 BUG 9699: Fix adding case sensitive spn. from 70107fc vfs_fake_perms: Fix bug 9775, segfault for artificial conn_structs http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test - Log

[SCM] Samba Shared Repository - branch master updated

2013-04-11 Thread Andrew Bartlett
The branch, master has been updated via f775613 scripting-provision: Do not enforce domain != realm if we are joining an existing domain via 7955bf4 build: Raise minimum python version to 2.5.0 for samba build from afd291b Avoid leaking temp file if an exception is raised

[SCM] Samba Shared Repository - branch v4-0-test updated

2013-04-11 Thread Karolin Seeger
The branch, v4-0-test has been updated via 4bebda4 [PATCH] getpass: Don't fail if stdin is not a tty via 077865d BUG 9699: Fix adding case sensitive spn. via 686104b vfs_fake_perms: Fix bug 9775, segfault for artificial conn_structs via 67214f6 vfs_fake_perms:

autobuild: intermittent test failure detected

2013-04-11 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-04-11-1217/flakey.log The samba3 build logs are available here:

[SCM] Samba Shared Repository - branch master updated

2013-04-11 Thread Jeremy Allison
The branch, master has been updated via 8956c0d Ensure we test the dirsort module in make test. via 3347805 Remove unneeded initializations (we already talloc_zero). via 353718c Remove the use of dirfd inside the vfs_dirsort.c. via 6ae58dd Convert mtime from a

[SCM] Samba Shared Repository - branch master updated

2013-04-11 Thread Jeremy Allison
The branch, master has been updated via 237ec2f libsmbclient: Use async cli_full_connection in python connection setup via cd2cc97 libsmbclient: Make cli_full_connection async via 5daf647 libsmbclient: Make cli_tree_connect async via 6d1dc76 libsmbclient: Make