samba.git
22 years agoMoved fchown_acl change to the point where we *really* know if we
Jeremy Allison [Sun, 16 Dec 2001 23:44:38 +0000 (23:44 +0000)]
Moved fchown_acl change to the point where we *really* know if we
created the file or not.
Jeremy.
(This used to be commit 32dffa0ba792a81d89d06b527d82820b89507efd)

22 years agoEnsured filetimes set (by name) after close. Ignore errors. This is the
Jeremy Allison [Sun, 16 Dec 2001 21:04:19 +0000 (21:04 +0000)]
Ensured filetimes set (by name) after close. Ignore errors. This is the
correct way to ensure times set in 'pending modtime' and 'time close'
are always set correctly. Inspired by patch from Juergen Hasch.
Jeremy.
(This used to be commit 24053858543fa6c22c0c3222570109fbfdabab9e)

22 years agoAllow HPUX to link with new ACL code.
Jeremy Allison [Sat, 15 Dec 2001 02:46:48 +0000 (02:46 +0000)]
Allow HPUX to link with new ACL code.
Jeremy.
(This used to be commit ad9a5a26e088f3fedce9562f688c518d610dbef2)

22 years agoAdded HPUX ACL code.
Jeremy Allison [Sat, 15 Dec 2001 02:40:16 +0000 (02:40 +0000)]
Added HPUX ACL code.
Jeremy.
(This used to be commit 6d03184f8c039ad81de47b5f3bde7dac5b2815ad)

22 years agoAdded the group enum code from 2.2
Jeremy Allison [Fri, 14 Dec 2001 21:51:09 +0000 (21:51 +0000)]
Added the group enum code from 2.2
Jeremy.
(This used to be commit 59e01a22c5cb1046758c8cd6b09333c19d6cd26e)

22 years agoIf domain SID can't be fetched, we shouldn't return NT_STATUS_NO_MEMORY. It causes...
Jim McDonough [Fri, 14 Dec 2001 21:37:56 +0000 (21:37 +0000)]
If domain SID can't be fetched, we shouldn't return NT_STATUS_NO_MEMORY.  It causes a confusing client error.  Changed to NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
(This used to be commit 07ea83e6f0f03ba4706c98abb58346a4f4ec983c)

22 years agoChangeID fixe from APPLIANCE_HEAD
Gerald Carter [Fri, 14 Dec 2001 20:38:04 +0000 (20:38 +0000)]
ChangeID fixe from APPLIANCE_HEAD
(This used to be commit 096d06a961e3a3e6f6952754875b83558448f449)

22 years agoI see no reasons why we should limit username lenght while checking
Simo Sorce [Fri, 14 Dec 2001 18:49:02 +0000 (18:49 +0000)]
I see no reasons why we should limit username lenght while checking
see bug 22130

jeremy, probably this should be fixed also in 2_2
(This used to be commit d0614b2e660122c57a660977f554799d08b35ab6)

22 years agoadd lsa_query_secobj server code. level 4 is the ACL, level 1 is the
Jean-François Micouleau [Fri, 14 Dec 2001 17:31:48 +0000 (17:31 +0000)]
add lsa_query_secobj server code. level 4 is the ACL, level 1 is the
owner. that's basic stuff.

got the POLICY_ define from TNG but they are also in an include file in
the NT SDK.

J.F.
(This used to be commit 84289a9bf42847981926e198ad36c050904fa9ed)

22 years agoUpdated Solaris link options from DaveCB.
Jeremy Allison [Fri, 14 Dec 2001 16:31:41 +0000 (16:31 +0000)]
Updated Solaris link options from DaveCB.
Jeremy.
(This used to be commit 064a3e0fc406d5ab408da0fbfbf68c89ce8defdd)

22 years agoRafal (mimir) patch for trusts r.
Jean-François Micouleau [Fri, 14 Dec 2001 14:35:38 +0000 (14:35 +0000)]
Rafal (mimir) patch for trusts r.
(This used to be commit c26623671e2b0b2e80c6d6383a99880c4f439f04)

22 years agoFALSE -> False
Tim Potter [Fri, 14 Dec 2001 04:43:31 +0000 (04:43 +0000)]
FALSE -> False
(This used to be commit dbdbf7cd077a8a20610ee2c62240170b420ebe6c)

