ira/wip.git
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)

16 years agor12250: Patch from Martin Koeppe <mkoeppe@gmx.de> for #3287
Jeremy Allison [Wed, 14 Dec 2005 23:52:58 +0000 (23:52 +0000)]
r12250: Patch from Martin Koeppe <mkoeppe@gmx.de> for #3287
to make the dev/inode numbers match what SFU expects.
If we're using 8 byte inodes we'll lose the top 4 bytes
and replace them with a dev_t instead, but this seem
reasonable to ensure uniqueness.
Jeremy.
(This used to be commit e53574d0b43e5525029c89e56331701399013d91)

16 years agor12245: eDirectory returns LDAP_UNWILLING_TO_PERFORM if the
Jeremy Allison [Wed, 14 Dec 2005 20:39:42 +0000 (20:39 +0000)]
r12245: eDirectory returns LDAP_UNWILLING_TO_PERFORM if the
account is disabled. If we get this we can't check
the password so have to tell the client the account
was disabled.
Jeremy.
(This used to be commit 43c2d545ab98fef341c7e22d3b82c98bd0afebc2)

16 years agor12236: r11740@cabra: derrell | 2005-12-14 13:16:58 -0500
Derrell Lipman [Wed, 14 Dec 2005 18:17:05 +0000 (18:17 +0000)]
r12236:  r11740@cabra:  derrell | 2005-12-14 13:16:58 -0500
 check in the DEBUG message referenced in the previous commit
(This used to be commit 6c04a8f9adfcd40fb0f1e1fcd4e22056ee463046)

16 years agor12235: r11738@cabra: derrell | 2005-12-14 13:15:14 -0500
Derrell Lipman [Wed, 14 Dec 2005 18:15:54 +0000 (18:15 +0000)]
r12235:  r11738@cabra:  derrell | 2005-12-14 13:15:14 -0500
 Ensure that when libsmbclient copies a cli, it prevents the cli from later
 being freed, by turning off the 'allocated' flag.

 Change a DEBUG message in pipe_open code from level 0 to level 1 since
 libsmbclient is now regularly attempting to open a pipe for share enumeration,
 and falling back to RAP if RPC is unavailable (e.g. win98).  We don't want
 the debug message to display when the pipe open fails, under these normal
 circumstances.
(This used to be commit 965025c057d9e00fb68ea0819e675fcf9ad2f819)

16 years agor12234: Reduce the race condition for renames by holding the lock
Jeremy Allison [Wed, 14 Dec 2005 17:46:29 +0000 (17:46 +0000)]
r12234: Reduce the race condition for renames by holding the lock
longer. Instigated by complaints on the fix for #3303 from
SATOH Fumiyasu <fumiyas@miraclelinux.com>.
Jeremy.
(This used to be commit 855f5f8c32aa530dbad244805a40200824724618)

16 years agor12225: r11729@cabra: derrell | 2005-12-13 22:59:45 -0500
Derrell Lipman [Wed, 14 Dec 2005 04:00:58 +0000 (04:00 +0000)]
r12225:  r11729@cabra:  derrell | 2005-12-13 22:59:45 -0500
 1. Fix a crash bug which should have reared its ugly head ages ago, but for
    some reason, remained dormant until recently.  The bug pertained to
    libsmbclient doing a structure assignment of a cli after having opened a
    pipe.  The pipe open code makes a copy of the cli pointer that was passed
    to it.  If the cli is later copied (and that cli pointer that was saved
    is no longer valid), the pipe code will cause a crash during shutdown or
    when the copied cli is closed.

 2. The 'type' field in enumerated shares was not being set correctly with
    the new RPC-based mechanism for enumerating shares.
(This used to be commit 62a02b8f2a1fcb66881a9c9636e0b27e3049c5a1)

16 years agor12224: adding more characters to the invalid share name string
Gerald Carter [Wed, 14 Dec 2005 01:09:46 +0000 (01:09 +0000)]
r12224: adding more characters to the invalid share name string
(This used to be commit e461143639889da78cd4de47df40ac59a5a758a4)

16 years agor12221: Fix error code paths that can potentially leave a dangling lock.
Jeremy Allison [Wed, 14 Dec 2005 00:42:40 +0000 (00:42 +0000)]
r12221: Fix error code paths that can potentially leave a dangling lock.
Jeremy.
(This used to be commit 123135ed1ddd84cc0a5e8e5ca06a0703d1944e37)

