[Samba] NT_STATUS_INTERNAL_DB_CORRUPTION when creating users from script in Samba4

2013-09-20 Thread Juan Asensio Sánchez
Hi all I am trying to create a script to migrate our current old Samba3 LDAP based domain to a new Samba4 (4.0.9, Sernet compilation) domain. We have 3 servers, all replicating. If I add a user using samba-tool, all wotks fine, but If I try to create a user using a Python script, for example, with

Re: [Samba] Samba 4 RPMs for RHEL 6

2013-09-18 Thread Juan Asensio Sánchez
Hi You have updated precompiled packages from Sernet at http://enterprisesamba.com/ (for Samba 3 and Samba 4, although you have to register to use the Samba 4 repository). I have tried it and they works fine. Regards. 2013/9/19 Malcolm Cowe > My apologies if this is something of a FAQ, but I

[Samba] Group policy management per OU

2013-09-17 Thread Juan Asensio Sánchez
Hi all We are testing to migrate our multiple domain Samba3-LDAP system to Samba4. As Samba 4 doesn't support multiple domains, we will convert every domain into an OU, delegating the administration of each OU to a specific group of users. Our environment has about 38 OUs and thousand of users and

Re: [Samba] Samba4 domain classicupgrade "conversion not supported"

2013-01-12 Thread Juan Asensio Sánchez
Anyone? 2013/1/4 Juan Asensio Sánchez > Hi > > I am running the "samba-tool domain classicupgrade", and after solving > some problems (thread > http://lists.samba.org/archive/samba/2013-January/170777.html), now I am > getting this error: > > # samba-

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

2013-01-09 Thread Juan Asensio Sánchez
ine 1318, in run useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs) File "/usr/local/samba/lib/python2.6/site-packages/samba/upgrade.py", line 790, in upgrade_from_samba3 raise ProvisioningError("Could not open ldb connection to %s, the error message is: %s&qu

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

2013-01-04 Thread Juan Asensio Sánchez
(logger, ldb_object, base_dn, username, "homeDirectory") Regards. 2013/1/4 Andrew Bartlett > On Fri, 2013-01-04 at 10:18 +0100, Juan Asensio Sánchez wrote: > > Hi > > > > > > 2013/1/4 Andrew Bartlett > > On Fri, 2013-01-04 at 08:57 +0

[Samba] Samba4 domain classicupgrade "conversion not supported"

2013-01-04 Thread Juan Asensio Sánchez
Hi I am running the "samba-tool domain classicupgrade", and after solving some problems (thread http://lists.samba.org/archive/samba/2013-January/170777.html), now I am getting this error: # samba-tool domain classicupgrade --dbdir ~/sambav3 --realm XX.YY.TEST --use-xattrs=yes ~/sambav3/s

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

2013-01-04 Thread Juan Asensio Sánchez
Hi 2013/1/4 Andrew Bartlett > On Fri, 2013-01-04 at 08:57 +0100, Juan Asensio Sánchez wrote: > > Hi > > > > > > I forgot to explain my scenario... I have one Samba3 test-production > > with LDAP backend (it's a test server, but used intensively), so

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

2013-01-03 Thread Juan Asensio Sánchez
ur current environment and stablishing trust relationships between the domains. Is this possible? How should I do it? Regards again, and thanks for your help. 2013/1/4 Andrew Bartlett > On Thu, 2013-01-03 at 12:52 +0100, Juan Asensio Sánchez wrote: > > Hi again > > > > Well

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

2013-01-03 Thread Juan Asensio Sánchez
389 to try to avoid the error); indeed, the script has obtained all groups and users previously... Any ideas? 2013/1/3 Juan Asensio Sánchez > Hi > > I am testing the migration from our actual Samba domain, based on Samba > 3.3.8 and LDAP (389DS) to Samba 4. I have followed the S

[Samba] samba-tool domain classicupgrade with LDAP backend

2013-01-03 Thread Juan Asensio Sánchez
Hi I am testing the migration from our actual Samba domain, based on Samba 3.3.8 and LDAP (389DS) to Samba 4. I have followed the Samba4 Howto, and I have successfully compiled it. Now I am running the classicupgrade command, but I am getting some errors. First of them is that the script is ignor

Re: [Samba] Home Directory Issue

2011-06-13 Thread Juan Asensio Sánchez
obey pam restrictions = yes? http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#id2554457 2011/6/13 Jenkins, Mack : > I hope all is well with everyone.  I've got sometime a little strange going > on. > > I'm running RHEL 6 and SMB Version 3.5.6-86.el6.  I am using Samba so that my >

Re: [Samba] Samba File Server as Domain Member of Samba PDC

2011-01-28 Thread Juan Asensio Sánchez
quot;; shouldn't it be "X.Y\Administradores"? Regards. El día 28 de enero de 2011 14:19, TAKAHASHI Motonobu escribió: > 2011/1/28 Juan Asensio Sánchez : >> We have configured 2 PDC Samba (v3.0.33, sambapdc1 and sambapdc2) >> servers using LDAP (389 DS v1.

[Samba] Samba File Server as Domain Member of Samba PDC

2011-01-27 Thread Juan Asensio Sánchez
Hi We have configured 2 PDC Samba (v3.0.33, sambapdc1 and sambapdc2) servers using LDAP (389 DS v1.2.5) as its database backend. If I run "net rpc user -U" from theses servers I get all groups in LDAP. These servers are working fine for a long time. Now I have configured a file server (not lo

Re: [Samba] Samba printer management commands

2010-12-16 Thread Juan Asensio Sánchez
= Impresoras path = /var/spool/samba printing = cups printable = yes [print$] comment = Controladores de impresión path = /var/lib/samba/printing read only = no Regards and thanks in advance. El día 16 de diciembre de 2010 10:15, Juan Asensio Sánchez escribió: > Hi > > I am trying to set

[Samba] Samba printer management commands

2010-12-16 Thread Juan Asensio Sánchez
Hi I am trying to setup remote printer management commands, so the users could add and delete printers from "Printers" share of Samba in Windows. I have this script, that is launched using an administrator account, when I add a printer from there, using a new TCP/IP port:

Re: [Samba] using include directives for shares?

2010-09-28 Thread Juan Asensio Sánchez
include = /path/to/file (note "=") 2010/9/28 Roel van Meer > scott_st...@trendmicro.com writes: > > From the smb.conf manpage, it says that an 'include ' will include >> that file into smb.conf as if it were typed in place. >> > > Yes, that should work. > > Some things you want to look at: > -

Re: [Samba] Implementing Samba4

2010-09-01 Thread Juan Asensio Sánchez
El 1 de septiembre de 2010 09:54, Daniel Müller escribió: > On Wed, 1 Sep 2010 09:42:45 +0200, Juan Asensio Sánchez > wrote: > > Hi > > > > I am trying to install Samba 4 on a Ubuntu 10.04 Server machine. I have > > downloaded the sources, compiled it and i

[Samba] Implementing Samba4

2010-09-01 Thread Juan Asensio Sánchez
Hi I am trying to install Samba 4 on a Ubuntu 10.04 Server machine. I have downloaded the sources, compiled it and installed. Now I have to do the provision step. I want to use an existing LDAP server (389 Directory Server) installed in other machine (well, really a lot of machines, yet configured

Re: [Samba] Password policies in the LDAP server

2010-07-01 Thread Juan Asensio Sánchez
Hi We are using 389 Directory Server (formerly Fedora Directory Server). http://directory.fedoraproject.org/ There, regarding to password policies, you can specifiy minimum password length, minimum digits, minimum letters, minimum uppercase, minimum lowercase, minimum simbols, minimum ascii char

Re: [Samba] Password policies in the LDAP server

2010-06-30 Thread Juan Asensio Sánchez
Well, if this can help anybody, i found a workaround that is not perfect, but works fine. http://lists.fedoraproject.org/pipermail/389-users/2010-June/011685.html Regards. El 28 de junio de 2010 12:40, Juan Asensio Sánchez escribió: > Hi > > We have some Samba servers using LDAP (3

Re: [Samba] Samba 3.3 ldap tools

2010-06-29 Thread Juan Asensio Sánchez
These connections that give error are stablished with the ldap system libs, not with smbldap-tools (that use perl), so you have to configure your system to use your certificates (etc/{ldap,openldap}/ldap.conf). regards. 2010/6/30 Indexer > I am currently trying to setup my Samba server to act a

[Samba] Password policies in the LDAP server

2010-06-28 Thread Juan Asensio Sánchez
Hi We have some Samba servers using LDAP (389 DS) as backend. In the LDAP server, we have defined some policies to make the passwords stronger. When a user tries to change his password (Control-Alt-Del), this message appears in the LOGs: ==> /var/log/samba/xptest <== [2010/06/28 12:26:26, 2] auth

Re: [Samba] Interdomain trust with different WINS servers

2010-06-14 Thread Juan Asensio Sánchez
kup, but i think its behavior is like "nmblooup -U" (it does not use directly hosts, as nmblookup dos not use directly lmhosts, or am I wrong?) Regards. 2010/6/14 Tom Reijnders > Ehmm, isn't nmblookup ignoring the lmhosts file, like nslookup ignores the > hosts file? > >

Re: [Samba] Interdomain trust with different WINS servers

2010-06-14 Thread Juan Asensio Sánchez
help how to configure this? Regards. 2010/5/27 Gaiseric Vandal > I think the syntax may be the same as for Microsoft lmhosts > > http://support.microsoft.com/kb/314108 > > > > > > On 05/26/2010 05:35 AM, Juan Asensio Sánchez wrote: > >> Hi >> &g

[Samba] Interdomain trust with different WINS servers

2010-05-26 Thread Juan Asensio Sánchez
Hi I am trying to stablish a relation between two different Samba domains. Each domain has two PDCs, all they are WINS servers, and the two domains are in different subnets. They are configured to use LDAP as the user/group/machine database. First, I will create the relation, being DOM1.CORP the t

[Samba] Strange LDAP query

2009-10-13 Thread Juan Asensio Sánchez
Hi We have a large installation consisting of many Citrix servers using 2 Samba servers as domain controllers, using 2 LDAP 389 Directory Servers as user database. Also, there are workstations using the Samba servers. These LDAP servers have around 3 user accounts, and we have detected that Sa

Fwd: [Samba] Transferring Local User Profiles When Joining Domain

2008-05-27 Thread Juan Asensio Sánchez
-- Forwarded message -- From: Juan Asensio Sánchez <[EMAIL PROTECTED]> Date: 2008/5/28 Subject: Re: [Samba] Transferring Local User Profiles When Joining Domain To: [EMAIL PROTECTED] See last quention on http://mds.mandriva.org/wiki/MdsFaq Regards. 2008/5/27 John H Te

[Samba] LDAP Samba Schema

2008-05-19 Thread Juan Asensio Sánchez
Hi I am trying to use Postfix to expand the members of the LDAP Samba groups. Because of the Samba groups have only the uid of the member (memberUid), not the full dn (memberdn or uniquemember), the expansion for use in Postfix cannot be done. Mi question is if Samba (with smbldap-tools) is able t