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

2013-01-03 Thread Juan Asensio Sánchez
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 to make the tests I created a new virtual machine in a separated/isolated network. This is a clean CentOS 6.3 machine, just installed the compile dependencies an

Re: [Samba] Samba 3 master browser on two networks plus WINS

2013-01-03 Thread Pacher Dragos
This seems more a routing issue to me than samba. Packets cannot move between different networks without a route. You need to define a static route between your networks and then it will work. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samb

Re: [Samba] AIX: TypeError: unsupported operand type(s) for +: '_hashlib.HASH' and 'str'

2013-01-03 Thread Benjamin Huntsman
>I think the next step is to change your python install to something as >close to the upstream python as possible. We supply an >'install_with_python.sh' script which installs a (now old) but known >working version, but you should also have reasonable luck with just the >current python 2.7 > >http

Re: [Samba] AIX: TypeError: unsupported operand type(s) for +: '_hashlib.HASH' and 'str'

2013-01-03 Thread Andrew Bartlett
On Fri, 2013-01-04 at 01:04 +, Benjamin Huntsman wrote: > Hi there! >We're trying to compile Samba 4.0.0 on a fresh install of AIX 6.1 > (6100-02-01-0847), with Python RPM's from perzl.org installed into > /opt/freeware. We're also using XLC 12.1. > > Unfortunately, we can't even run ./

Re: [Samba] [PATCH] Re: Changing administrator password after Samba4 classic upgrade

2013-01-03 Thread Andrew Bartlett
On Fri, 2013-01-04 at 14:09 +1300, Mario Codeniera wrote: > Thanks so much Andrew, it is working fine. > > But when I try to reinstall and recompile without removing the 'root' > account from the OpenLDAP and it doesn't have an error (just for > curiosity), and the root account password is also th

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

2013-01-03 Thread Andrew Bartlett
On Thu, 2013-01-03 at 12:52 +0100, Juan Asensio Sánchez wrote: > Hi again > > Well, finally I got it, adding "ldap timeout" to smb.conf. Good. The 'ldap suffix' is used because while we write new groups under 'ldap group suffix' we always search under 'ldap suffix' for all objects. That is, it

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

2013-01-03 Thread Mario Codeniera
Can you connect to your ldap server locally? *internal error: NT_STATUS_BAD_NETWORK_NAME Failed to connect to 'ldap://XXX.XXX.XX' with backend 'ldap': (null) Could not open ldb connection to ldap://XXX.XXX.XX, the erro* If not check the ldap.conf, nslcd.conf and the PAM which is di

[Samba] AIX: TypeError: unsupported operand type(s) for +: '_hashlib.HASH' and 'str'

2013-01-03 Thread Benjamin Huntsman
Hi there! We're trying to compile Samba 4.0.0 on a fresh install of AIX 6.1 (6100-02-01-0847), with Python RPM's from perzl.org installed into /opt/freeware. We're also using XLC 12.1. Unfortunately, we can't even run ./configure, as we're getting errors from the waf system. Here's what we

Re: [Samba] [PATCH] Re: Changing administrator password after Samba4 classic upgrade

2013-01-03 Thread Mario Codeniera
Thanks so much Andrew, it is working fine. But when I try to reinstall and recompile without removing the 'root' account from the OpenLDAP and it doesn't have an error (just for curiosity), and the root account password is also the administrator password after migration. I am on the process of co

Re: [Samba] Samba 3 master browser on two networks plus WINS

2013-01-03 Thread Gaiseric Vandal
WINS is not the issue since you can't connect via IP either. Routing is not the issue since you can connect to other services. Are all clients showing 5.1 or 7.1 as default gw? It could be a firewall configuration issue on your server- although that does not seem likely. Did you have to spe

Re: [Samba] Samba 3 master browser on two networks plus WINS

2013-01-03 Thread Gala Dragos
The samba server also acts as the router. That is correct, a pc on subnet 1 cannot access a pc on subnet 2 through samba, but works fine using other protocols. Both subnet 1 and subnet 2 have pc that run Windows 7 x64, or Windows XP, or Linux (usually Fedora 17). The server itself runs on Arch