16 years agor12214: Fix compile if SYNC_DNS is set.
Jeremy Allison [Tue, 13 Dec 2005 19:37:05 +0000 (19:37 +0000)]
r12214: Fix compile if SYNC_DNS is set.
Jeremy.
(This used to be commit 7c545e1e77c3e235b21eb11d5ced91c603da491d)

16 years agor12213: Final fix for #3303 - send rename messages to smbd's
Jeremy Allison [Tue, 13 Dec 2005 18:11:50 +0000 (18:11 +0000)]
r12213: Final fix for #3303 - send rename messages to smbd's
that have open file handles to allow them to correctly
implement delete on close. There is a further correctness
fix I'm intending to add to this to cope with different share
paths, but not right now...
Jeremy.
(This used to be commit 932e337db8788e75344e1c7cf1ef009d090cb039)

16 years agor12203: Add the share path into the sharemode db. This involves
Jeremy Allison [Mon, 12 Dec 2005 22:07:36 +0000 (22:07 +0000)]
r12203: Add the share path into the sharemode db. This involves
revving the minor version number for libsmbsharemodes (we
now have a new _ex interface that takes the share path
as well as the filename). Needed for #3303. Some code written
by SATOH Fumiyasu <fumiya@samba.gr.jp> included in the changes
to locking/locking.c. The smbstatus output is a bit of a mess
and needs overhauling...
Jeremy.
(This used to be commit 9d93af713f8520ca506730dd32aa2b994937eaba)

16 years agor12196: patch from Krishna Ganugapati <krishnag@centeris.com>
Gerald Carter [Mon, 12 Dec 2005 18:55:54 +0000 (18:55 +0000)]
r12196: patch from Krishna Ganugapati <krishnag@centeris.com>

Use the subtree delete ldap control when running 'net ads leave'
to ensure that the machine account is actually deleted.
(This used to be commit e96000c16cd182b2e2cbdc1a287002306d2965e6)

16 years agor12194: Ensure that when we set a connection path we've canonicalized
Jeremy Allison [Mon, 12 Dec 2005 18:21:59 +0000 (18:21 +0000)]
r12194: Ensure that when we set a connection path we've canonicalized
the name (must be abolute - start with /, must not end in /,
must have ./ and ../ removed). Of course for realpath resolved
paths this won't be the case but for others we need this name
to be canonicalized. This name is going into the sharemode db
for #3303 so needs to be in a normalized format.
Jeremy.
(This used to be commit 22e3300911809692b595f49e87d91e3111923e6a)

16 years agor12193: Fix some typos.
Günther Deschner [Mon, 12 Dec 2005 14:08:42 +0000 (14:08 +0000)]
r12193: Fix some typos.

Guenther
(This used to be commit 499224f02a8722eea0d4644ca81ca55da0e9a86b)

16 years agor12185: Cosmetic cleanup
Volker Lendecke [Sun, 11 Dec 2005 21:59:58 +0000 (21:59 +0000)]
r12185: Cosmetic cleanup
(This used to be commit d1e8f9afffecf986a428bfac29b22dcbce610016)

16 years agor12182: Cosmetic cleanup
Volker Lendecke [Sun, 11 Dec 2005 16:55:28 +0000 (16:55 +0000)]
r12182: Cosmetic cleanup
(This used to be commit 81c358b511457fbc6304845acb4bfbf1b4adf062)

16 years agor12177: last of outstanding patches in my queue to deal with MMC.
Gerald Carter [Sun, 11 Dec 2005 05:06:35 +0000 (05:06 +0000)]
r12177: last of outstanding patches in my queue to deal with MMC.
Validate the share name and fail when trying to creating
a share with bad characters.
(This used to be commit 174fe494f9cbec3386ed687007e137fa7064373d)

16 years agor12176: fix type mismatch after rpc structure change in rpc_svcctl.h
Gerald Carter [Sun, 11 Dec 2005 04:41:54 +0000 (04:41 +0000)]
r12176: fix type mismatch after rpc structure change in rpc_svcctl.h
(This used to be commit ba67d3ae0430abc196d245218556c23002e52076)

