samba.git
16 years agor12935: After discussion with Volker fix bug #3397 using a variant of the patch by...
Alexander Bokovoy [Sat, 14 Jan 2006 12:37:25 +0000 (12:37 +0000)]
r12935: After discussion with Volker fix bug #3397 using a variant of the patch by Alex Deiter (tiamat@komi.mts.ru).
Introduces level 9 of getuserinfo and allows to successfully install MS SMS2003
on a member of a Samba domain. Also added support for this level in rpcclient.

The code for infolevel 9 is modelled upon Samba-TNG by Alex Deiter.

Jerry, we need this in 3.0.21b.
(This used to be commit 93461646ce2ad6e2f8b11d40ce98722d56a83b43)

16 years agor12922: Fix typo.
Jeremy Allison [Fri, 13 Jan 2006 23:54:12 +0000 (23:54 +0000)]
r12922: Fix typo.
Jeremy.
(This used to be commit 1c32b352da270370e65d25939fdc56c2a415190f)

16 years agor12920: Fix for #3401 from Andrew Bartlett. Original fix from
Jeremy Allison [Fri, 13 Jan 2006 23:23:09 +0000 (23:23 +0000)]
r12920: Fix for #3401 from Andrew Bartlett. Original fix from
Yau Lam Yiu <yiuext@cs.ust.hk>.
Jeremy.
(This used to be commit 4776101107923e425a153fe0457dbf61f4c99935)

16 years agor12916: use rpcstr_pull() instead of unistr_to_ascii() when validating share names
Gerald Carter [Fri, 13 Jan 2006 21:22:25 +0000 (21:22 +0000)]
r12916: use rpcstr_pull() instead of unistr_to_ascii() when validating share names
(This used to be commit c08bc30698eac2f3f5dd8257b4fd7c3e23e6de39)

16 years agor12915: protect against changing the SCM security descriptor
Gerald Carter [Fri, 13 Jan 2006 20:26:59 +0000 (20:26 +0000)]
r12915: protect against changing the SCM security descriptor
(This used to be commit 5842da99681c15437c11e9925dec24c8c0e3708a)

16 years agor12914: adding query/set ops for security descriptors on services.
Gerald Carter [Fri, 13 Jan 2006 20:24:50 +0000 (20:24 +0000)]
r12914: adding query/set ops for security descriptors on services.
(This used to be commit cefd2d7cb6140b068d66e2383e9acfa4c3c4b4c7)

16 years agor12913: missed merge to fix BUG 3391; ensure we can lookup account policies
Gerald Carter [Fri, 13 Jan 2006 19:38:09 +0000 (19:38 +0000)]
r12913: missed merge to fix BUG 3391; ensure we can lookup account policies
(This used to be commit 77575c64e4e961f37ccf5b2dd17e41c74678ea45)