22 years agoDisplay a nice error message if the user%password specified for net rpc
Tim Potter [Fri, 14 Dec 2001 03:55:44 +0000 (03:55 +0000)]
Display a nice error message if the user%password specified for net rpc
join does not have administrator privileges.
(This used to be commit af24b1036c8ceaa37e6b68ac988401846c5c7fe4)

22 years agoDisplay a nice error message for NT_STATUS_LOGON_FAILURE in connect_to_ipc()
Tim Potter [Fri, 14 Dec 2001 03:55:09 +0000 (03:55 +0000)]
Display a nice error message for NT_STATUS_LOGON_FAILURE in connect_to_ipc()
(This used to be commit 60eb4dc7b1114275f035d27a890e0301a65e0e42)

22 years agopreparing for release of 3.0-alpha8
Samba Release Account [Fri, 14 Dec 2001 03:47:30 +0000 (03:47 +0000)]
preparing for release of 3.0-alpha8
(This used to be commit fc468838bf9e6c302bc6825e07b72d1a7163e74e)

22 years agoMore help/messages/formatting cleanup.
Jim McDonough [Fri, 14 Dec 2001 02:45:13 +0000 (02:45 +0000)]
More help/messages/formatting cleanup.
(This used to be commit 882e5e3bb815e02407ecf6f689ffe5bb618845e8)

22 years agoMerge from 2.2 to allow net rpc join -U to complete even if the workstation
Tim Potter [Fri, 14 Dec 2001 02:17:18 +0000 (02:17 +0000)]
Merge from 2.2 to allow net rpc join -U to complete even if the workstation
account already exists.

# net rpc join --user=Administrator%password

It's kind of weird seeing the mix of NET.EXE style of options (net command
subcommand /arg:value) with the GNU-style long options.  I think it works.
(This used to be commit 3789c8c707acd9a4078d656c8de9ce1f4be9e388)

22 years agoRestoration of at least some help function and format. First round of cleanup. ...
Jim McDonough [Fri, 14 Dec 2001 02:15:04 +0000 (02:15 +0000)]
Restoration of at least some help function and format.  First round of cleanup.  Printq function cannot exactly mimic windows output using d_printf...oh well.  Add some more command-specific options back into help.
(This used to be commit e135320e0547581c7d38126647a91b874d152622)

22 years agoSet the debuglevel after the call to lp_load() so the change sticks.
Tim Potter [Fri, 14 Dec 2001 02:14:59 +0000 (02:14 +0000)]
Set the debuglevel after the call to lp_load() so the change sticks.
(This used to be commit 3c927e39e7354d2f65b3ff7148fc325b41552310)

22 years agodon't use -u switch to /bin/date - too many systems don't honor it
Andrew Tridgell [Fri, 14 Dec 2001 01:15:14 +0000 (01:15 +0000)]
don't use -u switch to /bin/date - too many systems don't honor it
(This used to be commit 0839cf03a92673b38f1afa103271c708fa7162a2)

22 years agoAdded comment.
Tim Potter [Thu, 13 Dec 2001 23:43:44 +0000 (23:43 +0000)]
Added comment.
(This used to be commit 594634ff1a1d5f780ddb9909f5365ee3e420a76c)

22 years agoPatch for string legths from TAKAHASHI, Motonobu(monyo).
Jeremy Allison [Thu, 13 Dec 2001 23:43:15 +0000 (23:43 +0000)]
Patch for string legths from TAKAHASHI, Motonobu(monyo).
Jeremy.
(This used to be commit f0d8b7573fc74004131ba0a82dbd5e0007a524bf)

22 years agoupdate the ldap support code. it compiles.
Jean-François Micouleau [Thu, 13 Dec 2001 18:09:29 +0000 (18:09 +0000)]
update the ldap support code. it compiles.
Ignacio you can update your howto ;-)

samsync: a small patch to try chaning challenges.

J.F.
(This used to be commit c99bc305599698f2291efbfe20024355cb2bcde0)

22 years agomerge from 2.2
Gerald Carter [Thu, 13 Dec 2001 17:18:15 +0000 (17:18 +0000)]
merge from 2.2
(This used to be commit 5b4b3323a3fbabbb3c7db5eb3b11999bbde470b1)