16 years agor12174: Simple patch to work around the current lack of BUILTIN
Gerald Carter [Sun, 11 Dec 2005 04:39:33 +0000 (04:39 +0000)]
r12174: Simple patch to work around the current lack of BUILTIN
nested group support.  Always add the BUILTIN\Administrators
SID to a Domain Admins token.

This solves the extra steps of establishing a group map for
the local Administrators SID in order to control services.
Windows also tends to expect the Administrators group to be
usable when setting up security permissions on shares.

Volker's work will probably fix this long term, but this
gets us past some of the setup hurdles for 3.0.21.
(This used to be commit 170b6a68bcbd66bae322c5b1b8c8501ca96acab2)

16 years agor12173: doing some service control work
Gerald Carter [Sun, 11 Dec 2005 04:21:34 +0000 (04:21 +0000)]
r12173: doing some service control work

* Add a few new error codes for disabled services
* dump some more details about service status in 'net rpc service'
* disable the WINS and NetLogon services if not configured in smb.conf

Still trying to figure out how to disable the start button
on the NetLogon and WINS services.
(This used to be commit c0f54eeebc84ec9fab63c5b105511762bcc136be)

16 years agor12170: Fix a segfault -- this is post-3.0.21 code
Volker Lendecke [Sat, 10 Dec 2005 23:56:42 +0000 (23:56 +0000)]
r12170: Fix a segfault -- this is post-3.0.21 code
(This used to be commit 8b30cf8e09944cd97e4ab959f730bf81591c2541)

16 years agor12169: Remove an unused function
Volker Lendecke [Sat, 10 Dec 2005 23:29:39 +0000 (23:29 +0000)]
r12169: Remove an unused function
(This used to be commit 209e4f8793fe9375fc6af1aedb5bd1fe57193bbc)

16 years agor12163: Change lookup_sid and lookup_name to return const char * instead of char *,
Volker Lendecke [Sat, 10 Dec 2005 11:22:01 +0000 (11:22 +0000)]
r12163: Change lookup_sid and lookup_name to return const char * instead of char *,
use a temporary talloc_ctx for clarity.

Volker
(This used to be commit b15815c804bf3e558ed6357b5e9a6e3e0fac777f)

16 years agor12160: The filename parameter to get_share_mode_lock is going
Jeremy Allison [Sat, 10 Dec 2005 01:33:58 +0000 (01:33 +0000)]
r12160: The filename parameter to get_share_mode_lock is going
to become very important as we fix #3303, so make sure
we don't accidently set it here.
Jeremy.
(This used to be commit d1a9d0587cd9a391f0193ca76cb319803c6e019f)

16 years agor12133: Fix an uninitialized variable in new code in rpc_server/srv_samr_nt.c.
Volker Lendecke [Thu, 8 Dec 2005 19:34:22 +0000 (19:34 +0000)]
r12133: Fix an uninitialized variable in new code in rpc_server/srv_samr_nt.c.

Fix winbind_lookup_name for the local domain, ie for aliases on a member
server.

Volker
(This used to be commit 4ba50c823e8d61f87ab5627f15e826e73e45ffcc)

16 years agor12131: Fix it really, this time :)
Günther Deschner [Thu, 8 Dec 2005 16:34:57 +0000 (16:34 +0000)]
r12131: Fix it really, this time :)

Guenther
(This used to be commit 4a506dbc3c63b965044aa16374f46531375cc920)

16 years agor12130: display domain GUID.
Günther Deschner [Thu, 8 Dec 2005 16:25:33 +0000 (16:25 +0000)]
r12130: display domain GUID.

Guenther
(This used to be commit 8e63da03665651ab0315d76d27a4ea4375b2acd0)

16 years agor12129: Fix uninitialized variables.
Volker Lendecke [Thu, 8 Dec 2005 15:34:38 +0000 (15:34 +0000)]
r12129: Fix uninitialized variables.

Volker
(This used to be commit 8a7d6eb2c081c0d74b62aa76dc243946df62ced2)

16 years agor12119: r10812@cabra: derrell | 2005-12-07 22:44:26 -0500
Derrell Lipman [Thu, 8 Dec 2005 03:44:40 +0000 (03:44 +0000)]
r12119:  r10812@cabra:  derrell | 2005-12-07 22:44:26 -0500
 sync to repository didn't work correctly...???
