Andrew Bartlett
677838b999
Give volker a hand, and let domain joins with existing user accounts work
...
a bit better.
This just sets the minimum possible attributes - if we are 'upgrading' an
LDAP based user account, the attributes will be there anyway. This matches
NT pretty well to.
This also fixes some use of unitialised values in the desired_access checking.
(found by valgrind).
Andrew Bartlett
(This used to be commit 929213ff2a5829ba8435ba1be0de317bca1e0da0)
2003-03-21 13:28:06 +00:00
Jelmer Vernooij
5c913362dc
Only build pdb_ldap if both ldap libs and headers are found
...
(This used to be commit 228110e83fce91c811c82f6f836d313b6b79ff87)
2003-03-20 17:45:23 +00:00
Volker Lendecke
afcb58ac9e
NT4 as well as W2k respond with IPC regardless of what service
...
type the client requested in the TCONX when connecting to IPC$.
It is very well possible that this also applies to the DISK and PRINTER
share types, not only IPC.
Found this while trying to join a HEAD domain from NT4SP6.
Volker
(This used to be commit d42eb2116df4bb82c4199a688a057cd0a9f435ed)
2003-03-20 16:53:07 +00:00
Jelmer Vernooij
c7e720c87b
Patch from Samuel Thibault to convert messages from unix to dos charset. Works
...
on 2000.
sending messages to 9x needs to be fixed, but that didn't work anyway
(This used to be commit ca066502a2a3dbdd8943d515c9c6d21e62d757b6)
2003-03-20 16:42:39 +00:00
Jelmer Vernooij
9ba6be2e70
Fix setOtherHelp() - pointed out by metze
...
(This used to be commit 05b1681b03688c0d4e57e8dfb881b111f947e6c6)
2003-03-20 15:45:27 +00:00
Jelmer Vernooij
be40463c31
Fix compile errors - don't use pstrcpy() on a fstring
...
(This used to be commit 3bad73ca870bb43324bdb5dfc6bb02e0fa1fb1e0)
2003-03-20 14:49:37 +00:00
Jim McDonough
29d734a93c
use pstrcpy_base()
...
(This used to be commit 9387caf3cebecd50de2b295560355b779135d8c3)
2003-03-20 14:39:46 +00:00
Jelmer Vernooij
6798444ba5
Build samr as well
...
(This used to be commit 1d33afdef9ea11e17c633109170d35ed66c4e2b8)
2003-03-20 13:59:58 +00:00
Jelmer Vernooij
bcc8bb40e0
Use True, not TRUE and False, not FALSE
...
(This used to be commit 44e9bf88cc2bbb2aa34711354258c3abb319cb9b)
2003-03-20 13:21:23 +00:00
Volker Lendecke
3560c49e44
Fix typo
...
(This used to be commit 5c6f5bef30db62f351d83ecdd6aa6990a567d842)
2003-03-20 12:50:29 +00:00
Volker Lendecke
56b6650b4e
I like debug level 10, but these messages always get into my way
...
when debugging pdc stuff...
Volker
(This used to be commit e1c275a66aa8a0fe29c61f4742fed5953671cb43)
2003-03-20 12:48:56 +00:00
Jelmer Vernooij
21fb006207
Convert smbcacls to popt
...
(This used to be commit 45e5374e89730e7ad497edf9e344fbd1b8992589)
2003-03-20 12:07:52 +00:00
Jelmer Vernooij
4e01382b3a
Make swat use popt
...
(This used to be commit 3cd1650d389850c2a36997a1a404d37bb28130e4)
2003-03-20 11:11:32 +00:00
Volker Lendecke
d87feb3baf
Merge Herb's change.
...
Volker
(This used to be commit e8725913f9f174c03683a35bbce16ee33ab4c707)
2003-03-20 10:04:13 +00:00
Martin Pool
c9167c943d
If CFLAGS is set when running configure, then just use that.
...
Otherwise add -O.
(We used to always set -O, which is sometimes annoying when debugging
and anyhow clashes with normal autoconf behaviour.)
(This used to be commit aee2ad9c3444d59dd6f53dda5379a6c391e00002)
2003-03-20 05:54:03 +00:00
Jeremy Allison
c8eed69be0
lib/messages.c: Check return from chainlock before modifying message queue.
...
Apply the job returned limit across all requests for job queues.
Jeremy.
(This used to be commit dee1326a1d8a0bf8977df22a0fe014dd5d8dc769)
2003-03-20 00:51:41 +00:00
Tim Potter
2f13a74671
Cleanup bogus initialisation in SID_NAME_USE enum.
...
Added new sid type = 9 for "computer" from MSDN.
(This used to be commit 45929d126932e5cac5a23fe76d28a4fa05b54b77)
2003-03-20 00:32:44 +00:00
Jelmer Vernooij
c775678250
Add make rules for passdb/*.so
...
(This used to be commit ea85f8ff21bfad378eb8464a94bb182cb3e4f988)
2003-03-19 22:16:38 +00:00
Jelmer Vernooij
9a328248ae
Fix corrupt memory reading in smb_register_passdb
...
(This used to be commit 6acbb37e4e32de635ace8420a5182b04b6527e34)
2003-03-19 21:09:18 +00:00
Jim McDonough
e542eedd18
use strnlen to prevent coredumps
...
(This used to be commit 1960a650c1546323708ed6bea615dc7215a97b4f)
2003-03-19 20:50:43 +00:00
Jelmer Vernooij
e14e43f3d3
Fix pdb_unix usage - noticed by jmcd
...
(This used to be commit dd03aec26dc39a4e56f18d547132768204a500db)
2003-03-19 20:18:00 +00:00
Jelmer Vernooij
2ffd83f3f0
Fix build errors and move pdb_guest.so -> guest.so
...
(This used to be commit 25412880251839de3dd17882fab30c873c886454)
2003-03-19 20:12:34 +00:00
Jim McDonough
84627f7995
replace pstrcpy
...
(This used to be commit c6eb950b6879d7566ded33dd6a3853cf2d5310db)
2003-03-19 19:32:51 +00:00
Jelmer Vernooij
a4c72cfa9b
Fix module names
...
(This used to be commit fa1c8eee1fdd2452f9e3595b2b3957ea8c0ea46a)
2003-03-19 19:28:05 +00:00
Jelmer Vernooij
47ea3a2bf2
Put in the new modules system. It's now used by passdb and rpc. I will
...
put a doc about it in dev-doc later today.
(This used to be commit af7bfee0c6902c07fdb8d3abccf4c8d6bab00b5a)
2003-03-19 18:45:19 +00:00
Volker Lendecke
45df237d13
Add paramter 'ldap del only sam attr'.
...
This patch is heavily based on a patch by SuSE. Thanks
to Guenther Deschner <gd@suse.de> for providing it.
Volker
(This used to be commit 5eaf9195eefda5ababba85cc0f6d581ff6f0f454)
2003-03-19 18:17:12 +00:00
Jelmer Vernooij
b66a4a1532
Fix some comment typos
...
(This used to be commit 41ea416adbc074f3a34b66c18ed63c7d44ea28fc)
2003-03-19 15:23:40 +00:00
Volker Lendecke
97575a9ba7
Hey -- there is an error code NT_STATUS_CANNOT_DELETE :-)
...
(This used to be commit aa9b8382d38346cb3e94ddf2e7caf6d663034579)
2003-03-19 14:58:20 +00:00
Volker Lendecke
91d55a509a
If we fail, return an error code :-)
...
Volker
(This used to be commit a5218499eb3f0a62cd663a06157591fbb0dfcbef)
2003-03-19 14:56:50 +00:00
Tim Potter
043a5337e4
GCC 3.x has deprecated multi-line string constants.
...
(This used to be commit 54000fc3b0daee452f4d5bc7dad40757f1cf7c11)
2003-03-19 11:26:01 +00:00
Tim Potter
50e42357ea
Fix compiler warning.
...
(This used to be commit 74c1cd0040890d24e6191d4cb0467e9f9d70f5dc)
2003-03-19 11:25:21 +00:00
Tim Potter
8406be4f68
Removed unused variable.
...
(This used to be commit 6326b0f0b489334c672548a50740890a124988a2)
2003-03-19 11:22:57 +00:00
Tim Potter
b6627c79b9
Add function prototype.
...
(This used to be commit 57e5c2007b7390c06989b34c7ecf6b5f6f56a03b)
2003-03-19 11:22:32 +00:00
Tim Potter
230f9335ec
Remove py_samba.c experiment - it didn't work.
...
(This used to be commit e69c061211e9c64201b54087d1381740d82cbbcd)
2003-03-19 11:20:45 +00:00
Volker Lendecke
6fe08f60ca
Put group mapping into LDAP.
...
Volker
(This used to be commit f0f1518fc450834725902e9cdf33fb8d35f99360)
2003-03-19 09:38:47 +00:00
Volker Lendecke
b8ba9f909f
Fix debug message not to use an uninitialized variable.
...
Volker
(This used to be commit 80bfa7efd65af02108e3ef1e2b2952cda6dc5999)
2003-03-19 08:36:42 +00:00
Martin Pool
41fdeceb82
Add additional StrCaseCmp test cases.
...
Doc.
(This used to be commit ac6027884b04943fac3d469ff6542d62293f46cc)
2003-03-19 08:32:42 +00:00
Martin Pool
de12a0d954
Add an STF module that defines the tests to be run by "make check".
...
(This used to be commit a5a2cc9ae9668e66d39beed1fdad4df0405fa4da)
2003-03-19 03:56:50 +00:00
Martin Pool
1d2afdcfb7
Get rid of "make check" targets that call nonexistent code.
...
Add in new ones that run STF, after setting up a PATH and
LD_LIBRARY_PATH that will let them find samba in the build directory.
LD_LIBRARY_PATH is probably not portable but without libtool I don't
know a portable way to do it. Perhaps the simple solution is just to
link these things statically?
(This used to be commit 27c1626ae0a30bf0f01ea6d6df5836425e6f9547)
2003-03-19 03:55:14 +00:00
Martin Pool
e239ead4b5
A new STF test case! This one checks strcasecmp correctness for
...
various strings.
(This used to be commit ef5bdb1700f6033f342d6bb32a8d0ee240dd34b8)
2003-03-19 03:42:27 +00:00
Martin Pool
553d1184fe
Add the correct file :-( to ignore .po and .po32 files.
...
(This used to be commit 00b147882221dbb92673bc19fb0572718e3b10c6)
2003-03-19 03:41:18 +00:00
Martin Pool
f5765025c2
Remove this .po file from the repository. I meant to add a cvsignore
...
file that ignored it, but I slipped.
(This used to be commit a3f90cc6ab2735296ca482c8e29dc1d83804e205)
2003-03-19 03:39:16 +00:00
Martin Pool
9474172774
Ignore t_strcmp test case.
...
(This used to be commit 705db537c5c8495ce39d7ca609de4a2ee1bba6a5)
2003-03-19 03:14:54 +00:00
Martin Pool
d071b731a6
Ignore .po and .po32 files.
...
(This used to be commit 9a8d50d45c352a22b9b67adb1548482ab2c3265c)
2003-03-19 03:14:28 +00:00
Martin Pool
54925dcc60
Run test 10000 times to make measurement easier.
...
(This used to be commit e051789ac6cc05f8a643ea81e887d3b969cf3a27)
2003-03-19 02:59:18 +00:00
Jeremy Allison
736c753841
Ensure dev in make_connection is const.
...
Jeremy.
(This used to be commit e8155fade61e9dc308a82f442453803160c36806)
2003-03-18 23:51:18 +00:00
Jeremy Allison
0331877348
Removed unused var.
...
Jeremy.
(This used to be commit fb925a72a6323d96d8fae658c4271ca05e8256de)
2003-03-18 21:25:33 +00:00
Jelmer Vernooij
85b5a5d427
Put in some macros for the new modules system
...
(This used to be commit b6272a8f18c823be3056d9f03810be75e9129cce)
2003-03-18 12:07:43 +00:00
Martin Pool
743d429d9b
Step one of optimizations for StrCaseCmp:
...
First of all, do a char-by-char walk through both buffers until we get
to a non-ascii character, or a difference between the strings. This
prefix can be directly compared without needing to call into iconv.
This should be much faster for strings that are either all ascii, or
differ near the start.
(This used to be commit f7f692b2db4dd513068d6d8fed2792186933ddda)
2003-03-18 07:31:49 +00:00
Martin Pool
6b2fb1e2fe
Add t_strcmp test/torture harness.
...
(This used to be commit 2c17cb1bd27658ac7a72cb9eccb4b048e9d0ec5f)
2003-03-18 07:13:15 +00:00