Re: [Samba] Cross-subnet browsing with LMBs + remote browse sync + samba4WINS

2013-02-24 Thread Daniel Müller
NO, you do not need remote browse sync if you have samba4wins working.
And you need only following to make it work in your LMB smb.conf
wins server = your.samba4wins.host
If your smaba4wins is on the same host as your LMB, put this is your
samba4wins
Samba4wins.conf:
bind interfaces only=yes
interfaces=your.samba4wins.ip (suggestion use a virt ip not used by samba)
ntpd:disable_broadcast=yes
wins server=your.samba4wins.ip

In your windows clients network configuration  set wins1 your first
samba4wins and wins2 the second samba4wins.


---
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---
-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von TAKAHASHI Motonobu
Gesendet: Sonntag, 24. Februar 2013 16:37
An: v...@freemail.gr
Cc: samba@lists.samba.org
Betreff: Re: [Samba] Cross-subnet browsing with LMBs + remote browse sync +
samba4WINS

From: vagy 
Date: Sun, 24 Feb 2013 13:34:37 +0200

> i am about to implement cross subnet browsing/sharing and I was 
> wondering if the following configuration would do it, so i would like 
> your opinion:
> 
> 1. There are two subnets separated by a simple router (no firewalls)
> 
> 2. Each subnet will have a mixture of Win7/WinXP and Linux hosts.
> 
> 3. Each subnet will have its own Samba3 LMB (but not DMB) and its own 
> samba4WINS server. Each client host in each subnet will be DHCP 
> configured with their respective WINS server.
> The LMB will also be configured to use the samba4WINS server.
> 
> 4. The two samba3 LMB servers will "remote browse sync" with each other.
> Thats how the browse lists will be exchanged.
> 
> 5. The two samba4WINS servers will replicate with each other.
> Thats how the host names will be exchanged.
> 
> Do you think that will turn out to be a working configuration?

As far as I examined, "remote browse sync" did not work as I expected.
Sample smb.conf that I examined the behavior is:

-
[global]
  workgroup = SAMBAxx
  domain master = yes
  wins support = yes
  remote browse sync = x.x.x.x
-

Samba has to be WINS server and DMB.

---
TAKAHASHI Motonobu  / @damemonyo 
   facebook.com/takahashi.motonobu

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] any available asynchronous dce rpc library?

2013-02-24 Thread ????????
Hi 


Thanks in advanced.


I'm writing a proxy server doing NTLMv2 authentication.
I think I need a NetLogon client service .
Is there any available library providing netlogon function?
or at least an dce rpc library?


an asynchronous  library is the best. :)




Thanks again.


Derek.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba4 as a classic DC

2013-02-24 Thread Mario Codeniera
Hi,

I just curious if it is possible to make Samba4 as a classic domain
controller behaving as a Samba3 DC? I successfully migrated all the data
from Samba3, but because trust relationship is not yet supported I want to
retain as DC hoping it is still supported, isn't it?

Another query is it possible to link the internal LDAP of Samba4 to the
nscd? as a replacement to OpenLDAP for example.

Thanks and regards,
Mario
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] any available asynchronous dce rpc library?

2013-02-24 Thread ????????
Hi 


Thanks in advanced.


I'm writing a proxy server doing NTLMv2 authentication.
I think I need a NetLogon client service .
Is there any available library providing netlogon function?
or at least an dce rpc library?


an asynchronous  library is the best. :)




Thanks again.


Derek.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] any available asynchronous dce rpc library?

2013-02-24 Thread ????????
Hi 


Thanks in advanced.


I'm writing a proxy server doing NTLMv2 authentication.
I think I need a NetLogon client service .
Is there any available library providing netlogon function?
or at least an dce rpc library?


an asynchronous  library is the best. :)




Thanks again.


Derek.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] any available asynchronous dce rpc library?

2013-02-24 Thread ????????
Hi 


Thanks in advanced.


I'm writing a proxy server doing NTLMv2 authentication.
I think I need a NetLogon client service .
Is there any available library providing netlogon function?
or at least an dce rpc library?