(This used to be commit 86ab4cf42b3bfe78239ee0b367bff9cfc5484107)

16 years agor12118: r10805@cabra: derrell | 2005-12-07 22:34:55 -0500
Derrell Lipman [Thu, 8 Dec 2005 03:41:19 +0000 (03:41 +0000)]
r12118:  r10805@cabra:  derrell | 2005-12-07 22:34:55 -0500
 first go at supporting long file names.  seeems to work; requires more testing
(This used to be commit 99fbe44ac569f218bd1b4d1026c18cc72f0a1f0e)

16 years agor12111: Fix the "everything" build by re-adding debug2html. Oops.
Jeremy Allison [Tue, 6 Dec 2005 23:31:33 +0000 (23:31 +0000)]
r12111: Fix the "everything" build by re-adding debug2html. Oops.
Jeremy.
(This used to be commit d270b809edfdeb680d7e243e53f6de9e2493f56e)

16 years agor12110: We're using a tdb-based wins backend now. Thanks to the
Jeremy Allison [Tue, 6 Dec 2005 23:09:01 +0000 (23:09 +0000)]
r12110: We're using a tdb-based wins backend now. Thanks to the
ubiqx code, which has served us well for many a year..
"Well done, thou good and faithful servant".
Jeremy.
(This used to be commit 32380002e44766669b28621e62a0b74652b1798f)

16 years agor12107: Move to a tdb-based wins database. At the moment we still
Jeremy Allison [Tue, 6 Dec 2005 23:06:38 +0000 (23:06 +0000)]
r12107: Move to a tdb-based wins database. At the moment we still
use it as though it were an in-memory db and dump out to
a flat file every 2 mins, but that can now change.
Jeremy.
(This used to be commit a342681792724c1ae8561ba8d352c4ee6e2a5332)

16 years agor12106: Fix return value
Günther Deschner [Tue, 6 Dec 2005 20:22:51 +0000 (20:22 +0000)]
r12106: Fix return value

Guenther
(This used to be commit 1fa8039397175331d9f5e8b5e3897e9bba14484a)

16 years agor12098: r10797@cabra: derrell | 2005-12-06 12:09:00 -0500
Derrell Lipman [Tue, 6 Dec 2005 17:09:44 +0000 (17:09 +0000)]
r12098:  r10797@cabra:  derrell | 2005-12-06 12:09:00 -0500
 fixed another memory leak and reverted an (incorrect) fix from yesterday
(This used to be commit 8a86d7bddc291da094d060fbe185f071ffdbddd8)

16 years agor12096: Change uint32_t to uint32. Jerry, please pick this change up for
Jeremy Allison [Tue, 6 Dec 2005 16:25:27 +0000 (16:25 +0000)]
r12096: Change uint32_t to uint32. Jerry, please pick this change up for
3.0.21 final.
Jeremy.
(This used to be commit 2b17e08d290dd7c629145d87c72f7fbd7f47b67d)

16 years agor12081: r10674@cabra: derrell | 2005-12-05 13:31:28 -0500
Derrell Lipman [Mon, 5 Dec 2005 23:30:45 +0000 (23:30 +0000)]
r12081:  r10674@cabra:  derrell | 2005-12-05 13:31:28 -0500
 get rid of temporary #if 0 blocks
(This used to be commit 376445c90b05c36206c87c974c13e5f9297f35eb)

16 years agor12080: r10673@cabra: derrell | 2005-12-05 13:22:34 -0500
Derrell Lipman [Mon, 5 Dec 2005 23:30:40 +0000 (23:30 +0000)]
r12080:  r10673@cabra:  derrell | 2005-12-05 13:22:34 -0500
 Correct some memory and file descriptor leaks.

 This should fix bugs 3257, 3267 and 3273.
(This used to be commit c5781c9cf5f1f8297e084fbe2c4a22257420a447)

16 years agor12077: Add configure switch to disable libmsrpc build. Add new Makefile target
Lars Müller [Mon, 5 Dec 2005 21:02:23 +0000 (21:02 +0000)]
r12077: Add configure switch to disable libmsrpc build.  Add new Makefile target
installlibmsrpc.  This works the same way as we're already doing it for
libsmbclient.  Default is to build it.