22 years agomerge from appliance_head
Gerald Carter [Thu, 13 Dec 2001 16:35:43 +0000 (16:35 +0000)]
merge from appliance_head
(This used to be commit 423554fd71b3c9718fc3a21006da9ce6371fc845)

22 years ago-Insswitch/ breaks the build by preventing include of <nss.h> from working
Andrew Tridgell [Thu, 13 Dec 2001 13:54:39 +0000 (13:54 +0000)]
-Insswitch/ breaks the build by preventing include of <nss.h> from working
(This used to be commit 1ef98625404a2df0fb0b70b40041e3b8cdbc5f5d)

22 years agopreparing for release of 3.0-alpha7
Samba Release Account [Thu, 13 Dec 2001 13:24:12 +0000 (13:24 +0000)]
preparing for release of 3.0-alpha7
(This used to be commit f0f03aed5a56714437ff55a37b5500442e0cab11)

22 years agoadded "net ads info" to fetch basic ADS info without any auth
Andrew Tridgell [Thu, 13 Dec 2001 13:19:20 +0000 (13:19 +0000)]
added "net ads info" to fetch basic ADS info without any auth
(This used to be commit b107ecef7097e4b3b870f51fa6628b870703b4de)

22 years agomake sure we find NSS_STATUS struct
Andrew Tridgell [Thu, 13 Dec 2001 11:58:38 +0000 (11:58 +0000)]
make sure we find NSS_STATUS struct
(This used to be commit 7db718d44a62aee9610a9dfd9e671345a0ea7737)

22 years agobetter error handling
Andrew Tridgell [Thu, 13 Dec 2001 11:30:13 +0000 (11:30 +0000)]
better error handling
(This used to be commit ed6279481bfcb21212e9c22009969c19ea4f1646)

22 years agotry the PDC for our workgroup if we can't find the ldap server
Andrew Tridgell [Thu, 13 Dec 2001 11:29:49 +0000 (11:29 +0000)]
try the PDC for our workgroup if we can't find the ldap server
(This used to be commit fc9fd2ca19899e757a6d3ccbba3d4a10f27d7a3f)

22 years agoimproved error message from failed connect
Andrew Tridgell [Thu, 13 Dec 2001 08:54:51 +0000 (08:54 +0000)]
improved error message from failed connect
(This used to be commit 4405a87fb754cece3a5428246ea6ecb9abba1996)

22 years agoMust check against -1 for fcntl error check.
Jeremy Allison [Thu, 13 Dec 2001 02:34:43 +0000 (02:34 +0000)]
Must check against -1 for fcntl error check.
Jeremy
(This used to be commit 1d2504b5c76bf23ac49a401adce8a49f193bc22c)

22 years agoFix some compiler warnings.
Tim Potter [Thu, 13 Dec 2001 00:02:37 +0000 (00:02 +0000)]
Fix some compiler warnings.
(This used to be commit 216dff438095781934b57fd097ed118daf5fffa0)

22 years agoAlways use ASCII strings when changing passwords with RAP.
Jeremy Allison [Wed, 12 Dec 2001 19:40:22 +0000 (19:40 +0000)]
Always use ASCII strings when changing passwords with RAP.
Jeremy.
(This used to be commit d3ac2265b1b83e2e030688ee8e0d43918ce4d203)

22 years agoran autoconf
Herb Lewis [Wed, 12 Dec 2001 16:13:52 +0000 (16:13 +0000)]
ran autoconf
(This used to be commit f881a8f197a6f6d9512693c4cb705cda1b1d5041)

22 years agoallow IRIX to build nsswitch/libnss_wins.so
Herb Lewis [Wed, 12 Dec 2001 16:08:32 +0000 (16:08 +0000)]
allow IRIX to build nsswitch/libnss_wins.so
(This used to be commit 564bfd77287b3006c7246065990ca9b91f79826a)

22 years agoadd *.po32 to ignore list
Herb Lewis [Wed, 12 Dec 2001 16:04:37 +0000 (16:04 +0000)]
add *.po32 to ignore list
(This used to be commit fe0db4c55f8bfc70004edd60a29359337fa40723)

22 years agoadded a -V[erbose] option to samsync. Decode a lot of information
Jean-François Micouleau [Wed, 12 Dec 2001 15:25:22 +0000 (15:25 +0000)]
added a -V[erbose] option to samsync. Decode a lot of information