an asynchronous  library is the best. :)




Thanks again.


Derek.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] any available asynchronous dce rpc library?

2013-02-24 Thread ????????
Hi 


Thanks in advanced.


I'm writing a proxy server doing NTLMv2 authentication.
I think I need a NetLogon client service .
Is there any available library providing netlogon function?
or at least an dce rpc library?


an asynchronous  library is the best. :)




Thanks again.


Derek.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] any available asynchronous dce rpc library?

2013-02-24 Thread ????????
Hi 


Thanks in advanced.


I'm writing a proxy server doing NTLMv2 authentication.
I think I need a NetLogon client service .
Is there any available library providing netlogon function?
or at least an dce rpc library?


an asynchronous  library is the best. :)




Thanks again.


Derek.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba wiki

2013-02-24 Thread Andreas Gaiser/L
I think there is a bug in the MediaWki installtion with Pages containing
a "&" in the title.

Example: https://wiki.samba.org/index.php/Samba_%26_Active_Directory

This link doesn't work despite appearing on many pages, like
https://wiki.samba.org/index.php/Category:Category_Integration

Where ever it is linked, it looks like an existing page (blue link).
Even when searching for the Page title, I get an excerpt and the link.


Regards,

Andreas
-- 
Andreas Gaiser, Berlin, Germany
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Cross-subnet browsing with LMBs + remote browse sync + samba4WINS

2013-02-24 Thread vagy
On Sun, 24 Feb 2013 17:36:56 +0200, TAKAHASHI Motonobu   
wrote:



From: vagy 
Date: Sun, 24 Feb 2013 13:34:37 +0200


i am about to implement cross subnet browsing/sharing
and I was wondering if the following configuration
would do it, so i would like your opinion:

1. There are two subnets separated by a simple router (no firewalls)

2. Each subnet will have a mixture of Win7/WinXP and Linux hosts.

3. Each subnet will have its own Samba3 LMB (but not DMB)
and its own samba4WINS server. Each client host in each subnet
will be DHCP configured with their respective WINS server.
The LMB will also be configured to use the samba4WINS server.

4. The two samba3 LMB servers will "remote browse sync" with each other.
Thats how the browse lists will be exchanged.

5. The two samba4WINS servers will replicate with each other.
Thats how the host names will be exchanged.

Do you think that will turn out to be a working configuration?


As far as I examined, "remote browse sync" did not work as I expected.
Sample smb.conf that I examined the behavior is:

-
[global]
  workgroup = SAMBAxx
  domain master = yes
  wins support = yes
  remote browse sync = x.x.x.x
-

Samba has to be WINS server and DMB.

---
TAKAHASHI Motonobu  / @damemonyo
   facebook.com/takahashi.motonobu


I don't have much experience with these settings myself.
Nevertheless, i think "domain master = yes" and "remote browse sync"
shouldn't be used together. If you use a DMB and WINS thats all
that is needed because LMB(s) will find out the one and only
DMB through WINS, they will exchange lists with it and they
will serve this "full list" to interested clients, which themselves
will resolve (find the IP) the actual share machines through WINS
(if i am wrong in this thinking please someone correct me).

The setup i am wondering about has more to do with isolating
the two subnets and making them more autonomous, so that clients
from one subnet don't rely on servers from a remote subnet.
Instead the information exchange happens only via the explicitly  
designated,

key-participant machines (LMBs and samba4WINSs).
Thanx for the info anyways :)

Cheers,
- vagy
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] access based shared enum = yes

2013-02-24 Thread TAKAHASHI Motonobu
From: Fabian von Romberg 
Date: Sat, 16 Feb 2013 17:32:43 -0500

> Actually I tried that under the share definition.  Please see my smb.conf:

Hmmm, as far as I examined, "access based share enum" does not work against
"samba" binary...