Add a soname to libmsrpc as we do it for libsmbclient.  We already had
the MAJOR and MINOR variable in the Makefile.
(This used to be commit 6794d440996946da0f77a83904a713dd298ba8c0)

16 years agor12076: Ensure setmntent() returns with != NULL in the disk_quotas() Linux
Lars Müller [Mon, 5 Dec 2005 16:51:19 +0000 (16:51 +0000)]
r12076: Ensure setmntent() returns with != NULL in the disk_quotas() Linux
version.

The IRIX 6.2 version is still without this check as I'm not sure if
setmntent() is implemented in the same way.
(This used to be commit 519ed7ca0ecffbc341c7516758a678af59f98586)

16 years agor12055: More cruft
Volker Lendecke [Sat, 3 Dec 2005 20:28:18 +0000 (20:28 +0000)]
r12055: More cruft
(This used to be commit 4d91f9501cd041ee42410eeace6a9acd9cc57d1c)

16 years agor12054: We only have one more warning at -O6. That will take
Jeremy Allison [Sat, 3 Dec 2005 20:18:43 +0000 (20:18 +0000)]
r12054: We only have one more warning at -O6. That will take
some more restructuring to fix.... Coming soon.
Jeremy.
(This used to be commit 739c1c4d438ccf31bb0167e1fc509d072c149d45)

16 years agor12052: Remove unused typedefs
Volker Lendecke [Sat, 3 Dec 2005 20:18:20 +0000 (20:18 +0000)]
r12052: Remove unused typedefs
(This used to be commit 612ec4de75ad06f2b12176439f96f8e5662a7d77)

16 years agor12051: Merge across the lookup_name and lookup_sid work. Lets see how the build...
Volker Lendecke [Sat, 3 Dec 2005 18:34:13 +0000 (18:34 +0000)]
r12051: Merge across the lookup_name and lookup_sid work. Lets see how the build farm
reacts :-)

Volker
(This used to be commit 9f99d04a54588cd9d1a1ab163ebb304437f932f7)

16 years agor12046: Fix typo
Volker Lendecke [Sat, 3 Dec 2005 10:15:03 +0000 (10:15 +0000)]
r12046: Fix typo
(This used to be commit b9d1a659109daeeb625f3e6caf7ec706ccdde230)

16 years agor12045: More warning fixes... Just a few more to go.
Jeremy Allison [Sat, 3 Dec 2005 06:58:54 +0000 (06:58 +0000)]
r12045: More warning fixes... Just a few more to go.
Jeremy.
(This used to be commit cd192ed79a531c6775cdbfb35f0eb2e0fa230ce9)

16 years agor12043: It's amazing the warnings you find when compiling on a 64-bit
Jeremy Allison [Sat, 3 Dec 2005 06:46:46 +0000 (06:46 +0000)]
r12043: It's amazing the warnings you find when compiling on a 64-bit
box with gcc4 and -O6...
Fix a bunch of C99 dereferencing type-punned pointer will break
strict-aliasing rules errors. Also added prs_int32 (not uint32...)
as it's needed in one place. Find places where prs_uint32 was being
used to marshall/unmarshall a time_t (a big no no on 64-bits).
More warning fixes to come.
Thanks to Volker for nudging me to compile like this.
Jeremy.
(This used to be commit c65b752604f8f58abc4e7ae8514dc2c7f086271c)

16 years agor12040: merging packaging fixes from release branch
Gerald Carter [Sat, 3 Dec 2005 01:03:16 +0000 (01:03 +0000)]
r12040: merging packaging fixes from release branch
(This used to be commit 47a9f2c3d6039a07a6970ac181aeb2888d47a353)

16 years agor12038: This file is no longer used, and no one noticed....
Jeremy Allison [Sat, 3 Dec 2005 00:51:23 +0000 (00:51 +0000)]
r12038: This file is no longer used, and no one noticed....
Jeremy.
(This used to be commit 6ec0312090dc3107e3c92099536858a22046ccfe)

16 years agor12031: Added net idmap to common help list.
John Terpstra [Fri, 2 Dec 2005 20:46:15 +0000 (20:46 +0000)]
r12031: Added net idmap to common help list.
(This used to be commit 3f11401335c0257d0f00678f80c992b5fca5e180)

