ira/wip.git
16 years agor15483: Fix 'declaration after code' warnings.
Volker Lendecke [Sun, 7 May 2006 09:21:39 +0000 (09:21 +0000)]
r15483: Fix 'declaration after code' warnings.

Volker
(This used to be commit 7729799be9984a02a2a309289067b7500696e657)

16 years agor15479: Check in patch from bug # 3746 -- Thanks Timur
Volker Lendecke [Sat, 6 May 2006 20:17:12 +0000 (20:17 +0000)]
r15479: Check in patch from bug # 3746 -- Thanks Timur
(This used to be commit ac79bba1a118635ed18d23cf84bdf15923b354c0)

16 years agor15478: Likewise for bug # 3763
Volker Lendecke [Sat, 6 May 2006 20:12:42 +0000 (20:12 +0000)]
r15478: Likewise for bug # 3763
(This used to be commit 7188ec6bd81715c4df17528bca2b2e658173043f)

16 years agor15477: Committing parts of the patch Timur has submitted for bug 2961, as agreed...
Volker Lendecke [Sat, 6 May 2006 20:05:43 +0000 (20:05 +0000)]
r15477: Committing parts of the patch Timur has submitted for bug 2961, as agreed upon
on irc.

Thanks,

Volker
(This used to be commit 51b415d2306f8244d7449756e4fa873adfc8fbe7)

16 years agor15476: Transfer the was_mapped flag from user_info to server_info also in auth_sam
Volker Lendecke [Sat, 6 May 2006 19:42:25 +0000 (19:42 +0000)]
r15476: Transfer the was_mapped flag from user_info to server_info also in auth_sam
and auth_domain. Thanks for Simo to point this out.

Volker
(This used to be commit 293b89dfb109d6e220ced433f025cf987aa1f500)

16 years agor15475: Ugly and disgusting patch to fix the username map problem I created by
Volker Lendecke [Sat, 6 May 2006 19:24:35 +0000 (19:24 +0000)]
r15475: Ugly and disgusting patch to fix the username map problem I created by
changing the token generation. I *hate* this code!

Jerry, you have been looking at this as well, can you double-check that I did
not screw it up?

Thanks,

Volker
(This used to be commit 2765c4ff8d44c970db3e075b0a2412662f1936c6)

16 years agor15472: Remove an unused function parameter
Volker Lendecke [Sat, 6 May 2006 15:46:53 +0000 (15:46 +0000)]
r15472: Remove an unused function parameter
(This used to be commit d2f39ae7fe79fd31846c555849655023a2d1cbc7)

16 years agor15471: Clarify error message
Volker Lendecke [Sat, 6 May 2006 13:33:14 +0000 (13:33 +0000)]
r15471: Clarify error message
(This used to be commit f21adc04f745a966dbe6ef0b4ffd9729afa3fa78)

16 years agor15467: Ensure every exit error path calls nt_status_squash.
Jeremy Allison [Fri, 5 May 2006 23:36:36 +0000 (23:36 +0000)]
r15467: Ensure every exit error path calls nt_status_squash.
Jeremy.
(This used to be commit e9b016ced636dfdfcb1c4d7d4313f89ddb5e7cbc)

16 years agor15466: Install the images for SWAT.
Deryck Hodge [Fri, 5 May 2006 21:37:13 +0000 (21:37 +0000)]
r15466: Install the images for SWAT.
And we don't install any JavaScript (hold over from a prior SWAT
svn ci trunk/ branches/SAMBA_3_0 -m
(This used to be commit 9bf07ba6cc82113b94f4d1bdac3a95262fff18c0)

16 years agor15465: Fix segfault in SWAT.
Deryck Hodge [Fri, 5 May 2006 21:28:16 +0000 (21:28 +0000)]
r15465: Fix segfault in SWAT.
Fixes bug #3702.

deryck
(This used to be commit 4ad7276cef02b28308446c0eb76ea1190ffe9b05)

16 years agor15464: fix dns build breakage on IRIX and OpenBSD
Gerald Carter [Fri, 5 May 2006 21:19:25 +0000 (21:19 +0000)]
r15464: fix dns build breakage on IRIX and OpenBSD
(This used to be commit 43f5d09a164ae111807222bdcbef949206766097)

16 years agor15463: compile fix for new DNS code for machine using Bind 4 libs (old IRIX host)
Gerald Carter [Fri, 5 May 2006 20:18:50 +0000 (20:18 +0000)]
r15463: compile fix for new DNS code for machine using Bind 4 libs (old IRIX host)
(This used to be commit b0160f893393a446927c751961d101ddbcba4db4)