> [global]
>   workgroup = MYDOMAIN
>   realm = MYDOMAIN.COM
>   netbios name = PDC
>   server role = active directory domain controller
>   server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, 
> winbind, ntp_signd, kcc, dnsupdate
> 
>   log level = 2
>   max log size = 0
> 
> [netlogon]
>   path = /usr/local/samba/var/locks/sysvol/expomediosgye.com/scripts
>   read only = No
> 
> [sysvol]
>   path = /usr/local/samba/var/locks/sysvol
>   read only = No
> 
> [shared2]
>   path = /shared/share2
>   read only = No
>   access based share enum = yes
>   hide unreadable = yes
> 
> With the administrator account I have set privileges to the user 
> Administrator only.  When I login with another user Im still able to see the 
> share, however when I want to open it I get an access denied error which is 
> correct, the thing is that I want to hide the share when the user has no 
> access to it.
> 
> Thanks and regards,
> Fabian
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Cross-subnet browsing with LMBs + remote browse sync + samba4WINS

2013-02-24 Thread TAKAHASHI Motonobu
From: vagy 
Date: Sun, 24 Feb 2013 13:34:37 +0200

> i am about to implement cross subnet browsing/sharing
> and I was wondering if the following configuration
> would do it, so i would like your opinion:
> 
> 1. There are two subnets separated by a simple router (no firewalls)
> 
> 2. Each subnet will have a mixture of Win7/WinXP and Linux hosts.
> 
> 3. Each subnet will have its own Samba3 LMB (but not DMB)
> and its own samba4WINS server. Each client host in each subnet
> will be DHCP configured with their respective WINS server.
> The LMB will also be configured to use the samba4WINS server.
> 
> 4. The two samba3 LMB servers will "remote browse sync" with each other.
> Thats how the browse lists will be exchanged.
> 
> 5. The two samba4WINS servers will replicate with each other.
> Thats how the host names will be exchanged.
> 
> Do you think that will turn out to be a working configuration?

As far as I examined, "remote browse sync" did not work as I expected.
Sample smb.conf that I examined the behavior is:

-
[global]
  workgroup = SAMBAxx
  domain master = yes
  wins support = yes
  remote browse sync = x.x.x.x
-

Samba has to be WINS server and DMB.

---
TAKAHASHI Motonobu  / @damemonyo 
   facebook.com/takahashi.motonobu

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Cross-subnet browsing with LMBs + remote browse sync + samba4WINS

2013-02-24 Thread vagy

Hi,

i am about to implement cross subnet browsing/sharing
and I was wondering if the following configuration
would do it, so i would like your opinion:

1. There are two subnets separated by a simple router (no firewalls)

2. Each subnet will have a mixture of Win7/WinXP and Linux hosts.

3. Each subnet will have its own Samba3 LMB (but not DMB)
and its own samba4WINS server. Each client host in each subnet
will be DHCP configured with their respective WINS server.
The LMB will also be configured to use the samba4WINS server.

4. The two samba3 LMB servers will "remote browse sync" with each other.
Thats how the browse lists will be exchanged.

5. The two samba4WINS servers will replicate with each other.
Thats how the host names will be exchanged.

Do you think that will turn out to be a working configuration?

Cheers,
- vagy
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Upgrade from 4.0.0 to 4.0.3 creates unfixable errors with dbcheck

2013-02-24 Thread Chris Lewis
Hi Nico

Tried with make clean and with a fresh build from the 4.0.3 source. Yielded 
same issue.

Regards

Chris


Nico Kadel-Garcia  wrote:


On Thu, Feb 21, 2013 at 8:11 AM, Chris Lewis  wrote:
> Hello,
>
> Today I tried to upgrade from samba 4.0.0 to 4.0.3 on my test environment.
>
> I patched the source with the diffs patch-4.0.0-4.0.1.diffs,
> patch-4.0.1-4.0.2.diffs, patch-4.0.2-4.0.3.diffs , then make, make install.

I don't see a "make clean" in there, and it doesn't seem to be
available anymore with the new Python based build system.

Rather than compiling on top of your old code, which may not
completely detect dependencies on altered include files and force
rebuilding of new binaries, why don't you work from a fresh source
tree and build from scratch? This is especially important when the
build components themselves, such as that Python "waf" build tools,
may be modified by the udpates.


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba