Gerald Carter
3d730f89cf
i patched the wrong branch! s/unistr2_to_dos/unistr2_to_ascii/
...
(This used to be commit 513fb2ddd85a74de7684a6cb09d57011af69161f)
2003-02-21 20:00:46 +00:00
Gerald Carter
ab985b983f
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)
2003-02-21 17:08:43 +00:00
Gerald Carter
193f9200aa
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)
2003-02-21 16:15:30 +00:00
Jim McDonough
23553b48e6
Fix IRIX build...void fn can't return another void fn
...
(This used to be commit df3c7c9cbb275e9c35356b4f1cab1a741de6f500)
2003-02-21 14:35:02 +00:00
Jim McDonough
db721d24c5
rename 'winbind backend' to 'idmap backend'. Put paramter in security section...does this make sense?
...
(This used to be commit 822083f73e8ba4e096c53ff0f7578f47bc21b7b5)
2003-02-21 13:25:10 +00:00
Jeremy Allison
2935d15376
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)
2003-02-21 06:25:39 +00:00
Tim Potter
6a46281dbb
Ignore errors on python_clean target.
...
(This used to be commit 3805a9c5d5e98e089e1cd9e794f7204fc354a311)
2003-02-21 05:51:10 +00:00
Tim Potter
e1c987abf2
Doesn't anyone run ./configure.developer anymore?
...
(This used to be commit 09be123c6c1b67621eaf6c8ffb3016eccd375e5b)
2003-02-21 05:07:51 +00:00
Tim Potter
7eff9dd5ef
Fix another compiler warning.
...
(This used to be commit 1ea27d7987d2c0f67977371a99efec3ded13c872)
2003-02-21 05:06:49 +00:00
Tim Potter
38cb0a122f
Fixed another compiler warning.
...
(This used to be commit d15b7425d408f17505c4f3a91ec68bcfc4472c16)
2003-02-21 04:53:39 +00:00
Tim Potter
9383d61f6c
Fixed compiler warning.
...
(This used to be commit b3f9cf8c1c293e905a536dfa5bb6a827627b7024)
2003-02-21 04:47:24 +00:00
Tim Potter
696895d5b1
Added enumdomusers command.
...
(This used to be commit 30353da3e94f732e9f1b258e62da906f628e09d0)
2003-02-21 04:28:32 +00:00
Tim Potter
ae8d3538c7
Exit path cleanup for cli_samr_enum_dom_users()
...
(This used to be commit 0bc1dfc68b0d411801a4209c9681c735cd7a73cc)
2003-02-21 04:26:58 +00:00
Tim Potter
4834c61ebc
Fix for only specifying one command with -c
...
(This used to be commit 7418351427071edccb2e825ddbbf31fce8ef381e)
2003-02-21 04:25:04 +00:00
Martin Pool
1fc2976e14
Doxygen janitor
...
(This used to be commit 367997562998adb3f80602596c770d9ac319065b)
2003-02-21 03:05:55 +00:00
Jim McDonough
5bec7f5fca
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)
2003-02-20 22:46:37 +00:00
Jelmer Vernooij
8d8a8c9633
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)
2003-02-20 22:26:28 +00:00
Jeremy Allison
1009ef3e37
Added Volkers "print server role" patch.
...
Jeremy.
(This used to be commit e81d72ac221023ded9e0932be7dd303ad5280665)
2003-02-20 22:09:57 +00:00
Jelmer Vernooij
9d913a62ad
Remove obsolete files
...
(This used to be commit f035cba2cf5764722318e9cd10dbe7bef56d0732)
2003-02-20 19:10:19 +00:00
Jeremy Allison
14401bb368
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)
2003-02-20 18:54:12 +00:00
Andrew Bartlett
d7b4f389e9
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)
2003-02-20 12:01:39 +00:00
Andrew Bartlett
512405321a
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)
2003-02-20 10:50:09 +00:00
Andrew Bartlett
215ff67a03
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)
2003-02-20 10:43:21 +00:00
Martin Pool
f8d9cf2726
Doc
...
(This used to be commit 5d7d400d6c49b195a1174ef40c7bf95065427fbd)
2003-02-20 04:01:25 +00:00
Martin Pool
9061aae9b4
(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)
2003-02-20 03:33:20 +00:00
Jeremy Allison
673cdea310
Fix inspired by Stefan (metze) Metzmacher - cache the sidtype also.
...
Jeremy.
(This used to be commit 634f20dff63d255c317f9dcc9f4caf4e8e79123c)
2003-02-19 22:30:57 +00:00
Simo Sorce
29b94266df
correct init for vfs.conn, thanks Stefan
...
(This used to be commit 162683d2b5c15016fe1423876589573b48b9f5a6)
2003-02-19 22:26:19 +00:00
Jim McDonough
de88e704ce
libads/krb5_setpw.c
...
(This used to be commit 4c52d7bd933f61bdba3d4159a204fe16db3d4f0f)
2003-02-19 20:37:34 +00:00
Jim McDonough
f15ed71fbb
Can't return SAFE_FREE...put on its own line.
...
(This used to be commit 9f1a4809b503f050189d5f87a294b7d8675b1e95)
2003-02-19 15:46:15 +00:00
Jim McDonough
ffcee0c95e
Correct way to keep fucntion from proto.h
...
(This used to be commit 762b072efb0d6801775a874494cb19ea3d61fa97)
2003-02-19 15:22:46 +00:00
Jim McDonough
ad03d0a4f8
Fix segv in net ads join...an extra & was the culprit
...
(This used to be commit 9874b233d55a0b1aea7eb033848f4b63a531833b)
2003-02-19 15:03:04 +00:00
Alexander Bokovoy
02cb49bffa
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)
2003-02-19 13:24:06 +00:00
Andrew Bartlett
6540693fea
Missed one use of SETENV. (Compat macro no longer needed, as we have a
...
replace.c function).
(This used to be commit adad4c66fcfe756277de8c325ac9f8010f9d6f9c)
2003-02-19 12:19:52 +00:00
Andrew Bartlett
51521fab16
Now we have setenv() in replace.c, we don't need a seperate copy here.
...
Andrew Bartlett
(This used to be commit c4834c46902380455d2ea1dd62661224e8d4eb11)
2003-02-19 12:05:21 +00:00
Andrew Bartlett
39daab943d
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)
2003-02-19 11:35:02 +00:00
Andrew Bartlett
1f1125577c
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)
2003-02-19 11:33:35 +00:00
Andrew Bartlett
231f737559
After a talloc_zero(), we don't need to ZERO_STRUCTP too..
...
(This used to be commit 4fe8066394143c64c79c052c00f0d747e872103a)
2003-02-19 11:30:52 +00:00
Andrew Bartlett
9e3198cca7
Fix logfile formatting, we were missing a "\n"
...
(This used to be commit 53b8f8a44141a9f6d36ed1b237ff65c67119edd0)
2003-02-19 11:30:09 +00:00
Andrew Bartlett
f145c2e350
Only do a kinit if we got told to use kerberos.
...
Andrew Bartlett
(This used to be commit 6af9ec50e010d171cf5287f40ec774e79e4a93fe)
2003-02-19 10:12:14 +00:00
Jim McDonough
3b541bdcfe
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)
2003-02-19 03:19:30 +00:00
Jeremy Allison
b63edf9a28
Fix from Corny.Bondad@hp.com for missing if (setting_acls) on default
...
perms.
Jeremy.
(This used to be commit ac96fa173cc3bd1c3226634154d6f99e4034179f)
2003-02-19 02:34:33 +00:00
Jeremy Allison
e7b5d059c2
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)
2003-02-19 01:38:12 +00:00
Jim McDonough
adfefcdcb6
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)
2003-02-19 01:16:40 +00:00
Jim McDonough
e354fd27cb
Add support for detecting method of listing encryption types (MIT v Heimdal)
...
(This used to be commit 48dcf5b97f2d53617c41237e09369ec678ab65e9)
2003-02-19 00:50:38 +00:00
Jim McDonough
a0913929ef
base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().
...
(This used to be commit 8c69212eeb4a0ec144b960d76319fd4940b8c239)
2003-02-19 00:27:38 +00:00
Martin Pool
1d278baf06
Remove reference to obsolete samba-bugs address.
...
(This used to be commit 8e5f2ac3ca0b4cfb910f38532efb63526f28b579)
2003-02-19 00:13:23 +00:00
Jelmer Vernooij
5eb7b6113b
Add -V option (to print out version) to utilities where possible
...
(pdbedit already has a -V option..)
(This used to be commit 5de622968d95c1436dbd34edc8d0a9bbff68916b)
2003-02-18 18:43:59 +00:00
Jelmer Vernooij
c536b88b2b
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)
2003-02-18 18:34:48 +00:00
Rafal Szczesniak
030beddfb3
Fix of two warnings.
...
pull_ucs2_talloc function takes char** pointer, not (here
explicitly casted) void** one.
Rafal
(This used to be commit e77c44efd95d42a8194f5c3d36c043f8e84dfd1d)
2003-02-18 14:59:21 +00:00
Tim Potter
5a32a8491d
We don't use mkproto stuff for the python extensions anymore.
...
(This used to be commit 8d166ae093655a5a14a7478c7a84474b43e8ee97)
2003-02-18 05:08:09 +00:00