I'm looking at chaining the credentials

J.F.
(This used to be commit d49c8e4d3d64b48e243d0f517b9e7f037103af13)

22 years agodecoded SAM_DELTA 0x0e and 0x12.
Jean-François Micouleau [Wed, 12 Dec 2001 11:38:57 +0000 (11:38 +0000)]
decoded SAM_DELTA 0x0e and 0x12.
One is an entry for the trusted domains
The other is an entry for the trusting domains

They are pretty basic, I'll improve them.

J.F.
(This used to be commit 8d359e62138aa327cb00875dc446234ce4be6f02)

22 years agopreparing for release of 3.0-alpha6
Samba Release Account [Wed, 12 Dec 2001 10:22:34 +0000 (10:22 +0000)]
preparing for release of 3.0-alpha6
(This used to be commit 6daac6189477eed08d9896ab4977b98bb0696a3d)

22 years agoa ugly decoder for SAM_DELTA_DOM_INFO (0x0d)
Jean-François Micouleau [Wed, 12 Dec 2001 09:43:56 +0000 (09:43 +0000)]
a ugly decoder for SAM_DELTA_DOM_INFO (0x0d)
a correct decoder for SAM_PRIVS_INFO (0x10)

this code is totally useless right now, it's just fun to decode those and
will save tpot some time.

J.F.
(This used to be commit 314b675ed9ebacba9db25938c43cfa304462ebe2)

22 years agoadded "net time zone" command to show the timezone on a computer
Andrew Tridgell [Wed, 12 Dec 2001 09:37:17 +0000 (09:37 +0000)]
added "net time zone" command to show the timezone on a computer
(This used to be commit 4e2691b1c13a7db4770effa6eddeb19adb47f8ae)

22 years agopam_smbpass updates from a.bokovoy@sam-solutions.net
Andrew Tridgell [Tue, 11 Dec 2001 23:44:33 +0000 (23:44 +0000)]
pam_smbpass updates from a.bokovoy@sam-solutions.net
(This used to be commit 016e203a2c5286d8b48ab3eff0226affc203deaf)

22 years agoOops, the -a option disappeared.
Tim Potter [Tue, 11 Dec 2001 23:27:45 +0000 (23:27 +0000)]
Oops, the -a option disappeared.
(This used to be commit 6194f874bbc50cb40228b29fb783a7716104b824)

22 years agoads howto update
Andrew Tridgell [Tue, 11 Dec 2001 22:53:21 +0000 (22:53 +0000)]
ads howto update
(This used to be commit 188e59ae965e959e286eb650a90e62204a978fc2)

22 years agoadd PATH_FLAGS to .po32 objects so dynconfig builds with smbwrapper
Herb Lewis [Tue, 11 Dec 2001 20:41:31 +0000 (20:41 +0000)]
add PATH_FLAGS to .po32 objects so dynconfig builds with smbwrapper
(This used to be commit 5bf6f9193774bcb6abb955efb346d2eb966a03d0)

22 years agosync with 2.2
Herb Lewis [Tue, 11 Dec 2001 20:20:30 +0000 (20:20 +0000)]
sync with 2.2
added multiple include protection
added IRIX defines
(This used to be commit b9dbb38bf2d1fbe1ca5d0aa53b89f76844d6209c)

22 years agoReplace backslash with winbind separator before calling parse_domain_user(). Winbind...
Jim McDonough [Tue, 11 Dec 2001 19:27:40 +0000 (19:27 +0000)]
Replace backslash with winbind separator before calling parse_domain_user().  Winbind separators other than backslash didn't work.
(This used to be commit 6688781331e046adc77783792fc009cda7c8b5b8)

22 years agofix for IRIX compilers
Herb Lewis [Tue, 11 Dec 2001 18:08:48 +0000 (18:08 +0000)]
fix for IRIX compilers
(This used to be commit b110f57e49bcb4e3c648020850ee18d1888b9152)

22 years agoClarify a little
Volker Lendecke [Tue, 11 Dec 2001 17:45:51 +0000 (17:45 +0000)]
Clarify a little

Volker
(This used to be commit 5b7a2a2441a238896cc3da0459e37536ac1906bf)

22 years agoallow join of already joined domain
Andrew Tridgell [Tue, 11 Dec 2001 12:29:03 +0000 (12:29 +0000)]
allow join of already joined domain
(This used to be commit 784a3f295176dc87c8befd76d5f2dc9ef1e9e383)

