Re: [Samba] Weird problems with OpenOffice

2008-06-30 Thread Sistemas
El Domingo 29 Junio 2008, escribió:
 is XP disconnecting idle network drives?
I've two network drives and all of them are browseable. They are not 
persistent and they are created every time the user logs on the Samba server.

Greets.
Rafael J. Alcántara Pérez.
-- 
+--
| Departamento de Sistemas [EMAIL PROTECTED]
| Teléfono fijo: 952 602 959
| Fax: 952 602 959
| Dirección: C/ Afligidos 2, 3º Derecha, 29015 Málaga
| Dédalo Ingenieros, S.L.: http://www.dedaloingenieros.com/
| PGP: http://pgp.rediris.es:11371/pks/lookup?op=indexsearch=0x1899F325
+-


signature.asc
Description: This is a digitally signed message part.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] File Change notification in Samba

2008-06-30 Thread Prateek . Mathur
Hi,
I wanted to know is Samba able to notify any changes made to the 
shared directory or files to the clients instantly or not?
If I change/edit the file in a shared path and some clients are viewing 
that file will the changes get reflected to them instantly without doing a 
to refresh by the clients. 
I came across sumthing called  CHANGE NOTIFY in samba configuration 
parameters but i m not sure how to make use of it as it is set to YES by 
default.

Any help in this area as to how we can enable change notification in SAMBA 
will be extremely useful.


Regards,
Prateek Mathur
Software Engineer


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


Re: [Samba] File Change notification in Samba

2008-06-30 Thread Volker Lendecke
On Mon, Jun 30, 2008 at 12:06:02PM +0530, [EMAIL PROTECTED] wrote:
 I wanted to know is Samba able to notify any changes made to the 
 shared directory or files to the clients instantly or not?
 If I change/edit the file in a shared path and some clients are viewing 
 that file will the changes get reflected to them instantly without doing a 
 to refresh by the clients. 
 I came across sumthing called  CHANGE NOTIFY in samba configuration 
 parameters but i m not sure how to make use of it as it is set to YES by 
 default.
 
 Any help in this area as to how we can enable change notification in SAMBA 
 will be extremely useful.

In recent Samba versions it should work fine. If it does not
work with 3.0.28a or later, please tell us.

But please be aware that recent Windows client seem to have
a caching policy that goes beyond notify, so that although
Samba sends notifications Windows would not update the
explorer Window. Someone on this list could reproduce it
against a Windows server as well.

Volker


pgpAVP88pjUBJ.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] File Change notification in Samba

2008-06-30 Thread Prateek . Mathur
Hi,
How can i see this working. I tried sharing a text file in 
samba..Opened it from windows machine and then changed it on my samba 
linux machine..i was not able to se any change refleted to my opened txt 
file window.. If i close it , refresh and then open i can c the changes.
let me know how can i make it work? 
Thanks for your response.

Regards,
Prateek Mathur
Software Engineer
Product Engg. Services (PES) Group,
 



Volker Lendecke [EMAIL PROTECTED] 
06/30/2008 01:02 PM
Please respond to
[EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc
samba@lists.samba.org
Subject
Re: [Samba] File Change notification in Samba






On Mon, Jun 30, 2008 at 12:06:02PM +0530, [EMAIL PROTECTED] 
wrote:
 I wanted to know is Samba able to notify any changes made to the 

 shared directory or files to the clients instantly or not?
 If I change/edit the file in a shared path and some clients are viewing 
 that file will the changes get reflected to them instantly without doing 
a 
 to refresh by the clients. 
 I came across sumthing called  CHANGE NOTIFY in samba configuration 
 parameters but i m not sure how to make use of it as it is set to YES by 

 default.
 
 Any help in this area as to how we can enable change notification in 
SAMBA 
 will be extremely useful.

In recent Samba versions it should work fine. If it does not
work with 3.0.28a or later, please tell us.

But please be aware that recent Windows client seem to have
a caching policy that goes beyond notify, so that although
Samba sends notifications Windows would not update the
explorer Window. Someone on this list could reproduce it
against a Windows server as well.

Volker
[attachment attft63p.dat deleted by Prateek Mathur/LNTINFOTECH] 


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


Re: [Samba] File Change notification in Samba

2008-06-30 Thread Matthew Macdonald-Wallace
On Mon, 30 Jun 2008 14:02:03 +0530
[EMAIL PROTECTED] wrote:

 How can i see this working. I tried sharing a text file in 
 samba..Opened it from windows machine and then changed it on my samba 
 linux machine..i was not able to se any change refleted to my opened
 txt file window.. If i close it , refresh and then open i can c the
 changes. let me know how can i make it work? 
 Thanks for your response.

Hi,

As far as I'm aware, this won't work in windows either, nor will it
work using Linux files between linux systems [0].

Am I correct in thinking that you want to have a single file updated
in real-time from a number of locations?

M.

[0] unless you've got a really clever bit of software that
automatically reloads the file every time a change is detected!
-- 
Matthew Macdonald-Wallace
[EMAIL PROTECTED]
http://www.truthisfreedom.org.uk
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File Change notification in Samba

2008-06-30 Thread Volker Lendecke
On Mon, Jun 30, 2008 at 02:02:03PM +0530, [EMAIL PROTECTED] wrote:
 How can i see this working. I tried sharing a text file in 
 samba..Opened it from windows machine and then changed it on my samba 
 linux machine..i was not able to se any change refleted to my opened txt 
 file window.. If i close it , refresh and then open i can c the changes.
 let me know how can i make it work? 
 Thanks for your response.

Oh, that will not work. The change notify stuff I talked
about only works for directories, not for file contents. For
file content's it is a matter of the applications
themselves, but I'm not aware of a mechanism that would
allow this to work cross-platform.

Volker


pgpiUKT7Fa7Tz.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] Solaris blastwave.org Version 3.0.23b doesn't read new information from /etc/passwd and /etc/group

2008-06-30 Thread Bob

Hi,

How would I make samba re-read group and user information? Is there a .tdb file 
that needs to be deleted?

I have recently added more supplementary groups for a user in /etc/group, but 
the information isn't coming through in the logs, all I get is this:

[2008/06/27 07:51:24, 5] auth/auth_util.c:(474)
UNIX token of user 11001
Primary group is 11000 and contains 0 supplementary groups

There should definitely be more than 0 supplementary groups.

e.g.

# grep 11001 /etc/passwd
bob:x:11001:11000::/home/bob:/bin/bash

# grep bob /etc/group
everyone_otl::11000:bob
operators_otl::11002:bob
svneditors_otl::11003:bob

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


Re: [Samba] File Change notification in Samba

2008-06-30 Thread Prateek . Mathur
Hi,
I was not able to see any directory changes also without 
refreshing it.
I tried adding files and renaming the existing one but was not able to see 
the changes on the windows explorer.
We need to set sumthing in the samba.conf for this to happen?

Regards,
Prateek Mathur
Software Engineer




Volker Lendecke [EMAIL PROTECTED] 
06/30/2008 02:35 PM
Please respond to
[EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc
samba@lists.samba.org
Subject
Re: [Samba] File Change notification in Samba






On Mon, Jun 30, 2008 at 02:02:03PM +0530, [EMAIL PROTECTED] 
wrote:
 How can i see this working. I tried sharing a text file in 
 samba..Opened it from windows machine and then changed it on my samba 
 linux machine..i was not able to se any change refleted to my opened txt 

 file window.. If i close it , refresh and then open i can c the changes.
 let me know how can i make it work? 
 Thanks for your response.

Oh, that will not work. The change notify stuff I talked
about only works for directories, not for file contents. For
file content's it is a matter of the applications
themselves, but I'm not aware of a mechanism that would
allow this to work cross-platform.

Volker
[attachment attdgf13.dat deleted by Prateek Mathur/LNTINFOTECH] 


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


[Samba] Simple linux samba server setup for authenticating users on MacOSX LDAP

2008-06-30 Thread Tristan DEFERT
Hi list,

is it possible to simply authenticate users against a LDAP MacOSX
server.

The samba service runs on a Linux server
The LDAP service runs on MacOSX server

I want the samba users to be authenticated through samba-ldap, MacOSX
hosts the LDAP server.

I don't want the Linux Samba server to add/modify any group/account on
LDAP. I don't want the Samba server to be primary controler, and don't
want any logons / machines login, just simple authentication of samba
users to a share.

Is it simple and possible?

Thanks a lot

Tristan

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


[Samba] Solaris blastwave.org Version 3.0.23b doesn't read new information from /etc/passwd and /etc/group

2008-06-30 Thread Bob

Hi,

How would I make samba re-read group and user information? Is there a .tdb file 
that needs to be deleted?

I have recently added more supplementary groups for a user in /etc/group, but 
the information isn't coming through in the logs, all I get is this:

[2008/06/27 07:51:24, 5] auth/auth_util.c:(474)
UNIX token of user 11001
Primary group is 11000 and contains 0 supplementary groups

There should definitely be more than 0 supplementary groups.

e.g.

# grep 11001 /etc/passwd
bob:x:11001:11000::/home/bob:/bin/bash

# grep bob /etc/group
everyone_otl::11000:bob
operators_otl::11002:bob
svneditors_otl::11003:bob

Cheers 
--

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


Fw: [Samba] File Change notification in Samba

2008-06-30 Thread Prateek . Mathur
Samba version i m using is 3.0.30 over Red hat linux 9


Regards,
Prateek Mathur




Volker Lendecke [EMAIL PROTECTED] 
06/30/2008 03:26 PM
Please respond to
[EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc
samba@lists.samba.org
Subject
Re: [Samba] File Change notification in Samba






On Mon, Jun 30, 2008 at 02:54:32PM +0530, [EMAIL PROTECTED] 
wrote:
 I was not able to see any directory changes also without 
 refreshing it.
 I tried adding files and renaming the existing one but was not able to 
see 
 the changes on the windows explorer.
 We need to set sumthing in the samba.conf for this to happen?

What Samba version are you using? What Unix?

Volker
[attachment att6c5nn.dat deleted by Prateek Mathur/LNTINFOTECH] 


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


[Samba] Failed to join domain: failed to set machine spn: Operations error Win 2k8 samba 3.2.0rc2

2008-06-30 Thread Girts Ozolins
Hello,

I'm trying to join Samba 3.2.0rc2 with Windows 2008 domain.

Net ads join returns:
Failed to join domain: failed to set machine spn: Operations error

Tried to use ktpass and keytab, but it also failed. Tried googling failed to 
set machine spn, but got no results.

What else could I try ?

Some more debug info:

-d 10 output (replaced domain and domain sid):

[2008/06/30 13:38:10, 10] libsmb/smb_signing.c:get_sequence_for_reply(80)
  get_sequence_for_reply: found seq = 41 mid = 23
[2008/06/30 13:38:10, 10] libsmb/smb_signing.c:simple_packet_signature(270)
  simple_packet_signature: sequence number 41
[2008/06/30 13:38:10, 10] 
libsmb/smb_signing.c:client_check_incoming_message(419)
  client_check_incoming_message: seq 41: got good SMB signature of
[2008/06/30 13:38:10, 10] lib/util.c:dump_data(2179)
  [000] AE ED 75 69 D2 DB B3 41   ..ui...A
[2008/06/30 13:38:10,  1] libnet/libnet_join.c:libnet_Join(1752)
  libnet_Join:
  libnet_JoinCtx: struct libnet_JoinCtx
  out: struct libnet_JoinCtx
  account_name : NULL
  netbios_domain_name  : 'Domain'
  dns_domain_name  : 'Domain.local'
  dn   : NULL
  domain_sid   : *
  domain_sid   : S-1-5-21-2501499472
  modified_config  : 0x00 (0)
  error_string : 'failed to set machine spn: Operations 
error'
  domain_is_ad : 0x01 (1)
  result   : WERR_GENERAL_FAILURE
Failed to join domain: failed to set machine spn: Operations error
[2008/06/30 13:38:10,  2] utils/net.c:main(1172)
  return code = -1


smb.conf:
[global]

dos charset = CP1257
unix charset = UTF-8
display charset = UTF-8
netbios name = LSFFILE1
server string = Storage
socket options = TCP_NODELAY SO_RCVBUF=262144 SO_SNDBUF=262144
use mmap = yes
use sendfile = yes
os level = 1
wins server =

workgroup = DOMAIN
security = ADS
auth methods = guest sam winbind:ntdomain
realm = DOMAIN.LOCAL
password server = SERVER.DOMAIN.LOCAL
logon path =
logon home =
lm announce = False
local master = No
domain master = False
idmap uid = 1-11000
idmap gid = 1-11000
template shell = /bin/bash
template homedir = /home
winbind separator = +
winbind use default domain = yes
passdb backend = tdbsam:/etc/samba/smbpasswd.tdb
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*
unix password sync = yes
guest account = nobody
null passwords = yes
guest only = no
password level = 14
map to guest = Bad User

krb5.conf
[libdefaults]
default_realm = DOMAIN.LOCAL
dns_lookup_realm = false
dns_lookup_kdc = false
ticket_lifetime = 24h
forwardable = yes

[realms]
DOMAIN.LOCAL={
kdc=SERVER.DOMAIN.LOCAL
}

Thank you!

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


Re: Fw: [Samba] File Change notification in Samba

2008-06-30 Thread Volker Lendecke
On Mon, Jun 30, 2008 at 04:10:07PM +0530, [EMAIL PROTECTED] wrote:
 Samba version i m using is 3.0.30 over Red hat linux 9

Wow, RH9 is ancient history, this definitely has no inotify.

If you created the file in unix, there's no way in that
Linux version this can be transferred to user space with
3.0.30. If you created the file with another windows client,
it should work.

If that is the case, please file a bug at
https://bugzilla.samba.org and upload your smb.conf and a
debug level 10 log of both smbds, the one that created the
file, and the one that should see the notify.

Volker


pgpyw4iXjxdRs.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] [3.0.28] SUNWsmba{u,r,c} AD keytab not being written.

2008-06-30 Thread Bob

Hi,

I have a standard Solaris 10 x86 8/05 full install, with all the latest 
recommended patches applied. It has a few extra blastwave.org packages, but 
nothing I'd expect to interfere with Samba at all.

I can issue a 'net ads join -Udomain admin' to join my domain. This seems to 
work fine and issues no warning messages.

Unlike every other Samba install (since about 3.0.25 or so) it does not create 
a keytab file like I'd expect.

I don't know whether it's trying to be clever and write its own keytab like it 
does with krb5.conf, but a 'truss net ads join' seems to suggest it's trying to 
do things to /etc/krb5/krb5.keytab but just can't.

Something to speak to Sun about?

Cheers



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


Re: [Samba] Winbind 3.2.0rc2 Coredump [was: Re: Help needed. Samba 3.2.0rc2 - IDMAP - Windows 2008 Server - ADS Integration - Winbind]

2008-06-30 Thread Scott Lovenberg

Samba-Liste wrote:

Hi Scott,

thanks for the reply.

On Sat, 2008-06-28 at 05:39 -0400, Scott Lovenberg wrote:
  
Samba-Liste wrote: 


Hi,
  


[...]

  
  
  

Have you tried using the 'nss_ldap' with the entry 'ldap' in your
nsswitch.conf?  I found that to be the best way to interface the LDAP 
backend in my case.  I tried the pam route, but since Slackware does 



that's how we do it right now as we have a Samba-LDAP-PDC. But didn't
get it working against my new Windows 2008 ADS server. Can you provide
sample configurations for nss_ldap to connect to an ADS server?

thank you and best regards

   Daniel

  

Sorry for the delay, I think I jumbled my email boxes :)

This is off the top of my head (as my official Samba book is at home and 
I'm at work), but, all you should need is the nss_ldap module and the 
following lines in your /etc/nsswitch.conf:

[...]
passwd   files ldap winbind compat
shadow   files ldap winbind compat
group  files ldap winbind compat
[...]


This should enable getent passwd.  IIRC, there are no dependencies for 
nss_ldap, it just needs to be compiled.  At least on Slackware, as 
always, check with your upstream provider before compiling your own.

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


[Samba] Did Microsoft release any useful information . . . ?

2008-06-30 Thread Markus Bajones

Hello,

I just read on an austrian news site ( http://futurezone.orf.at/hardcore/stories/289596/ 
 ) that Microsoft released documentation of some of their protocols.

On the site there are 4 links to Microsoft:

http://www.microsoft.com/presspass/press/2008/jun08/06-30InteropUpdatePR.mspx?rss_fdn=Press%20Releases
http://msdn.microsoft.com/en-us/library/cc216514.aspx
http://www.microsoft.com/about/legal/intellectualproperty/protocols/default.mspx
http://www.microsoft.com/interop/

Now my question is:

Is there any useful information for open source developers, especially  
samba devs, in some of this docs??
Especially in the smb and smb2 docs found here http://msdn.microsoft.com/en-us/library/cc246231.aspx 
 and

here http://msdn.microsoft.com/en-us/library/cc246482.aspx.


Hopefully it is useful on some way.

Greetings from Vienna, Austria.
Markus




Markus Bajones
[EMAIL PROTECTED]
Studienvertretung Elektrotechnik
and der TU Wien

Fachschaft Elektrotechnik
Gusshausstraße 27-29
1040 Wien
www.fet.at
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] FreeBSD, Samba 3.0.28a joined to AD domain but prompts for login

2008-06-30 Thread Mike Galvez
Hi,

I am trying to connect a FreeBSD server running 7.0 Release and Samba 3.0.28a 
to a
Windows 2003 AD Domain Controller. Has anyone had success with this combo? I 
have joined
the domain and I can enumerate users, groups, etc.. 

humpty# getent passwd|wc -l
 105
humpty# wbinfo -u|wc -l
 165
humpty# wbinfo -g|wc -l
  59

humpty# wbinfo -t
checking the trust secret via RPC calls succeeded

humpty# getent group|wc -l
  84

humpty# net ads info
LDAP server: 128.143.xx.xxx
LDAP server name: pdc.mydomain.virginia.edu
Realm: MYDOMAIN.VIRGINIA.EDU
Bind Path: dc=MYDOMAIN,dc=VIRGINIA,dc=EDU
LDAP port: 389
Server time: Mon, 30 Jun 2008 11:29:56 EDT
KDC server: 128.143.xx.xxx
Server time offset: 1



When I try to access my home folder on the Samba server I'm prompted for a user
name and password. Even after credentials are supplied the login box reappears
and I get no further. The client log from the machine I'm connecting with has 
the following error when I try to access my own home folder:

[2008/06/30 14:14:41, 2] smbd/service.c:make_connection_snum(616)
  user 'MYDOMAIN\mrg8n' (from session setup) not permitted to access this share 
(mrg8n)
[2008/06/30 14:14:41, 3] smbd/error.c:error_packet_set(106)
  error packet at smbd/reply.c(514) cmd=117 (SMBtconX) NT_STATUS_ACCESS_DENIED

I've read other posts asking similar questions, but no replies that solved the 
issue. 




smbstatus shows my client machine connected:
Processing section [homes]
Processing section [printers]

Samba version 3.0.28a
PID Username  Group Machine
---
78698   mrg8n mrg8n 137.54.xxx.xxx (137.54.xxx.xxx)

Service  pid machine   Connected at
---
IPC$ 78698   137.54.xxx.xxx  Mon Jun 30 11:21:12 2008

No locked files



nsswitch.conf:

group: files ldap winbind
hosts: files dns wins
networks: files
passwd: files ldap winbind
shells: files
services: files
protocols: files
rpc: files



My smb.conf:

#=== Global Settings =
[global]

workgroup = MYDOMAIN
server string = HUMPTY
load printers = no
log file = /var/log/samba/log.%m
max log size = 50
log level = 3
syslog = 0

security = ADS
realm = MYDOMAIN.VIRGINIA.EDU
allow trusted domains = yes

idmap config MYDOMAIN:default = yes
idmap config MYDOMAIN:schema_mode = rfc2307
idmap uid = 1-5
idmap gid = 1-5

winbind use default domain = Yes
template homedir = /home/%D/%U
template shell = /bin/false
name resolve order = wins host bcast

password server = pdc.mydomain.virginia.edu
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
os level = 33
domain master = no
wins server = 128.143.3.199
dns proxy = no

# Share Definitions ==
[homes]
   comment = Home Directory for %U
   read only = no
   browseable = no
   writeable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0770

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writeable = no
   printable = yes

-- 
Mike Galvez  

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


[Samba] Smbd internal error and panic with nfs-mounted share

2008-06-30 Thread Kai Lanz

We're trying to share a directory that's mounted via NFS from another
server; when we connect to that share, smbd panics and tries to dump  
core.


This is samba-3.0.30 on Alpha/Tru64-4.0G. The directory we're trying to
use is exported from a Linux box called sesfs (Centos 4.4) and  
mounted on
the Alpha server via NFS as /sesfs/scratch. I've appended below an  
edited
summary from log.smbd at debuglevel 3 showing an attempted connection  
from

a Mac called redips.  The process gets as far as call_trans2findfirst,
then reports internal error signal 6 (abort) and panics. It says it's
dumping core, but there's nothing written to the destination directory.

Here's the fstab entry that mounts the scratch directory:

/exavol/[EMAIL PROTECTED]   /sesfs/scratch  nfs rw,bg

And here's what the result looks like:

pangea ls -ld /sesfs/scratch
drwxrwxrwt   1 root system  4096 Jun 10 17:41 /sesfs/scratch

Here's the share definition in smb.conf:

[scratch]
   comment = sesfs scratch directory
   path = /sesfs/scratch
   create mode = 0644
   directory mode = 0755
   guest ok = no
   public = no
   writable = yes
   printable = no

Smbclient shows the share is available:

pangea smbclient -L pangea
Domain=[PANGEA] OS=[Unix] Server=[Samba 3.0.30]

Sharename   Type  Comment
-     ---
scratch Disk  sesfs scratch directory
IPC$IPC   IPC Service (Samba 3.0.30 File  
Server)

lanzDisk  Home Directories

There are two complications to all this:

1. The Linux box, sesfs, that exports the scratch directory is  
actually

an ExaStore NAS system, comprising a 2-node linux cluster connected to
a big RAID. The NFS code may have been customized for that environment.

2. The samba daemon doesn't always crash when the connection to the  
scratch
share is first made -- sometimes the connection seems to succeed, but  
then
smbd dies when you first attempt to do a data transfer. In other  
words, the

behavior is not 100% repeatable.

(If you want to see the unedited log file, I put it on the web at
http://www.stanford.edu/~lanz/samba-log.full)

[2008/06/30 09:12:44, 2, pid=19041, effective(0, 0), real(0, 0)] smbd/ 
reply.c:(3

23)
  netbios connect: name1=PANGEA  name2=REDIPS
[2008/06/30 09:12:49, 3, pid=19041, effective(0, 0), real(0, 0)] auth/ 
auth.c:(22

3)
  check_ntlm_password:  mapped user is: [EMAIL PROTECTED]
[2008/06/30 09:12:49, 3, pid=19041, effective(0, 0), real(0, 0)] auth/ 
auth.c:(26

9)
  check_ntlm_password: sam authentication for user [LANZ] succeeded
[2008/06/30 09:12:49, 2, pid=19041, effective(0, 0), real(0, 0)] auth/ 
auth.c:(30

4)
  check_ntlm_password:  authentication for user [LANZ] - [LANZ] -  
[lanz] succe

eded
[2008/06/30 09:12:49, 3, pid=19041, effective(0, 0), real(0, 0)] smbd/ 
password.c

:(354)
  Adding homes service for user 'lanz' using home directory: '/home/ 
sysop/lanz'
[2008/06/30 09:12:49, 3, pid=19041, effective(0, 0), real(0, 0)]  
param/loadparm.

c:(2682)
  adding home's share [lanz] for user 'lanz' at '/home/sysop/lanz'
[2008/06/30 09:12:49, 3, pid=19041, effective(0, 0), real(0, 0)] smbd/ 
service.c:

(805)
  Connect path is '/sesfs/scratch' for service [scratch]
[2008/06/30 09:12:49, 3, pid=19041, effective(0, 0), real(0, 0)] smbd/ 
vfs.c:(95)

  Initialising default vfs hooks
[2008/06/30 09:12:49, 3, pid=19041, effective(0, 0), real(0, 0)] smbd/ 
vfs.c:(128

)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2008/06/30 09:12:49, 1, pid=19041, effective(2104, 601), real(0, 0)]  
smbd/servi

ce.c:(1033)
  redips (171.64.171.122) connect to service scratch initially as  
user lanz (uid

=2104, gid=601) (pid 19041)
[2008/06/30 09:12:49, 3, pid=19041, effective(0, 0), real(0, 0)] smbd/ 
reply.c:(5

73)
  tconX service=SCRATCH
[2008/06/30 09:12:49, 3, pid=19041, effective(0, 0), real(0, 0)] smbd/ 
process.c:

(1069)
  Transaction 4 of length 74
[2008/06/30 09:12:49, 3, pid=19041, effective(0, 0), real(0, 0)] smbd/ 
process.c:

(927)
  switch message SMBtrans2 (pid 19041) conn 0x14018e050
[2008/06/30 09:12:49, 3, pid=19041, effective(2104, 601), real(0, 0)]  
smbd/trans

2.c:(2285)
  call_trans2qfsinfo: level = 261
[2008/06/30 09:12:49, 3, pid=19041, effective(2104, 601), real(0, 0)]  
smbd/proce

ss.c:(1069)
  Transaction 5 of length 92
[2008/06/30 09:12:49, 3, pid=19041, effective(2104, 601), real(0, 0)]  
smbd/proce

ss.c:(927)
  switch message SMBntcreateX (pid 19041) conn 0x14018e050
[2008/06/30 09:12:49, 3, pid=19041, effective(2104, 601), real(0, 0)]  
smbd/dosmo

de.c:(142)
  unix_mode(.) returning 0755
[2008/06/30 09:12:49, 3, pid=19041, effective(2104, 601), real(0, 0)]  
smbd/proce

ss.c:(1069)
  Transaction 6 of length 88
[2008/06/30 09:12:49, 3, pid=19041, effective(2104, 601), real(0, 0)]  
smbd/proce

ss.c:(927)
  switch message SMBnttrans (pid 19041) conn 0x14018e050
[2008/06/30 09:12:49, 3, pid=19041, effective(2104, 601), 

Re: [Samba] FreeBSD, Samba 3.0.28a joined to AD domain but prompts for login

2008-06-30 Thread Jason Haar

Mike Galvez wrote:

Hi,

I am trying to connect a FreeBSD server running 7.0 Release and Samba 3.0.28a 
to a
Windows 2003 AD Domain Controller. Has anyone had success with this combo? I 
have joined
the domain and I can enumerate users, groups, etc.. 
  


Are you referring to Vista as the client? If so, upgrade to 3.0.30 as 
Vista SP1 brought in a bunch of changes that broke Samba (and probably a 
bunch of other things too... ;-)


Secondly, I see you have a valid users variable under [homes], do 
you explicitly need it? Try removing it and see if the problem disappears.




--
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1

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


[Samba] Cross-subnet authentication firewall

2008-06-30 Thread Misty Stanley-Jones
I've got two subnets joined by an OpenVPN bridge.  I used to have my PDC on
the router 192.168.2.128, and the DMS 192.168.2.1 happily authenticated to
it.  

Now, for security and other reasons I have put my PDC behind a firewall.
The PDC now lives at 192.168.1.3, and my router is still on 192.168.1.1 and
192.168.2.128.

In the router's iptables rules, I have added the following:
iptables -t nat -A PREROUTING -p tcp --dport 137:139 -i tap0 -j DNAT --to
192.168.1.3
iptables -t nat -A PREROUTING -p tcp --dport 445 -i tap0 -j DNAT --to
192.168.1.3

iptables -t nat -A PREROUTING -p udp --dport 137:139 -i tap0 -j DNAT --to
192.168.1.3
iptables -t nat -A PREROUTING -p udp --dport 445 -i tap0 -j DNAT --to
192.168.1.3

(tap0 is the 192.168.2.128 interface)

In the DMS's smb.conf. I have the following:

[global]
workgroup = CORP
netbios name = FURNSRV
server string = Furniture File Server
security = domain
password server = 192.168.1.3
wins server = 192.168.1.3
wins support = no
wins proxy = no
name resolve order = wins
dns proxy = no
local master = yes
domain master = no
preferred master = yes
os level = 65
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 SO_BROADCAST
printing = cups
printcap = cups
remote browse sync = 192.168.1.3

When I start Samba on the DMB, I can do 'net join' just fine.  I can ping
the PDC.  I can list shares on the PDC.  I can't list shares on the client!

[EMAIL PROTECTED]:/etc/samba# smbclient -L localhost
Password:
session setup failed: NT_STATUS_NO_LOGON_SERVERS

I'm a little befuddled here.  Is there something I've forgotten in iptables?
Is something else missing?  I'm not sure exactly what to debug.  I have done
tcpdump on the PDC and I can see requests and responses, but I'm not 100%
clear what to look for.

I appreciate any help at all!

Thanks,
Misty

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


Re: [Samba] Winbind 3.2.0rc2 Coredump [was: Re: Help needed. Samba 3.2.0rc2 - IDMAP - Windows 2008 Server - ADS Integration - Winbind]

2008-06-30 Thread Scott Lovenberg

Scott Lovenberg wrote:

Samba-Liste wrote:

Hi Scott,

thanks for the reply.

On Sat, 2008-06-28 at 05:39 -0400, Scott Lovenberg wrote:
  
Samba-Liste wrote: 


Hi,
  


[...]

  
  
  

Have you tried using the 'nss_ldap' with the entry 'ldap' in your
nsswitch.conf?  I found that to be the best way to interface the LDAP 
backend in my case.  I tried the pam route, but since Slackware does 



that's how we do it right now as we have a Samba-LDAP-PDC. But didn't
get it working against my new Windows 2008 ADS server. Can you provide
sample configurations for nss_ldap to connect to an ADS server?

thank you and best regards

   Daniel

  

Sorry for the delay, I think I jumbled my email boxes :)

This is off the top of my head (as my official Samba book is at home 
and I'm at work), but, all you should need is the nss_ldap module and 
the following lines in your /etc/nsswitch.conf:

[...]
passwd   files ldap winbind compat
shadow   files ldap winbind compat
group  files ldap winbind compat
[...]


This should enable getent passwd.  IIRC, there are no dependencies for 
nss_ldap, it just needs to be compiled.  At least on Slackware, as 
always, check with your upstream provider before compiling your own.
Strange... I just noticed how you fixed the problem at first, are you 
sure that everything was compiled with the same libraries?  Also, can 
you verify that ldap_nss was compiled with the --enable-rfc2307bis 
flag?  Something isn't adding up.  I fear I've missed something here.


I was taking the missing nss directory to mean that you didn't have the 
correct nss modules installed, but I think you've just stumped me.  Does 
anyone more qualified than myself have a feeling one way or the other on 
this?  The fact that the library wasn't symlinked disturbs me a bit.  
Could this be conflicting libraries from different compiles?

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


[Samba] Re: Roaming profile f-secure problem

2008-06-30 Thread Brian May

Marcus Sobchak [EMAIL PROTECTED] wrote:

are there any know problems with f-secure scanner and roaming profiles?
We have a lot of users with problems syncing their roaming profile from
the domain server. It seems to be a problem with f-secure's on-access
scanning (may be timeout problem?). Some users have to login three or
four times, before getting their roaming profile and not the default
profile.


I diagnosed a problem recently where a system task running on a Windows 
client (wpkg) would not release oplocks on server files, forcing other 
clients to wait 30seconds to on each file to break the oplock. Disabling 
the F-Secure firewall solved this.


Could your problem be related?

If another client refuses to release the oplock on the profile data, 
windows might time out and use the default profile instead. When it does 
work the oplock may already be broken.


Just a theory to test anyway.

Brian May

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


Re: [Samba] Cross-subnet authentication firewall

2008-06-30 Thread misty
 I've got two subnets joined by an OpenVPN bridge.  I used to have my PDC
 on
 the router 192.168.2.128, and the DMS 192.168.2.1 happily authenticated to
 it.

 Now, for security and other reasons I have put my PDC behind a firewall.
 The PDC now lives at 192.168.1.3, and my router is still on 192.168.1.1
 and
 192.168.2.128.

 In the router's iptables rules, I have added the following:
 iptables -t nat -A PREROUTING -p tcp --dport 137:139 -i tap0 -j DNAT --to
 192.168.1.3
 iptables -t nat -A PREROUTING -p tcp --dport 445 -i tap0 -j DNAT --to
 192.168.1.3

 iptables -t nat -A PREROUTING -p udp --dport 137:139 -i tap0 -j DNAT --to
 192.168.1.3
 iptables -t nat -A PREROUTING -p udp --dport 445 -i tap0 -j DNAT --to
 192.168.1.3

 (tap0 is the 192.168.2.128 interface)

 In the DMS's smb.conf. I have the following:

 [global]
 workgroup = CORP
 netbios name = FURNSRV
 server string = Furniture File Server
 security = domain
 password server = 192.168.1.3
 wins server = 192.168.1.3
 wins support = no
 wins proxy = no
 name resolve order = wins
 dns proxy = no
 local master = yes
 domain master = no
 preferred master = yes
 os level = 65
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 SO_BROADCAST
 printing = cups
 printcap = cups
 remote browse sync = 192.168.1.3

 When I start Samba on the DMB, I can do 'net join' just fine.  I can ping
 the PDC.  I can list shares on the PDC.  I can't list shares on the
 client!

 [EMAIL PROTECTED]:/etc/samba# smbclient -L localhost
 Password:
 session setup failed: NT_STATUS_NO_LOGON_SERVERS

 I'm a little befuddled here.  Is there something I've forgotten in
 iptables?
 Is something else missing?  I'm not sure exactly what to debug.  I have
 done
 tcpdump on the PDC and I can see requests and responses, but I'm not 100%
 clear what to look for.

 I appreciate any help at all!

 Thanks,
 Misty


Here is some more info.  When I try to authenticate to see the DMB's
shares, I get different results on the DMB and the PDC.

PDC:
[2008/07/01 00:25:42, 3] auth/auth.c:check_ntlm_password(270)
  check_ntlm_password: sam authentication for user [root] succeeded
[2008/07/01 00:25:42, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(65534, 65534) : sec_ctx_stack_ndx = 1
[2008/07/01 00:25:42, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2008/07/01 00:25:42, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/07/01 00:25:42, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2008/07/01 00:25:42, 2] auth/auth.c:check_ntlm_password(309)
  check_ntlm_password:  authentication for user [root] - [root] - [root]
succeeded

DMB:
[2008/07/01 00:25:49, 3] libsmb/namequery.c:get_dc_list(1426)
  get_dc_list: preferred server list: CORPSRV, 192.168.1.3
[2008/07/01 00:25:49, 3] libsmb/namequery_dc.c:rpc_dc_name(117)
  rpc_dc_name: Returning DC CORPSRV (192.168.1.3) for domain CORP
[2008/07/01 00:25:49, 3] libsmb/cliconnect.c:cli_start_connection(1426)
  Connecting to host=CORPSRV
[2008/07/01 00:25:49, 3] lib/util_sock.c:open_socket_out(874)
  Connecting to 192.168.1.3 at port 445
[2008/07/01 00:25:50, 3] rpc_client/cli_pipe.c:rpc_pipe_bind(2081)
  rpc_pipe_bind: Remote machine CORPSRV pipe \NETLOGON fnum 0x70bb bind
request returned ok.
[2008/07/01 00:25:51, 3] rpc_client/cli_pipe.c:rpc_pipe_bind(2081)
  rpc_pipe_bind: Remote machine CORPSRV pipe \NETLOGON fnum 0x70bc bind
request returned ok.
[2008/07/01 00:25:51, 0] auth/auth_domain.c:domain_client_validate(246)
  domain_client_validate: unable to validate password for user root in
domain CORP to Domain controller CORPSRV. Error was
NT_STATUS_UNSUCCESSFUL.
[2008/07/01 00:25:51, 2] auth/auth.c:check_ntlm_password(319)
  check_ntlm_password:  Authentication for user [root] - [root] FAILED
with error NT_STATUS_NO_LOGON_SERVERS
[2008/07/01 00:25:51, 3] smbd/error.c:error_packet(146)
  error packet at smbd/sesssetup.c(99) cmd=115 (SMBsesssetupX)
NT_STATUS_NO_LOGON_SERVERS
[2008/07/01 00:25:51, 3] smbd/process.c:timeout_processing(1359)


WHY would the DMB say that it failed when the PDC said it succeeded???


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



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


[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha4-164-g861b79c

2008-06-30 Thread Stefan Metzmacher
The branch, v4-0-test has been updated
   via  861b79c91fb39b6b7f40d57000770f0f839e6c59 (commit)
   via  3379630a91bd96a34f99ed24ac92380bd97ccb07 (commit)
   via  0aef6d394d7a93cce9aee17af1153b07ea1a9c07 (commit)
   via  b5187dd58ccae03e22ba8857c344a2d7d94f13b3 (commit)
   via  5bf414efbdf279fd1b85eb47e7b47656bc435f11 (commit)
   via  a2a506ba2e044699d147486e987b11d839373784 (commit)
   via  54b06a1c839a9af4565635011e3e624271769cc7 (commit)
   via  be3f3e18d476431f991d08317eb94b4aebe927e6 (commit)
   via  1d5b714438a955d76f92f4ccd8aa2f7f89ffa5fd (commit)
   via  a485a363c3dc1b6b4d12410ed8e390b4d64a739f (commit)
  from  ddb62bf6cc9371c11778ea6630ef0fbbe22cd4f9 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -
commit 861b79c91fb39b6b7f40d57000770f0f839e6c59
Author: Stefan Metzmacher [EMAIL PROTECTED]
Date:   Sat Jun 28 20:42:27 2008 +0200

nbt_server/wins: don't force wins_ldb as shared_module

metze

commit 3379630a91bd96a34f99ed24ac92380bd97ccb07
Author: Stefan Metzmacher [EMAIL PROTECTED]
Date:   Fri Jun 27 15:34:31 2008 +0200

dsdb: don't force the build of ldb modules as shared_module

metze

commit 0aef6d394d7a93cce9aee17af1153b07ea1a9c07
Author: Stefan Metzmacher [EMAIL PROTECTED]
Date:   Sat Jun 28 20:41:45 2008 +0200

ldb_ildap: don't force the build as shared_module

metze

commit b5187dd58ccae03e22ba8857c344a2d7d94f13b3
Author: Stefan Metzmacher [EMAIL PROTECTED]
Date:   Sat Jun 28 10:50:49 2008 +0200

auth: don't force the build of auth_server as shared_module

metze

commit 5bf414efbdf279fd1b85eb47e7b47656bc435f11
Author: Stefan Metzmacher [EMAIL PROTECTED]
Date:   Sat Jun 28 11:01:20 2008 +0200

lib/talloc: build as MERGED_OBJ instead of STATIC_LIBRARY

metze

commit a2a506ba2e044699d147486e987b11d839373784
Author: Stefan Metzmacher [EMAIL PROTECTED]
Date:   Sat Jun 28 10:59:02 2008 +0200

lib/events: build as MERGED_OBJ instead of STATIC_LIBRARY

metze

commit 54b06a1c839a9af4565635011e3e624271769cc7
Author: Stefan Metzmacher [EMAIL PROTECTED]
Date:   Fri Jun 27 15:33:36 2008 +0200

smb_build: use MERGED_OBJ instead of STATIC_LIBRARY

metze

commit be3f3e18d476431f991d08317eb94b4aebe927e6
Author: Stefan Metzmacher [EMAIL PROTECTED]
Date:   Fri Jun 27 15:31:35 2008 +0200

smb_build: enable implicit make rules

metze

commit 1d5b714438a955d76f92f4ccd8aa2f7f89ffa5fd
Author: Stefan Metzmacher [EMAIL PROTECTED]
Date:   Sat Jun 28 10:49:49 2008 +0200

ldb: allow ldb modules to specify LDB_MODULE(name) or LDB_BACKEND(name)

metze

commit a485a363c3dc1b6b4d12410ed8e390b4d64a739f
Author: Stefan Metzmacher [EMAIL PROTECTED]
Date:   Sat Jun 28 10:49:49 2008 +0200

ldb: fix the init function names for some modules

metze

---

Summary of changes:
 source/auth/ntlm/config.mk  |1 -
 source/build/smb_build/input.pm |1 +
 source/build/smb_build/main.pl  |4 +-
 source/dsdb/samdb/ldb_modules/config.mk |   27 +
 source/lib/events/config.mk |2 +-
 source/lib/ldb/common/ldb.c |  147 -
 source/lib/ldb/common/ldb_modules.c |  214 ---
 source/lib/ldb/config.mk|3 +-
 source/lib/ldb/ldb_ildap/config.mk  |2 +-
 source/lib/talloc/config.mk |2 +-
 source/nbt_server/config.mk |1 -
 11 files changed, 208 insertions(+), 196 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/auth/ntlm/config.mk b/source/auth/ntlm/config.mk
index f31c2b7..4792a26 100644
--- a/source/auth/ntlm/config.mk
+++ b/source/auth/ntlm/config.mk
@@ -34,7 +34,6 @@ auth_anonymous_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, 
auth_anonymous.o)
 INIT_FUNCTION = auth_server_init
 SUBSYSTEM = auth
 PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBCLI_SMB
-OUTPUT_TYPE = SHARED_LIBRARY
 # End MODULE auth_server
 ###
 
diff --git a/source/build/smb_build/input.pm b/source/build/smb_build/input.pm
index 53a051a..1696a36 100644
--- a/source/build/smb_build/input.pm
+++ b/source/build/smb_build/input.pm
@@ -175,6 +175,7 @@ sub add_implicit($$)
$INPUT-{$n}-{LDFLAGS} = [\$(.uc($n)._LDFLAGS)];
$INPUT-{$n}-{CFLAGS} = [\$(.uc($n)._CFLAGS)];
$INPUT-{$n}-{CPPFLAGS} = [\$(.uc($n)._CPPFLAGS)];
+   $INPUT-{$n}-{ENABLE} = YES;
 }
 
 sub calc_unique_deps()
diff --git a/source/build/smb_build/main.pl b/source/build/smb_build/main.pl
index 88289af..f8a0cb0 100644
--- a/source/build/smb_build/main.pl
+++ b/source/build/smb_build/main.pl
@@ -32,9 +32,9 @@ my $subsys_output_type = [MERGED_OBJ];
 
 my $library_output_type;
 if ($config::config{USESHARED} eq true) {
-   $library_output_type = [SHARED_LIBRARY, 

svn commit: samba-web r1198 - branches/samba-web-2.0/history trunk/history

2008-06-30 Thread kseeger
Author: kseeger
Date: 2008-06-30 08:14:30 + (Mon, 30 Jun 2008)
New Revision: 1198

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=1198

Log:
Fix typo. 
Karolin
Modified:
   branches/samba-web-2.0/history/index.html
   trunk/history/index.html


Changeset:
Modified: branches/samba-web-2.0/history/index.html
===
--- branches/samba-web-2.0/history/index.html   2008-06-11 18:36:47 UTC (rev 
1197)
+++ branches/samba-web-2.0/history/index.html   2008-06-30 08:14:30 UTC (rev 
1198)
@@ -12,10 +12,10 @@
   /ul
 /div
 
-pOnly the last ten release announcments can be found below.  With every new 
release, the oldest announcement drops off the page.  This should allow for a 
quick glance at recent Samba activity.  For a more in-depth tour of Samba's 
release history, notes for all stable releases are archived in the list to the 
left./p
+pOnly the last ten release announcements can be found below.  With every new 
release, the oldest announcement drops off the page.  This should allow for a 
quick glance at recent Samba activity.  For a more in-depth tour of Samba's 
release history, notes for all stable releases are archived in the list to the 
left./p
 
 
-h2Previous Release Announcments/h2
+h2Previous Release Announcements/h2
 h4a21 Jul 2006/a/h4
 p class=headlineSamba 3.0.23a Available for Download/p
 

Modified: trunk/history/index.html
===
--- trunk/history/index.html2008-06-11 18:36:47 UTC (rev 1197)
+++ trunk/history/index.html2008-06-30 08:14:30 UTC (rev 1198)
@@ -12,10 +12,10 @@
   /ul
 /div
 
-pOnly the last ten release announcments can be found below.  With every new 
release, the oldest announcement drops off the page.  This should allow for a 
quick glance at recent Samba activity.  For a more in-depth tour of Samba's 
release history, notes for all stable releases are archived in the list to the 
left./p
+pOnly the last ten release announcements can be found below.  With every new 
release, the oldest announcement drops off the page.  This should allow for a 
quick glance at recent Samba activity.  For a more in-depth tour of Samba's 
release history, notes for all stable releases are archived in the list to the 
left./p
 
 
-h2Previous Release Announcments/h2
+h2Previous Release Announcements/h2
 
 h421 May 2008/h4
 p class=headlineSamba 3.0.29 Available for Download/p



[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3048-g6194244

2008-06-30 Thread Günther Deschner
The branch, v3-3-test has been updated
   via  6194244bd9fcc1fb736f3d91433f107270cac1c9 (commit)
   via  48600a0019d70d22574cf08e8fe19d44cc332a0f (commit)
  from  9fe09398b79ae7c5e78182112a8cd2c9b5f99ad3 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -
commit 6194244bd9fcc1fb736f3d91433f107270cac1c9
Author: Günther Deschner [EMAIL PROTECTED]
Date:   Mon Jun 30 10:32:15 2008 +0200

kerberos: allow to keep entries with old kvno's while creating keytab.

Guenther

commit 48600a0019d70d22574cf08e8fe19d44cc332a0f
Author: Günther Deschner [EMAIL PROTECTED]
Date:   Mon Jun 30 10:29:15 2008 +0200

kerberos: rename smb_krb5_kt_add_entry to smb_krb5_kt_add_entry_ext.

Guenther

---

Summary of changes:
 source/include/includes.h   |   16 +
 source/libads/kerberos_keytab.c |   68 ---
 source/libnet/libnet_keytab.c   |   15 
 3 files changed, 59 insertions(+), 40 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/include/includes.h b/source/include/includes.h
index d3e8b33..aa99dc0 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -1225,13 +1225,15 @@ krb5_error_code smb_krb5_keytab_name(TALLOC_CTX 
*mem_ctx,
 krb5_context context,
 krb5_keytab keytab,
 const char **keytab_name);
-int smb_krb5_kt_add_entry(krb5_context context,
- krb5_keytab keytab,
- krb5_kvno kvno,
- const char *princ_s,
- krb5_enctype *enctypes,
- krb5_data password,
- bool no_salt);
+int smb_krb5_kt_add_entry_ext(krb5_context context,
+ krb5_keytab keytab,
+ krb5_kvno kvno,
+ const char *princ_s,
+ krb5_enctype *enctypes,
+ krb5_data password,
+ bool no_salt,
+ bool keep_old_entries);
+
 #endif /* HAVE_KRB5 */
 
 
diff --git a/source/libads/kerberos_keytab.c b/source/libads/kerberos_keytab.c
index c8ffd73..b905cb4 100644
--- a/source/libads/kerberos_keytab.c
+++ b/source/libads/kerberos_keytab.c
@@ -32,13 +32,14 @@
 /**
 **/
 
-int smb_krb5_kt_add_entry(krb5_context context,
- krb5_keytab keytab,
- krb5_kvno kvno,
- const char *princ_s,
- krb5_enctype *enctypes,
- krb5_data password,
- bool no_salt)
+int smb_krb5_kt_add_entry_ext(krb5_context context,
+ krb5_keytab keytab,
+ krb5_kvno kvno,
+ const char *princ_s,
+ krb5_enctype *enctypes,
+ krb5_data password,
+ bool no_salt,
+ bool keep_old_entries)
 {
krb5_error_code ret = 0;
krb5_kt_cursor cursor;
@@ -52,20 +53,20 @@ int smb_krb5_kt_add_entry(krb5_context context,

ret = smb_krb5_parse_name(context, princ_s, princ);
if (ret) {
-   DEBUG(1,(smb_krb5_kt_add_entry: smb_krb5_parse_name(%s) failed 
(%s)\n, princ_s, error_message(ret)));
+   DEBUG(1,(smb_krb5_kt_add_entry_ext: smb_krb5_parse_name(%s) 
failed (%s)\n, princ_s, error_message(ret)));
goto out;
}
 
/* Seek and delete old keytab entries */
ret = krb5_kt_start_seq_get(context, keytab, cursor);
if (ret != KRB5_KT_END  ret != ENOENT ) {
-   DEBUG(3,(smb_krb5_kt_add_entry: Will try to delete old keytab 
entries\n));
+   DEBUG(3,(smb_krb5_kt_add_entry_ext: Will try to delete old 
keytab entries\n));
while(!krb5_kt_next_entry(context, keytab, kt_entry, cursor)) 
{
bool compare_name_ok = False;
 
ret = smb_krb5_unparse_name(context, 
kt_entry.principal, ktprinc);
if (ret) {
-   DEBUG(1,(smb_krb5_kt_add_entry: 
smb_krb5_unparse_name failed (%s)\n,
+   DEBUG(1,(smb_krb5_kt_add_entry_ext: 
smb_krb5_unparse_name failed (%s)\n,
error_message(ret)));
goto out;
}
@@ -86,7 +87,7 @@ int smb_krb5_kt_add_entry(krb5_context context,
 #endif
 
if (!compare_name_ok) 

[SCM] Samba Shared Repository - branch v4-0-stable updated - release-4-0-0alpha4-168-g74e9526

2008-06-30 Thread Andrew Bartlett
The branch, v4-0-stable has been updated
   via  74e95269fcded3454253452802f404d529508ce5 (commit)
   via  333bd6a219d7c3f3dc0d2fe2034cf13255e8c148 (commit)
   via  757acb6802cfb0e98e91e6062c62b6c5a852302b (commit)
   via  861b79c91fb39b6b7f40d57000770f0f839e6c59 (commit)
   via  3379630a91bd96a34f99ed24ac92380bd97ccb07 (commit)
   via  0aef6d394d7a93cce9aee17af1153b07ea1a9c07 (commit)
   via  b5187dd58ccae03e22ba8857c344a2d7d94f13b3 (commit)
   via  5bf414efbdf279fd1b85eb47e7b47656bc435f11 (commit)
   via  a2a506ba2e044699d147486e987b11d839373784 (commit)
   via  54b06a1c839a9af4565635011e3e624271769cc7 (commit)
   via  be3f3e18d476431f991d08317eb94b4aebe927e6 (commit)
   via  1d5b714438a955d76f92f4ccd8aa2f7f89ffa5fd (commit)
   via  a485a363c3dc1b6b4d12410ed8e390b4d64a739f (commit)
   via  23494a91de6d1c36a5db0d622f707f2c15b3f549 (commit)
   via  ddb62bf6cc9371c11778ea6630ef0fbbe22cd4f9 (commit)
   via  d10c9b71ea7f2670c4ea5ec569bcb7f49ec41362 (commit)
   via  963bcfc777679ba122189ea6cf7f94b8d46cdce7 (commit)
   via  daddfae9fd8b7375bd4f469808378edc60a55be0 (commit)
   via  9c220c0dce31fbe4b2f6433f40a52162d21c03f7 (commit)
   via  6479f481dbf2f5c83edec0702ece73e83b6c810e (commit)
   via  c19b28f7579268133939aebe06e1c947d4415182 (commit)
   via  7e20919d5ba9244362503e450273938a7cc94796 (commit)
   via  fa361354433fb9a5c09c84997a7c51f3052c294e (commit)
   via  a18363d72ac58ee27b4ff3b065f3fab50722718a (commit)
   via  7b1bccc33eecce6a8f5b486c321c0e6dd52f108f (commit)
   via  89e90556ec57fce24faf0ed3d6fe262edd974b28 (commit)
   via  c904e28bef95cb0d61bf86f2ba1cef2d4e018d5f (commit)
   via  c161de2245cd26aa26642f09736fc6eeba14cf6d (commit)
   via  7bb1da210ac58b7a8b89077cb9fcde504a0b4b2e (commit)
   via  23280b2e6ed5afb968bf0b8c40febb085eed38a1 (commit)
   via  a0b2440c70a3f453c22159a02ff4a82fe6439cad (commit)
   via  2813882ef3cc3609a74ad83bcee6be0c2cd53494 (commit)
   via  a516bc9a2d4ce86244d0e2fbfacf6fda5e12e987 (commit)
   via  f10c9ca3612d7bdc4c2c221e959f8c48ec2f9349 (commit)
   via  d88be1a1cb543b4e2cc5d15262da786558aa276d (commit)
   via  31cf1a781efce932d0574d7840979fcd0a07ec08 (commit)
   via  7b6927832a1118b142d0d8a3a5548761f5a04f1a (commit)
   via  ba6394cb654f2a6683b5e97fad8e838d8e457e06 (commit)
   via  f2725f14918b7d1cd7664fe41ad0fc184aa794c8 (commit)
   via  0b8508f75eac84ef68850e91300fb837a621cc77 (commit)
   via  a7ee17a10f330297dc4d9d15499276b3985c7a51 (commit)
   via  5ff4ffd162339583c7f6ebee0c8a2efc30d8b65f (commit)
   via  9bbdc682a985f210874c008a0abc25645e7fbd50 (commit)
   via  2b40fd7e950a7f06d2c589eadc0f604a4c65e325 (commit)
   via  274ae4b06a3d2e99ee4fd7f04430d361d500d451 (commit)
   via  9cb5327ac9811b3c1309d0e4082da3f54ab2a050 (commit)
   via  9607e79c3db9743617397c347bb69f87f6525801 (commit)
   via  97b724417fc8110f7c591779b0c17bd072be304f (commit)
   via  3fb35fc03d5cfb48d0d4f51564ef76e99e74f81c (commit)
   via  c9b2e2aa861ccc01e5d92cfe468be1f6324ed294 (commit)
   via  3f48f68800176d992a1bd9b6349f22ec152fc34a (commit)
   via  78760606fa71c370ae3c05b077c5146166bdaa7b (commit)
   via  6416b637ea6570edd27eb8ef3005c408d311f3a3 (commit)
   via  25f500d2233198b88c1d54268f5f6f461cea75d9 (commit)
   via  effc25e805facea001ebd64d383f1a536c61d0e3 (commit)
   via  a422c6c5ff47f36ef3376f54e707561c6a53ac23 (commit)
   via  55a6e852c77ffb91d2e0a0503dab06214f675db8 (commit)
   via  21b4d017a2cccdaa6ab4ed32409f19c612293fd0 (commit)
   via  1a771c66ff43e141238f473273700b392aa7 (commit)
   via  8b4c7fb200598b7f747fc681f76d464760f693ee (commit)
   via  edd9ecce9511871d9c9942d50eb91c68a8e04ec9 (commit)
   via  fa6c00734ccf9bfe7a962253ddb5e2a1722c9b09 (commit)
   via  5fcb39594b07c7b7a11985711a912b7a4d629ae7 (commit)
   via  87385e4c873f80956dc1c43424dd4f49a993586c (commit)
   via  c85a3632623184cb97c2e8567ca77834e81070a4 (commit)
   via  f573c1ff4443f3002c310d3ba29d8c343ad03907 (commit)
   via  5fb5a4e13db3a03da414876efa717c3de44ca77c (commit)
   via  33789111241a1d97fc105ec4edd7b8054895b28c (commit)
   via  60c93b9777d9bd7dce89f9024ba767f5404ac72d (commit)
   via  d96a6482dad54d1d27a87107865e833a9c32cf53 (commit)
   via  e28481fc0976231c6f4cb7a5f7c7708f4becdb18 (commit)
   via  09cf8c7dd82bb95e2f8782782286869654d96375 (commit)
   via  30a33cd0a64c434d6aee551f641343c3b2a6d9ca (commit)
   via  e12c0b61573f27969a79d4c07a8fd42f6c931d7e (commit)
   via  1b0621068998590e7b1e9528b78744dcd2cd5909 (commit)
   via  7a7e8f30dd3e5bfad788a098872afa8263321cbb (commit)
   via  649f6c0c1084828dda7d50bd2904208192de77da (commit)
   via  0e1fccbd73eb0f219ea9662c56ee6da8a92f641a (commit)
   via  9a5859c33e2377f3c5ee8d637fa81d49cb6f5456 (commit)
   via  c623313189728dd0553384e2e115cf10db4c7f25 

[SCM] Samba Shared Repository - annotated tag release-4-0-0alpha5 created - release-4-0-0alpha5

2008-06-30 Thread Andrew Bartlett
The annotated tag, release-4-0-0alpha5 has been created
at  920c72747e9816dec74b742fc9a3aaf5c1e3a0c8 (tag)
   tagging  dc238848b3987a187212bd8088916c5b34755b0f (commit)
  replaces  release-4-0-0alpha4
 tagged by  Andrew Bartlett
on  Mon Jun 30 21:52:31 2008 +1000

- Log -
Samba4 alpha5 release!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQBIaMkJz4A8Wyi0NrsRAlyrAJ9/6AXxwvpp5aeKABWzuEkm/yKUKwCgqiCB
jlfE4j4KMXN3lz9NkBVTgNU=
=nstI
-END PGP SIGNATURE-

Andrew Bartlett (34):
  Merge branch 'v4-0-stable' of ssh://git.samba.org/data/git/samba into 
4-0-local
  On the road to alpha5...
  Align the Python and EJS ldap tests.
  Tone down the warnings in the WHATSNEW.
  Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 
4-0-local
  Don't sign NTP packets to disabled accounts
  Add a blackbox test for the provision-backend script.
  Remove old ldap.js test, we have replicated it in python now.
  Fix segfault caused by talloc_free() being called while still processing
  Change detection of objectCategory short fomm
  Depend on NDR_DRSBLOBS explicity.
  Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 
4-0-local
  Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 
4-0-local
  Fix installation of Samba4 into an empty tree.
  Fix the wbinfo test on the LDAP backend.
  Tone down the language in BUGS.txt
  Place the Fedroa package into Samba4's GIT tree
  Update WHATSNEW towards an alpha5 release.
  More work to use %{name} rather than 'samba'
  Use a configure-specified directory for the winbind priv pipe
  dynconfig changes for 'winbind privileged dir' changes.
  selftest changes for 'winbind privileged dir' change.
  Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 
4-0-local
  Loosen ldap.py tests on the LDAP backend.
  Relax the ldap.py tests so that they pass against OpenLDAP CVS.
  Rework samdb handling for 'netlogon' packets.
  Update Fedora packaging per feedback on review ticket.
  Fix small formatting details in WHATSNET for an alpha5 release.
  Mark as alpha5 release
  Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 
4-0-local
  Prepare for alpha5 tarball.
  Ensure we install smbd as well...
  More updates for spec file, for alpha5
  Merge branch '4-0-local' into v4-0-stable

Andrew Tridgell (25):
  more useful output in scan
  check for requested buffer size in getinfo call
  fixed a warning
  updated some info levels based on WSPP docs
  smbpid needs to be 32 bit now to cope with SMB2
  smbpid is 32 bit, and update SMB2 locking per MS-SMB2
  remove unused macros
  remove a pstring
  more updates for new info levels
  it is not valid to set a UNLOCK flag on a lock request
  setpassword should be executable
  SMB2 signing now works. The spec was wrong (and will be fixed in the
  Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 
v4-0-test
  Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 
v4-0-test
  copied the Heimdal sha256 functions into lib/crypto to avoid a link
  fixed SMB2-LOCK test for new semantics (from docs)
  another SMB2-LOCK fix now that we know that the UNLOCK flag is only
  ensure we don't end up with a partially initialised EA structure
  handle NULL fields in blob comparison
  added server side SMB2 signing
  Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 
v4-0-test
  fixed mandatory signing
  make signing per session in the SMB2 client library
  fixed for per session session_key here too
  Change our module code to not use the special symbol name init_module()

Jelmer Vernooij (38):
  Add convenience function for creating nbt sockets in torture.
  Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 
v4-0-test
  Add more docstrings in tdb.
  Fix variables used in configure.
  Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 
v4-0-fixmodulesdir
  Add working Python bindings for NBT.
  Remove unused import, function.
  Clarify error when SWIG can't be found - it's not required unless you
  Add another reason for skipping a testsuite, remove obsolete comment.
  Use variables for source dir of python tdb bindings.
  Use variables for source dir of python ldb bindings.
  Fix prototype for pthread process model.
  Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 
v4-0-fixmodulesdir
  Use proper python errors.
  Avoid using .DEFAULT_GOAL - it's only available in gmake 3.81 and higher.
  Fix ldb python bindings after events changes.
  Fix standalone ldb build.
  Merge branch 

[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha4-173-gbb6e0ee

2008-06-30 Thread Andrew Bartlett
The branch, v4-0-test has been updated
   via  bb6e0ee953dfc59d0e04f9ea2daf051f6a6ff837 (commit)
   via  97b7a521da183b63c494b395d330f70d5cd4e233 (commit)
   via  857df6e91874407f70436749e3dad13ada003e6e (commit)
   via  6459adb6ac2bf94a1e60c1450dbef43360f30888 (commit)
   via  72aaa905b3a9c71578c362554b6ab75edd2cd695 (commit)
   via  74e95269fcded3454253452802f404d529508ce5 (commit)
   via  333bd6a219d7c3f3dc0d2fe2034cf13255e8c148 (commit)
   via  757acb6802cfb0e98e91e6062c62b6c5a852302b (commit)
   via  23494a91de6d1c36a5db0d622f707f2c15b3f549 (commit)
  from  861b79c91fb39b6b7f40d57000770f0f839e6c59 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -
commit bb6e0ee953dfc59d0e04f9ea2daf051f6a6ff837
Author: Andrew Bartlett [EMAIL PROTECTED]
Date:   Mon Jun 30 21:54:43 2008 +1000

A couple more package updates

commit 97b7a521da183b63c494b395d330f70d5cd4e233
Author: Andrew Bartlett [EMAIL PROTECTED]
Date:   Mon Jun 30 21:54:28 2008 +1000

On the way to alpha6!

commit 857df6e91874407f70436749e3dad13ada003e6e
Merge: 6459adb6ac2bf94a1e60c1450dbef43360f30888 
74e95269fcded3454253452802f404d529508ce5
Author: Andrew Bartlett [EMAIL PROTECTED]
Date:   Mon Jun 30 21:54:01 2008 +1000

Merge branch '4-0-stable' into 4-0-local

commit 6459adb6ac2bf94a1e60c1450dbef43360f30888
Author: Andrew Bartlett [EMAIL PROTECTED]
Date:   Mon Jun 30 19:34:02 2008 +1000

More updates for spec file, for alpha5

commit 72aaa905b3a9c71578c362554b6ab75edd2cd695
Author: Andrew Bartlett [EMAIL PROTECTED]
Date:   Mon Jun 30 19:31:20 2008 +1000

Ensure we install smbd as well...

---

Summary of changes:
 WHATSNEW.txt |4 ++--
 packaging/Fedora/samba4.spec |   27 +++
 source/Makefile  |2 +-
 source/VERSION   |2 +-
 4 files changed, 23 insertions(+), 12 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 562a331..726fb1c 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -69,7 +69,7 @@ In the time since Samba4 Alpha4 was released in June 2008, 
Samba has
 continued to evolve, but you may particularly notice these areas:
 
   LDAP backend support restored (issues preventing the use of the LDAP
-  backend in alpha4 have been addressed)
+  backend in alpha4 have been addressed).
 
   SMB2 Support:  The SMB2 server, while still disabled, has improved,
   and now supports SMB2 signing. 
@@ -107,7 +107,7 @@ KNOWN ISSUES
 
 - There is no printing support in the current release.
 
-- There is no netbios browsing support in the current release
+- There is no NetBIOS browsing support in the current release
 
 - The Samba4 port of the CTDB clustering support is not yet complete
 
diff --git a/packaging/Fedora/samba4.spec b/packaging/Fedora/samba4.spec
index 58af948..4e86050 100644
--- a/packaging/Fedora/samba4.spec
+++ b/packaging/Fedora/samba4.spec
@@ -1,5 +1,5 @@
-%define main_release 1
-%define alpha_version 4
+%define main_release 2
+%define alpha_version 5
 %define samba_version 4.0.0alpha%{alpha_version}
 %define tarball_name samba-4.0.0alpha%{alpha_version}
 
@@ -61,6 +61,8 @@ Summary: Samba libraries
 Group: Applications/System
 Requires: libtdb = 0:%{tdb_version}
 Requires: libtalloc = 0:%{talloc_version}
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
 
 %description libs
 The %{name}-libs package  contains the libraries needed by programs 
@@ -76,7 +78,7 @@ The %{name}-python package contains the python libraries 
needed by programs
 that use SMB, RPC and other Samba provided protocols in python programs/
 
 %package devel
-Summary: Developor tools for Samba libraries
+Summary: Developer tools for Samba libraries
 Group: Development/Libraries
 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
 
@@ -122,8 +124,6 @@ domains and to use Windows user and group accounts on Linux.
 #%setup -q
 
 # copy Red Hat specific scripts
-mkdir packaging/Fedora
-cp %{SOURCE5} packaging/Fedora/
 
 # Upstream patches
 #(none)
@@ -162,7 +162,11 @@ rm -rf $RPM_BUILD_ROOT
 cd source
 
 #Don't call 'make install' as we want to call out to the PIDL install manually 
-make installbin installdat installswat installmisc installlib installheader 
installpc installplugins installpython DESTDIR=%{buildroot}
+make install DESTDIR=%{buildroot}
+
+#Undo the PIDL install, we want to try again with the right options
+rm -rf $RPM_BUILD_ROOT/%{_libdir}/perl5
+rm -rf $RPM_BUILD_ROOT/%{_datadir}/perl5
 
 #Install PIDL
 ( cd pidl  make install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT )
@@ -216,13 +220,15 @@ rm $RPM_BUILD_ROOT/%{_bindir}/setnttoken
 rm $RPM_BUILD_ROOT/%{_bindir}/getntacl
 rm $RPM_BUILD_ROOT/%{_datadir}/samba/js/base.js
 
+#This makes the right links, as rpmlint requires that the
+#ldconfig-created links be recorded 

[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha4-176-g82940f6

2008-06-30 Thread Stefan Metzmacher
The branch, v4-0-test has been updated
   via  82940f6ca120026378e6deb49a07becb2d581f45 (commit)
   via  d41b3dd6ffc4fd894bc05798dbc2ff4b53933a06 (commit)
   via  924ef407bd20331cc94f5aeb58f53a5838ae00a4 (commit)
  from  bb6e0ee953dfc59d0e04f9ea2daf051f6a6ff837 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -
commit 82940f6ca120026378e6deb49a07becb2d581f45
Author: Stefan Metzmacher [EMAIL PROTECTED]
Date:   Mon Jun 30 17:15:49 2008 +0200

schema_fsmo: only set module-private_data in case we keep the struct for a 
long time

metze

commit d41b3dd6ffc4fd894bc05798dbc2ff4b53933a06
Author: Stefan Metzmacher [EMAIL PROTECTED]
Date:   Mon Jun 30 13:03:17 2008 +0200

drsuapi.idl: remove some unknows from DsGetNCChanges() (update samba4 
callers)

metze

commit 924ef407bd20331cc94f5aeb58f53a5838ae00a4
Author: Stefan Metzmacher [EMAIL PROTECTED]
Date:   Mon Jun 30 13:01:02 2008 +0200

drsuapi.idl: remove some unknows from DsGetNCChanges()

metze

---

Summary of changes:
 source/dsdb/repl/drepl_out_helpers.c|   12 +-
 source/dsdb/samdb/ldb_modules/schema_fsmo.c |5 ++-
 source/libnet/libnet_become_dc.c|   12 +-
 source/librpc/idl/drsuapi.idl   |   30 +-
 source/torture/rpc/drsuapi.c|   12 +-
 source/torture/rpc/dssync.c |   12 +-
 6 files changed, 51 insertions(+), 32 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/dsdb/repl/drepl_out_helpers.c 
b/source/dsdb/repl/drepl_out_helpers.c
index aede6e6..d79d94f 100644
--- a/source/dsdb/repl/drepl_out_helpers.c
+++ b/source/dsdb/repl/drepl_out_helpers.c
@@ -253,10 +253,10 @@ static void 
dreplsrv_op_pull_source_get_changes_send(struct dreplsrv_op_pull_sou
r-in.req.req8.replica_flags= rf1-replica_flags;
r-in.req.req8.max_object_count = 133;
r-in.req.req8.max_ndr_size = 1336811;
-   r-in.req.req8.unknown4 = 0;
-   r-in.req.req8.h1   = 0;
-   r-in.req.req8.unique_ptr1  = 0;
-   r-in.req.req8.unique_ptr2  = 0;
+   r-in.req.req8.extended_op  = DRSUAPI_EXOP_NONE;
+   r-in.req.req8.fsmo_info= 0;
+   r-in.req.req8.partial_attribute_set= NULL;
+   r-in.req.req8.partial_attribute_set_ex = NULL;
r-in.req.req8.mapping_ctr.num_mappings = 0;
r-in.req.req8.mapping_ctr.mappings = NULL;
} else {
@@ -269,8 +269,8 @@ static void dreplsrv_op_pull_source_get_changes_send(struct 
dreplsrv_op_pull_sou
r-in.req.req5.replica_flags= rf1-replica_flags;
r-in.req.req5.max_object_count = 133;
r-in.req.req5.max_ndr_size = 1336770;
-   r-in.req.req5.unknown4 = 0;
-   r-in.req.req5.h1   = 0;
+   r-in.req.req5.extended_op  = DRSUAPI_EXOP_NONE;
+   r-in.req.req5.fsmo_info= 0;
}
 
req = dcerpc_drsuapi_DsGetNCChanges_send(drsuapi-pipe, r, r);
diff --git a/source/dsdb/samdb/ldb_modules/schema_fsmo.c 
b/source/dsdb/samdb/ldb_modules/schema_fsmo.c
index 8ceeba9..bc1e60a 100644
--- a/source/dsdb/samdb/ldb_modules/schema_fsmo.c
+++ b/source/dsdb/samdb/ldb_modules/schema_fsmo.c
@@ -54,6 +54,8 @@ static int schema_fsmo_init(struct ldb_module *module)
NULL
};
 
+   module-private_data = NULL;
+
if (dsdb_get_schema(module-ldb)) {
return ldb_next_init(module);
}
@@ -77,7 +79,6 @@ static int schema_fsmo_init(struct ldb_module *module)
ldb_oom(module-ldb);
return LDB_ERR_OPERATIONS_ERROR;
}
-   module-private_data = schema_fsmo;
 
schema = dsdb_new_schema(mem_ctx, 
lp_iconv_convenience(ldb_get_opaque(module-ldb, loadparm)));
if (!schema) {
@@ -246,7 +247,7 @@ static int schema_fsmo_init(struct ldb_module *module)
return LDB_ERR_OPERATIONS_ERROR;
}
 
-   talloc_steal(module, schema_fsmo);
+   module-private_data = talloc_steal(module, schema_fsmo);
 
ldb_debug(module-ldb, LDB_DEBUG_TRACE,
  schema_fsmo_init: we are master: %s\n,
diff --git a/source/libnet/libnet_become_dc.c b/source/libnet/libnet_become_dc.c
index 1c4c1d0..d3eeebe 100644
--- a/source/libnet/libnet_become_dc.c
+++ b/source/libnet/libnet_become_dc.c
@@ -2392,10 +2392,10 @@ static void becomeDC_drsuapi_pull_partition_send(struct 
libnet_BecomeDC_state *s
r-in.req.req8.replica_flags= 

[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2663-gc622c99

2008-06-30 Thread Jeremy Allison
The branch, v3-2-test has been updated
   via  c622c997c513d02f929beaaf8ce2e5aa249fcc47 (commit)
  from  8e28052cbc923077616f4cbddc81f4f3d4f341ab (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -
commit c622c997c513d02f929beaaf8ce2e5aa249fcc47
Author: Jeremy Allison [EMAIL PROTECTED]
Date:   Mon Jun 30 09:19:16 2008 -0700

Fix from Atte Peltomäki - [EMAIL PROTECTED] to correctly check
error code in winbindd group expansion.
Jeremy.

---

Summary of changes:
 source/winbindd/winbindd_group.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/winbindd/winbindd_group.c b/source/winbindd/winbindd_group.c
index 63fde9f..ce6ca37 100644
--- a/source/winbindd/winbindd_group.c
+++ b/source/winbindd/winbindd_group.c
@@ -442,7 +442,7 @@ static NTSTATUS expand_groups( TALLOC_CTX *ctx,
 sid_mem[j],
 new_groups,
 
new_groups_size);
-   if (NT_STATUS_IS_OK(status)) {
+   if (!NT_STATUS_IS_OK(status)) {
goto out;
}
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3049-ge321377

2008-06-30 Thread Jeremy Allison
The branch, v3-3-test has been updated
   via  e321377174f579ba57a70f260f4d4bc234a07439 (commit)
  from  6194244bd9fcc1fb736f3d91433f107270cac1c9 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -
commit e321377174f579ba57a70f260f4d4bc234a07439
Author: Jeremy Allison [EMAIL PROTECTED]
Date:   Mon Jun 30 09:20:05 2008 -0700

Fix from Atte Peltomäki - [EMAIL PROTECTED] to correctly check
error code in winbindd group expansion.
Jeremy.

---

Summary of changes:
 source/winbindd/winbindd_group.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/winbindd/winbindd_group.c b/source/winbindd/winbindd_group.c
index f9f946f..20b90e3 100644
--- a/source/winbindd/winbindd_group.c
+++ b/source/winbindd/winbindd_group.c
@@ -442,7 +442,7 @@ static NTSTATUS expand_groups( TALLOC_CTX *ctx,
 sid_mem[j],
 new_groups,
 
new_groups_size);
-   if (NT_STATUS_IS_OK(status)) {
+   if (!NT_STATUS_IS_OK(status)) {
goto out;
}
 


-- 
Samba Shared Repository


Re: [SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2663-gc622c99

2008-06-30 Thread Jeremy Allison
On Mon, Jun 30, 2008 at 11:20:39AM -0500, Jeremy Allison wrote:
 The branch, v3-2-test has been updated
via  c622c997c513d02f929beaaf8ce2e5aa249fcc47 (commit)
   from  8e28052cbc923077616f4cbddc81f4f3d4f341ab (commit)
 
 http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
 
 
 - Log -
 commit c622c997c513d02f929beaaf8ce2e5aa249fcc47
 Author: Jeremy Allison [EMAIL PROTECTED]
 Date:   Mon Jun 30 09:19:16 2008 -0700
 
 Fix from Atte Peltomäki - [EMAIL PROTECTED] to correctly check
 error code in winbindd group expansion.
 Jeremy.

Karolin, please pull for 3.2 final !

Thanks,

Jeremy.


[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-0rc2-97-g4a47bc6

2008-06-30 Thread Karolin Seeger
The branch, v3-2-stable has been updated
   via  4a47bc6082b9f1162a9d79d2faee6f12f85bf5c8 (commit)
  from  83612e44211e5683cfe528a202f529cc9c531573 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable


- Log -
commit 4a47bc6082b9f1162a9d79d2faee6f12f85bf5c8
Author: Jeremy Allison [EMAIL PROTECTED]
Date:   Mon Jun 30 09:19:16 2008 -0700

Fix from Atte Peltomäki - [EMAIL PROTECTED] to correctly check
error code in winbindd group expansion.
Jeremy.
(cherry picked from commit c622c997c513d02f929beaaf8ce2e5aa249fcc47)

---

Summary of changes:
 source/winbindd/winbindd_group.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/winbindd/winbindd_group.c b/source/winbindd/winbindd_group.c
index 63fde9f..ce6ca37 100644
--- a/source/winbindd/winbindd_group.c
+++ b/source/winbindd/winbindd_group.c
@@ -442,7 +442,7 @@ static NTSTATUS expand_groups( TALLOC_CTX *ctx,
 sid_mem[j],
 new_groups,
 
new_groups_size);
-   if (NT_STATUS_IS_OK(status)) {
+   if (!NT_STATUS_IS_OK(status)) {
goto out;
}
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2664-g3d5872c

2008-06-30 Thread Karolin Seeger
The branch, v3-2-test has been updated
   via  3d5872c64d5cefc3125702b4c1a3156161abfad2 (commit)
  from  c622c997c513d02f929beaaf8ce2e5aa249fcc47 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -
commit 3d5872c64d5cefc3125702b4c1a3156161abfad2
Author: Karolin Seeger [EMAIL PROTECTED]
Date:   Mon Jun 30 20:22:53 2008 +0200

WHATSNEW: Fix alphabetical order, update changes.

Karolin

---

Summary of changes:
 WHATSNEW.txt |   12 
 1 files changed, 8 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index e0d6979..e7b5b35 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -225,6 +225,10 @@ o   Michael Adam [EMAIL PROTECTED]
 * Add several tests to the testsuite.
 
 
+o   Günther Deschner [EMAIL PROTECTED]
+* BUG 5542: Fix empty passwords of samsync.
+
+
 o   Volker Lendecke [EMAIL PROTECTED]
 * BUG 5500: Add missing become_root to enable access to LDAP DB.
 * Fix coverity IDs 464, 474.
@@ -244,15 +248,15 @@ o   Volker Lendecke [EMAIL PROTECTED]
 * Fix a file descriptor leak in add_port_hook.
 
 
-o   Günther Deschner [EMAIL PROTECTED]
-* BUG 5542: Fix empty passwords of samsync.
-
-
 o   William Jojo [EMAIL PROTECTED]
 * Fix several AIX build issues.
 * Add -brtl to the AIX linker flags.
 
 
+o   Atte Peltomäki [EMAIL PROTECTED]
+* Fix winbindd group expansion.
+
+
 o   Andreas Schneider [EMAIL PROTECTED]
 * Add documentation for kerberos support in libsmbclient.
 * Add krb5 support for the testbrowse example.


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-0rc2-98-gbf1955b

2008-06-30 Thread Karolin Seeger
The branch, v3-2-stable has been updated
   via  bf1955b9b6e11559375971251fc9cb850b871160 (commit)
  from  4a47bc6082b9f1162a9d79d2faee6f12f85bf5c8 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable


- Log -
commit bf1955b9b6e11559375971251fc9cb850b871160
Author: Karolin Seeger [EMAIL PROTECTED]
Date:   Mon Jun 30 20:22:53 2008 +0200

WHATSNEW: Fix alphabetical order, update changes.

Karolin
(cherry picked from commit 3d5872c64d5cefc3125702b4c1a3156161abfad2)

---

Summary of changes:
 WHATSNEW.txt |   12 
 1 files changed, 8 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index e0d6979..e7b5b35 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -225,6 +225,10 @@ o   Michael Adam [EMAIL PROTECTED]
 * Add several tests to the testsuite.
 
 
+o   Günther Deschner [EMAIL PROTECTED]
+* BUG 5542: Fix empty passwords of samsync.
+
+
 o   Volker Lendecke [EMAIL PROTECTED]
 * BUG 5500: Add missing become_root to enable access to LDAP DB.
 * Fix coverity IDs 464, 474.
@@ -244,15 +248,15 @@ o   Volker Lendecke [EMAIL PROTECTED]
 * Fix a file descriptor leak in add_port_hook.
 
 
-o   Günther Deschner [EMAIL PROTECTED]
-* BUG 5542: Fix empty passwords of samsync.
-
-
 o   William Jojo [EMAIL PROTECTED]
 * Fix several AIX build issues.
 * Add -brtl to the AIX linker flags.
 
 
+o   Atte Peltomäki [EMAIL PROTECTED]
+* Fix winbindd group expansion.
+
+
 o   Andreas Schneider [EMAIL PROTECTED]
 * Add documentation for kerberos support in libsmbclient.
 * Add krb5 support for the testbrowse example.


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2666-g47be328

2008-06-30 Thread Jeremy Allison
The branch, v3-2-test has been updated
   via  47be3281125392bb410da41cbfe2a2b4eebbc824 (commit)
   via  d05451c2c256e04870ebe6467f38585dad72f3a9 (commit)
  from  3d5872c64d5cefc3125702b4c1a3156161abfad2 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -
commit 47be3281125392bb410da41cbfe2a2b4eebbc824
Merge: d05451c2c256e04870ebe6467f38585dad72f3a9 
3d5872c64d5cefc3125702b4c1a3156161abfad2
Author: Jeremy Allison [EMAIL PROTECTED]
Date:   Mon Jun 30 11:27:40 2008 -0700

Merge branch 'v3-2-test' of ssh://[EMAIL PROTECTED]/data/git/samba into 
v3-2-test

commit d05451c2c256e04870ebe6467f38585dad72f3a9
Author: Jeremy Allison [EMAIL PROTECTED]
Date:   Mon Jun 30 11:23:05 2008 -0700

After technical consultation, add Steven Danneman's [EMAIL PROTECTED] 
patch to make winbindd enum users and groups async.
We need this for 3.2.0 official.
Jeremy.

---

Summary of changes:
 source/winbindd/winbindd.h|7 ++-
 source/winbindd/winbindd_ads.c|2 +-
 source/winbindd/winbindd_async.c  |  156 +
 source/winbindd/winbindd_cache.c  |8 ++-
 source/winbindd/winbindd_domain.c |8 ++
 source/winbindd/winbindd_group.c  |   87 +
 source/winbindd/winbindd_misc.c   |  123 +
 source/winbindd/winbindd_user.c   |   94 +--
 8 files changed, 305 insertions(+), 180 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/winbindd/winbindd.h b/source/winbindd/winbindd.h
index 0840e58..42a1100 100644
--- a/source/winbindd/winbindd.h
+++ b/source/winbindd/winbindd.h
@@ -362,7 +362,12 @@ struct winbindd_tdc_domain {
uint32 trust_type;
 };
 
-
+/* Switch for listing users or groups */
+enum ent_type {
+   LIST_USERS = 0,
+   LIST_GROUPS,
+};
+ 
 #include winbindd/winbindd_proto.h
 
 #define WINBINDD_ESTABLISH_LOOP 30
diff --git a/source/winbindd/winbindd_ads.c b/source/winbindd/winbindd_ads.c
index ae8ad9d..35ffe70 100644
--- a/source/winbindd/winbindd_ads.c
+++ b/source/winbindd/winbindd_ads.c
@@ -393,7 +393,7 @@ static NTSTATUS enum_local_groups(struct winbindd_domain 
*domain,
 * using LDAP.
 *
 * if we ever need to enumerate domain local groups separately, 
-* then this the optimization in enum_dom_groups() will need 
+* then this optimization in enum_dom_groups() will need
 * to be split out
 */
*num_entries = 0;
diff --git a/source/winbindd/winbindd_async.c b/source/winbindd/winbindd_async.c
index 2ff5ef2..10b7e48 100644
--- a/source/winbindd/winbindd_async.c
+++ b/source/winbindd/winbindd_async.c
@@ -453,6 +453,162 @@ enum winbindd_result winbindd_dual_lookupname(struct 
winbindd_domain *domain,
return WINBINDD_OK;
 }
 
+/* This is the first callback after enumerating users/groups from a domain */
+static void listent_recv(TALLOC_CTX *mem_ctx, bool success,
+   struct winbindd_response *response,
+   void *c, void *private_data)
+{
+   void (*cont)(void *priv, bool succ, fstring dom_name, char *data) =
+   (void (*)(void *, bool, fstring, char*))c;
+
+   if (!success || response-result != WINBINDD_OK) {
+   DEBUG(5, (list_ent() failed!\n));
+   cont(private_data, False, response-data.name.dom_name, NULL);
+   return;
+   }
+
+   cont(private_data, True, response-data.name.dom_name,
+response-extra_data.data);
+
+   SAFE_FREE(response-extra_data.data);
+}
+
+/* Request the name of all users/groups in a single domain */
+void winbindd_listent_async(TALLOC_CTX *mem_ctx,
+  struct winbindd_domain *domain,
+  void (*cont)(void *private_data, bool success,
+fstring dom_name, char* extra_data),
+  void *private_data, enum ent_type type)
+{
+   struct winbindd_request request;
+
+   ZERO_STRUCT(request);
+   if (type == LIST_USERS)
+   request.cmd = WINBINDD_LIST_USERS;
+   else if (type == LIST_GROUPS)
+   request.cmd = WINBINDD_LIST_GROUPS;
+
+   do_async_domain(mem_ctx, domain, request, listent_recv,
+   (void *)cont, private_data);
+}
+ 
+enum winbindd_result winbindd_dual_list_users(struct winbindd_domain *domain,
+  struct winbindd_cli_state *state)
+{
+   WINBIND_USERINFO *info;
+   NTSTATUS status;
+   struct winbindd_methods *methods;
+   uint32 num_entries = 0;
+   char *extra_data = NULL;
+   uint32_t extra_data_len = 0, i;
+
+   /* Must copy domain into response first for debugging in parent */
+   fstrcpy(state-response.data.name.dom_name, 

Re: [SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2663-gc622c99

2008-06-30 Thread Karolin Seeger
Jeremy,

On Mon, Jun 30, 2008 at 09:21:55AM -0700, Jeremy Allison wrote:
 On Mon, Jun 30, 2008 at 11:20:39AM -0500, Jeremy Allison wrote:
  The branch, v3-2-test has been updated
 via  c622c997c513d02f929beaaf8ce2e5aa249fcc47 (commit)
from  8e28052cbc923077616f4cbddc81f4f3d4f341ab (commit)
  
  http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
  
  
  - Log -
  commit c622c997c513d02f929beaaf8ce2e5aa249fcc47
  Author: Jeremy Allison [EMAIL PROTECTED]
  Date:   Mon Jun 30 09:19:16 2008 -0700
  
  Fix from Atte Peltomäki - [EMAIL PROTECTED] to correctly check
  error code in winbindd group expansion.
  Jeremy.
 
 Karolin, please pull for 3.2 final !

Pushed, thanks!

Karolin

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.SerNet.DE, mailto: Info @ SerNet.DE



[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-0rc2-99-g4abfaaf

2008-06-30 Thread Karolin Seeger
The branch, v3-2-stable has been updated
   via  4abfaaf5c47a1c11e67af4c11cef6172230997ef (commit)
  from  bf1955b9b6e11559375971251fc9cb850b871160 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable


- Log -
commit 4abfaaf5c47a1c11e67af4c11cef6172230997ef
Author: Jeremy Allison [EMAIL PROTECTED]
Date:   Mon Jun 30 11:23:05 2008 -0700

After technical consultation, add Steven Danneman's [EMAIL PROTECTED] 
patch to make winbindd enum users and groups async.
We need this for 3.2.0 official.
Jeremy.
(cherry picked from commit d05451c2c256e04870ebe6467f38585dad72f3a9)

---

Summary of changes:
 source/winbindd/winbindd.h|7 ++-
 source/winbindd/winbindd_ads.c|2 +-
 source/winbindd/winbindd_async.c  |  156 +
 source/winbindd/winbindd_cache.c  |8 ++-
 source/winbindd/winbindd_domain.c |8 ++
 source/winbindd/winbindd_group.c  |   87 +
 source/winbindd/winbindd_misc.c   |  123 +
 source/winbindd/winbindd_user.c   |   94 +--
 8 files changed, 305 insertions(+), 180 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/winbindd/winbindd.h b/source/winbindd/winbindd.h
index 0840e58..42a1100 100644
--- a/source/winbindd/winbindd.h
+++ b/source/winbindd/winbindd.h
@@ -362,7 +362,12 @@ struct winbindd_tdc_domain {
uint32 trust_type;
 };
 
-
+/* Switch for listing users or groups */
+enum ent_type {
+   LIST_USERS = 0,
+   LIST_GROUPS,
+};
+ 
 #include winbindd/winbindd_proto.h
 
 #define WINBINDD_ESTABLISH_LOOP 30
diff --git a/source/winbindd/winbindd_ads.c b/source/winbindd/winbindd_ads.c
index ae8ad9d..35ffe70 100644
--- a/source/winbindd/winbindd_ads.c
+++ b/source/winbindd/winbindd_ads.c
@@ -393,7 +393,7 @@ static NTSTATUS enum_local_groups(struct winbindd_domain 
*domain,
 * using LDAP.
 *
 * if we ever need to enumerate domain local groups separately, 
-* then this the optimization in enum_dom_groups() will need 
+* then this optimization in enum_dom_groups() will need
 * to be split out
 */
*num_entries = 0;
diff --git a/source/winbindd/winbindd_async.c b/source/winbindd/winbindd_async.c
index 2ff5ef2..10b7e48 100644
--- a/source/winbindd/winbindd_async.c
+++ b/source/winbindd/winbindd_async.c
@@ -453,6 +453,162 @@ enum winbindd_result winbindd_dual_lookupname(struct 
winbindd_domain *domain,
return WINBINDD_OK;
 }
 
+/* This is the first callback after enumerating users/groups from a domain */
+static void listent_recv(TALLOC_CTX *mem_ctx, bool success,
+   struct winbindd_response *response,
+   void *c, void *private_data)
+{
+   void (*cont)(void *priv, bool succ, fstring dom_name, char *data) =
+   (void (*)(void *, bool, fstring, char*))c;
+
+   if (!success || response-result != WINBINDD_OK) {
+   DEBUG(5, (list_ent() failed!\n));
+   cont(private_data, False, response-data.name.dom_name, NULL);
+   return;
+   }
+
+   cont(private_data, True, response-data.name.dom_name,
+response-extra_data.data);
+
+   SAFE_FREE(response-extra_data.data);
+}
+
+/* Request the name of all users/groups in a single domain */
+void winbindd_listent_async(TALLOC_CTX *mem_ctx,
+  struct winbindd_domain *domain,
+  void (*cont)(void *private_data, bool success,
+fstring dom_name, char* extra_data),
+  void *private_data, enum ent_type type)
+{
+   struct winbindd_request request;
+
+   ZERO_STRUCT(request);
+   if (type == LIST_USERS)
+   request.cmd = WINBINDD_LIST_USERS;
+   else if (type == LIST_GROUPS)
+   request.cmd = WINBINDD_LIST_GROUPS;
+
+   do_async_domain(mem_ctx, domain, request, listent_recv,
+   (void *)cont, private_data);
+}
+ 
+enum winbindd_result winbindd_dual_list_users(struct winbindd_domain *domain,
+  struct winbindd_cli_state *state)
+{
+   WINBIND_USERINFO *info;
+   NTSTATUS status;
+   struct winbindd_methods *methods;
+   uint32 num_entries = 0;
+   char *extra_data = NULL;
+   uint32_t extra_data_len = 0, i;
+
+   /* Must copy domain into response first for debugging in parent */
+   fstrcpy(state-response.data.name.dom_name, domain-name);
+
+   /* Query user info */
+   methods = domain-methods;
+   status = methods-query_user_list(domain, state-mem_ctx, 
+ num_entries, info);
+   
+   if (!NT_STATUS_IS_OK(status))
+   return 

[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2667-gc1a708d

2008-06-30 Thread Karolin Seeger
The branch, v3-2-test has been updated
   via  c1a708ddba737f9147e4f5f179aca031584d0983 (commit)
  from  47be3281125392bb410da41cbfe2a2b4eebbc824 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -
commit c1a708ddba737f9147e4f5f179aca031584d0983
Author: Karolin Seeger [EMAIL PROTECTED]
Date:   Mon Jun 30 21:43:16 2008 +0200

WHATSNEW: Update changes since 3.2.0rc2.

Karolin

---

Summary of changes:
 WHATSNEW.txt |4 
 1 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index e7b5b35..6833065 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -225,6 +225,10 @@ o   Michael Adam [EMAIL PROTECTED]
 * Add several tests to the testsuite.
 
 
+o   Steven Danneman [EMAIL PROTECTED]
+* Make winbindd enum users and groups async.
+
+
 o   Günther Deschner [EMAIL PROTECTED]
 * BUG 5542: Fix empty passwords of samsync.
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-0rc2-100-ge9541fe

2008-06-30 Thread Karolin Seeger
The branch, v3-2-stable has been updated
   via  e9541fe55735c5416cfb6c377127a4994dca0c8a (commit)
  from  4abfaaf5c47a1c11e67af4c11cef6172230997ef (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable


- Log -
commit e9541fe55735c5416cfb6c377127a4994dca0c8a
Author: Karolin Seeger [EMAIL PROTECTED]
Date:   Mon Jun 30 21:43:16 2008 +0200

WHATSNEW: Update changes since 3.2.0rc2.

Karolin
(cherry picked from commit c1a708ddba737f9147e4f5f179aca031584d0983)

---

Summary of changes:
 WHATSNEW.txt |4 
 1 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index e7b5b35..6833065 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -225,6 +225,10 @@ o   Michael Adam [EMAIL PROTECTED]
 * Add several tests to the testsuite.
 
 
+o   Steven Danneman [EMAIL PROTECTED]
+* Make winbindd enum users and groups async.
+
+
 o   Günther Deschner [EMAIL PROTECTED]
 * BUG 5542: Fix empty passwords of samsync.
 


-- 
Samba Shared Repository


[SCM] CTDB repository - branch master updated - af5d9435822917d36929e667063db69e6a426d3d

2008-06-30 Thread Ronnie Sahlberg
The branch, master has been updated
   via  af5d9435822917d36929e667063db69e6a426d3d (commit)
  from  9f501cee9132114e7467a33dab5cfe0737f94f44 (commit)

http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master


- Log -
commit af5d9435822917d36929e667063db69e6a426d3d
Author: Ronnie Sahlberg [EMAIL PROTECTED]
Date:   Tue Jul 1 09:34:43 2008 +1000

new version

---

Summary of changes:
 packaging/RPM/ctdb.spec |   12 +++-
 1 files changed, 11 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/packaging/RPM/ctdb.spec b/packaging/RPM/ctdb.spec
index 00cff5b..06653e5 100644
--- a/packaging/RPM/ctdb.spec
+++ b/packaging/RPM/ctdb.spec
@@ -5,7 +5,7 @@ Vendor: Samba Team
 Packager: Samba Team [EMAIL PROTECTED]
 Name: ctdb
 Version: 1.0
-Release: 42
+Release: 43
 Epoch: 0
 License: GNU GPL version 3
 Group: System Environment/Daemons
@@ -120,6 +120,16 @@ fi
 %{_includedir}/ctdb_private.h
 
 %changelog
+* Tue Jul 1 2008 : Version 1.0.43
+ - Updates and bugfixes to the specfile to keep rpmlint happy
+ - Force a global flags update after each recovery event.
+ - Verify that the recmaster agrees with our node flags and update the
+   recmaster othervise.
+ - When writing back to the parent from a freeze-child across the pipe,
+   loop over the write in case the write failed with an error  othervise
+   the parent will never be notified tha the child has completed the operation.
+ - Automatically thaw all databases when recmaster marks us as being in normal
+   mode instead of recovery mode.
 * Fri Jun 13 2008 : Version 1.0.42
  - When event scripts have hung/timedout more than EventScriptBanCount times
in a row the node will ban itself.


-- 
CTDB repository


Build status as of Tue Jul 1 00:00:02 2008

2008-06-30 Thread build
URL: http://build.samba.org/

--- /home/build/master/cache/broken_results.txt.old 2008-06-30 
00:00:42.0 +
+++ /home/build/master/cache/broken_results.txt 2008-07-01 00:00:31.0 
+
@@ -1,4 +1,4 @@
-Build status as of Mon Jun 30 00:00:02 2008
+Build status as of Tue Jul  1 00:00:02 2008
 
 Build counts:
 Tree Total  Broken Panic 
@@ -14,8 +14,8 @@
 rsync34 13 0 
 samba-docs   0  0  0 
 samba-gtk4  4  0 
-samba_3_2_test 34 23 0 
-samba_4_0_test 32 26 0 
+samba_3_2_test 34 22 0 
+samba_4_0_test 32 27 0 
 smb-build32 5  0 
 talloc   34 7  0 
 tdb  34 14 0 


[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha4-178-gcd5e486

2008-06-30 Thread Andrew Bartlett
The branch, v4-0-test has been updated
   via  cd5e48649ce0987952b2b55ea79c3ecceecfafd5 (commit)
   via  68afc2893c032be0a8a31d996f90574ceb6c10ad (commit)
  from  82940f6ca120026378e6deb49a07becb2d581f45 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -
commit cd5e48649ce0987952b2b55ea79c3ecceecfafd5
Merge: 68afc2893c032be0a8a31d996f90574ceb6c10ad 
82940f6ca120026378e6deb49a07becb2d581f45
Author: Andrew Bartlett [EMAIL PROTECTED]
Date:   Tue Jul 1 14:54:23 2008 +1000

Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 
4-0-local

commit 68afc2893c032be0a8a31d996f90574ceb6c10ad
Author: Andrew Bartlett [EMAIL PROTECTED]
Date:   Tue Jul 1 14:53:31 2008 +1000

Create PREFIX/var/lib and PREFIX/var/run in 'make install'.

This is a problem because the location of the winbind privilaged pipe
moved.

Andrew Bartlett

---

Summary of changes:
 source/Makefile |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/Makefile b/source/Makefile
index 93c6f45..fba06cc 100644
--- a/source/Makefile
+++ b/source/Makefile
@@ -199,6 +199,8 @@ installdirs::
$(DESTDIR)$(modulesdir) \
$(DESTDIR)$(mandir) \
$(DESTDIR)$(localstatedir) \
+   $(DESTDIR)$(localstatedir)/lib \
+   $(DESTDIR)$(localstatedir)/run \
$(DESTDIR)$(privatedir) \
$(DESTDIR)$(datadir) \
$(DESTDIR)$(piddir) \
@@ -207,7 +209,7 @@ installdirs::
$(DESTDIR)$(privatedir)/tls \
$(DESTDIR)$(includedir) \
$(DESTDIR)$(PKGCONFIGDIR) \
-   $(DESTDIR)$(sysconfdir) \
+   $(DESTDIR)$(sysconfdir)
 
 installbin:: $(SBIN_PROGS) $(BIN_PROGS) $(TORTURE_PROGS) installdirs
@$(SHELL) $(srcdir)/script/installtorture.sh \


-- 
Samba Shared Repository