16 years agor12027: changing version to 3.0.22pre1 since 3.0.21 is frozen now
Gerald Carter [Fri, 2 Dec 2005 19:30:01 +0000 (19:30 +0000)]
r12027: changing version to 3.0.22pre1 since 3.0.21 is frozen now
(This used to be commit 608f8c3da8c708ec291fdb5faa3ea14303f59750)

16 years agor12015: When smbspool tries to connect to a printer shared on a standalone
Günther Deschner [Fri, 2 Dec 2005 10:26:29 +0000 (10:26 +0000)]
r12015: When smbspool tries to connect to a printer shared on a standalone
Windows XP box, smbspool has to mimic smbclient behaviour and also send
a password-less NTLMSSP session setup.

Guenther
(This used to be commit 1136862e6d6058df4ed027b75dbae40374712bac)

16 years agor12002: patch from marcin to allow for the creation of a File value in the eventlog...
Gerald Carter [Thu, 1 Dec 2005 23:10:27 +0000 (23:10 +0000)]
r12002: patch from marcin to allow for the creation of a File value in the eventlog registry keys so that file properties can be displayed
(This used to be commit 270fef5175559ba6345bb2c3e264c527a6a084c5)

16 years agor11999: Re-add "passdb expand explicit".
Volker Lendecke [Thu, 1 Dec 2005 14:46:56 +0000 (14:46 +0000)]
r11999: Re-add "passdb expand explicit".

We came to the conclusion that changing the default is something that has to
wait one or two more releases, but it will happen one way or the other.

Volker
(This used to be commit 30fcdf84d8943e630af78a96320607c42e4d15aa)

16 years agor11998: Add lookupname to rpcclient query_user as a fallback, we now accept both rid
Volker Lendecke [Thu, 1 Dec 2005 12:52:35 +0000 (12:52 +0000)]
r11998: Add lookupname to rpcclient query_user as a fallback, we now accept both rid
and username.

Volker
(This used to be commit 8fefafcbb8dc774c7cee2062b13a2790bfc3e5c8)

16 years agor11985: Move to LGPL as per tridge's Samba4 change.
Jeremy Allison [Thu, 1 Dec 2005 00:43:34 +0000 (00:43 +0000)]
r11985: Move to LGPL as per tridge's Samba4 change.
Jeremy.
(This used to be commit 3804c4ca3914788e3d3780817ef016421418e11f)

16 years agor11978: Volker's fix for #3292 (smbclient spins if server terminates
Jeremy Allison [Wed, 30 Nov 2005 17:56:50 +0000 (17:56 +0000)]
r11978: Volker's fix for #3292 (smbclient spins if server terminates
connection).
Jeremy.
(This used to be commit 9b8602e0551500916a9d79c317589cd82d3da111)

16 years agor11976: (Slightly modified) Volker fix for #3293. Use SMBecho instead of
Jeremy Allison [Wed, 30 Nov 2005 17:53:21 +0000 (17:53 +0000)]
r11976: (Slightly modified) Volker fix for #3293. Use SMBecho instead of
chkpath to keep a connection alive.
Jeremy.
(This used to be commit f1c88de7a28942b6aaa634551dde7a8af91f4de3)

16 years agor11975: Fix valgrind error -- bug 3291
Volker Lendecke [Wed, 30 Nov 2005 17:29:33 +0000 (17:29 +0000)]
r11975: Fix valgrind error -- bug 3291
(This used to be commit 9a6ce67fbf89ea7fc9eed72776dff4712ba67e2b)

16 years agor11966: fix the build\n\nGuenther
Günther Deschner [Wed, 30 Nov 2005 00:09:14 +0000 (00:09 +0000)]
r11966: fix the build\n\nGuenther
(This used to be commit 53f15a0881de489e809bb58217ecabccd6d77e2c)

16 years agor11964: rename flag to password_properties in SAM_UNK_INFO_1 because that's what
Günther Deschner [Tue, 29 Nov 2005 23:40:01 +0000 (23:40 +0000)]
r11964: rename flag to password_properties in SAM_UNK_INFO_1 because that's what
it is. (SAM_UNK_INFO_1 should get a better name as well).

Guenther
(This used to be commit d94aaeb625c39b6205fe61c274aed57b1399bafc)