16 years agor12912: patch from Tony Mountifield <tony@softins.co.uk> for BUG 3327 (fix bad access...
Gerald Carter [Fri, 13 Jan 2006 18:45:30 +0000 (18:45 +0000)]
r12912: patch from Tony Mountifield <tony@softins.co.uk> for BUG 3327 (fix bad access to gencache.tdb after fork() in smbmount
(This used to be commit 68399ce04ca4509d51950d2d7b1ed817e82bf17c)

16 years agor12904: Fix #3264, allow to load idmap_ad with "idmap backend = ad".
Günther Deschner [Fri, 13 Jan 2006 14:55:08 +0000 (14:55 +0000)]
r12904: Fix #3264, allow to load idmap_ad with "idmap backend = ad".

Finally cleanup the way idmap modules are build and loaded, idmap_rid
now will have to be loaded without prefix, just "rid".

Guenther
(This used to be commit a77e02177dcefaaccf863aa8d237ea35a2ec52d1)

16 years agor12901: Fix netfileenum returning WERR_BUF_TOO_SMALL.
Günther Deschner [Fri, 13 Jan 2006 11:19:59 +0000 (11:19 +0000)]
r12901: Fix netfileenum returning WERR_BUF_TOO_SMALL.

Guenther
(This used to be commit b8ff07b04afe82bdce5d1f69513ce67ecde5b030)

16 years agor12900: Merge from trunk:
Günther Deschner [Fri, 13 Jan 2006 11:11:23 +0000 (11:11 +0000)]
r12900: Merge from trunk:

Correctly handle the case where users logon with an expired password.

In that case pam_sm_authenticate has to return PAM_SUCESS instead of
PAM_NEW_AUTHTOK_REQD or PAM_AUTHTOK_EXPIRED and pam_sm_acct_mgmt has to
take care of requesting an immediate password change. (see the Linux PAM
documentation).

Fixes Bugzilla #1524, #3205. Tested with login, sshd, kdm and gdm on
Linux.

Thanks to Scott Barker <Scott_Barker@mtechIT.com>.

Guenther
(This used to be commit 4cb662ffd76dbe30003c618c94ccf6ebd4afb48c)

16 years agor12889: BUG 3380: fix crash when changing printer drivers caused by accessing a previ...
Gerald Carter [Fri, 13 Jan 2006 03:10:50 +0000 (03:10 +0000)]
r12889: BUG 3380: fix crash when changing printer drivers caused by accessing a previously freed pointer
(This used to be commit bcce3b69f83f52deb308d8c2f5165000468bd552)

16 years agor12885: Oops. Missed last part of correct patch for #3348.
Jeremy Allison [Fri, 13 Jan 2006 02:54:46 +0000 (02:54 +0000)]
r12885: Oops. Missed last part of correct patch for #3348.
Caught by Samba4 oplock torture tester.
Jeremy.
(This used to be commit c2476b2f75f6521700107a46028f54110083aa52)

16 years agor12878: Don't use non-static array initialisers.
James Peach [Fri, 13 Jan 2006 00:07:54 +0000 (00:07 +0000)]
r12878: Don't use non-static array initialisers.
(This used to be commit 95b231f0285c65bcdc62cd453cea634f9f5e7f91)

16 years agor12877: Stop passing structs around in smb messages, instead
Jeremy Allison [Thu, 12 Jan 2006 22:17:54 +0000 (22:17 +0000)]
r12877: Stop passing structs around in smb messages, instead
always linearize into little-endian. Should fix all
Solaris issues with this, plus provide a cleaner base
moving forward for cluster-aware Samba where smbd's
can communicate across different compilers/architectures
(eventually these message will have to go cross-machine).
Jeremy.
(This used to be commit d01824b78576a034428e1cef73868d1169057991)

16 years agor12871: Merge Volkers rev 12667 from trunk as his analysis hit the nail on the
Lars Müller [Thu, 12 Jan 2006 18:06:05 +0000 (18:06 +0000)]
r12871: Merge Volkers rev 12667 from trunk as his analysis hit the nail on the
head.

Volker: Thanks for poking me last week.
(This used to be commit 9a8e1c8b4c302a8e8a4a39b8ec8df2536acfebe2)

16 years agor12870: fixing net rpc registry enumerate from overwritnig the open subkey handle
Gerald Carter [Thu, 12 Jan 2006 17:37:25 +0000 (17:37 +0000)]
r12870: fixing net rpc registry enumerate from overwritnig the open subkey handle
(This used to be commit cc2e7052bd05a15f43268ce87dc29506bb5bb5bf)

16 years agor12855: Remove erroneous commenting out of valgrind fix.
Jeremy Allison [Wed, 11 Jan 2006 20:23:02 +0000 (20:23 +0000)]
r12855: Remove erroneous commenting out of valgrind fix.
Jeremy.
(This used to be commit b76c7b613282dc89c54faf3e7cef98f7651c5a9d)

16 years agor12853: Fix segfault in "net rpc vampire|samdump" (Bugzilla #3390).
Günther Deschner [Wed, 11 Jan 2006 19:18:40 +0000 (19:18 +0000)]
r12853: Fix segfault in "net rpc vampire|samdump" (Bugzilla #3390).

The session key, after beeing set, was zeroed later on by the prs_init
in the CLI_DO_RPC macro.

Guenther
(This used to be commit eaaeaa767e86151886964dcdd9f3186f0b31ed53)

16 years agor12852: r12150@cabra: derrell | 2006-01-11 13:21:14 -0500
Derrell Lipman [Wed, 11 Jan 2006 18:22:06 +0000 (18:22 +0000)]
r12852:  r12150@cabra:  derrell | 2006-01-11 13:21:14 -0500
 Although RTLD_NEXT was not working properly a number of years ago, it seems to be now.  Replace dlopen(/lib/libc...) with direct use of RTLD_NEXT
(This used to be commit 2b4866500640891fcb1ca7b24997df17f1b077cc)

16 years agor12840: Add -W to smbpasswd. Thanks to William Jojo <jojowil@hvcc.edu>.
Volker Lendecke [Wed, 11 Jan 2006 12:09:30 +0000 (12:09 +0000)]
r12840: Add -W to smbpasswd. Thanks to William Jojo <jojowil@hvcc.edu>.

Volker
(This used to be commit 2942f3594ba39748dca0238f1e1a5c744a7afffb)

16 years agor12839: - apply changes from svn r4963 also for VFS configure - KRB5_CONFIG should not
Volker Lendecke [Wed, 11 Jan 2006 12:00:59 +0000 (12:00 +0000)]
r12839: - apply changes from svn r4963 also for VFS configure - KRB5_CONFIG should not
  be used - rename it to KRB5CONFIG

Thanks to Björn Jacke <bj@sernet.de>

Volker
(This used to be commit 9c44fef5bec76d383d25b73ecc01dc1fc25b3f20)

16 years agor12837: - configure check for Tru64 EA functions (not yet implemented)
Volker Lendecke [Wed, 11 Jan 2006 10:21:23 +0000 (10:21 +0000)]
r12837: - configure check for Tru64 EA functions (not yet implemented)
- find Tru64 AIO lib in configure

Thanks to Björn Jacke <bj@sernet.de>

Volker
(This used to be commit 044dc331739d4a1678bbf6347df9725f709f5be3)

16 years agor12802: Fix for bugzilla #3389 from William Jojo. This fixes failures on AIX in
Tim Potter [Mon, 9 Jan 2006 21:58:40 +0000 (21:58 +0000)]
r12802: Fix for bugzilla #3389 from William Jojo.  This fixes failures on AIX in
linking smbd when the symbol table for ld exceeds 65536 bytes.
(This used to be commit 679fc459357d3ddfac1786726e4d2ccdada0b05f)

16 years agor12794: BUG 3340: patch from William JoJo <jojowil@hvcc.edu> to fix automatic inclusi...
Gerald Carter [Mon, 9 Jan 2006 15:54:16 +0000 (15:54 +0000)]
r12794: BUG 3340: patch from William JoJo <jojowil@hvcc.edu> to fix automatic inclusion of aio support on AIX
(This used to be commit f19f7961eef9d9fe345279c5ab35d18dff14e5ea)

16 years agor12788: Since we have agreed on the case of winbindd names, we can store a
Günther Deschner [Mon, 9 Jan 2006 12:59:41 +0000 (12:59 +0000)]
r12788: Since we have agreed on the case of winbindd names, we can store a
sid_to_name lookup result already after doing a sucessfull name_to_sid
lookup.

Guenther
(This used to be commit 2456832a6d9ad2590dc02e147cc2c2e87d5a3a7a)

16 years agor12787: Revert last commit that removed our logic of memorizing negative
Günther Deschner [Mon, 9 Jan 2006 12:51:57 +0000 (12:51 +0000)]
r12787: Revert last commit that removed our logic of memorizing negative
name_to_sid lookups in the cache.

Guenther
(This used to be commit 348d309688260d17d9cdbf11fc54ad30829ceae5)

16 years agor12781: Support the level parameter for lsa_lookupsids.
Volker Lendecke [Sun, 8 Jan 2006 22:00:01 +0000 (22:00 +0000)]
r12781: Support the level parameter for lsa_lookupsids.

Simplify the interfaces to domain trusts a bit: Nothing outside secrets.c
needs to know we're storing stuff in ucs2.

Volker
(This used to be commit a01fa43ed2d43f79940795b70a330c6a9ddf1b45)

16 years agor12771: Apply patch from bug 3374, attempt to fix build on tru64.
Volker Lendecke [Sun, 8 Jan 2006 15:31:25 +0000 (15:31 +0000)]
r12771: Apply patch from bug 3374, attempt to fix build on tru64.

Thanks to "The Written Word" -- whoever that is :-)

Volker
(This used to be commit 7d0956f0bd28728fbb8b4c24c4ed3cdcc04e2daf)

16 years agor12760: Fix bug 3384
Volker Lendecke [Sat, 7 Jan 2006 22:11:30 +0000 (22:11 +0000)]
r12760: Fix bug 3384
(This used to be commit 9d366da172a13fe9fd6e940f95d58dac534f3b31)

16 years agor12759: r12128@cabra: derrell | 2006-01-07 15:34:01 -0500
Derrell Lipman [Sat, 7 Jan 2006 20:43:36 +0000 (20:43 +0000)]
r12759:  r12128@cabra:  derrell | 2006-01-07 15:34:01 -0500
 Incorporate a number of changes suggested by David Collier-Brown  Thanks, David!
(This used to be commit 0ae65b9af566e02eece9bb7865047c037468d470)

16 years agor12758: r12127@cabra: derrell | 2006-01-03 15:22:18 -0500
Derrell Lipman [Sat, 7 Jan 2006 20:43:31 +0000 (20:43 +0000)]
r12758:  r12127@cabra:  derrell | 2006-01-03 15:22:18 -0500
 remove old superfluous comment and ifdef
(This used to be commit ee7fcb43ad456929f1f005f47c52a4b4d46c5087)

16 years agor12757: r12126@cabra: derrell | 2006-01-03 15:21:36 -0500
Derrell Lipman [Sat, 7 Jan 2006 20:43:28 +0000 (20:43 +0000)]
r12757:  r12126@cabra:  derrell | 2006-01-03 15:21:36 -0500
 added flag to not request authentication information
(This used to be commit 8396c4b26c9911887ed1c1ce17c31af462ee6883)

16 years agor12742: Don't write null sid mappings into the winbindd_cache.tdb.
Günther Deschner [Fri, 6 Jan 2006 14:55:26 +0000 (14:55 +0000)]
r12742: Don't write null sid mappings into the winbindd_cache.tdb.

Guenther
(This used to be commit 1e0124efc54810125bbfae6dce536b2c4fff62c1)

16 years agor12735: After talking to Tridge and Jeremy... This needs to be made more generic
Volker Lendecke [Fri, 6 Jan 2006 10:27:12 +0000 (10:27 +0000)]
r12735: After talking to Tridge and Jeremy... This needs to be made more generic
before it goes in.

Volker
(This used to be commit 2c3d5c029a31111e1fe84ddc13c1bfc183d8bfde)

16 years agor12721: GPFS 2.4 on Linux will contain some windows semantics, ie share modes and
Volker Lendecke [Thu, 5 Jan 2006 11:35:29 +0000 (11:35 +0000)]
r12721: GPFS 2.4 on Linux will contain some windows semantics, ie share modes and
oplocks across the cluster. Adapt Samba to it.

The gpfs API is called via libgpfs.so. This code is written with dlopen(), so
that you can compile on a system with gpfs installed and later on run on
systems without gpfs available.

So to actually make Samba call gpfs share mode calls you need to compile with
gpfs.h and libgpfs.so around and set 'gpfs share = yes' on the shares you
export from GPFS.

Volker
(This used to be commit 2253b17a1a88555291b59d52c826c81c2b8f7e7f)

16 years agor12714: Fix segfault in pdb_nds.c.
Günther Deschner [Wed, 4 Jan 2006 13:04:43 +0000 (13:04 +0000)]
r12714: Fix segfault in pdb_nds.c.

Guenther
(This used to be commit f78c7f8abea4cb598eca78fa3beacee8a3caee20)

16 years agor12713: Remove use of uint8_t -> uint8.
Jeremy Allison [Wed, 4 Jan 2006 12:48:54 +0000 (12:48 +0000)]
r12713: Remove use of uint8_t -> uint8.
Jeremy.
(This used to be commit 4473ac4ef9c86574fc49b1e67089b59b14b6d10d)

16 years agor12678: One more
Volker Lendecke [Mon, 2 Jan 2006 18:23:49 +0000 (18:23 +0000)]
r12678: One more
(This used to be commit f80fe785bcecd1a27df650e3fdbfd01621b9cc58)

16 years agor12663: Fix a memleak
Volker Lendecke [Sun, 1 Jan 2006 18:30:44 +0000 (18:30 +0000)]
r12663: Fix a memleak
(This used to be commit 3ee6b732f4210e6de6716364ec166f44f29f4463)

16 years agor12660: Happy New Year!
Stefan Metzmacher [Sun, 1 Jan 2006 18:02:50 +0000 (18:02 +0000)]
r12660: Happy New Year!

metze
(This used to be commit 5cef2c320b22a865f32a25412ce506442e255fc3)

16 years agor12653: Patch from SATOH Fumiyasu <fumiyas@miraclelinux.com>
Jeremy Allison [Sun, 1 Jan 2006 15:59:22 +0000 (15:59 +0000)]
r12653: Patch from SATOH Fumiyasu <fumiyas@miraclelinux.com>
for bug #3348. Don't assume owning sticky bit
directory means write access allowed.
Jeremy.
(This used to be commit 1032aa890f53097f87fa97689cb21d908b32093c)

16 years agor12645: Fix some memleaks. This will also be in the trunk checkin that comes next.
Volker Lendecke [Sat, 31 Dec 2005 10:57:43 +0000 (10:57 +0000)]
r12645: Fix some memleaks. This will also be in the trunk checkin that comes next.

Volker
(This used to be commit dc167037b0f3bada390dfdb820cb84ed9a4cfdcf)

16 years agor12603: NO, I'm not claiming maintainership of this.
Volker Lendecke [Fri, 30 Dec 2005 11:01:29 +0000 (11:01 +0000)]
r12603: NO, I'm not claiming maintainership of this.

Fix bug 3351.

Volker
(This used to be commit 082763988d9b1ba1f543452aae47ad3e3be047ef)

16 years agor12593: packaging fixes missed from the 3.0.21 build
Gerald Carter [Thu, 29 Dec 2005 23:47:58 +0000 (23:47 +0000)]
r12593: packaging fixes missed from the 3.0.21 build
(This used to be commit 86952f680af613ec22691ec9a30714d18ff68479)

16 years agor12581: And another one :-)
Volker Lendecke [Thu, 29 Dec 2005 19:30:06 +0000 (19:30 +0000)]
r12581: And another one :-)
(This used to be commit 3247a4cfc1df27c23806f196257bd8c68cb63176)

16 years agor12579: r12122@cabra: derrell | 2005-12-29 12:03:00 -0500
Derrell Lipman [Thu, 29 Dec 2005 17:03:39 +0000 (17:03 +0000)]
r12579:  r12122@cabra:  derrell | 2005-12-29 12:03:00 -0500
 allow for arbitrary option value types
(This used to be commit 64c8e32b6382e48bce5c1f18179e66ca765a70af)

16 years agor12576: r12115@cabra: derrell | 2005-12-29 11:16:03 -0500
Derrell Lipman [Thu, 29 Dec 2005 16:26:06 +0000 (16:26 +0000)]
r12576:  r12115@cabra:  derrell | 2005-12-29 11:16:03 -0500
 bug (enhancement) #2651: add option to log debug messages to stderr instead of stdout
(This used to be commit 4182eb99af5b343291a661a87d08edd91fd09a7a)

16 years agor12570: r12084@cabra: derrell | 2005-12-29 10:05:16 -0500
Derrell Lipman [Thu, 29 Dec 2005 15:06:59 +0000 (15:06 +0000)]
r12570:  r12084@cabra:  derrell | 2005-12-29 10:05:16 -0500
 do not open connection when only looking for cached connection; also, fix crash caused by missing initialization following recent locale changes
(This used to be commit 0070d816ab53eba047c009604d02f7e088290978)

16 years agor12569: r12083@cabra: derrell | 2005-12-29 09:39:45 -0500
Derrell Lipman [Thu, 29 Dec 2005 15:06:53 +0000 (15:06 +0000)]
r12569:  r12083@cabra:  derrell | 2005-12-29 09:39:45 -0500
 fix line length and make formatting/indentation more consistent
(This used to be commit 3d45023368e651315ff5620345c755c103c91065)

16 years agor12564: Ensure load_case_tables is always done first.
Jeremy Allison [Thu, 29 Dec 2005 13:10:33 +0000 (13:10 +0000)]
r12564: Ensure load_case_tables is always done first.
Jeremy.
(This used to be commit addb5095292d6b201cc85f6acab5ec8e6f8f4404)

16 years agor12555: Fix more load_case_table swegfaults. Arggg.
Jeremy Allison [Wed, 28 Dec 2005 22:48:54 +0000 (22:48 +0000)]
r12555: Fix more load_case_table swegfaults. Arggg.
What I'd give for a global constructor...
Jeremy.
(This used to be commit c970d7d0a5ba225465dfb0980989b8817b17c643)

16 years agor12544: Fix segfaults in winbind, smbpasswd and net
Volker Lendecke [Wed, 28 Dec 2005 21:10:11 +0000 (21:10 +0000)]
r12544: Fix segfaults in winbind, smbpasswd and net
(This used to be commit 9ca8edc26e66887d6333943bc6a9776352c657fc)

16 years agor12541: patch from Oliver Schulze L. <oliver@samera.com.py> to check for rpm v4...
Gerald Carter [Wed, 28 Dec 2005 14:19:03 +0000 (14:19 +0000)]
r12541: patch from Oliver Schulze L. <oliver@samera.com.py> to check for rpm  v4.3 (CentOS)
(This used to be commit f49f2322d129e9e9270c8bb805bb42c7afbdfb1c)

16 years agor12522: Try and fix bug #2926 by removing setlocale(LC_ALL, "C")
Jeremy Allison [Tue, 27 Dec 2005 20:52:36 +0000 (20:52 +0000)]
r12522: Try and fix bug #2926 by removing setlocale(LC_ALL, "C")
and replace calls to isupper/islower/toupper/tolower with
ASCII equivalents (mapping into _w variants).
Jeremy.
(This used to be commit c2752347eb2deeb2798c580ec7fc751a847717e9)

16 years agor12497: add a simplex option
Simo Sorce [Mon, 26 Dec 2005 17:36:33 +0000 (17:36 +0000)]
r12497: add a simplex option
better usage message
(This used to be commit c007f20c955f224c6a8deeb0b1f82e8432f1b9ab)

16 years agor12495: Crackcheck utility enhancement based on patch sent by Tom Geissler
Simo Sorce [Mon, 26 Dec 2005 17:22:46 +0000 (17:22 +0000)]
r12495: Crackcheck utility enhancement based on patch sent by Tom Geissler
(This used to be commit aa34304f61bd10cb1f80b4c0c27dd3834dc47fa3)

16 years agor12491: End profile fixes from SATOH Fumiyasu <fumiya@samba.gr.jp>.
Jeremy Allison [Mon, 26 Dec 2005 11:44:15 +0000 (11:44 +0000)]
r12491: End profile fixes from SATOH Fumiyasu <fumiya@samba.gr.jp>.
Jeremy.
(This used to be commit 2187502732e41690bf266f229312bb9c7177cf22)

16 years agor12485: r12044@cabra: derrell | 2005-12-25 16:46:47 -0500
Derrell Lipman [Sun, 25 Dec 2005 21:46:58 +0000 (21:46 +0000)]
r12485:  r12044@cabra:  derrell | 2005-12-25 16:46:47 -0500
 When enumerating what could be a server name or a workgroup name, first
 check for an existing server structure.  If none exists, then go through
 the previous determination of whether it's a serrver or a workgroup.  This
 should avoid doing a NetBIOS name query each time, if we've already
 connected to the specified server.  (While we're at it, clean up indenting
 and line length in this area of code.)
(This used to be commit 85e4cab1d949f1ab9ce04b96de0b8d1c8113df67)

16 years agor12477: Remove a gcc -O6 warning
Volker Lendecke [Sun, 25 Dec 2005 10:41:34 +0000 (10:41 +0000)]
r12477: Remove a gcc -O6 warning
(This used to be commit dd39a37f8e6ab7dad46b180959636f5e402c136d)

16 years agor12476: Apply some const
Volker Lendecke [Sun, 25 Dec 2005 10:27:45 +0000 (10:27 +0000)]
r12476: Apply some const
(This used to be commit a3f102f6c3ada10e74d72944e767b9b263fe83dd)

16 years agor12475: Actually configure with profile support this time ...
Volker Lendecke [Sun, 25 Dec 2005 10:06:05 +0000 (10:06 +0000)]
r12475: Actually configure with profile support this time ...
(This used to be commit 9cd4b894ea1e5c0ccfd50f8d2f84180c702d97ee)

16 years agor12474: Fix a warning
Volker Lendecke [Sun, 25 Dec 2005 09:49:10 +0000 (09:49 +0000)]
r12474: Fix a warning
(This used to be commit e361f4a5c55ed88b706cfc348907a899d8970445)

16 years agor12472: r12040@cabra: derrell | 2005-12-24 23:26:55 -0500
Derrell Lipman [Sun, 25 Dec 2005 04:26:59 +0000 (04:26 +0000)]
r12472:  r12040@cabra:  derrell | 2005-12-24 23:26:55 -0500
 revert immediately previous change and fix problem correctly.  Interfaces were being loaded before all configuration files had been read.  *This* should fix byg 3336.
(This used to be commit ded5fceef1e9086dcdaba1959f812810f04fe8bc)

16 years agor12471: r12038@cabra: derrell | 2005-12-24 23:17:16 -0500
Derrell Lipman [Sun, 25 Dec 2005 04:17:32 +0000 (04:17 +0000)]
r12471:  r12038@cabra:  derrell | 2005-12-24 23:17:16 -0500
 libsmbclient was not loading the global configuration file.  This should fix 3336.
(This used to be commit 6d7a9ce7a7060b9b397ae77b8b54d3cf25e50e5a)

16 years agor12468: r12033@cabra: derrell | 2005-12-24 21:03:45 -0500
Derrell Lipman [Sun, 25 Dec 2005 02:03:51 +0000 (02:03 +0000)]
r12468:  r12033@cabra:  derrell | 2005-12-24 21:03:45 -0500
 actually add the new test program
(This used to be commit e3bab0cc437f3c51c74e438d8d76ffd8afe8644c)

16 years agor12467: r12029@cabra: derrell | 2005-12-24 20:25:59 -0500
Derrell Lipman [Sun, 25 Dec 2005 02:00:35 +0000 (02:00 +0000)]
r12467:  r12029@cabra:  derrell | 2005-12-24 20:25:59 -0500
 add another libsmbclient test program
(This used to be commit 133cd3952b7f5fc9e9ca8d82a33ed1272067a6c8)

16 years agor12466: r12028@cabra: derrell | 2005-12-24 20:25:38 -0500
Derrell Lipman [Sun, 25 Dec 2005 02:00:21 +0000 (02:00 +0000)]
r12466:  r12028@cabra:  derrell | 2005-12-24 20:25:38 -0500
 parse dates correctly.  w_time and m_time were reversed.
(This used to be commit 481abfbab40209e087c82eadc15c3697eae0ae5b)

16 years agor12460: Fixes for bug 3349
Volker Lendecke [Sat, 24 Dec 2005 21:06:41 +0000 (21:06 +0000)]
r12460: Fixes for bug 3349
(This used to be commit 040eda6bf0517204d5650702eea7e1d1c5eeb3d5)

16 years agor12452: Fix Bug #3053 to allow esp. older eDirectory releases to load our LDAP
Günther Deschner [Fri, 23 Dec 2005 14:45:56 +0000 (14:45 +0000)]
r12452: Fix Bug #3053 to allow esp. older eDirectory releases to load our LDAP
schema.

Maybe "Base64 encoded user parameter string" is not much clearer then
"munged dial" - anyone got a better description ?

Guenther
(This used to be commit 02ccde5f4792e34ad88b7adb5ebaf1747cb8151f)

16 years agor12441: Fix python build.
Günther Deschner [Thu, 22 Dec 2005 22:15:52 +0000 (22:15 +0000)]
r12441: Fix python build.

Guenther
(This used to be commit e33a20c222948414a9cf92fe6f63e655aebb6b06)

16 years agor12438: Remove an unused function
Volker Lendecke [Thu, 22 Dec 2005 20:57:47 +0000 (20:57 +0000)]
r12438: Remove an unused function
(This used to be commit 561e351d25b58fda4b050525aa03d18e4d88cc6c)

16 years agor12415: Forgot newlines.
Günther Deschner [Wed, 21 Dec 2005 23:26:23 +0000 (23:26 +0000)]
r12415: Forgot newlines.

Guenther
(This used to be commit c727a1a330e50b0919ff705d9ebc55c72d8fdee4)

16 years agor12414: Remove the unnecessary SMB_STRDUP in server_role_str() + reuse the role
Günther Deschner [Wed, 21 Dec 2005 23:15:57 +0000 (23:15 +0000)]
r12414: Remove the unnecessary SMB_STRDUP in server_role_str() + reuse the role
translation elsewhere.

Guenther
(This used to be commit 6c4a6da3dc7cecce09890a0da7d97b9d1bb47827)

16 years agor12407: Fix returning wrong error codes and better sort out errors and stdout
Günther Deschner [Wed, 21 Dec 2005 12:52:04 +0000 (12:52 +0000)]
r12407: Fix returning wrong error codes and better sort out errors and stdout
messages.

Guenther
(This used to be commit 3ca735f7ad5bee53cd778f13347d48a76008d6e4)

16 years agor12406: Since w2k3 sp1 we fail to create user accounts using e.g. "net ads user
Günther Deschner [Wed, 21 Dec 2005 10:05:39 +0000 (10:05 +0000)]
r12406: Since w2k3 sp1 we fail to create user accounts using e.g. "net ads user
add" with "Server is unwilling to perform". Seems we have to put in the
same userAccountControl bits the server would pick when we wouldn't send
them at all.

Guenther
(This used to be commit fd5da5875cdc47fc6ef6ba1615a9635f9f157589)

16 years agor12403: Update url on the docs directory README.
Deryck Hodge [Wed, 21 Dec 2005 04:47:57 +0000 (04:47 +0000)]
r12403: Update url on the docs directory README.

deryck
(This used to be commit aeff7e3e180b3d8a79a1f90f7458ba85a670a451)

16 years agor12400: one line patch for Sun LDAP libs pointed out by Nicholas Brealey <nick@breale...
Gerald Carter [Tue, 20 Dec 2005 18:20:39 +0000 (18:20 +0000)]
r12400: one line patch for Sun LDAP libs pointed out by Nicholas Brealey <nick@brealey.org>
(This used to be commit 5121d3806992da79d194717ef7a9da810b5ff679)

16 years agor12398: adding Guenther's account policy migration fix
Gerald Carter [Tue, 20 Dec 2005 15:10:41 +0000 (15:10 +0000)]
r12398: adding Guenther's account policy migration fix
(This used to be commit be32f10609f2274903cb3b2c6b84c9aa62962151)

16 years agor12393: cleaning up swat bugs. *no one* tests swat it seems. This has been broken...
Gerald Carter [Tue, 20 Dec 2005 02:23:51 +0000 (02:23 +0000)]
r12393: cleaning up swat bugs.  *no one* tests swat it seems.  This has been broken since r10656
(This used to be commit 85ea7afd8bd30e0a2bcbc7181f75fde63b016a34)

16 years agor12387: Make string_to_sid a little more silent.
Jeremy Allison [Tue, 20 Dec 2005 00:16:18 +0000 (00:16 +0000)]
r12387: Make string_to_sid a little more silent.
Jeremy.
(This used to be commit 7ccff8071abf2bd85f4022abace1f96c7f7f0d29)

16 years agor12376: Second patch from Martin Koeppe <mkoeppe@gmx.de>
Jeremy Allison [Mon, 19 Dec 2005 23:07:25 +0000 (23:07 +0000)]
r12376: Second patch from Martin Koeppe <mkoeppe@gmx.de>
for #3287.
Jeremy.
(This used to be commit 8680eebbba220eea257c9ea093d5a463afe7bd94)

16 years agor12341: add DEBUG statement.
Günther Deschner [Mon, 19 Dec 2005 03:02:56 +0000 (03:02 +0000)]
r12341: add DEBUG statement.

Guenther
(This used to be commit d50098518d77f9559457f558df7d11d3f026833e)

16 years agor12338: add ifdef DEBUG_PASSWORD before printing clear text password.
Günther Deschner [Mon, 19 Dec 2005 02:22:13 +0000 (02:22 +0000)]
r12338: add ifdef DEBUG_PASSWORD before printing clear text password.

Guenther
(This used to be commit e0be0e052380b38235d4f34d366f48707ed59df7)

16 years agor12336: A couple of fixes and enhancements for adssearch.pl (espc. to debug
Günther Deschner [Mon, 19 Dec 2005 02:15:13 +0000 (02:15 +0000)]
r12336: A couple of fixes and enhancements for adssearch.pl (espc. to debug
GPOs).

sid2string fix from Michael James <michael@james.st>.

Guenther
(This used to be commit 9424b65c70bd24ba8f5b6c729dc1440a4dbf5647)

16 years agor12313: Introduce yet another copy of the string_sub function:
Volker Lendecke [Sun, 18 Dec 2005 18:06:15 +0000 (18:06 +0000)]
r12313: Introduce yet another copy of the string_sub function:
talloc_string_sub. Someone with time on his hands could convert all the
callers of all_string_sub to this.

realloc_string_sub is *only* called from within substitute.c, it could be
moved there I think.

Volker
(This used to be commit be6c9012da174d5d5116e5172a53bbe6486d6c38)

16 years agor12312: Reformatting and a trivial change: is_share_read_only_for_user only uses
Volker Lendecke [Sun, 18 Dec 2005 14:23:23 +0000 (14:23 +0000)]
r12312: Reformatting and a trivial change: is_share_read_only_for_user only uses
conn->service, so there's no point in passing down the whole conn struct.

Volker
(This used to be commit 39041297c771795efaa4292bc6e8020c1a047f32)

16 years agor12311: Reformatting
Volker Lendecke [Sun, 18 Dec 2005 13:54:53 +0000 (13:54 +0000)]
r12311: Reformatting
(This used to be commit 23f5be1dcbb9e5a1e7f24813c67009056b07d59c)

16 years agor12308: Reformatting
Volker Lendecke [Sat, 17 Dec 2005 17:19:21 +0000 (17:19 +0000)]
r12308: Reformatting
(This used to be commit 97acfa12e52e889c97d0f7ce72c1a7f863cb0665)

16 years agor12307: Reformatting plus a trivial if/else simplification. There's no point in doing
Volker Lendecke [Sat, 17 Dec 2005 17:13:45 +0000 (17:13 +0000)]
r12307: Reformatting plus a trivial if/else simplification. There's no point in doing
an else branch that only returns NULL.

Volker
(This used to be commit ef4d9d96de3f1a242d26ae2f8033103bbdb7a2dc)

16 years agor12306: Reformatting
Volker Lendecke [Sat, 17 Dec 2005 16:56:24 +0000 (16:56 +0000)]
r12306: Reformatting
(This used to be commit 3f1dad5fdbd104dc0c03a6a9488bd619b8915c83)

16 years agor12305: Reformatting
Volker Lendecke [Sat, 17 Dec 2005 16:31:04 +0000 (16:31 +0000)]
r12305: Reformatting
(This used to be commit f574e980aac5bae5e1e3cc23ec648b69a87eb04a)

16 years agor12303: Move split_domain_and_name to util_getent.c and make it static there.
Volker Lendecke [Sat, 17 Dec 2005 15:38:41 +0000 (15:38 +0000)]
r12303: Move split_domain_and_name to util_getent.c and make it static there.

Volker
(This used to be commit e7f348fcf871e8559ecf4e3e597627a78187d1da)

16 years agor12291: Make getgroups_user static.
Volker Lendecke [Fri, 16 Dec 2005 16:16:52 +0000 (16:16 +0000)]
r12291: Make getgroups_user static.

Jeremy, there's a #ifdef'ed 0 call to this in your usershare code. We need to
talk about what exactly what you intend to do here and in what scenarios.

Volker
(This used to be commit 95094ef758089cfc62700509d45b53bc0980654d)

16 years agor12290: Typo
Volker Lendecke [Fri, 16 Dec 2005 15:58:31 +0000 (15:58 +0000)]
r12290: Typo
(This used to be commit de839cc1658b6394e153a1f027c29524b301625b)

16 years agor12281: adding a note about WINS and NetLogon not being remotely manageable
Gerald Carter [Fri, 16 Dec 2005 01:41:25 +0000 (01:41 +0000)]
r12281: adding a note about WINS and NetLogon not being remotely manageable
(This used to be commit b86528865abae7380e80a8a18f9fb53ac77d6472)

16 years agor12279: unix_mask_match has been broken for *ever*... (How).
Jeremy Allison [Fri, 16 Dec 2005 01:41:12 +0000 (01:41 +0000)]
r12279: unix_mask_match has been broken for *ever*... (How).
Ensure it returns a BOOL.
Jerry (and anyone else) please check this, I think
all uses are now correct but could do with another
set of eyes. Essential for 3.0.21 release.
Jeremy.
(This used to be commit 0c7b8a7637e760fcb6629092f36b610b8c71f5c9)

16 years agor12275: Fix memory leak found by Mikhail Kshevetskiy <kl@laska.dorms.spbu.ru>
Jeremy Allison [Fri, 16 Dec 2005 00:10:59 +0000 (00:10 +0000)]
r12275: Fix memory leak found by Mikhail Kshevetskiy <kl@laska.dorms.spbu.ru>
and followed up by derrell@samba.org.
Jeremy.
(This used to be commit 5cab88f1444177129bb5521ccc4afd8869e9bf25)

16 years agor12273: Fix copy paste error.
Günther Deschner [Fri, 16 Dec 2005 00:01:15 +0000 (00:01 +0000)]
r12273: Fix copy paste error.

Guenther
(This used to be commit 266f5fc9af6a07bc1f1432e716e6c528e9048533)

16 years agor12262: * patch from Brian Moran to fix segv in eventlogadm when not eventlogs
Gerald Carter [Thu, 15 Dec 2005 18:39:28 +0000 (18:39 +0000)]
r12262: * patch from Brian Moran to fix segv in eventlogadm when not eventlogs
  are listed in smb.conf
* initialize the local group description in set_alias_info()
(This used to be commit 58f8b42069a69c0b61da2609e5706a6c0d512e09)