22 years agoprevent double free
Andrew Tridgell [Tue, 11 Dec 2001 10:37:00 +0000 (10:37 +0000)]
prevent double free
(This used to be commit 3628a978d1881aa2a0939594b1c752475468965e)

22 years agoFix up warnings. Make tdb_openXX() names const.
Jeremy Allison [Tue, 11 Dec 2001 08:31:58 +0000 (08:31 +0000)]
Fix up warnings. Make tdb_openXX() names const.
Jeremy.
(This used to be commit 9e3581827d91f5fd33fabd5ad4c9a79d63355731)

22 years agoTidyups to remove warnings on tdb standalone code.
Jeremy Allison [Tue, 11 Dec 2001 08:24:36 +0000 (08:24 +0000)]
Tidyups to remove warnings on tdb standalone code.
Jeremy.
(This used to be commit b03aaddcf35dee93556013eaac9d99bc0f22256a)

22 years agopreparing for release of 3.0-alpha5
Samba Release Account [Tue, 11 Dec 2001 06:35:00 +0000 (06:35 +0000)]
preparing for release of 3.0-alpha5
(This used to be commit c5fafb7f79cb3bb47d144f6799cdb521ec6fa872)

22 years agohandle systems without setenv()
Andrew Tridgell [Tue, 11 Dec 2001 06:17:01 +0000 (06:17 +0000)]
handle systems without setenv()
(This used to be commit 87090652460e57703b40f21e9ed08c18770b61c3)

22 years agohandle a NULL hostname in cli_connect()
Andrew Tridgell [Tue, 11 Dec 2001 05:48:27 +0000 (05:48 +0000)]
handle a NULL hostname in cli_connect()
(This used to be commit a181f49b4269baa1752ce6ed4f9093e38d2d3ce5)

22 years agobetter error handling
Andrew Tridgell [Tue, 11 Dec 2001 05:47:26 +0000 (05:47 +0000)]
better error handling
(This used to be commit 75621d528433a9c1af3eada0b748dfbcfdb8ad62)

22 years agoadded a comment about /bin/date
Andrew Tridgell [Tue, 11 Dec 2001 05:28:56 +0000 (05:28 +0000)]
added a comment about /bin/date
(This used to be commit 2183c1f3b09db5c078327050279130ac825c71f8)

22 years agoadded a net time command. Allow display or set of system time based on
Andrew Tridgell [Tue, 11 Dec 2001 05:21:50 +0000 (05:21 +0000)]
added a net time command. Allow display or set of system time based on
a SMB server

particularly useful for ADS is:

net time set -S DOMAIN#1B

this makes kerberos clock skew problems go away :)
(This used to be commit b3ba2293d0e4eac3b6408c3abc3dcacfa3f67fe4)

22 years agoModify winbindd to use authenticated user info from secrets.tdb when making
Tim Potter [Tue, 11 Dec 2001 05:19:15 +0000 (05:19 +0000)]
Modify winbindd to use authenticated user info from secrets.tdb when making
IPC$ connections to domain controllers.
(This used to be commit 1217ef28a6c18c085fcb2eac3bf04866c166d959)

22 years agoConverted wbinfo to use popt instead of getopt - popt is very nice!
Tim Potter [Tue, 11 Dec 2001 05:18:36 +0000 (05:18 +0000)]
Converted wbinfo to use popt instead of getopt - popt is very nice!

Added a --set-auth-user function to set a username and password that can be
used by winbindd when making connections to domain controllers.  This is
necessary when restrictions have been placed on anonymous connections
either through the RestrictAnonymous registry setting, or the win2k Local
Security Policy -> Security Settings -> Local Policies -> Security Options
-> Additional restrictions for anonymous connections.  (phew)

Two new keys are set in secrets.tdb: SECRETS/AUTH_USER and
SECRETS/AUTH_PASSWORD which hold the username and plaintext password of the
user to connect as.

To reset these values, run wbinfo --set-auth-user ""
(This used to be commit 507003522b70443f79b8b69a836dcd38d309cfca)

22 years agodetect attempts to connect to names of the type NAME#xx and do a
Andrew Tridgell [Tue, 11 Dec 2001 05:16:48 +0000 (05:16 +0000)]
detect attempts to connect to names of the type NAME#xx and do a
netbios lookup for name NAME with node type xx.

This affects all our client progs. Very useful :)
(This used to be commit b4304c5231159fc6295c445f2eb4470c179b8d5e)

22 years agoallow overriding the local time in kerberos_kinit_password()
Andrew Tridgell [Tue, 11 Dec 2001 05:15:52 +0000 (05:15 +0000)]
allow overriding the local time in kerberos_kinit_password()
(This used to be commit cb9dbcef7cba9eb42f7b30b81c35142dc945d84f)

22 years agoRemoved unreferenced getopt() externals.
Tim Potter [Tue, 11 Dec 2001 04:25:21 +0000 (04:25 +0000)]
Removed unreferenced getopt() externals.
(This used to be commit c87d1ad32114200d3e678f8de88874c737f8e571)

22 years agoSAMR query sec obj returns different results depending on which sam handle
Tim Potter [Tue, 11 Dec 2001 03:03:45 +0000 (03:03 +0000)]
SAMR query sec obj returns different results depending on which sam handle
it is passed.  Not sure what these different contexts are called or what
they are used for.

 - if a rid is specified to samquerysecobj then use the sam user policy
    handle for that rid
 - if -d is specified then use the sam domain policy handle
 - otherwise just use the sam connect policy handle

JF, any ideas about this?
(This used to be commit 4ef50ef9f76219ea8acc29a1d740b31a1d7a1e04)

22 years agoGrr - people who put const everywhere should fix up all the warnings they
Tim Potter [Tue, 11 Dec 2001 02:23:14 +0000 (02:23 +0000)]
Grr - people who put const everywhere should fix up all the warnings they
generate.
(This used to be commit d1ebd259c8c06d467eb5ee305b21e9046f16e05b)

22 years agoRemoved unused variable.
Tim Potter [Tue, 11 Dec 2001 02:22:42 +0000 (02:22 +0000)]
Removed unused variable.
(This used to be commit 1dc0e9096db11bf9c8fa7ba0424ab1e96bb177dc)

22 years agoDoing some research into ACLs on the LSA and SAM policy objects.
Tim Potter [Tue, 11 Dec 2001 02:17:26 +0000 (02:17 +0000)]
Doing some research into ACLs on the LSA and SAM policy objects.

 - added lsaquerysecobj to rpcclient
 - renamed querysecobj to samquerysecobj
 - removed duplicated display_sec_acl() code from cmd_spoolss.c and
   cmd_samr.c and moved it into display_sec.c
(This used to be commit 59b2e3f408a5ff22f2d81a927d010a7df5f19f7f)

22 years agopreparing for release of 3.0-alpha4
Samba Release Account [Tue, 11 Dec 2001 01:29:04 +0000 (01:29 +0000)]
preparing for release of 3.0-alpha4
(This used to be commit f2f3183811891fefaabee938e2c2f6e26480d88a)

22 years agoremoved the start_ndx parameter from group enumeration
Andrew Tridgell [Tue, 11 Dec 2001 01:04:13 +0000 (01:04 +0000)]
removed the start_ndx parameter from group enumeration

I tried testing this by lowering the buffer size in
cli_samr_enum_dom_groups() but that didn't work - I think this needs
more looking into
(This used to be commit 34328e30315e4b42087d0ee11ed0c3fb715bc250)

22 years agoCompile fix.
Tim Potter [Tue, 11 Dec 2001 00:11:11 +0000 (00:11 +0000)]
Compile fix.
(This used to be commit 83caa883d79c2d954749d21fced808bda970ec56)

22 years agogot rid of start_ndx from query_user_list()
Andrew Tridgell [Tue, 11 Dec 2001 00:03:58 +0000 (00:03 +0000)]
got rid of start_ndx from query_user_list()
(This used to be commit 1c909afe76566807fb576c965eb869f98e72f2bd)

22 years agoNT_STATUS(0x80000005) maps to ERRDOS,234
Jean-François Micouleau [Mon, 10 Dec 2001 23:34:32 +0000 (23:34 +0000)]
NT_STATUS(0x80000005) maps to ERRDOS,234

J.F.
(This used to be commit 80e36549b61cc2bb5148f6abb175d31a0c7782a1)