16 years agor15462: replace the use of OpenLDAP's ldap_domain2hostlist() for
Gerald Carter [Fri, 5 May 2006 19:24:48 +0000 (19:24 +0000)]
r15462: replace the use of OpenLDAP's ldap_domain2hostlist() for
locating AD DC's with out own DNS SRV queries.
Testing on Linux and Solaris.
(This used to be commit cf71f88a3cdcabf99c0798ef4cf8c978397a57eb)

16 years agor15461: Free LDAP result in ads_get_attrname_by_oid().
Günther Deschner [Fri, 5 May 2006 15:54:11 +0000 (15:54 +0000)]
r15461: Free LDAP result in ads_get_attrname_by_oid().

Guenther
(This used to be commit f4af888282ff39665f186550b9ccbbf7a9128fc2)

16 years agor15460: Prefer to use the indexed objectCategory attribute (instead of
Günther Deschner [Fri, 5 May 2006 15:44:00 +0000 (15:44 +0000)]
r15460: Prefer to use the indexed objectCategory attribute (instead of
objectClass which is not indexed on AD) in LDAP queries.

Guenther
(This used to be commit 847882a98328b91a2157959c5dad0a2023223846)

16 years agor15455: Add rpccli_samr_query_dom_info2() and return the comment string in
Günther Deschner [Fri, 5 May 2006 08:26:34 +0000 (08:26 +0000)]
r15455: Add rpccli_samr_query_dom_info2() and return the comment string in
samr_query_domain_info(2) for consistency reasons.

Guenther
(This used to be commit 870495e2c8628deee0498e68cc1d93abfbc56da4)

16 years agor15454: As testing, documentation and samba4 idl indicate that there is no known
Günther Deschner [Fri, 5 May 2006 08:22:50 +0000 (08:22 +0000)]
r15454: As testing, documentation and samba4 idl indicate that there is no known
difference between samr_query_domain_info and samr_query_domain_info2,
wrap the info2 call around the info call. There have been various "could
not access LDAP when not root" bugs lurking around in
samr_query_domain_info2 anyway.

Guenther
(This used to be commit 3e181b46bea87797d654d57a6c8231cba6ff5a7b)

16 years agor15453: Process all the supported info levels in the samr_query_domain_info2
Günther Deschner [Fri, 5 May 2006 08:14:19 +0000 (08:14 +0000)]
r15453: Process all the supported info levels in the samr_query_domain_info2
call.

Guenther
(This used to be commit 9b0731b2a9b45153356f9f7fad384a02028a8bd3)

16 years agor15452: Again purely cosmetic reformat of the samr query domain info calls.
Günther Deschner [Fri, 5 May 2006 08:04:28 +0000 (08:04 +0000)]
r15452: Again purely cosmetic reformat of the samr query domain info calls.

Guenther
(This used to be commit 6ed7d7fa70e3f750f921192c0f75594d608875b7)

16 years agor15451: Rewrite AC_LIBTESTFUNC so that it works like the callers
James Peach [Fri, 5 May 2006 07:42:34 +0000 (07:42 +0000)]
r15451: Rewrite AC_LIBTESTFUNC so that it works like the callers
of it expect.
(This used to be commit 7a0c4f4997f359645a9113e19a8831bde7f9ec58)

16 years agor15450: Change profiling data macros to use stack variables rather than
James Peach [Fri, 5 May 2006 07:15:45 +0000 (07:15 +0000)]
r15450: Change profiling data macros to use stack variables rather than
globals. This catches mismatched start/end calls and removes
the need for special nested profiling calls.
(This used to be commit ee750498812190edd3ec52ca3c750258f3b8a97a)

16 years agor15449: Remove unused function get_nttime_max (which claims it
James Peach [Fri, 5 May 2006 06:16:44 +0000 (06:16 +0000)]
r15449: Remove unused function get_nttime_max (which claims it
is incorrect).
(This used to be commit e7ddcd8c33de1d2f053ac4c5fdaef5c31c280318)

16 years agor15448: New autoconf macro to test for sysconf variables.
James Peach [Fri, 5 May 2006 05:39:57 +0000 (05:39 +0000)]
r15448: New autoconf macro to test for sysconf variables.
(This used to be commit a19d4f2bb4aa94ab40e371efbad9f17e38e3bbc4)

16 years agor15447: Teach "smbd -b" to emit the sizes of a few more types that
James Peach [Fri, 5 May 2006 03:07:00 +0000 (03:07 +0000)]
r15447: Teach "smbd -b" to emit the sizes of a few more types that
might be interesting. Push the spacing across a bit so that
it all lines up nicely.
(This used to be commit efd961e4eefb774c7bdaef098e2b67062a7dffd3)

16 years agor15446: Tidy up the formatting of locking debug messages and make it more
James Peach [Fri, 5 May 2006 02:06:37 +0000 (02:06 +0000)]
r15446: Tidy up the formatting of locking debug messages and make it more
consistent. Bring oplocks withing the purview of the locking debug
channel.
(This used to be commit e817cfd7d3a42d141198122eada58b5a7ba90e9c)

16 years agor15444: Fix from Jim to ensure we do a wildcard search for SID's
Jeremy Allison [Thu, 4 May 2006 19:24:20 +0000 (19:24 +0000)]
r15444: Fix from Jim to ensure we do a wildcard search for SID's
starting with the global SAM sid, not an exact search.
Jeremy.
(This used to be commit 755c272ebf5d0f4de15178814f998d1ec5ecb718)

16 years agor15443: Purely cosmetic reformat, no functional changes.
Günther Deschner [Thu, 4 May 2006 19:20:56 +0000 (19:20 +0000)]
r15443: Purely cosmetic reformat, no functional changes.

Guenther
(This used to be commit ef40428d935831bdb19111c933d20e381647f6f8)

16 years agor15442: Add some more client rpc for the querydominfo calls (from samba4 idl).
Günther Deschner [Thu, 4 May 2006 19:01:11 +0000 (19:01 +0000)]
r15442: Add some more client rpc for the querydominfo calls (from samba4 idl).
Also return the hostname for the level 6 call (to be consistent with the
server name in level 2).

Guenther
(This used to be commit 41b72e77ae70c96de4659af6b4b6bd842dd67981)

16 years agor15441: cleanup older unused padding.
Günther Deschner [Thu, 4 May 2006 17:47:04 +0000 (17:47 +0000)]
r15441: cleanup older unused padding.

Guenther
(This used to be commit 6e225e0528604c797a953eb8d3b49a873b21584f)

16 years agor15438: Fix samrQueryDomainInfo level 5 where we returned our netbios
Günther Deschner [Thu, 4 May 2006 17:28:05 +0000 (17:28 +0000)]
r15438: Fix samrQueryDomainInfo level 5 where we returned our netbios
name eversince instead of the domain name when we are a DC.

Yes, there are applications relying on this call to be correct.

Guenther
(This used to be commit 26dd22c9af8caf3db236984e4683ba210376ca59)

16 years agor15428: Add "smbcontrol winbind onlinestatus" for debugging purpose.
Günther Deschner [Thu, 4 May 2006 12:37:13 +0000 (12:37 +0000)]
r15428: Add "smbcontrol winbind onlinestatus" for debugging purpose.

Guenther
(This used to be commit 9e15b1659c105b0be846e8f71c27b20eab961bd2)

16 years agor15425: Use dynamic buffers in the IRIX nsswithch module to prevent truncation
James Peach [Thu, 4 May 2006 00:45:31 +0000 (00:45 +0000)]
r15425: Use dynamic buffers in the IRIX nsswithch module to prevent truncation
of long group lists.
(This used to be commit d348d796c16679297e1f0304b8b2ba0f42010733)

16 years agor15424: Implement a "stacktrace" smbcontrol option using libunwind's remote
James Peach [Thu, 4 May 2006 00:35:05 +0000 (00:35 +0000)]
r15424: Implement a "stacktrace" smbcontrol option using libunwind's remote
stack tracing support. This provides an easy way for users to provide
stack traces (hopefully it will be implemented on something other than
ia64).
(This used to be commit 0b5e07e12daa98095dae27e0a6d53fe8ec3f3700)

16 years agor15423: Correct comparison logic so that libunwind can be correctly detected.
James Peach [Thu, 4 May 2006 00:18:17 +0000 (00:18 +0000)]
r15423: Correct comparison logic so that libunwind can be correctly detected.
(This used to be commit 918f56b6de6e1297a53d88050d78d87330f7ba44)

16 years agor15419: Never write the same function twice :-). In a traversal
Jeremy Allison [Wed, 3 May 2006 16:07:21 +0000 (16:07 +0000)]
r15419: Never write the same function twice :-). In a traversal
function we must copy the data before modifying.
Jeremy.
(This used to be commit ef4c70f58edf15dc93b22f2c80e15113ee2a46df)

