Andrew Bartlett [Mon, 24 Feb 2003 22:25:19 +0000 (22:25 +0000)]
Whenever we have a password, use the in-memory ccache. This fixes a bug where
we were overwriting the user's ccache with the machine password (the -P option).
Andrew Bartlett
(This used to be commit
231d2f84ef36b30be98baf3b56ebf4a5cd8dad11)
Andrew Bartlett [Mon, 24 Feb 2003 21:07:03 +0000 (21:07 +0000)]
Clean up non-krb5 breakages from my modifications to luke howard's patch.
Andrew Bartlett
(This used to be commit
32fd0c49009e38022523cc5c14567dd55de08206)
Andrew Bartlett [Mon, 24 Feb 2003 11:24:27 +0000 (11:24 +0000)]
Finish removing setenv replacements from smbwrapper.
(This used to be commit
059ac2d839bf258408490f5ceb786a47cb5acb58)
Andrew Bartlett [Mon, 24 Feb 2003 11:23:15 +0000 (11:23 +0000)]
Move off-by-one buggy malloc()/safe_strcpy() combination to strdup() instead.
Andrew Bartlett
(This used to be commit
c26881633d8a7f6d9b9ed9c6a97ce2b45bf2b317)
Andrew Bartlett [Mon, 24 Feb 2003 11:16:27 +0000 (11:16 +0000)]
Andrew Bartlett [Mon, 24 Feb 2003 11:09:21 +0000 (11:09 +0000)]
Patch from Luke Howard to add mutual kerberos authentication, and SMB session
keys for kerberos authentication.
Andrew Bartlett
(This used to be commit
8b798f03dbbdd670ff9af4eb46f7b0845c611e0f)
Andrew Bartlett [Mon, 24 Feb 2003 10:35:24 +0000 (10:35 +0000)]
setenv takes 3 arguments...
(This used to be commit
6d18f64ef518cbb3d522cf1f92dc5cbc2e2cb642)
Andrew Bartlett [Mon, 24 Feb 2003 09:46:01 +0000 (09:46 +0000)]
If it's a pstring, use pstrcpy().
(This used to be commit
34fb5f0b1a6281b3aa7782edb3fcb82cc4ec4877)
Andrew Bartlett [Mon, 24 Feb 2003 09:10:41 +0000 (09:10 +0000)]
Fix off-by-one bugs, and move to strdup() rather than malloc()/strcpy().
Andrew Bartlett
(This used to be commit
aa486355e282b891b299d63cc07431f32213b1b8)
Tim Potter [Mon, 24 Feb 2003 04:59:15 +0000 (04:59 +0000)]
Quieten compiler warning.
(This used to be commit
eb5d1a72dc9dc35997d39f8778ee98163b8cce32)
Martin Pool [Mon, 24 Feb 2003 04:42:24 +0000 (04:42 +0000)]
Merge documentation from 3_0.
(This used to be commit
5002555a9719987ccdc887ffff64ea8d02c9881d)
Andrew Bartlett [Mon, 24 Feb 2003 03:45:02 +0000 (03:45 +0000)]
Always initialise
(This used to be commit
ff2b5b2f85f2d9dade67077cea1b68719cf65352)
Tim Potter [Mon, 24 Feb 2003 02:12:39 +0000 (02:12 +0000)]
Merge:
> Exit path cleanup for cli_samr_enum_dom_users()
(This used to be commit
655c1e03519d4fa174a85534c165bdd1ce163ae8)
Andrew Bartlett [Mon, 24 Feb 2003 02:11:32 +0000 (02:11 +0000)]
Andrew Bartlett [Mon, 24 Feb 2003 01:13:31 +0000 (01:13 +0000)]
Fix 2 off-by-one bugs in the use of malloc()ed strings and safe_strcpy().
safe_strcpy() isn't particularly safe (this has been noted before) as it does
not take the size of the buffer, but instead the size of the buffer *minus 1*
The locking.c fix was causing segfaults on machines running with
--enable-developer, and was tracked down thanks to the fact that vance's build
farm machine runs with such an option, and smbtorture's DIR1 test hits this
bug very well.
(The --enable-developer code writes to the last byte of the string, to check
for incorrect use of safe_strcpy()).
Andrew Bartlett
(This used to be commit
e908fd164d1b11b6f76a6fdffb22e139813cb3c0)
Simo Sorce [Sun, 23 Feb 2003 18:08:07 +0000 (18:08 +0000)]
forgot the altered include file
(This used to be commit
f3be08472b8b34d8921ff23c52dd2ba030c96f25)
Simo Sorce [Sun, 23 Feb 2003 17:40:43 +0000 (17:40 +0000)]
move genparser to use talloc contexts instead of [m|c|re]alloc() and free()s
(This used to be commit
70fce680c01fa1baa65fb3cbc83dfaf822fdadd7)
Andrew Bartlett [Sat, 22 Feb 2003 20:11:29 +0000 (20:11 +0000)]
Make sure we set the error code to indicate failure...
Andrew Bartlett
(This used to be commit
5a472e2a3cffe175ac4341e19c153a931505a2e8)
Andrew Bartlett [Sat, 22 Feb 2003 20:01:00 +0000 (20:01 +0000)]
See if I can make this look slightly like C. It compiled locally, honest...
Andrew Bartlett
(This used to be commit
cfc4cc776899da92a5c9a17f0ea36c7cb65d7a80)
Andrew Bartlett [Sat, 22 Feb 2003 12:22:06 +0000 (12:22 +0000)]
More signed/unsigned fixes (yes, I run with funny compiler options) and
make x_fwrite() match fwrite() in returning a size_t.
Andrew Bartlett
(This used to be commit
2943c695787b742e9a96b2eefe2d75f681bacf7c)
Andrew Bartlett [Sat, 22 Feb 2003 12:19:18 +0000 (12:19 +0000)]
Fixes from Paul Green and vorlon@debian.org for building shared libraries
(make it possible to build both shared and static) and -lcrypt handling.
(This used to be commit
30510f50077fd157664c127ac0182ce26843d43f)
Andrew Bartlett [Sat, 22 Feb 2003 12:17:02 +0000 (12:17 +0000)]
Fix comment - the other bits of code don't call this any more.
(This used to be commit
523d1429b1072c999d376d2b4e13a1c08349990a)
Andrew Bartlett [Sat, 22 Feb 2003 12:16:17 +0000 (12:16 +0000)]
Andrew Bartlett [Sat, 22 Feb 2003 12:14:08 +0000 (12:14 +0000)]
With assuptions about unixsam gone, we can forget about looking up
the user a second time now.
Andrew Bartlett
(This used to be commit
a1e27a02f52315df0dd05ab8a94ae5a2bf398655)
Andrew Bartlett [Sat, 22 Feb 2003 12:01:05 +0000 (12:01 +0000)]
Remove 'unixsam' from the default passdb backends.
The intention is to remove the muliple passdb backends, but we need the
'guest' account to always be there. If the admin adds the guest account to
(say) LDAP, there will only be one backend required for operation.
This helps remove some nasty behaviours with adding accounts to the system
for both the RPC 'create user' and the SAMSYNC code. Users 'added' with
an 'add user/machine' script won't magicly appear, and machine accounts
'pre-added' to unix, but not the smbpasswd file will not cause mayhem.
This commit also implements somthing tridge discussed with me, the concept
of 'default' passdb operation pointers - so that each backend does not
need it's own stub funcitons wrapping the default tdb privilages/group
mapping code.
This also removes an implicit 'sid->name' and 'name->sid' mapping from our
own local SID space, to winbind usernames. When adding mapping for NIS/LDAP
non-sam users in future, we need to be careful.
Andrew Bartlett
(This used to be commit
6f32fa234961a525760a05418a08ec48d22d7617)
Andrew Bartlett [Sat, 22 Feb 2003 11:34:04 +0000 (11:34 +0000)]
First check if the user is in the passdb, then check Get_Pwnam().
We check passdb becouse the user might have things like a logon script set,
but we have to check the passdb becouse the user might not be in smbpasswd at
all.
This is in preperation for the removal of unixsam as an assuption.
Andrew Bartlett
(This used to be commit
61e3e2695860c58f9b0e8d1856972318666682c8)
Jeremy Allison [Sat, 22 Feb 2003 01:09:42 +0000 (01:09 +0000)]
When checking is_locked() new WRITE locks conflict with existing READ locks even
if the context is the same. See LOCKTEST7 in smbtorture.
Jeremy.
(This used to be commit
b362cc241b829f585a96b5d285ed12db50b21e2e)
Jeremy Allison [Sat, 22 Feb 2003 01:08:19 +0000 (01:08 +0000)]
New locktest7 code based on patch from "Srikanta Shivanna" <sshivanna@pillardata.com>
Jeremy.
(This used to be commit
caf298c3808cbdd683e884b32b7a0538505a3066)
Andrew Bartlett [Sat, 22 Feb 2003 00:54:08 +0000 (00:54 +0000)]
Fix a DEBUG() formatting, add some more debug to our SID pulling code and
inline the call to prs_copy_all_data_out() so that we can know we are not
overrunning our buffer.
Also check more return values.
Andrew Bartlett
(This used to be commit
e3b73d5d658584428c81c9ef3ccf024687a56e2f)
Gerald Carter [Fri, 21 Feb 2003 20:00:46 +0000 (20:00 +0000)]
i patched the wrong branch! s/unistr2_to_dos/unistr2_to_ascii/
(This used to be commit
513fb2ddd85a74de7684a6cb09d57011af69161f)
Gerald Carter [Fri, 21 Feb 2003 17:08:43 +0000 (17:08 +0000)]
couple of merges from APP_HEAD
* performance optimization in enumprinterdataex() when keyname is empty
* fix a few typos in comments
* reload services after addprinter_command()
dump registry data in ascii when the key is REG_SZ or REG_MULTI_SZ
(This used to be commit
fde6ef7cc62c58d512dc8053b214f0a3c59a78ab)
Gerald Carter [Fri, 21 Feb 2003 16:15:30 +0000 (16:15 +0000)]
patch from Hal Roberts check for a valid [f]chmod_acl function pointer before calling it. Fixes seg fault in audit VFS module
(This used to be commit
5e115d43812021f9a16111fc7c05d750026cca1e)
Jim McDonough [Fri, 21 Feb 2003 14:35:02 +0000 (14:35 +0000)]
Fix IRIX build...void fn can't return another void fn
(This used to be commit
df3c7c9cbb275e9c35356b4f1cab1a741de6f500)
Jim McDonough [Fri, 21 Feb 2003 13:25:10 +0000 (13:25 +0000)]
rename 'winbind backend' to 'idmap backend'. Put paramter in security section...does this make sense?
(This used to be commit
822083f73e8ba4e096c53ff0f7578f47bc21b7b5)
Jeremy Allison [Fri, 21 Feb 2003 06:25:39 +0000 (06:25 +0000)]
Added comments to make it clearer when we're assigning a pointer that it
must not be freed afterwards.
Jeremy.
(This used to be commit
80bad908c0235a57446c70b9632d3415c9d2fcf5)
Tim Potter [Fri, 21 Feb 2003 05:51:10 +0000 (05:51 +0000)]
Ignore errors on python_clean target.
(This used to be commit
3805a9c5d5e98e089e1cd9e794f7204fc354a311)
Tim Potter [Fri, 21 Feb 2003 05:07:51 +0000 (05:07 +0000)]
Doesn't anyone run ./configure.developer anymore?
(This used to be commit
09be123c6c1b67621eaf6c8ffb3016eccd375e5b)
Tim Potter [Fri, 21 Feb 2003 05:06:49 +0000 (05:06 +0000)]
Fix another compiler warning.
(This used to be commit
1ea27d7987d2c0f67977371a99efec3ded13c872)
Tim Potter [Fri, 21 Feb 2003 04:53:39 +0000 (04:53 +0000)]
Fixed another compiler warning.
(This used to be commit
d15b7425d408f17505c4f3a91ec68bcfc4472c16)
Tim Potter [Fri, 21 Feb 2003 04:47:24 +0000 (04:47 +0000)]
Fixed compiler warning.
(This used to be commit
b3f9cf8c1c293e905a536dfa5bb6a827627b7024)
Tim Potter [Fri, 21 Feb 2003 04:28:32 +0000 (04:28 +0000)]
Added enumdomusers command.
(This used to be commit
30353da3e94f732e9f1b258e62da906f628e09d0)
Tim Potter [Fri, 21 Feb 2003 04:26:58 +0000 (04:26 +0000)]
Exit path cleanup for cli_samr_enum_dom_users()
(This used to be commit
0bc1dfc68b0d411801a4209c9681c735cd7a73cc)
Tim Potter [Fri, 21 Feb 2003 04:25:04 +0000 (04:25 +0000)]
Fix for only specifying one command with -c
(This used to be commit
7418351427071edccb2e825ddbbf31fce8ef381e)
Martin Pool [Fri, 21 Feb 2003 03:05:55 +0000 (03:05 +0000)]
Doxygen janitor
(This used to be commit
367997562998adb3f80602596c770d9ac319065b)
Jim McDonough [Thu, 20 Feb 2003 22:46:37 +0000 (22:46 +0000)]
From aliguori@us.ibm.com:
This patch adds the architecture for an IDMAP backend system including a new
smb.conf parameter "winbind backend". Right now, the only valid value is "tdb"
but I'm currently working on an LDAP backend.
(This used to be commit
35e4448dcb2deb0d5d34d9e974a49f2fb31f1356)
Jelmer Vernooij [Thu, 20 Feb 2003 22:26:28 +0000 (22:26 +0000)]
Make init_module() and thus smb_load_module() return an int.
modules/developer.c: init_module() should return an int
(This used to be commit
7f59703550378ff2333e3c851bf1a77037510abd)
Jeremy Allison [Thu, 20 Feb 2003 22:09:57 +0000 (22:09 +0000)]
Added Volkers "print server role" patch.
Jeremy.
(This used to be commit
e81d72ac221023ded9e0932be7dd303ad5280665)
Jelmer Vernooij [Thu, 20 Feb 2003 19:10:19 +0000 (19:10 +0000)]
Remove obsolete files
(This used to be commit
f035cba2cf5764722318e9cd10dbe7bef56d0732)
Jeremy Allison [Thu, 20 Feb 2003 18:54:12 +0000 (18:54 +0000)]
Ensure tdb error code is set for corrupt and i/o errors before calling
the log function. This allows the log function to take action.
Jeremy.
(This used to be commit
0fa310cbc3f7ced0b15be0ffaeb70dc82e1d5d12)
Andrew Bartlett [Thu, 20 Feb 2003 12:01:39 +0000 (12:01 +0000)]
For a number of months now, support for being a domain member without also
running winbind has been broken. This fixes that, by removing assumptions
about being able to call sid_to_uid() at will. This whole area needs
revising when we get groups into the PDB.
Andrew Bartlett
(This used to be commit
980eda74b7df347c38b567ce976197826963324a)
Andrew Bartlett [Thu, 20 Feb 2003 10:50:09 +0000 (10:50 +0000)]
Like for NTLM logins, lookup the 'winbind' user first, then the 'local' user.
This needs to change, to be a SID->UID lookup from the PAC.
Andrew Bartlett
(This used to be commit
4071ed06a051f87f27e10510427a69fcdf45ddac)
Andrew Bartlett [Thu, 20 Feb 2003 10:43:21 +0000 (10:43 +0000)]
for some (very weird) reason, the domain I was testing aginst would not
return a DN for the user. Make sure we don't segfault.
Andrew Bartlett
(This used to be commit
9fdedeff6a3a9f8e8d048e6afd7001ad676c4e91)
Martin Pool [Thu, 20 Feb 2003 04:01:25 +0000 (04:01 +0000)]
Martin Pool [Thu, 20 Feb 2003 03:33:20 +0000 (03:33 +0000)]
(Merge from APPLIANCE_HEAD)
CR1829: Fix memory leak when unpacking 'B' buffers in Python.
(PyList_Append creates a new reference to the added object, and so we
have to release the existing one.)
(This used to be commit
55e114f596e0edfdf176cabdbcfe7f01fae6f8aa)
Jeremy Allison [Wed, 19 Feb 2003 22:30:57 +0000 (22:30 +0000)]
Fix inspired by Stefan (metze) Metzmacher - cache the sidtype also.
Jeremy.
(This used to be commit
634f20dff63d255c317f9dcc9f4caf4e8e79123c)
Simo Sorce [Wed, 19 Feb 2003 22:26:19 +0000 (22:26 +0000)]
correct init for vfs.conn, thanks Stefan
(This used to be commit
162683d2b5c15016fe1423876589573b48b9f5a6)
Jim McDonough [Wed, 19 Feb 2003 20:37:34 +0000 (20:37 +0000)]
libads/krb5_setpw.c
(This used to be commit
4c52d7bd933f61bdba3d4159a204fe16db3d4f0f)
Jim McDonough [Wed, 19 Feb 2003 15:46:15 +0000 (15:46 +0000)]
Can't return SAFE_FREE...put on its own line.
(This used to be commit
9f1a4809b503f050189d5f87a294b7d8675b1e95)
Jim McDonough [Wed, 19 Feb 2003 15:22:46 +0000 (15:22 +0000)]
Correct way to keep fucntion from proto.h
(This used to be commit
762b072efb0d6801775a874494cb19ea3d61fa97)
Jim McDonough [Wed, 19 Feb 2003 15:03:04 +0000 (15:03 +0000)]
Fix segv in net ads join...an extra & was the culprit
(This used to be commit
9874b233d55a0b1aea7eb033848f4b63a531833b)
Alexander Bokovoy [Wed, 19 Feb 2003 13:24:06 +0000 (13:24 +0000)]
Improve detection of iconv(3) for various platforms. M4 code is similar to what I use in Midgard for past few years, modified for Samba needs.
(This used to be commit
747d2d70a9eb4d9222d7b63e5fcec269eda76672)
Andrew Bartlett [Wed, 19 Feb 2003 12:19:52 +0000 (12:19 +0000)]
Missed one use of SETENV. (Compat macro no longer needed, as we have a
replace.c function).
(This used to be commit
adad4c66fcfe756277de8c325ac9f8010f9d6f9c)
Andrew Bartlett [Wed, 19 Feb 2003 12:05:21 +0000 (12:05 +0000)]
Now we have setenv() in replace.c, we don't need a seperate copy here.
Andrew Bartlett
(This used to be commit
c4834c46902380455d2ea1dd62661224e8d4eb11)
Andrew Bartlett [Wed, 19 Feb 2003 11:35:02 +0000 (11:35 +0000)]
Check return values of various join-related functions, and ensure we always
compare push_* returns with (size_t)-1, not < 0.
Andrew Bartlett
(This used to be commit
63f5e92536c6bcac54b796d6e91b755e7d328f66)
Andrew Bartlett [Wed, 19 Feb 2003 11:33:35 +0000 (11:33 +0000)]
Move to a in-memory ccache for winbind, and replace setenv() properly.
(According to the manpages, you cannot put a stack variable into putenv()).
Yes, this leaks memory.
Andrew Bartlett
(This used to be commit
50bced1e26434ecc7474964062746e2831e5f433)
Andrew Bartlett [Wed, 19 Feb 2003 11:30:52 +0000 (11:30 +0000)]
After a talloc_zero(), we don't need to ZERO_STRUCTP too..
(This used to be commit
4fe8066394143c64c79c052c00f0d747e872103a)
Andrew Bartlett [Wed, 19 Feb 2003 11:30:09 +0000 (11:30 +0000)]
Fix logfile formatting, we were missing a "\n"
(This used to be commit
53b8f8a44141a9f6d36ed1b237ff65c67119edd0)
Andrew Bartlett [Wed, 19 Feb 2003 10:12:14 +0000 (10:12 +0000)]
Only do a kinit if we got told to use kerberos.
Andrew Bartlett
(This used to be commit
6af9ec50e010d171cf5287f40ec774e79e4a93fe)
Jim McDonough [Wed, 19 Feb 2003 03:19:30 +0000 (03:19 +0000)]
Get non-krb systems to compile. How the heck do I keep something from being sucked into proto.h?
(This used to be commit
7e84497882df5bf933ab7ae7fe9af3728393202c)
Jeremy Allison [Wed, 19 Feb 2003 02:34:33 +0000 (02:34 +0000)]
Fix from Corny.Bondad@hp.com for missing if (setting_acls) on default
perms.
Jeremy.
(This used to be commit
ac96fa173cc3bd1c3226634154d6f99e4034179f)
Jeremy Allison [Wed, 19 Feb 2003 01:38:12 +0000 (01:38 +0000)]
Bit of a hack job to prevent smbprn.XXX jobs appearing in the queue if the
jobid is below the UNIX_JOB_START number.
Jeremy.
(This used to be commit
e8a9bf67cbe5b3e33f99e6793fe4ec445d6e8819)
Jim McDonough [Wed, 19 Feb 2003 01:16:40 +0000 (01:16 +0000)]
Try to get heimdal working with HEAD.
- Provide generic functions for
- get valid encryption types
- free encryption types
- Add encryption type parm to generic function create_kerberos_key_from_string()
- Try to merge the two versions (between HEAD and SAMBA_3_0) of kerberos_verify.c
I think this should work for both MIT and heimdal, in HEAD. If all goes smooth,
I'll move it over to 3.0 soon...
(This used to be commit
45e409fc8da9f26cf888e13d004392660d7c55d4)
Jim McDonough [Wed, 19 Feb 2003 00:50:38 +0000 (00:50 +0000)]
Add support for detecting method of listing encryption types (MIT v Heimdal)
(This used to be commit
48dcf5b97f2d53617c41237e09369ec678ab65e9)
Martin Pool [Wed, 19 Feb 2003 00:47:41 +0000 (00:47 +0000)]
Remove old listproc address; update instructions for subscribing to
the mailing list.
(This used to be commit
cab94c8a315ba7ad68e71c62c0d5fa3ab9a90661)
Jim McDonough [Wed, 19 Feb 2003 00:27:38 +0000 (00:27 +0000)]
base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().
(This used to be commit
8c69212eeb4a0ec144b960d76319fd4940b8c239)
Martin Pool [Wed, 19 Feb 2003 00:25:47 +0000 (00:25 +0000)]
Remove old listproc address and webmaster mailing address.
(Is this file actually still used? Perhaps it would be better to
include something from the web site instead. I'm not going to merge
this across because I think it's dead.)
(This used to be commit
7096d5feb2e8be204881bdcb76ad08cc5aa4a79a)
Martin Pool [Wed, 19 Feb 2003 00:16:25 +0000 (00:16 +0000)]
Remove tridge's old home address, and old samba-bugs adddress. He can
add the new one if he wants.
(I wonder if the new owners of that house wonder why pizza keeps
turning up? :-)
(This used to be commit
92ab401656ac96a255ba2ef4121823d9cd57ccf8)
Martin Pool [Wed, 19 Feb 2003 00:14:29 +0000 (00:14 +0000)]
Remove reference to obsolete samba-bugs address. Suggest people
report trouble in the first instance to samba@lists.
(This used to be commit
f2a4c51983636b90b8e2942cca765740592e08f7)
Martin Pool [Wed, 19 Feb 2003 00:13:23 +0000 (00:13 +0000)]
Remove reference to obsolete samba-bugs address.
(This used to be commit
8e5f2ac3ca0b4cfb910f38532efb63526f28b579)
Jelmer Vernooij [Tue, 18 Feb 2003 22:14:04 +0000 (22:14 +0000)]
Jelmer Vernooij [Tue, 18 Feb 2003 21:50:31 +0000 (21:50 +0000)]
Update to current status
(This used to be commit
424cfccec2acb9a96538b67100915bfb00f84fd4)
Jelmer Vernooij [Tue, 18 Feb 2003 21:49:00 +0000 (21:49 +0000)]
Jelmer Vernooij [Tue, 18 Feb 2003 21:44:34 +0000 (21:44 +0000)]
Few small cosmetic changes
(This used to be commit
a99e4bd2c0299851a1308158a50e24e69cab1158)
Jelmer Vernooij [Tue, 18 Feb 2003 21:32:26 +0000 (21:32 +0000)]
Use sgml syntax for warnings
(This used to be commit
73def167a806d482472fcb137c64ee9fe4b6400c)
Jelmer Vernooij [Tue, 18 Feb 2003 21:12:28 +0000 (21:12 +0000)]
Move all password database stuff to one document - hope this makes it somewhat
more understandable for the user. Comments are welcome!
(This used to be commit
847d05085147431de923c735b7ab6ea752e592c2)
Jelmer Vernooij [Tue, 18 Feb 2003 20:12:20 +0000 (20:12 +0000)]
Update introduction
(This used to be commit
46c99ff855ba273568785f118cd19a2788430c1e)
Jelmer Vernooij [Tue, 18 Feb 2003 18:43:59 +0000 (18:43 +0000)]
Add -V option (to print out version) to utilities where possible
(pdbedit already has a -V option..)
(This used to be commit
5de622968d95c1436dbd34edc8d0a9bbff68916b)
Jelmer Vernooij [Tue, 18 Feb 2003 18:34:48 +0000 (18:34 +0000)]
Use the new modules stuff to load dynrpc modules. Basically this means:
- calling the initialization function in the module init_module() instead of rpc_pipe_init()
- calling smb_load_module() to do the dlopen(), dlsym() and init_module() calls
I'll merge this to 3.0, together with the smb_load_module() function.
Discussed with Anthony.
(This used to be commit
3757ed8df06ca2b306bef336bdb9c7671f5e6a65)
Rafal Szczesniak [Tue, 18 Feb 2003 14:59:21 +0000 (14:59 +0000)]
Fix of two warnings.
pull_ucs2_talloc function takes char** pointer, not (here
explicitly casted) void** one.
Rafal
(This used to be commit
e77c44efd95d42a8194f5c3d36c043f8e84dfd1d)
Tim Potter [Tue, 18 Feb 2003 05:08:09 +0000 (05:08 +0000)]
We don't use mkproto stuff for the python extensions anymore.
(This used to be commit
8d166ae093655a5a14a7478c7a84474b43e8ee97)
Tim Potter [Tue, 18 Feb 2003 05:05:15 +0000 (05:05 +0000)]
Cleanup of header files for python extensions.
- combine py_foo_proto.h and py_foo.h
- move #include of Python.h into one place so we can get rid of that
annoying compiler warning about HAVE_FSTAT being redefined
(This used to be commit
0659351b251aee438bb9e92682bc445f164923a5)
Jeremy Allison [Tue, 18 Feb 2003 04:49:31 +0000 (04:49 +0000)]
Ensure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now need
to set this for Tru64.
Jeremy.
(This used to be commit
e7c4616c45ea5ec7c04022d6cca49ac70adde121)
Gerald Carter [Tue, 18 Feb 2003 03:43:08 +0000 (03:43 +0000)]
set the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985
(This used to be commit
9a4b7a86fdaab04328b5017c1dd42480753a9a10)
Martin Pool [Tue, 18 Feb 2003 02:01:38 +0000 (02:01 +0000)]
Remove obsolete comment.
(This used to be commit
e22465749dc7c2acd2441a897df592616fc275da)
Martin Pool [Tue, 18 Feb 2003 01:55:50 +0000 (01:55 +0000)]
Doxygen janitor. No other changes.
(This used to be commit
735c99dadbaffbb53662890e3dc8a668b211da9d)
Martin Pool [Tue, 18 Feb 2003 01:35:19 +0000 (01:35 +0000)]
cmd_lsa_lookup_sids: Check return code from string_to_sid; skip SIDs
which are not valid.
(This used to be commit
bfb6104521bd75da71a09a6c56bd44560416116e)
Martin Pool [Tue, 18 Feb 2003 01:30:22 +0000 (01:30 +0000)]
init_dom_sid2s: Check return code from string_to_sid. Skip tokens
that are not valid SIDs.
(This used to be commit
5a597272782b74d28859ba98027fe9ff9c278086)
Martin Pool [Tue, 18 Feb 2003 01:09:19 +0000 (01:09 +0000)]
Check return code from string_to_sid.
(This used to be commit
fe449328b226a33ad1c64e087fe63e79f90ab4ac)
Martin Pool [Tue, 18 Feb 2003 01:05:56 +0000 (01:05 +0000)]
add_initial_entry should fail if string_to_sid fails.
(This used to be commit
bb095dc28d8369457286225ac63e03070889f394)
Andrew Bartlett [Tue, 18 Feb 2003 00:54:22 +0000 (00:54 +0000)]
Patch from vorlon@debian.org to split out our -lacl dependency to only smbd
and vfstest.
(This used to be commit
bcbc2213230e95d732a774b5aee67295fba4380b)