22 years agoadded enum alias groups to rpcclient
Jean-François Micouleau [Mon, 10 Dec 2001 22:30:31 +0000 (22:30 +0000)]
added enum alias groups to rpcclient
(This used to be commit d4bc8f02f7dc856ffb29e95a81ffcc3a9d4b1695)

22 years agoreinstated all the rap commands as top level commands until we get the
Andrew Tridgell [Mon, 10 Dec 2001 22:25:21 +0000 (22:25 +0000)]
reinstated all the rap commands as top level commands until we get the
protocol switch mechanism in place
(This used to be commit d20c3717dd58745da082d1b4df7698c6d6c38e6c)

22 years agomoved ccache location change into winbindd code
Andrew Tridgell [Mon, 10 Dec 2001 22:10:31 +0000 (22:10 +0000)]
moved ccache location change into winbindd code
(This used to be commit be254eb13c4bf316823ed43db3ef9407f45ca23b)

22 years agorobustness fixes and moved ccache location into winbindd_ads code
Andrew Tridgell [Mon, 10 Dec 2001 22:10:16 +0000 (22:10 +0000)]
robustness fixes and moved ccache location into winbindd_ads code
(This used to be commit 24aa09ff3dd128c6f12b4cb072943ff668a29a67)

22 years agoTreat RAP codes differently.
Jeremy Allison [Mon, 10 Dec 2001 19:48:43 +0000 (19:48 +0000)]
Treat RAP codes differently.
Jeremy.
(This used to be commit 919b11a787145139e6255674179b2ff7e587475d)

22 years agoRAP error strings take precedence as they are not encoded in the SMB header
Jeremy Allison [Mon, 10 Dec 2001 19:18:56 +0000 (19:18 +0000)]
RAP error strings take precedence as they are not encoded in the SMB header
(ie. the call can succeed, but still be an encoded error).
Jeremy.
(This used to be commit 3c68b94199ff08b205d1eb14da56804936b900a8)

22 years agoDelay gssapi header checking until after kerberos has been located. Wasn't working...
Jim McDonough [Mon, 10 Dec 2001 18:07:17 +0000 (18:07 +0000)]
Delay gssapi header checking until after kerberos has been located.  Wasn't working on RedHat systems because of /usr/kerberos install location.
(This used to be commit 55d55e311e67ea75e13c4a81fe3033b43bed38ca)

22 years agoadded info level 3 to samrgetgroupinfo. I don't know what the value is.
Jean-François Micouleau [Mon, 10 Dec 2001 15:03:16 +0000 (15:03 +0000)]
added info level 3 to samrgetgroupinfo. I don't know what the value is.
It's just to keep usermanager happy ;-)

clean up a bit samr_query_aliasinfo to return the group description

added: samr_del_aliasmem, samr_del_groupmem and samr_del_domuser

with the correct scripts, you can now entirely manage the users from
usermanager ! Closer to full PDC every day ;-)

        J.F.
(This used to be commit 0a727afc669704cda9b44d44dbac9e989e906ae3)

22 years agoMake proto
Martin Pool [Mon, 10 Dec 2001 08:36:42 +0000 (08:36 +0000)]
Make proto
(This used to be commit 83ab28a7e5cc75d3cdf35c083b057a1c7e50192d)

22 years agoAdd a panic action that tries to call gdb noninteractively to get a
Martin Pool [Mon, 10 Dec 2001 08:10:05 +0000 (08:10 +0000)]
Add a panic action that tries to call gdb noninteractively to get a
backtrace.   Will break on many machines, but we're already crashed in
this case.
(This used to be commit f0878f19eb729d70cc96f450b4b0d2c180498a35)

22 years agopreparing for release of 3.0-alpha3
Samba Release Account [Mon, 10 Dec 2001 07:33:16 +0000 (07:33 +0000)]
preparing for release of 3.0-alpha3
(This used to be commit 9c3f2ee90667615357c2bf97594230c39d35b3a0)

22 years agoDoc.
Martin Pool [Mon, 10 Dec 2001 07:29:34 +0000 (07:29 +0000)]
Doc.
(This used to be commit 6c684c89a4e6e212476335ee57c3b616015598f8)