16 years agor15417: Don't use cached credentials when changing passwords.
Günther Deschner [Wed, 3 May 2006 15:19:31 +0000 (15:19 +0000)]
r15417: Don't use cached credentials when changing passwords.

Guenther
(This used to be commit 34b29c30b2f4b5a3c40a65ca8338c87a4c16f3ff)

16 years agor15411: Small debug fixes for the PAM module.
Günther Deschner [Wed, 3 May 2006 10:19:49 +0000 (10:19 +0000)]
r15411: Small debug fixes for the PAM module.

Guenther
(This used to be commit 1856dc0f52b2a2ba2e59f1a7a77ccd32c27928c0)

16 years agor15404: Check for WRITE_THOUGH before calling lp_ fn. I hate
Jeremy Allison [Wed, 3 May 2006 03:42:56 +0000 (03:42 +0000)]
r15404: Check for WRITE_THOUGH before calling lp_ fn. I hate
extra fn calls.
Jeremy.
(This used to be commit e468e1e5c2dbee29066f0efe4141d8705def5d6f)

16 years agor15402: Fix for bug #3587. Dead entries can be left in the locking
Jeremy Allison [Wed, 3 May 2006 02:14:09 +0000 (02:14 +0000)]
r15402: Fix for bug #3587. Dead entries can be left in the locking
db. Make this db self-cleaning on first read of entry after
open, and also on smbstatus -b call. Needs more testing when
I get back from Boston but passes valgrind at first look.
Jeremy.
(This used to be commit c66531096325848d1476054df5d53ad05c2ffc83)