Re: [Samba] Samba 3 master browser on two networks plus WINS

2013-01-03 Thread Gaiseric Vandal
Presumably pc on subnet1 does NOT need to access a share from 192.168.7.1 since it can access 192.168.5.1. Presumably pc on subnet2 does NOT need to access a share from 192.168.5.1 since it can access 192.168.7.1. If you have a dual homed server + a router between subnets your routing could g

Re: [Samba] Client access multiple shares with different usernames...

2013-01-03 Thread Wolfgang Ratzka
Am 03.01.2013 21:12, schrieb Modulok: > List, > > I have a FreeBSD box with samba and two shares '\\bsd\foo' and '\\bsd\bar'. > Each require a different password. (Different system user accounts and > different corresponding samba account.) They both work. The problem is that > from Windows 7 and

Re: [Samba] Samba 3 master browser on two networks plus WINS

2013-01-03 Thread Gala Dragos
Anything for samba 3 ? Btw what exactly are the difference between samba 3 and samba 4 ?  I was under the impression that samba 4 only implements the new Homegroup feature that post XP windows has. From: Daniel Müller To: gaiseric.van...@gmail.com Cc: samba@

Re: [Samba] Samba 3 master browser on two networks plus WINS

2013-01-03 Thread Gala Dragos
Subnet 1 :  192.168.5.1/24, wins 192.168.5.1 subnet 2: 192.168.7.1/24, wins 192.168.7.1 all pc are allocated ip's from their respective subnet via dhcp. a pc on subnet 1 cannot access a share from e pc on subnet 2, not even by ip. Same happens from subnet 2 to subnet 1. The firewall is setup

[Samba] Client access multiple shares with different usernames...

2013-01-03 Thread Modulok
List, I have a FreeBSD box with samba and two shares '\\bsd\foo' and '\\bsd\bar'. Each require a different password. (Different system user accounts and different corresponding samba account.) They both work. The problem is that from Windows 7 and windowsXP clients I can connect to '\\bsd\foo', bu

Re: [Samba] Samba 3 master browser on two networks plus WINS

2013-01-03 Thread Daniel Müller
Try this, samba4wins (http://www.enterprisesamba.org/samba4wins/)! A real wins server can interact with microsoft wins server push and pull partner! Let one samba be your pdc the other the bdc point both to the samba4wins host, point all your windows clients to the samba4wins host and you are up an

Re: [Samba] SMB2 CREATE + ACCESS_SYSTEM_SECURITY

2013-01-03 Thread Jeremy Allison
On Mon, Dec 31, 2012 at 04:47:56PM +, Steve Tice wrote: > Jeremy Allison samba.org> writes: > > > > > On Tue, Dec 18, 2012 at 12:24:04PM -0600, Steve Tice wrote: > > > Can anybody provide the expected response to an SMB2 CREATE request that > > > includes ACCESS_SYSTEM_SECURITY in the Desire

Re: [Samba] Samba 3 master browser on two networks plus WINS

2013-01-03 Thread Gaiseric Vandal
Is samba bound to a subnet1 interface only or all interfaces. Can subnet2 clients connect to samba via either IP? Are subnet2 clients supposed to be using samba services via the subnet1 IP or the subnet2 IP on the server?The first would involve going thru the firewall, which seems unne

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

2013-01-03 Thread Juan Asensio Sánchez
Hi again Well, finally I got it, adding "ldap timeout" to smb.conf. Now I am getting another error when running the domain classicupgrade command of samba-tool: ... init_sam_from_ldap: Entry found for user: init_sam_from_ldap: Entry found for user: $ Next rid = 12801001 Failed to

[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

[Samba] Samba 3 master browser on two networks plus WINS

2013-01-03 Thread Gala Dragos
I'm banging my head against the wall here with a problem that I have. I have one Samba 3 server on a linux box with 2 ethernet interfaces, each given a different subnet. The same box does dhcp leases on both networks, with wins option pointing to this server. Firewall was configured to allow th