22 years agoAllow for internal databases which may have no name.
Martin Pool [Mon, 10 Dec 2001 07:27:20 +0000 (07:27 +0000)]
Allow for internal databases which may have no name.
(This used to be commit caa08bb56e2dc533c3754f90f6139fe04a317545)

22 years agopreparing for release of 3.0alpha2
Samba Release Account [Mon, 10 Dec 2001 07:19:21 +0000 (07:19 +0000)]
preparing for release of 3.0alpha2
(This used to be commit c5e45a4bc8362cfbac1d3204f8aa69b2ac78ddba)

22 years agoLog more error messages.
Martin Pool [Mon, 10 Dec 2001 07:02:58 +0000 (07:02 +0000)]
Log more error messages.
(This used to be commit 8118676f780a80662f28c3cc1a74cc12d0e1ef51)

22 years agoLog more error messages.
Martin Pool [Mon, 10 Dec 2001 07:02:24 +0000 (07:02 +0000)]
Log more error messages.
(This used to be commit b50e566ab93e9a8068e26c9c902db81311cb394c)

22 years agoAlso show LDFLAGS/LDSHFLAGS when starting compilation, because they're
Martin Pool [Mon, 10 Dec 2001 06:23:28 +0000 (06:23 +0000)]
Also show LDFLAGS/LDSHFLAGS when starting compilation, because they're
not visible later on.
(This used to be commit 8edd29e09959a14a2b87c65930df7df2c2d88b03)

22 years agouse objectCategory instead of objectClass for faster searching
Andrew Tridgell [Mon, 10 Dec 2001 06:21:44 +0000 (06:21 +0000)]
use objectCategory instead of objectClass for faster searching
(This used to be commit 4d3b827e5ac1ac20ec31acdc1e2a0264f1c18e43)

22 years agoMerge of memory leak fixes from APPLIANCE_TNG.
Tim Potter [Mon, 10 Dec 2001 06:21:18 +0000 (06:21 +0000)]
Merge of memory leak fixes from APPLIANCE_TNG.
(This used to be commit b198de92d2149ba2f5010c76e715d274b8f29c2a)

22 years agoAllocate tdb name up front in case log functions want to use it.
Martin Pool [Mon, 10 Dec 2001 06:09:42 +0000 (06:09 +0000)]
Allocate tdb name up front in case log functions want to use it.
(This used to be commit a228c7efcc06b901ca51a6da77f8a52b77912f55)

22 years agowinbindd backends can now be marked "consistent" or "inconsistent"
Andrew Tridgell [Mon, 10 Dec 2001 06:05:21 +0000 (06:05 +0000)]
winbindd backends can now be marked "consistent" or "inconsistent"

consistent backends (like ADS) always give correct primary group
info, so we can play cache tricks to speed things up a lot

inconsistent backends (like MSRPC) need to fetch stuff more often
(This used to be commit 217c39f23282e20f96a61a0d5a2434b3f5f66a86)

22 years agotdb_open_ex: More cleanups: just dynamically allocate the TDB_CONTEXT
Martin Pool [Mon, 10 Dec 2001 05:29:47 +0000 (05:29 +0000)]
tdb_open_ex: More cleanups: just dynamically allocate the TDB_CONTEXT
up front, rather than working on the stack and then copying across.
(This used to be commit b1d7d800680f77e02185bb237982b284414aac1e)

22 years agoRefactor code to check whether already open into its own function.
Martin Pool [Mon, 10 Dec 2001 05:22:04 +0000 (05:22 +0000)]
Refactor code to check whether already open into its own function.
(This used to be commit 52ef112e10dbe273b6e66c4a5081f468e4630b7d)

22 years agoshrank the winbindd_cache.tdb somewhat
Andrew Tridgell [Mon, 10 Dec 2001 05:20:55 +0000 (05:20 +0000)]
shrank the winbindd_cache.tdb somewhat
on my system it now uses 132k for 308 users
(This used to be commit 2b396f9172bb4c2d1d9216d724a1aaab8bb22ba8)

22 years agotdb_open_ex should always "goto fail" in case of error, rather than
Martin Pool [Mon, 10 Dec 2001 05:12:52 +0000 (05:12 +0000)]
tdb_open_ex should always "goto fail" in case of error, rather than
just returning.  I don't think this would leak at the moment, but it's
an accident waiting to happen.
(This used to be commit fe901ec194d1b8ef94386b097e72508075eb8a54)