16 years agor15399: Fix the build, sorry, Jerry :)
Günther Deschner [Tue, 2 May 2006 20:03:30 +0000 (20:03 +0000)]
r15399: Fix the build, sorry, Jerry :)

Guenther
(This used to be commit cc800ced60e5e6bbd923a3a0b7d58650c6e14121)

16 years agor15398: Attempt to send the correct warning when a password change was attempted
Günther Deschner [Tue, 2 May 2006 19:22:39 +0000 (19:22 +0000)]
r15398: Attempt to send the correct warning when a password change was attempted
too early.

Guenther
(This used to be commit 7f64a66d25f2a4aa48c2639da8e783c1759c5dd4)

16 years agor15396: Cleanup credential caches from winbind's linked list.
Günther Deschner [Tue, 2 May 2006 19:15:14 +0000 (19:15 +0000)]
r15396: Cleanup credential caches from winbind's linked list.

Guenther
(This used to be commit 7420b095077689fee4b5c9fb76cdb6533be1d465)

16 years agor15393: remove extra call to fallback user creation on member servers; it's handled...
Gerald Carter [Tue, 2 May 2006 12:13:23 +0000 (12:13 +0000)]
r15393: remove extra call to fallback user creation on member servers; it's handled by the smb_getpwnam() call deeper in
(This used to be commit 7433dba78bda27cd6366a49b0efc10a387439ccd)

