Michael Adam [Sat, 30 Jun 2007 22:31:13 +0000 (22:31 +0000)]
r23667: Prevent storing of forbidden parameter names in registry
configuration as values. I would really like to check whether
the valuename is a valid parameter name (with lp_parameter_is_valid)
here, but unfortunately, regedit cereates new values as
"New Value #1" (and so on) first, before dropping into the
rename box. So this is impossible here.
Michael
(This used to be commit
10014833da868289ae28db2e7c1edfd353ca7b2b)
Michael Adam [Sat, 30 Jun 2007 21:35:39 +0000 (21:35 +0000)]
r23666: Rename lp_parameter_valid -> lp_parameter_is_valid.
Michael
(This used to be commit
7f85cff49dfe1ae90e37162d35f1a48baaa9fe79)
Volker Lendecke [Sat, 30 Jun 2007 09:15:33 +0000 (09:15 +0000)]
r23665: Remove two unneeded global variables
(This used to be commit
51a3933b3d367e3693daa6842f5a286328f4fd39)
Jeremy Allison [Sat, 30 Jun 2007 00:22:59 +0000 (00:22 +0000)]
r23664: Fix incorrect index - should be j not i. How did we ever
live without valgrind :-).
Jeremy.
(This used to be commit
9b231149c78c8bbfb70c5675cffb652705ba2cd2)
Jeremy Allison [Fri, 29 Jun 2007 17:57:05 +0000 (17:57 +0000)]
r23663: Fix bug #4308 - Excel save operation corrupts file ACLs.
You don't want to know what I discovered about Windows
ACLs to make this work :-(. See :
http://www.codeproject.com/win32/accessctrl2.asp
Search for "Q. How does Inheritance come into this?"
for details.
Jeremy.
(This used to be commit
e1d3a80d2bff2e3540637fd741fc149eeca5fb9d)
Volker Lendecke [Fri, 29 Jun 2007 17:51:31 +0000 (17:51 +0000)]
r23662: According to simo, check_dos_char is needed
(This used to be commit
c195eccefea69c17169c350a13bbfe845fc6fc44)
Volker Lendecke [Fri, 29 Jun 2007 17:40:37 +0000 (17:40 +0000)]
r23661: Another static pstring
(This used to be commit
d4256ae5588fddc62bf90082d24140e327a54c8c)
Volker Lendecke [Fri, 29 Jun 2007 17:27:59 +0000 (17:27 +0000)]
r23660: Anybody know what check_dos_char() was used for? It wasn't called at
all, so it's gone. With it 8k bss went away.
(This used to be commit
7e9a4c39a5ce620f8eac74d0ae4dd80b96c81aca)
Volker Lendecke [Fri, 29 Jun 2007 17:09:39 +0000 (17:09 +0000)]
r23659: file_pload is not used outside of util_file.c
(This used to be commit
3ec43e18a4ffc46700de484251ea0bb2a18cde78)
Volker Lendecke [Fri, 29 Jun 2007 16:04:26 +0000 (16:04 +0000)]
r23658: One pstring a day....
This one was particularly tasty, it was a static one. So 1k less
footprint per process.
(This used to be commit
83865e32889e2d29086ae9d9701713fc74b09175)
Michael Adam [Fri, 29 Jun 2007 13:07:54 +0000 (13:07 +0000)]
r23657: Prevent setting of a global option in a share definition
in "net conf setparm".
Michael
(This used to be commit
bf92d567984f00ebb998fb2485d0aac87d30b924)
Michael Adam [Fri, 29 Jun 2007 12:30:41 +0000 (12:30 +0000)]
r23656: Add initial checking of the validity of a paramter
given to "net conf setparm". Add a utility function
lp_parameter_valid() for this to loadparm.c.
Michael
(This used to be commit
639051e58d4da9fb1116c19f0790250640b6ac7a)
Michael Adam [Fri, 29 Jun 2007 12:15:41 +0000 (12:15 +0000)]
r23655: Fix a comment and adjust some code formatting.
Michael
(This used to be commit
b294bc707c2a7ef3ff5efcac1d5ea6f3d80f5a70)
Günther Deschner [Fri, 29 Jun 2007 11:54:29 +0000 (11:54 +0000)]
r23654: Remove misleading inline comment.
Guenther
(This used to be commit
a3441c22b342e2802bd9766b7046073db3895a29)
Michael Adam [Fri, 29 Jun 2007 10:22:18 +0000 (10:22 +0000)]
r23652: Use the recursive delete function instead of the original one
when deleting a share. Just to be sure...
Michael
(This used to be commit
91770e153d7dd87d5e4f0516c297812091ba5b5a)
Günther Deschner [Fri, 29 Jun 2007 09:58:11 +0000 (09:58 +0000)]
r23651: Always, always, always compile before commit...
Guenther
(This used to be commit
accb40446ad3f872c5167fc2306d892553293b7b)
Günther Deschner [Fri, 29 Jun 2007 09:54:39 +0000 (09:54 +0000)]
r23650: Fix remaining callers of krb5_kt_default().
Guenther
(This used to be commit
b9d7a2962a472afb0c6b8e3ac5c2c819d4af2b39)
Günther Deschner [Fri, 29 Jun 2007 09:42:14 +0000 (09:42 +0000)]
r23649: Fix the build (by moving smb_krb5_open_keytab() to clikrb5.c).
Guenther
(This used to be commit
19020d19dca7f34be92c8c2ec49ae7dbde60f8c1)
Günther Deschner [Fri, 29 Jun 2007 09:01:29 +0000 (09:01 +0000)]
r23648: Allow to list a custom krb5 keytab file with:
net ads keytab list /path/to/krb5.keytab
Guenther
(This used to be commit
a2befee3f240543ea02ea99cebad886b54ae64eb)
Günther Deschner [Fri, 29 Jun 2007 08:58:03 +0000 (08:58 +0000)]
r23647: Use smb_krb5_open_keytab() in smbd as well.
Guenther
(This used to be commit
d22c0d291e1b4a1412164d257310bbbb99de6500)
Günther Deschner [Fri, 29 Jun 2007 08:56:35 +0000 (08:56 +0000)]
r23646: Generalize our internal keytab handling to support a broader range of default
keytabnames (like "ANY:FILE:/etc/krb5.keytab,krb4:/etc/srvtab"). This also
fixes keytab support with Heimdal (which supports the WRFILE pragma as well
now).
Guenther
(This used to be commit
7ca002f4cc9ec4139c0c48952ebf05f89b5795ef)
Gerald Carter [Thu, 28 Jun 2007 19:27:30 +0000 (19:27 +0000)]
r23645: add examples and try to answer some common questions in the coding style guide
(This used to be commit
c955151bb384c3edba3f2f17f1ebb7029b61d36c)
Michael Adam [Thu, 28 Jun 2007 10:32:52 +0000 (10:32 +0000)]
r23641: Put check for forbidden values in smbconf into a function.
(This will be used in a next step to prevent storing these
values in reg_smbconf.c.)
Michael
(This used to be commit
00be68a8416405e12a27186506f9eb15bca055b3)
Jeremy Allison [Wed, 27 Jun 2007 22:45:08 +0000 (22:45 +0000)]
r23640: When we support the SeSecurity privilage, this is where
we'll check it.
Jeremy.
(This used to be commit
1b73bf79f4f8a2bc408d52a1ce9df47f33fb3a87)
Michael Adam [Wed, 27 Jun 2007 22:10:25 +0000 (22:10 +0000)]
r23639: Eliminate trailing whitespaces in the new tdb_validate functions...
Michael
(This used to be commit
d4accdbb5285216d532f57f545a846734a2fe774)
Gerald Carter [Wed, 27 Jun 2007 18:28:18 +0000 (18:28 +0000)]
r23636: Adding coding style guide for Samba 3.0 branches (no differences from Tridge's prog_guide.txt so we should have a similar style throughout the project)
(This used to be commit
ff1c2fdc08f6198bad1bf9f5bae8dc6bc5fb534a)
Gerald Carter [Wed, 27 Jun 2007 16:52:36 +0000 (16:52 +0000)]
r23633: Fix a couple of crash bugs pointed out by Volker caused by an old
change from a pstring to a char* and still trying use pstrcpy().
(This used to be commit
21dc46a2bad6fee720f0f591e1051aa7675c77c8)
Gerald Carter [Wed, 27 Jun 2007 16:52:34 +0000 (16:52 +0000)]
r23632: Correctly return the new_group list pointer from expand_groups
or else getgrnam() always acts like 'winbind expand groups = 1'
(This used to be commit
04ae193ec44c0ecefa64ca44ad0cdb5968087319)
Günther Deschner [Wed, 27 Jun 2007 12:35:12 +0000 (12:35 +0000)]
r23630: Found out what LSA_LOOKUP_NAMES level 5 means:
only query transitive forest trusts.
Guenther
(This used to be commit
e744efa1ee33fb150132f0b7f46ee1711681afc6)
Günther Deschner [Wed, 27 Jun 2007 12:27:00 +0000 (12:27 +0000)]
r23628: Add LSA lookupnames_level to rpcclient.
Guenther
(This used to be commit
dee99e40454b00da70343047c57e0cb0f2c489bd)
Günther Deschner [Wed, 27 Jun 2007 11:42:17 +0000 (11:42 +0000)]
r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().
Guenther
(This used to be commit
e9a7512a9f630340004913f1379452eea8a9b6ae)
Günther Deschner [Wed, 27 Jun 2007 09:38:07 +0000 (09:38 +0000)]
r23625: Reformating WBFLAGs, just a cosmetic change.
Guenther
(This used to be commit
555ae4a19b35b0672033798e00e3d1e153d2a9b3)
Günther Deschner [Wed, 27 Jun 2007 09:36:00 +0000 (09:36 +0000)]
r23624: Merge dos error code from samba4 (returned from dfs_Enum against w2k3 as soon
as a one DFS_VOLUME_FLAVOR_AD_BLOB dfsroot exists).
Guenther
(This used to be commit
837b0a14c430faa4e4cada03a1efe2823a7b2e2e)
Günther Deschner [Wed, 27 Jun 2007 09:23:50 +0000 (09:23 +0000)]
r23623: Fix rpcclient and rpc_server with new DFS idl.
Guenther
(This used to be commit
bffe33dd261fdcf9ef8f9f232c15559661843c7c)
Günther Deschner [Wed, 27 Jun 2007 09:17:52 +0000 (09:17 +0000)]
r23622: regenerate dfs rpc gen_ndr.
Guenther
(This used to be commit
71b3259962004c278ca2e859d5460ad47c2468d6)
Günther Deschner [Wed, 27 Jun 2007 09:13:28 +0000 (09:13 +0000)]
r23621: Merge samba4 dfs rpc idl.
Guenther
(This used to be commit
bb43d56e92f4ea08fbf2ae4fa90570a101efd4e2)
Jeremy Allison [Tue, 26 Jun 2007 22:49:10 +0000 (22:49 +0000)]
r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chown
return to correctly return NT_STATUS_INVALID_OWNER if it
should be disallowed. Matches better what W2K3R3 does.
NFSv4 ACL module owners, please examine these changes.
Jeremy.
(This used to be commit
fc6899a5506b272f8cd5f5837ca13300b4e69a5f)
Gerald Carter [Tue, 26 Jun 2007 21:22:01 +0000 (21:22 +0000)]
r23619: Fix compile warning in fill_grent_mem() caused by mismatched counter size.
(This used to be commit
05520d6b0a86c1cd5abbf6252c4a32629cdf8619)
Jim McDonough [Tue, 26 Jun 2007 20:09:41 +0000 (20:09 +0000)]
r23616: Fix bugzilla #4719: must change password is not set from usrmgr.exe.
This was only affecting the newer versions of usrmgr.exe, because they
use a user_info_25 struct. The password is getting set separately
inside that code, so the password last set time was getting set from the
password change logic.
We also were not parsing a number of fields (like logon hours) from the
user_info_25. That should also be fixed.
(This used to be commit
afabd68b6ae874aceba708dc36808ed007ad496c)
Volker Lendecke [Tue, 26 Jun 2007 19:15:26 +0000 (19:15 +0000)]
r23612: Revert 'net idmap dump' to the 3.0.24 behaviour.
(This used to be commit
56a32f217a183f956ad1c57a62d61a43646aa391)
James Peach [Tue, 26 Jun 2007 18:18:44 +0000 (18:18 +0000)]
r23611: Fix typo in error message.
(This used to be commit
8ee76e43843c56869b23f58615635f986c162d01)
Michael Adam [Tue, 26 Jun 2007 13:45:07 +0000 (13:45 +0000)]
r23610: Move some winbindd_cache specific flags and actions
back to winbindd_cache.c. The generic mechanism
should open the cache tdb readonly and with default
flags.
Michael
(This used to be commit
062d8c61294a1e9f8588fa8af31954dd286c7bde)
Günther Deschner [Tue, 26 Jun 2007 10:19:06 +0000 (10:19 +0000)]
r23609: Removing more redundant codepaths out of smb_krb5_renew_ticket().
Thanks Volker for the pointer hint :)
Guenther
(This used to be commit
eb1ec508ace3a5eeb53cf47be44047bd9228cd19)
Günther Deschner [Tue, 26 Jun 2007 09:41:14 +0000 (09:41 +0000)]
r23608: Just inline comment cosmetics.
Guenther
(This used to be commit
90c810674dff17b2d08d49cb8d945a86204598a6)
Günther Deschner [Tue, 26 Jun 2007 09:15:37 +0000 (09:15 +0000)]
r23607: Add legacy support for Services for Unix (SFU) 2.0.
Guenther
(This used to be commit
11b390309b9677805e5b68f3a1b780658ae85137)
Kai Blin [Tue, 26 Jun 2007 09:10:30 +0000 (09:10 +0000)]
r23606: Merge Samba4 mkversion.sh to Samba3.
(This used to be commit
6566e24c13aaf974b756c230d4890357e7adf73d)
Gerald Carter [Tue, 26 Jun 2007 00:52:19 +0000 (00:52 +0000)]
r23601: BUG 4579: Don't mark the SAM domain on a Samba DC as an internal domain or else all network connections from the local winbindd will fail
(This used to be commit
5e0f8b114b964d08cfb22a7452c617b8512545dc)
Michael Adam [Mon, 25 Jun 2007 20:17:04 +0000 (20:17 +0000)]
r23600: First step in abstracting the winbindd cache validation
code into a generic tdb validation code.
In lib/util_tdb.c for a start.
Michael
(This used to be commit
527edfa0cbcb233218ebabc395666d1d7228ee37)
Gerald Carter [Mon, 25 Jun 2007 15:23:19 +0000 (15:23 +0000)]
r23599: Add new version of indent script copied from the the Linux
kernel tree.
(This used to be commit
bc422ab5f152c3d7ff730a2e0a80ad3a196a797a)
Gerald Carter [Mon, 25 Jun 2007 15:18:41 +0000 (15:18 +0000)]
r23598: Add script for running indent and remove .indent.pro file
(This used to be commit
58a68daef0e4b34606c63670982e95298804a99b)
Gerald Carter [Mon, 25 Jun 2007 14:40:59 +0000 (14:40 +0000)]
r23597: add a few utility scripts for code formatting
(This used to be commit
3fc0bd3e540652742f5bdd7afa88d80b893e50cd)
Volker Lendecke [Mon, 25 Jun 2007 11:45:54 +0000 (11:45 +0000)]
r23596: Add notes about smbfs/cifs to usage() in smb[u]mount
(This used to be commit
4896b4ee55b3c8213754ebe6a8edafd82a40c014)
Volker Lendecke [Sun, 24 Jun 2007 13:40:58 +0000 (13:40 +0000)]
r23595: One pstring a day...
(This used to be commit
669eff902a20f3023360918ede6672d37b1f7d44)
Volker Lendecke [Sun, 24 Jun 2007 13:24:20 +0000 (13:24 +0000)]
r23594: Fix parsing of local pids if cluster support is compiled in but no
cluster is used
(This used to be commit
6beaa87da938f2a530939714b732fa769a28a008)
Michael Adam [Fri, 22 Jun 2007 22:37:07 +0000 (22:37 +0000)]
r23593: Mention "net conf" in top level net usage.
Michael
(This used to be commit
ae7e3c9708a16fe70acf609d9a9370a9e3f2ab37)
Michael Adam [Fri, 22 Jun 2007 22:30:01 +0000 (22:30 +0000)]
r23592: Change a debuglevel to not clutter output when calling
net as a non-root user, e.g.
Michael
(This used to be commit
bbbfd7f41ab85f269d115f19601729f16079b552)
Jeremy Allison [Fri, 22 Jun 2007 19:33:46 +0000 (19:33 +0000)]
r23591: Fix bug #4725. Don't crash when no eventlogs specified. Needs
merging for 3.0.25b.
Jeremy.
(This used to be commit
ae239fec6faa79018c818506b391b829ccd685f8)
Jeremy Allison [Fri, 22 Jun 2007 17:36:10 +0000 (17:36 +0000)]
r23590: Fix realloc leak on failure case from Jim Meyering <jim@meyering.net>.
Jeremy.
(This used to be commit
d7b39e4534d85c84e8b24668ab7d7a93d5647c23)
Jeremy Allison [Fri, 22 Jun 2007 17:19:08 +0000 (17:19 +0000)]
r23589: Ensure we will always release any timeout handler
on fsp close or removal of oplock. Mulitple removals
are safe.
Jeremy.
(This used to be commit
6de0970704b3eff2b71e6bf499c6dda45d4d5e2d)
Günther Deschner [Fri, 22 Jun 2007 14:54:39 +0000 (14:54 +0000)]
r23588: Some more cleanups and error checks in the krb5 renew function.
Guenther
(This used to be commit
277e07c8553e2ed20bc95493cdc996be43feb6bd)
Günther Deschner [Fri, 22 Jun 2007 14:50:15 +0000 (14:50 +0000)]
r23587: Cleanup redundant code in the krb5 renew function.
Guenther
(This used to be commit
0b9acc8610ae2ba9c42168e9ceb2e9ea8bc2f5bd)
Günther Deschner [Fri, 22 Jun 2007 14:43:42 +0000 (14:43 +0000)]
r23586: Fix heimdal path in the krb5 renew routine when we need to compose the tgt
string ourselves.
Guenther
(This used to be commit
1e4a7af99303fb17ebca499ff7e0a017a2017754)
Michael Adam [Fri, 22 Jun 2007 11:43:50 +0000 (11:43 +0000)]
r23585: Add a "drop" function to "net conf" that clears the
whole configuration stored in registry.
Michael
(This used to be commit
6d8973762ef2773ec64ed790f900253120e00d38)
Michael Adam [Fri, 22 Jun 2007 11:42:17 +0000 (11:42 +0000)]
r23584: Use a while loop instead of a for loop without increment... :-)
Michael
(This used to be commit
fb4ade3b4d203eead7798b8d98938cff2abb9c29)
Michael Adam [Fri, 22 Jun 2007 11:21:59 +0000 (11:21 +0000)]
r23583: Add a utility function to recursively delete a Registry
key with all its subkeys. (reg_deletekey will refuse to
delete a key with subkeys with WERR_ACCESS_DENIED).
Michael
(This used to be commit
41c3ff6e277601a9c7ac29009fd89ff9c961ca46)
Günther Deschner [Fri, 22 Jun 2007 11:20:37 +0000 (11:20 +0000)]
r23582: Fix event based krb5 ticket refreshing in winbindd.
We were incorrectly using the renew_till timestamp instead of the renewed
ticket's endtime to calculate the next refreshing date.
Guenther
(This used to be commit
aa3511a5b5e6a96a02110a7ad0ab1d43e6d25766)
Michael Adam [Fri, 22 Jun 2007 11:03:48 +0000 (11:03 +0000)]
r23581: Move regkey_open_onelevel from reg_frontend to reg_api,
where it actually belongs, and make it static.
Michael
(This used to be commit
aa702e53a7416b5599ed114089327aef8a4e35b8)
Michael Adam [Thu, 21 Jun 2007 23:11:21 +0000 (23:11 +0000)]
r23579: Up to now, the "allparameters" argument to lp_next_parameter was
not effective for the global section (snum < 0). This checkin
makes it effective for the global section, too.
This does not produce changes in the results of the present calls of
lp_next_parameter: Beside the new use in utils/net_conf.c (which is
hereby fixed), the only calls of lp_next_parameter are in web/swat.c,
where it is effectively always called with allparameters == 1.
Michael
(This used to be commit
56f82485ec3b14ddcbcf7f5823926a94b17683f3)
Michael Adam [Thu, 21 Jun 2007 22:18:42 +0000 (22:18 +0000)]
r23578: When calling DeleteKey for a key that has subkey(s), Windows
returns WERR_ACCESS_DENIED. This adapts reg_deletekey to behave
the same way.
Michael
(This used to be commit
0c9cb69b45e8c51b8c3fa0b0d034a6cad2374055)
Jeremy Allison [Thu, 21 Jun 2007 22:10:41 +0000 (22:10 +0000)]
r23577: Fix winbindd (sorry). Ensure I set the new child_pid
variable at the correct point just before the write
call is scheduled.
Jeremy.
(This used to be commit
e076dc16462a3ce11105bf9a729ec59ddd9bdc75)
James Peach [Thu, 21 Jun 2007 21:17:06 +0000 (21:17 +0000)]
r23576: Fix some confusion between HAVE_BROKEN_GETGROUPS and USE_BSD_SETGROUPS.
(This used to be commit
8f6cf4b8c2568c737fa31494b844ae021a42a4fc)
Michael Adam [Thu, 21 Jun 2007 20:56:56 +0000 (20:56 +0000)]
r23575: Fix a segfault when lp_load is called before init_registry.
Michael
(This used to be commit
235a5ae4cdf3ea238728c2e89a4318c18257426a)
Jeremy Allison [Thu, 21 Jun 2007 19:40:51 +0000 (19:40 +0000)]
r23574: Remove double-null check (I hate people bitching at me
on the lists :-).
Jeremy.
(This used to be commit
f075620d2071aaecb72e93cbda32c4f624f23d86)
Jeremy Allison [Thu, 21 Jun 2007 18:44:14 +0000 (18:44 +0000)]
r23573: Cope with terminating winbindd children on read/write/timeout
communication failures. Set timeout to 5 mins. Ensure that
we're terminating the correct child (the one we thought we
were talking to). Still setting up my testing environment
but I have high hopes for this being the fix for the 3.0.25b
showstopper.
Jeremy.
(This used to be commit
c366df2fe7f1aa1e8fd9bca35bc3b029d76b3abc)
Jeremy Allison [Thu, 21 Jun 2007 17:25:13 +0000 (17:25 +0000)]
r23572: Ensure we obey Unicode consortium restrictions. Code
based on patch from MORIYAMA Masayuki <moriyama@miraclelinux.com>.
Jeremy.
(This used to be commit
0f10d2ed312115998d5ce1dc88a8d9207c9e4959)
Simo Sorce [Thu, 21 Jun 2007 17:05:59 +0000 (17:05 +0000)]
r23571: Fix, parsing of multi byte share names.
Thanks to SATOH Fumiyasu
Fixes 4720
Jerry,
this is a showstopper for 3.0.25b, please grab it into
SAMBA_3_0_RELEASE before cuting the tarballs.
Simo.
(This used to be commit
d2846e6b90e8774a729e6cf3a0c809aa8ff4a93a)
Günther Deschner [Thu, 21 Jun 2007 15:12:51 +0000 (15:12 +0000)]
r23569: Also dump fd_event in dump_event_list().
Guenther
(This used to be commit
27fdf995d13611ebc9e57895f886c184e9027c4d)
Günther Deschner [Thu, 21 Jun 2007 14:32:09 +0000 (14:32 +0000)]
r23568: Remove last traces of Heimdal KCM support (and don't misuse wbinfo where a
torture test would be much more appropriate). Fix #4408.
Guenther
(This used to be commit
7514a370cae9c6fdacffd2b885fd93cb1230ce96)
Volker Lendecke [Thu, 21 Jun 2007 14:30:40 +0000 (14:30 +0000)]
r23567: Fix bug 4721
(This used to be commit
f2050f5a3af382ad88071a5d5f6b172af4143e0f)
Michael Adam [Thu, 21 Jun 2007 14:23:06 +0000 (14:23 +0000)]
r23566: Fix the sys_bsd_setgroups function. The actual workaround was inactive.
Michael
(This used to be commit
4b5d9b2ba773e6ce57c38e3c0d5af72ad5a98b51)
Günther Deschner [Thu, 21 Jun 2007 14:04:55 +0000 (14:04 +0000)]
r23565: Avoid double NULL pointer checks.
Guenther
(This used to be commit
5456ea59ba12593b0aac9745b41cdd0f5ec0a559)
Günther Deschner [Thu, 21 Jun 2007 13:05:56 +0000 (13:05 +0000)]
r23564: Handle MSG_DUMP_EVENT_LIST only in winbindd for now.
Guenther
(This used to be commit
2592e68a43a73474e1bb53f83642c864fd159b45)
Günther Deschner [Thu, 21 Jun 2007 13:04:28 +0000 (13:04 +0000)]
r23563: Add dump-event-list command to smbcontrol.
Guenther
(This used to be commit
0d956a8e45cd4421cddb8e077e1960dafac3a4d0)
Günther Deschner [Thu, 21 Jun 2007 13:03:27 +0000 (13:03 +0000)]
r23562: Add dump_event_list() for debugging the event list.
Guenther
(This used to be commit
4e1e697ac48513719bd3a2152f17871bc00df796)
Jeremy Allison [Wed, 20 Jun 2007 23:24:18 +0000 (23:24 +0000)]
r23556: Fix for error path from Atsushi Nakabayashi <nakabayashi@miraclelinux.com>.
Jeremy.
(This used to be commit
3f70c1b10589965ee95ef7497ff6fb7c39475569)
Jeremy Allison [Wed, 20 Jun 2007 18:05:48 +0000 (18:05 +0000)]
r23555: Fix some uninitialiazed variable uses.
Jeremy
(This used to be commit
dc287adff249e45a5584ec5fb9177e62152a7403)
Jeremy Allison [Wed, 20 Jun 2007 17:38:42 +0000 (17:38 +0000)]
r23554: Fix bug #4711 by makeing cli_connect return an NTSTATUS.
Long overdue fix....
Jeremy.
(This used to be commit
073fdc5a58139796dbaa7ea9833dca5308f11282)
Michael Adam [Wed, 20 Jun 2007 10:08:31 +0000 (10:08 +0000)]
r23553: Also ignore "lock directory" in registry global options.
Michael
(This used to be commit
3695a66166c6aa88051b21ad40a19f1cc8b87c7b)
Michael Adam [Wed, 20 Jun 2007 08:47:13 +0000 (08:47 +0000)]
r23552: Use proper comparison function an fix logic.
Michael
(This used to be commit
a4714b34284f9e205556166166f41ce9dad4d3da)
Jeremy Allison [Wed, 20 Jun 2007 01:26:18 +0000 (01:26 +0000)]
r23550: Add more UNIX error -> NT status mappings.
Jeremy.
(This used to be commit
1e66a8340e7db9c42507d93d67ad33abadabd2a1)
Michael Adam [Tue, 19 Jun 2007 21:40:27 +0000 (21:40 +0000)]
r23549: Make "net conf setparm" always use registry data type "sz".
This simplifies the usage of this command from
"net conf setparm <section> <param> <type> <value>"
to
"net conf setparm <section> <param> <value>".
Micheal
(This used to be commit
41a8f8ec5f5361f536d047c4ca5d90203b16ff06)
Michael Adam [Tue, 19 Jun 2007 21:08:46 +0000 (21:08 +0000)]
r23548: Fix comments.
Michael
(This used to be commit
73e41c1d0a7af7488b35b54182ea532103b51fd4)
Michael Adam [Tue, 19 Jun 2007 21:06:31 +0000 (21:06 +0000)]
r23547: Ignore parameter "include" in regsitry globals.
Michael
(This used to be commit
f0992c0d79bb6a5810c84a9eac208d83390bb047)
Michael Adam [Tue, 19 Jun 2007 11:11:01 +0000 (11:11 +0000)]
r23543: Adjust comments.
(This used to be commit
ec22c30581f0809b6a008982abceb97b4f9cd12e)
James Peach [Mon, 18 Jun 2007 16:10:00 +0000 (16:10 +0000)]
r23541: Linking the LSA pipe module only once is probably enough.
(This used to be commit
1d941961e0739c22d32720bac4ecd6beef6d74c5)
Kai Blin [Mon, 18 Jun 2007 13:59:09 +0000 (13:59 +0000)]
r23539: Remove code duplication and unify behaviour of winbind_nss_*.h files
(This used to be commit
13c6eacff02b55b9fd6201406802f271dcf13e8e)
Volker Lendecke [Mon, 18 Jun 2007 12:22:42 +0000 (12:22 +0000)]
r23538: Fix for wild-card rename: We can't return directly on error, we need to
CloseDir.
(This used to be commit
48cdafc10a0eb615d79057ec9e235ffe9a85e016)
Volker Lendecke [Mon, 18 Jun 2007 09:25:31 +0000 (09:25 +0000)]
r23537: Revert the inbuf/outbuf part of r23528: This caused the Solaris CC make test
to break. The Solaris CC put the static char InBuffer[TOTAL_BUFFER_SIZE] on an
odd address, the malloc'ed one is always aligned. The problem showed up in
pull_ucs2, ucs2_align uses the address of InBuffer as an indication whether to
bump up the src of the string by one. Unfortunately in the trans calls the
data portion is malloced and thus has different alignment guarantees than a
static variable. This one is bigger....
Volker
(This used to be commit
6affd7818f6981be2a9f44fcf302e7fddb468347)
Michael Adam [Sun, 17 Jun 2007 23:13:32 +0000 (23:13 +0000)]
r23536: Fix a typo. James: Please check!
Michael
(This used to be commit
d90aa8368af624761a19cd1e55ed9f18bc64f45d)
Jeremy Allison [Sun, 17 Jun 2007 19:23:32 +0000 (19:23 +0000)]
r23530: Fix bugs #4678 and #4697 which had the same root cause.
In make_server_info_pw() we assign a user SID in our
authoritative SAM, even though this may be from a
pure "Unix User" that doesn't exist in the SAM.
This causes lookups on "[in]valid users" to fail as they
will lookup this name as a "Unix User" SID to check against
the user token. Fix this by adding the "Unix User"\unix_username
SID to the sid array. The correct fix should probably be
changing the server_info->sam_account user SID to be a
S-1-22 Unix SID, but this might break old configs where
plaintext passwords were used with no SAM backend.
Jeremy
(This used to be commit
80d1da7e6cce451d3934751feaa6ad60a337e3db)