------------------------------------------------------------ revno: 3732 revision-id: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: Jelmer Vernooij <[EMAIL PROTECTED]> branch nick: libndr timestamp: Fri 2006-08-25 00:49:56 +0200 message: [merge] 3.0 changes added: .bzrignore svn-v1:[EMAIL PROTECTED] source/libaddns/ svn-v1:[EMAIL PROTECTED] source/libaddns/addns.h svn-v1:[EMAIL PROTECTED] source/libaddns/dns.h svn-v1:[EMAIL PROTECTED] source/libaddns/dnserr.h svn-v1:[EMAIL PROTECTED] source/libaddns/dnsgss.c svn-v1:[EMAIL PROTECTED] source/libaddns/dnsrecord.c svn-v1:[EMAIL PROTECTED] source/libaddns/dnsrequest.c svn-v1:[EMAIL PROTECTED] source/libaddns/dnsresponse.c svn-v1:[EMAIL PROTECTED] source/libaddns/dnssign.c svn-v1:[EMAIL PROTECTED] source/libaddns/dnssock.c svn-v1:[EMAIL PROTECTED] source/libaddns/dnsupdate.c svn-v1:[EMAIL PROTECTED] source/libaddns/dnsuprequest.c svn-v1:[EMAIL PROTECTED] source/libaddns/dnsupresp.c svn-v1:[EMAIL PROTECTED] source/libaddns/dnsutils.c svn-v1:[EMAIL PROTECTED] source/utils/net_dns.c svn-v1:[EMAIL PROTECTED] modified: source/Makefile.in svn-v1:[EMAIL PROTECTED] source/auth/auth_util.c svn-v1:[EMAIL PROTECTED] source/client/client.c svn-v1:[EMAIL PROTECTED] source/client/clitar.c svn-v1:[EMAIL PROTECTED] source/configure.in svn-v1:[EMAIL PROTECTED] source/include/ads_dns.h svn-v1:[EMAIL PROTECTED] source/include/client.h svn-v1:[EMAIL PROTECTED] source/include/rpc_misc.h svn-v1:[EMAIL PROTECTED] source/include/smb.h svn-v1:[EMAIL PROTECTED] source/include/smb_acls.h svn-v1:[EMAIL PROTECTED] source/lib/sysacls.c svn-v1:[EMAIL PROTECTED] source/lib/time.c svn-v1:[EMAIL PROTECTED] source/lib/util.c svn-v1:[EMAIL PROTECTED] source/libads/dns.c svn-v1:[EMAIL PROTECTED] source/libads/ldap.c svn-v1:[EMAIL PROTECTED] source/libsmb/cliconnect.c svn-v1:[EMAIL PROTECTED] source/libsmb/clifile.c svn-v1:[EMAIL PROTECTED] source/libsmb/clifsinfo.c svn-v1:[EMAIL PROTECTED] source/libsmb/clilist.c svn-v1:[EMAIL PROTECTED] source/libsmb/clirap.c svn-v1:[EMAIL PROTECTED] source/libsmb/libsmbclient.c svn-v1:[EMAIL PROTECTED] source/libsmb/namequery.c svn-v1:[EMAIL PROTECTED] source/nmbd/asyncdns.c svn-v1:[EMAIL PROTECTED] source/passdb/passdb.c svn-v1:[EMAIL PROTECTED] source/printing/print_cups.c svn-v1:[EMAIL PROTECTED] source/rpc_server/srv_samr_nt.c svn-v1:[EMAIL PROTECTED] source/smbd/nttrans.c svn-v1:[EMAIL PROTECTED] source/smbd/trans2.c svn-v1:[EMAIL PROTECTED] source/torture/torture.c svn-v1:[EMAIL PROTECTED] source/utils/net_ads.c svn-v1:[EMAIL PROTECTED] ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: jelmer timestamp: Thu 2006-08-24 22:10:59 +0000 message: Merge my cupsprot branch. It is now possible to (optionally) specify :port in the "cups server" smb.conf parameter. ------------------------------------------------------------ merged: [EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: Jelmer Vernooij <[EMAIL PROTECTED]> branch nick: libndr timestamp: Fri 2006-08-25 00:09:42 +0200 message: Merge my cupsprot branch. It is now possible to (optionally) specify :port in the "cups server" smb.conf parameter. ------------------------------------------------------------ merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: Jelmer Vernooij <[EMAIL PROTECTED]> branch nick: libndr timestamp: Fri 2006-08-25 00:03:39 +0200 message: [merge] upstream 3.0 ------------------------------------------------------------ merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: Jelmer Vernooij <[EMAIL PROTECTED]> branch nick: libndr timestamp: Thu 2006-08-24 22:40:56 +0200 message: [merge] upstream 3.0 ------------------------------------------------------------ merged: [EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: Jelmer Vernooij <[EMAIL PROTECTED]> branch nick: libndr timestamp: Thu 2006-07-20 01:52:10 +0200 message: Support specifying a port in the 'cups server' parameter. ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jerry timestamp: Thu 2006-08-24 22:10:42 +0000 message: Revert Volker's change in 16014. I really do not believe the this should be necessary. If there is still a bug, I believe that setting thr group RID from the passdb is masking it. Not fixing it. It is very likely that the change was necessary before but is no longer with the recent changes. But I'm not taking the chance of merging it to 3.0.23c. :-) ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: jelmer timestamp: Thu 2006-08-24 22:08:02 +0000 message: Add .bzrignore file ------------------------------------------------------------ merged: [EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: Jelmer Vernooij <[EMAIL PROTECTED]> branch nick: libndr timestamp: Fri 2006-08-25 00:06:58 +0200 message: Add .bzrignore file ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jerry timestamp: Thu 2006-08-24 22:05:53 +0000 message: Remove another instance of manually setting the group SID. The would have been primaryly used when adding a user to an smbpasswd file, but could have been introduce to other backends by using pdbedit -i -e. The symptom was [2006/08/09 13:07:43, 0] rpc_parse/parse_samr.c:init_sam_user_info21A(6276) init_sam_user_info_21A: User nobody has Primary Group SID S-1-22-2-99, which conflicts with the domain sid S-1-5-21-1825997848-4107600307-1754506280. Failing operation. ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jra timestamp: Thu 2006-08-24 21:37:10 +0000 message: Fix bad unsigned comparisons with TIME_T_MIN/TIME_T_MAX. Jeremy. ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: jelmer timestamp: Thu 2006-08-24 20:52:43 +0000 message: Use datarootdir variable generated by newer autoconf versions. (fixes warning) ------------------------------------------------------------ merged: [EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: Jelmer Vernooij <[EMAIL PROTECTED]> branch nick: libndr timestamp: Thu 2006-08-24 22:50:58 +0200 message: Use datarootdir variable generated by newer autoconf versions. (fixes warning) ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jra timestamp: Thu 2006-08-24 20:51:57 +0000 message: Add in 64-bit integer time calculations (taken from Samba4) for machines that have 64-bit integers. Leave the (double) code for machines that don't. Needs testing.... :-). Jeremy. ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: vlendec timestamp: Thu 2006-08-24 20:42:31 +0000 message: Fix a file descriptor leak pointed out by John Malmberg. Thanks! Volker ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: jelmer timestamp: Thu 2006-08-24 20:27:42 +0000 message: Make NTTIME a UINT64_S rather than a separate structure consisting of two uint32s. ------------------------------------------------------------ merged: [EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: Jelmer Vernooij <[EMAIL PROTECTED]> branch nick: nttime timestamp: Thu 2006-08-24 22:25:35 +0200 message: Make NTTIME a UINT64_S rather than a separate structure consisting of two uint32s. ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: vlendec timestamp: Thu 2006-08-24 20:17:59 +0000 message: Sorry Jerry, I could not stand the warnings... :-) ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: vlendec timestamp: Thu 2006-08-24 19:56:20 +0000 message: Fix a enum/int mixup found by the IRIX compiler. Volker ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jerry timestamp: Thu 2006-08-24 18:48:44 +0000 message: finally get the new libaddns code to build on Solaris 9 ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jerry timestamp: Thu 2006-08-24 18:09:05 +0000 message: trying to fix more build farm hosts ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jerry timestamp: Thu 2006-08-24 16:56:36 +0000 message: bad merge ? No sure how the second half of the LIBNDR_OBJ value got cut... ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jra timestamp: Thu 2006-08-24 16:44:00 +0000 message: Start using struct timespec internally for file times on the wire. This allows us to go to nsec resolution for systems that support it. It should also now be easy to add a correct "create time" (birth time) for systems that support it (*BSD). I'll be watching the build farm closely after this one for breakage :-). Jeremy. ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jerry timestamp: Thu 2006-08-24 16:33:50 +0000 message: Start fixing the building carnage. Only include calls to uuid lib fucntions when WITH_DNS_UPDATES is defined. ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jerry timestamp: Thu 2006-08-24 15:43:32 +0000 message: Beginnings of a standalone libaddns library released under the LGPL. Original code by Krishna Ganugapati <[EMAIL PROTECTED]>. Additional work by me. It's still got some warts, but non-secure updates do currently work. There are at least four things left to really clean up. 1. Change the memory management to use talloc() rather than malloc() and cleanup the leaks. 2. Fix the error code reporting (see initial changes to dnserr.h) 3. Fix the secure updates 4. Define a public interface in addns.h 5. Move the code in libads/dns.c into the libaddns/ directory (and under the LGPL). A few notes: * Enable the new code by compiling with --with-dnsupdate * Also adds the command 'net ads dns register' * Requires -luuid (included in the e2fsprogs-devel package). * Has only been tested on Linux platforms so there may be portability issues. ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jerry timestamp: Thu 2006-08-24 12:49:18 +0000 message: Just say "ok" when trying to rename a local group to its same name. ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jerry timestamp: Thu 2006-08-24 12:13:57 +0000 message: Finally track down the "ads_connect: Interrupted system call" error. Fix our DNS SRV lookup code to deal with multi-homed hosts. We were noly remembering one IP address per host from the Additional records section in the SRV response which could have been an unreachable address. ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jra timestamp: Thu 2006-08-24 01:34:33 +0000 message: Argggg. Broke the build. Need to fix callers of put_long_date() and interpret_long_date() first. Reverting... Jeremy. ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jra timestamp: Thu 2006-08-24 01:31:00 +0000 message: Getting ready to properly expose 100ns times on the wire. Move the internals of nt_time functions to use struct timespecs. Jeremy. ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jra timestamp: Wed 2006-08-23 22:33:50 +0000 message: Handle times consistently across all client utils. Fixes bugs reported in libsmbclient. Jeremy. ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jerry timestamp: Wed 2006-08-23 21:04:47 +0000 message: The DNS SRV lookup already sorts by priority and weight so don't use the generic IP list sort in get_sorted_dc_list(). ------------------------------------------------------------ merged: svn-v1:[EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: jerry timestamp: Wed 2006-08-23 02:45:45 +0000 message: Apply the Unix group patch when creating the token for a username map.