16 years agor15392: In most cases, this mapping is more appropriate. (I know, it is still a
Günther Deschner [Tue, 2 May 2006 11:54:18 +0000 (11:54 +0000)]
r15392: In most cases, this mapping is more appropriate. (I know, it is still a
mess, but there is no way the get NTSTATUS from the edata yet).

Guenther
(This used to be commit be2bd3945c057a4ad72251f809cffbe4694a7e3d)

16 years agor15386: Missed some functions in my last commit.
Deryck Hodge [Mon, 1 May 2006 22:53:29 +0000 (22:53 +0000)]
r15386: Missed some functions in my last commit.

deryck
(This used to be commit fdb5be797acce071b4c0de2c63fd54f906e340c6)

16 years agor15385: Some work to bring the python code up to date with the
Deryck Hodge [Mon, 1 May 2006 22:31:33 +0000 (22:31 +0000)]
r15385: Some work to bring the python code up to date with the
rpc client rewrite.
(This used to be commit fd5bcecceb518d0683f400a61e11ce37f3d52d42)

16 years agor15380: default eventlog tdbs to mode 0660 to allow easier access by BUILTIN\Administ...
Gerald Carter [Mon, 1 May 2006 18:54:53 +0000 (18:54 +0000)]
r15380: default eventlog tdbs to mode 0660 to allow easier access by BUILTIN\Administrators
(This used to be commit a02933c9589e34488f289cbc40f77f6864a58367)

16 years agor15368: Remove some dead code. -- paulg
Paul Green [Sun, 30 Apr 2006 23:49:39 +0000 (23:49 +0000)]
r15368: Remove some dead code. -- paulg
(This used to be commit e1bd357fe87a66861d092fcdbdde1ff6ffcc8cf2)

16 years agor15360: Fix bug # 3741. One more place where the algorithmic mapping needs to stay.
Volker Lendecke [Sun, 30 Apr 2006 14:34:30 +0000 (14:34 +0000)]
r15360: Fix bug # 3741. One more place where the algorithmic mapping needs to stay.

Volker
(This used to be commit 898948d65409e5b63937fbd8050be04ac81df05d)

16 years agor15359: Fix typo
Volker Lendecke [Sun, 30 Apr 2006 14:14:46 +0000 (14:14 +0000)]
r15359: Fix typo
(This used to be commit 46d3c7668bdbaaab1b8854617aa7c235f51a74e0)

16 years agor15341: Ok I give up, I've been beaten by bug reports. People
Jeremy Allison [Sun, 30 Apr 2006 00:36:26 +0000 (00:36 +0000)]
r15341: Ok I give up, I've been beaten by bug reports. People
just don't get why "guest ok" is not allowed in usershares.
Added "usershare allow guests" bool parameter that allows
this, reved usershare file version to VERSION#2 which
allows this. Updated user tools.
This should now be (finally) finished and I'll add
the new parameter docs and a HOWTO.
Jeremy.
(This used to be commit cdc3aa9d07d568570f2117bea9f1a4d227b3a35d)

16 years agor15336: Unknown escape sequence: '\305' - should have been '\n'.
Jeremy Allison [Sat, 29 Apr 2006 23:41:09 +0000 (23:41 +0000)]
r15336: Unknown escape sequence: '\305' - should have been '\n'.
(How did that get in there ?).
Jeremy
(This used to be commit 780b71d300da71acc8b4f0fe10c1ae78c71e23c4)

16 years agor15334: Fix warning. This table and function not used anymore. Jerry please
Jeremy Allison [Sat, 29 Apr 2006 23:36:57 +0000 (23:36 +0000)]
r15334: Fix warning. This table and function not used anymore. Jerry please
check.
Jeremy.
(This used to be commit 9f676603aaf84829d52dc8d0e0872a058a4d3d4e)

16 years agor15333: Paulg broke the function prototyping of decl_static_XX.
Jeremy Allison [Sat, 29 Apr 2006 23:33:39 +0000 (23:33 +0000)]
r15333: Paulg broke the function prototyping of decl_static_XX.
Needs to be (void), not (). Paulg please check this.
Jeremy.
(This used to be commit ed0f36e2c2475bf9b8eb9c5d937799c85f32bd6f)

16 years agor15320: default "passdb expand explicit" to no
Volker Lendecke [Sat, 29 Apr 2006 12:19:57 +0000 (12:19 +0000)]
r15320: default "passdb expand explicit" to no
(This used to be commit 88b5a21d63b18af56b4fe7e5c353eae3ff7d4752)

16 years agor15311: look at the NT password (not lanman one) when determining if smbpasswd -e...
Gerald Carter [Fri, 28 Apr 2006 15:37:15 +0000 (15:37 +0000)]
r15311: look at the NT password (not lanman one) when determining if smbpasswd -e should probably for a password
(This used to be commit 3522b53aecb5293747b66250279417f9edf876f1)

16 years agor15310: only store lanman passwords on a change if 'lanman auth = yes'
Gerald Carter [Fri, 28 Apr 2006 15:36:23 +0000 (15:36 +0000)]
r15310: only store lanman passwords on a change if 'lanman auth = yes'
(This used to be commit b6904e0950a5e70ebb2ea8aa9e9afc220adbe211)

16 years agor15309: normalize printing keys when deleting
Gerald Carter [Fri, 28 Apr 2006 15:35:42 +0000 (15:35 +0000)]
r15309: normalize printing keys when deleting
(This used to be commit 037f9f831e001a12261419e37c725558dd717af9)

16 years agor15308: Fix the build, sorry.
Günther Deschner [Fri, 28 Apr 2006 15:08:52 +0000 (15:08 +0000)]
r15308: Fix the build, sorry.

Guenther
(This used to be commit 6161e525de55769ed5e45d505f26f6cd9d6555e5)

16 years agor15307: Ignore builtin groups we're a member of on the DC as those memberships
Günther Deschner [Fri, 28 Apr 2006 14:51:09 +0000 (14:51 +0000)]
r15307: Ignore builtin groups we're a member of on the DC as those memberships
are not valid locally.

Guenther
(This used to be commit 177da7754b53348d8754d46098dbd11300234bb5)

16 years agor15306: Be consistent between rpc and ads winbind backend: let the ads backend
Günther Deschner [Fri, 28 Apr 2006 14:48:22 +0000 (14:48 +0000)]
r15306: Be consistent between rpc and ads winbind backend: let the ads backend
query the samlogon cache first as well.

Guenther
(This used to be commit aa52b11dd450ca3ec1f156e17822b1c4971ef915)

16 years agor15305: Let winbind search by sid directly (or in windows terms: "bind to a
Günther Deschner [Fri, 28 Apr 2006 14:44:43 +0000 (14:44 +0000)]
r15305: Let winbind search by sid directly (or in windows terms: "bind to a
sid"); works in all AD versions I tested. Also add "net ads sid" search
tool.

Guenther
(This used to be commit 5557ada6943b817d28a5471c613c7291febe2ad5)

16 years agor15299: Fix import of Python modules. Fixes Bug #3567.
Deryck Hodge [Thu, 27 Apr 2006 20:52:04 +0000 (20:52 +0000)]
r15299: Fix import of Python modules.  Fixes Bug #3567.
The REGVAL_CTR part is taken from Daniel Jarboe's
patch he filed with the bug report.

deryck
(This used to be commit 7ca24b996628707b7e8a05041d173f046f428413)

16 years agor15293: Don't ever set O_SYNC on open unless "strict sync = yes".
Jeremy Allison [Thu, 27 Apr 2006 13:42:18 +0000 (13:42 +0000)]
r15293: Don't ever set O_SYNC on open unless "strict sync = yes".
This could be the cause of the perf. problem reported
between 3.0.14a and 3.0.2x. Lufthansa has *wireless*
on their flights to the USA now...  (I'm in heaven ! :-).
Jeremy.
(This used to be commit dbc03125f2643f8ecff8e901cb23fa6408cce011)

16 years agor15289: Put references to $PICFLAGS in quotes. Fixes #3725.
Tim Potter [Wed, 26 Apr 2006 19:15:11 +0000 (19:15 +0000)]
r15289: Put references to $PICFLAGS in quotes.  Fixes #3725.
(This used to be commit 2aad5e915c03ec932feb1bc9e1dae938fa3011a2)

16 years agor15285: Fix the build.
Paul Green [Wed, 26 Apr 2006 16:18:02 +0000 (16:18 +0000)]
r15285: Fix the build.
(This used to be commit 2270a5196db071bbf15aed92637a24f81d179cd5)

16 years agor15283: Oh yeah. The build farm doesn't do much with head. OK, here is the patch...
Paul Green [Wed, 26 Apr 2006 15:41:25 +0000 (15:41 +0000)]
r15283: Oh yeah. The build farm doesn't do much with head.  OK, here is the patch to SAMBA_3_0 to declare prototypes for the initialization functions.  These are the same changes I just made to head.  --paulg
(This used to be commit 17774387ad879b6a72dd1cf406326318add31b04)

16 years agor15269: Fix incorrect boolean in assert to make POSIX lock tests
Jeremy Allison [Wed, 26 Apr 2006 11:02:46 +0000 (11:02 +0000)]
r15269: Fix incorrect boolean in assert to make POSIX lock tests
pass with CIFSFS.
Jeremy.
(This used to be commit 89b604285ebe77b7cc2e0d5593117c0c5dc5ed1c)

16 years agor15266: Fix bug 3720. I wonder why -O1 compiles did not catch this...
Volker Lendecke [Wed, 26 Apr 2006 09:43:39 +0000 (09:43 +0000)]
r15266: Fix bug 3720. I wonder why -O1 compiles did not catch this...

Thanks to Jason Mader for reporting this.

Volker
(This used to be commit 3e616c3272ba76a2d135f7c51ceb44461ad165ad)

16 years agor15255: Add return statement after abort to placate fussy compilers. Closes #3721.
Tim Potter [Tue, 25 Apr 2006 21:36:35 +0000 (21:36 +0000)]
r15255: Add return statement after abort to placate fussy compilers.  Closes #3721.
(This used to be commit ab5a55ec8b27146fccba97f320d649bb19bc6f11)

16 years agor15251: Adding PreWin2kAccess builtin sid.
Günther Deschner [Tue, 25 Apr 2006 20:14:46 +0000 (20:14 +0000)]
r15251: Adding PreWin2kAccess builtin sid.

Guenther
(This used to be commit 4330d1b74cba14501c2864105b2fae53ccf9475f)

16 years agor15250: dump some more sids.
Günther Deschner [Tue, 25 Apr 2006 20:13:05 +0000 (20:13 +0000)]
r15250: dump some more sids.

Guenther
(This used to be commit 2922c7f5704e3cfcc80dc648bb3d6d9aa80aaf37)

16 years agor15244: Fix debug typo.
Günther Deschner [Tue, 25 Apr 2006 13:50:35 +0000 (13:50 +0000)]
r15244: Fix debug typo.

Guenther
(This used to be commit 01787bd45b4186d3e997f750b08c50df9d3cbbe1)

16 years agor15243: Sorry for the breakage:
Günther Deschner [Tue, 25 Apr 2006 12:53:38 +0000 (12:53 +0000)]
r15243: Sorry for the breakage:
* Fix the build without kerberos headers
* Fix memleak in the krb5_address handling

Guenther
(This used to be commit 10e42117559d4bc6a34e41a94914bf6c65c3477f)

16 years agor15240: Correctly disallow unauthorized access when logging on with the
Günther Deschner [Tue, 25 Apr 2006 12:24:25 +0000 (12:24 +0000)]
r15240: Correctly disallow unauthorized access when logging on with the
kerberized pam_winbind and workstation restrictions are in effect.

The krb5 AS-REQ needs to add the host netbios-name in the address-list.

We don't get the clear NT_STATUS_INVALID_WORKSTATION code back yet from
the edata of the KRB_ERROR but the login at least fails when the local
machine is not in the workstation list on the DC.

Guenther
(This used to be commit 8b2ba11508e2730aba074d7c095291fac2a62176)

16 years agor15229: Save useless roundtrips in pam_auth (fallback to samlogon) when we know
Günther Deschner [Tue, 25 Apr 2006 08:42:34 +0000 (08:42 +0000)]
r15229: Save useless roundtrips in pam_auth (fallback to samlogon) when we know
that the DC is not available.

Guenther
(This used to be commit 77407c021997db1b2a86ca26a5d125fa6b782949)

16 years agor15228: Fix -n winbind option which has become meaningless with the persistent
Günther Deschner [Tue, 25 Apr 2006 08:24:50 +0000 (08:24 +0000)]
r15228: Fix -n winbind option which has become meaningless with the persistent
cache.

Guenther
(This used to be commit e85558f4a457609f3661446dad8134e80f10bbe6)

16 years agor15227: Fix a valgrind error. We are marshalling here, not unmarshalling.
Volker Lendecke [Tue, 25 Apr 2006 08:03:34 +0000 (08:03 +0000)]
r15227: Fix a valgrind error. We are marshalling here, not unmarshalling.

Jeremy, can you check this? This was part of your -O6 on 64bit sweep.

Volker
(This used to be commit 4fa5dbcc8dd1f150664e1241b22e3f048d816001)

16 years agor15218: Update Makefile.in to avoid building libmsrpc.so on systems that do not suppo...
Paul Green [Mon, 24 Apr 2006 17:12:22 +0000 (17:12 +0000)]
r15218: Update Makefile.in to avoid building libmsrpc.so on systems that do not support shared libraries.
(This used to be commit a1c12d7949f9110530526cc7133424e842cdcc71)

16 years agor15216: Fix the build for machines without krb5. Oops, sorry.
Jeremy Allison [Mon, 24 Apr 2006 16:29:55 +0000 (16:29 +0000)]
r15216: Fix the build for machines without krb5. Oops, sorry.
Jeremy.
(This used to be commit bea87e2df45c67cc75d91bd3ed1acc4c64a1c8ea)

16 years agor15210: Add wrapper functions smb_krb5_parse_name, smb_krb5_unparse_name,
Jeremy Allison [Mon, 24 Apr 2006 15:57:54 +0000 (15:57 +0000)]
r15210: Add wrapper functions smb_krb5_parse_name, smb_krb5_unparse_name,
smb_krb5_parse_name_norealm_conv that pull/push from unix charset
to utf8 (which krb5 uses on the wire). This should fix issues when
the unix charset is not compatible with or set to utf8.
Jeremy.
(This used to be commit 37ab42afbc9a79cf5b04ce6a1bf4060e9c961199)

16 years agor15198: Mention the auditing tool in "net rpc help".
Günther Deschner [Mon, 24 Apr 2006 12:01:14 +0000 (12:01 +0000)]
r15198: Mention the auditing tool in "net rpc help".

Guenther
(This used to be commit e55e1e1e96e1a1e6d2bcc5897a44828ddc2c9f3b)

16 years agor15196: Update a comment that I found confusing (I confuse easily).
Paul Green [Mon, 24 Apr 2006 10:45:06 +0000 (10:45 +0000)]
r15196: Update a comment that I found confusing (I confuse easily).
(This used to be commit eb53f01863f8f9d2980d9c2c8d27899dd39e5fa2)

16 years agor15194: We need to be able to join as PDC as well. Thanks to Andrew Bartlett.
Günther Deschner [Mon, 24 Apr 2006 10:09:45 +0000 (10:09 +0000)]
r15194: We need to be able to join as PDC as well. Thanks to Andrew Bartlett.

Guenther
(This used to be commit ba81b508caa4ab21a04d142f3621e43a55e859cf)

16 years agor15180: Use tdb_lock_bystring_with_timeout().
Lars Müller [Sun, 23 Apr 2006 15:39:32 +0000 (15:39 +0000)]
r15180: Use tdb_lock_bystring_with_timeout().
(This used to be commit 1ff6ae68b66ec3c78abbadd1fb9d50e50fc247dd)

16 years agor15175: Try to get Stratus VOS back to build. Thanks, Paul.
Volker Lendecke [Sun, 23 Apr 2006 11:16:01 +0000 (11:16 +0000)]
r15175: Try to get Stratus VOS back to build. Thanks, Paul.

Volker
(This used to be commit 74511aed221d7f9856fed7532f24c789c49c8175)

16 years agor15174: Check in Ronan Waide's wbinfo -i. Thanks :-)
Volker Lendecke [Sun, 23 Apr 2006 11:11:27 +0000 (11:11 +0000)]
r15174: Check in Ronan Waide's wbinfo -i. Thanks :-)

Volker
(This used to be commit c4cdb8086a3aa8a2e1f724e70616143adfea6e87)

16 years agor15173: Fix a non-critical memleak
Volker Lendecke [Sun, 23 Apr 2006 10:59:44 +0000 (10:59 +0000)]
r15173: Fix a non-critical memleak
(This used to be commit bb8c69162f9228343e0b05812e0e5a9ca4eb56bf)

16 years agor15170: don't check for ccache
Gerald Carter [Sat, 22 Apr 2006 22:43:24 +0000 (22:43 +0000)]
r15170: don't check for ccache
(This used to be commit e6a1106820ef532dcf2e50920b82f4536140dcad)

16 years agor15169: openldap2-devel is a suse package (not on RHEL)
Gerald Carter [Sat, 22 Apr 2006 22:42:32 +0000 (22:42 +0000)]
r15169: openldap2-devel is a suse package (not on RHEL)
(This used to be commit b8160fdf8796880412f63a5315ed871eae9ccbf0)

16 years agor15168: last minute spec file fix for some change with the using_samba install path
Gerald Carter [Sat, 22 Apr 2006 22:39:46 +0000 (22:39 +0000)]
r15168: last minute spec file fix for some change with the using_samba install path
(This used to be commit 81f3fa013801d9cfa22bd1abb329ea887f84a5bc)

16 years agor15165: updates for RH 9 packages (merged from RHEL fixes)
Gerald Carter [Sat, 22 Apr 2006 21:43:31 +0000 (21:43 +0000)]
r15165: updates for RH 9 packages (merged from RHEL fixes)
(This used to be commit 220cf41bc10029ec4bba70df0da27c0d3ce60f54)

16 years agor15163: packaging updates for RHEL/Fedora and break out 'pre' tag to the RPM release...
Gerald Carter [Sat, 22 Apr 2006 17:28:01 +0000 (17:28 +0000)]
r15163: packaging updates for RHEL/Fedora and break out 'pre' tag to the RPM release number
(This used to be commit e3763272c39dc85e7feca4fc5646225b4b266fbc)

16 years agor15162: Patch for bug #3668. Windows has a bug with LARGE_READX
Jeremy Allison [Sat, 22 Apr 2006 02:33:11 +0000 (02:33 +0000)]
r15162: Patch for bug #3668. Windows has a bug with LARGE_READX
where if you ask for exactly 64k bytes it returns 0.
Jeremy.
(This used to be commit dcef65acb5bc08ea4b61ef490a518b7e668ff2ee)

16 years agor15160: Fix from William Jojo I thought had already been added (but
Jeremy Allison [Sat, 22 Apr 2006 01:59:23 +0000 (01:59 +0000)]
r15160: Fix from William Jojo I thought had already been added (but
hadn't).
Jeremy.
(This used to be commit dcbece8254e5de861d04b691d733616fc25cd585)

16 years agor15154: bump version to 3.0.23pre2
Gerald Carter [Thu, 20 Apr 2006 22:15:17 +0000 (22:15 +0000)]
r15154: bump version to 3.0.23pre2
(This used to be commit d6940c09cc9b9ac8bd4cba95ca382fa63c19748b)

16 years agor15152: Fix a case when target is offline. Jerry, this needs to be in 3.0.23pre1
Alexander Bokovoy [Thu, 20 Apr 2006 14:14:12 +0000 (14:14 +0000)]
r15152: Fix a case when target is offline. Jerry, this needs to be in 3.0.23pre1
(This used to be commit f068862e56861d74021d72726248cb738a2ff0fe)

16 years agor15150: Adding winbind debug class to the main daemon.
Günther Deschner [Thu, 20 Apr 2006 13:51:43 +0000 (13:51 +0000)]
r15150: Adding winbind debug class to the main daemon.

Guenther
(This used to be commit 37d03695c6fb4aa02522c1739b9783c5dc7bf735)

16 years agor15141: Fix for #3592 inspired by Justin Best <justinb@pdxmission.org>.
Jeremy Allison [Thu, 20 Apr 2006 00:47:46 +0000 (00:47 +0000)]
r15141: Fix for #3592 inspired by Justin Best <justinb@pdxmission.org>.
Ignore a file in a tar output if the first read fails. Also
cope with <2GB read fail.
Jeremy.
(This used to be commit 1b73e699e11c6e26e9a9123e74190eebd170fc05)