1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

457 Commits

Author SHA1 Message Date
Volker Lendecke
21da07ba1f r17457: Add a test to do some operations on group mapping.
Volker
(This used to be commit 68db058fdf)
2007-10-10 11:38:35 -05:00
Volker Lendecke
ac9628de48 r17425: Add the multi-key wrapper. If it's necessary to add general blobs as keys,
this can trivially be added later.

Volker
(This used to be commit 6915adb978)
2007-10-10 11:38:33 -05:00
Volker Lendecke
d3ec0beb14 r17116: Jerry, I can't reach you right now, but r17110 broke the build.
Please check.

Volker
(This used to be commit 8c7d6cab19)
2007-10-10 11:38:13 -05:00
Gerald Carter
8e99b53461 r17110: revert a bad merge from the old trunk
(This used to be commit 2c7448e43e)
2007-10-10 11:38:12 -05:00
Volker Lendecke
03f477b8a6 r17095: Activate RPC-SAMBA3-SHARESEC
(This used to be commit bcb196d21e)
2007-10-10 11:38:11 -05:00
Volker Lendecke
95fd775e81 r17077: Activate RPC-SAMBA3-GETUSERNAME in the build farm
(This used to be commit 8c6088f2bd)
2007-10-10 11:38:10 -05:00
Volker Lendecke
1f2419d9f8 r17032: I thought I had already merged this from trunk:
> r16959 | vlendec | 2006-07-11 23:10:44 +0200 (Di, 11 Jul 2006) | 1 line
>
> get_share_security does not need snum, activate RPC-SAMBA3-SRVSVC

Volker
(This used to be commit c89471e157)
2007-10-10 11:19:21 -05:00
Jeremy Allison
fbdcf2663b r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
to do the upper layer directories but this is what
everyone is waiting for....

Jeremy.
(This used to be commit 9dafb7f48c)
2007-10-10 11:19:14 -05:00
James Peach
e0055ce8f5 r16289: Fix smbclient test hang. This is caused by readline refusing to believe
the end of file it receives when reading from a pipe after we force
interactive mode.
(This used to be commit 3eee126458)
2007-10-10 11:17:31 -05:00
James Peach
ae2fb4f109 r16273: Add smbclient tests to verify that
in interactive mode, smbclient always prompts on stdout
        in non-interactive mode, smbclient never prompts
(This used to be commit dff1eba81e)
2007-10-10 11:17:30 -05:00
Alexander Bokovoy
21706838f5 r16138: By default, rootsbindir relies on SBINDIR so import it here
(This used to be commit a18af427d7)
2007-10-10 11:17:22 -05:00
Alexander Bokovoy
c403a5525c r16136: By default, rootsbindir relies on SBINDIR so import it here
(This used to be commit 5ffb424641)
2007-10-10 11:17:22 -05:00
Gerald Carter
7112413350 r16130: fix a shell portability issue for Solaris sh in installman.sh
(This used to be commit 9be3e07884)
2007-10-10 11:17:22 -05:00
Stefan Metzmacher
fd1b550851 r16025: make sure the samba4's smbtorture can be executed
metze
(This used to be commit bed220afb8)
2007-10-10 11:17:18 -05:00
Stefan Metzmacher
5c9e031adb r15989: try to make timelimit.c more portable
Patch from Bjoern Jacke (Thanks!)

metze
(This used to be commit b9d1440f46)
2007-10-10 11:17:17 -05:00
Stefan Metzmacher
92307d5b17 r15967: enable RAW-OPLOCK in samba3 make test
metze
(This used to be commit 6d35268639)
2007-10-10 11:17:15 -05:00
Volker Lendecke
4c411c9bb9 r15924: Ok, the Solaris fix broke AIX. Next try :-)
Volker
(This used to be commit 53bd3fa30a)
2007-10-10 11:17:13 -05:00
Volker Lendecke
096061c212 r15918: Attempt to bring Solaris into make test. The Solaris shell does not like the
isolated !.

Metze, can you check this?

Thanks,

Volker
(This used to be commit c9542c64ce)
2007-10-10 11:17:13 -05:00
Volker Lendecke
9b19549fd6 r15917: Activate RPC-AUTHCONTEXT in "make test"
(This used to be commit 17f701ab4f)
2007-10-10 11:17:13 -05:00
Jim McDonough
b4f96abf0a r15873: Use short signal names to placate ksh trap. bash seems to accept either
and even uses them on the manpage.  this should now enable make test on
AIX.
(This used to be commit de836d2077)
2007-10-10 11:17:11 -05:00
Jim McDonough
78d733e667 r15872: Take one step toward getting this working on AIX. the [-z ] stuff
doesn't work there.
(This used to be commit 0ee78d96d9)
2007-10-10 11:17:11 -05:00
Stefan Metzmacher
4856cd51f0 r15735: also export PREFIX as testit from test_functions.sh needs it
metze
(This used to be commit 8709bba24a)
2007-10-10 11:17:10 -05:00
Stefan Metzmacher
385fa8cafb r15732: samba3 now passes BASE-DENY1
metze
(This used to be commit e5a8553a57)
2007-10-10 11:17:09 -05:00
Gerald Carter
bc77e15c30 r15717: BUG 3711: patch from Leonid Kabanov <lkabanov@mail.ru> for some solaris sheel scripting bugs with 'make test'
(This used to be commit 94e0bc5013)
2007-10-10 11:17:09 -05:00
Stefan Metzmacher
c4d4e8dd31 r15691: - samba3 also pass RAW-CHKPATH, RAW-SEEK, RAW-SFILEINFO-BUG
- samba3 pass the limited version of RAW-LOCK
  (the lock cancel and error checking tests are skipped)

metze
(This used to be commit b79ceece95)
2007-10-10 11:17:07 -05:00
Stefan Metzmacher
9b9c6c3632 r15686: - start testing the RAW-* tests in make test
- RAW-READ now passes samba3
- skip the rest for now

metze
(This used to be commit fc343051af)
2007-10-10 11:17:07 -05:00
Stefan Metzmacher
46586a1fd3 r15682: fix option passing
metze
(This used to be commit cd2fa1da6c)
2007-10-10 11:17:07 -05:00
Stefan Metzmacher
039113fe15 r15620: pass 'target:samba3=yes' to samba4's smbtorture when running samba3's make test
we can use this in samba4's smbtorture to disable tests sections which doesn't pass
against samba3

metze
(This used to be commit fab4de70b6)
2007-10-10 11:17:03 -05:00
Deryck Hodge
a24c545bac r15466: Install the images for SWAT.
And we don't install any JavaScript (hold over from a prior SWAT
svn ci trunk/ branches/SAMBA_3_0 -m
(This used to be commit 9bf07ba6cc)
2007-10-10 11:16:51 -05:00
James Peach
7835930549 r15447: Teach "smbd -b" to emit the sizes of a few more types that
might be interesting. Push the spacing across a bit so that
it all lines up nicely.
(This used to be commit efd961e4ee)
2007-10-10 11:16:46 -05:00
Stefan Metzmacher
c398ea247b r14886: reenable BASE-DENY2 and BASE-DENY3
metze
(This used to be commit 69f489bde0)
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
97bfe0d0a0 r14884: this doesn't work and causes processes to be left when using ctrl-c (SIGINT)
metze
(This used to be commit 1ac5351646)
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
186f442f4c r14865: - enforce timelimits for the tests
- and skip some long tests for now

metze
(This used to be commit 1d52ae786d)
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
3aaa903102 r14820: sync test_posix_p3.sh with test_posix.sh from samba4
but only run the BASE-* tests and ignore some more than in samba4

metze
(This used to be commit 6f37658f92)
2007-10-10 11:15:49 -05:00
Stefan Metzmacher
c3624eb7c4 r14809: - add my email address
- fix usage()
- remove unused var

metze
(This used to be commit 20782719d9)
2007-10-10 11:15:49 -05:00
Stefan Metzmacher
2f28844a10 r14744: allow ./timelimit 5 ./timelimit 20 ./ignore_all_signals
to work,

this is needed when we enable samba3's make test
in the build-farm

metze
(This used to be commit b120c21669)
2007-10-10 11:15:45 -05:00
Stefan Metzmacher
aa583e5912 r14678: - we need to use 127.0.0.2/8 as interface for the server
as nmbd skip interfaces with address 127.0.0.1
- add samba3 smbclient -L tests
- add samba3 smbtorture tests

metze
(This used to be commit 835f8f4339)
2007-10-10 11:15:43 -05:00
Stefan Metzmacher
ed9ad1827b r14632: add basic 'make test' using samba4's smbtorture
I'll try to add some tests using samba3's smbtorture and smbclient
later.

can someone check if this would be save to run on the build-farm
without leaking child processes...

metze
(This used to be commit 899fd6808e)
2007-10-10 11:15:40 -05:00
Stefan Metzmacher
906c19faca r14628: sync timelimit.c with the version from the build-farm repository
metze
(This used to be commit 1b6a643785)
2007-10-10 11:15:40 -05:00
Stefan Metzmacher
b40e258870 r14624: - add timelimit.c
- add configure tests --with-selftest-prefix=/tmp/samba-test
  this is needed because the path name of unix socket can only be 108 chars long
- add configure test --with-smbtorture4-path=/home/foo/prefix/samba4/bin/smbtorture
  this will be used to run samba4's smbtorture inside samba3's make test later

metze
(This used to be commit d9df1853b9)
2007-10-10 11:15:39 -05:00
Lars Müller
9b27791644 r14325: Add pam_modules rule which builds the configure(d) pam modules. This is
called as part of the all rule (again only if pam modules are requested
by configure).

Add pam_winbind rule.

Ensure proto_exists before we build the pam modules.

Add test_pam_modules rule to test if the built pam modules have any
unresolved symbols.  For test_pam_modules we use script/tests/dlopen.sh
which was written by Nalin Dahyabhai <nalin@redhat.com>.  Thanks Nalin!
RedHat and SuSE use this script to test nss and pam modules since
several years.
(This used to be commit 71b2eb55ad)
2007-10-10 11:15:25 -05:00
Lars Müller
24decd1233 r14056: Also install the mount.smbfs sym link to rootsbindir. Therfore we have
to substitute rootsbindir in {,un}installbin.sh.in.

Pass $prefix as third arg to installbin/ uninstallbin as rootsbindir by
default is $prefix/sbin.
(This used to be commit 7773b8c9e0)
2007-10-10 11:11:09 -05:00
Lars Müller
f27228fc31 r14052: Remove BASEDIR use in the Makefile. BASEDIR=prefix=@prefix@ till now.
I suggest to stay with ^BASEDIR= @prefix@$ for at least the next release
to give external projects - like samba-vscan project - time to adopt
this change.

BASEDIR is non of the default autoconf variables.  prefix is.

Jerry1: If possible please announce this with the next release.  I'll
self reply to technical.

Jerry2: This does not break your makepkg stuff as you set BASEDIR
_not_ from the Makefile.
(This used to be commit 730d5ec229)
2007-10-10 11:11:08 -05:00
Volker Lendecke
bf565b7b7b r13816: Volunteering :-)
> for the svn log:
>
> - Solaris' /bin/sh doesn't know "test -e" - let's use "test -f" instead
>
> Some volunteer wanna check this in? :)
>
> Cheers
> Bjoern

Volker
(This used to be commit 58d5f2031a)
2007-10-10 11:10:55 -05:00
Lars Müller
21760b0001 r13688: Revert change to set DAT_FILES and SWAT_MSG_FILES in the Makefile.
Instead check for *.dat and *.msg files as done before.  Then added
files are installed and removed as soon as we have some in the
filesystem.  It's simpler and less error prone.
(This used to be commit 5119472cdc)
2007-10-10 11:10:23 -05:00
Lars Müller
9169edfeb4 r13663: make uninstall DESTDIR=/somewhere no longer leaves files. This is done
with the new rules: uninstallservers uninstalldat, uninstallswat (calles
uninstallmsg), uninstallmodules, uninstallclientlib, and
uninstalllibmsrpc.

We still leave directories.  We might try to remove the dirs we created
in reverse order.

The new uninstall scripts are sym links to the respective install
scripts.  Inside we set mode to install or uninstall.

installservers is now used to install the servers.  These are no longer
installed with installbin.
(This used to be commit 43549301b9)
2007-10-10 11:10:21 -05:00
Lars Müller
55ccaee64a r13645: Revert debug output.
(This used to be commit 3a6c9999b4)
2007-10-10 11:10:21 -05:00
Lars Müller
a71e4baaf6 r13644: Do not shift anything inside the for loop away. We ineterate over $@.
(This used to be commit 3aa75f0ff5)
2007-10-10 11:10:20 -05:00
Lars Müller
95faa772c6 r13643: Enable script debug output to get some more details why some hosts
return with !=0 after calling installmodules.sh AUTH_MODULES.
(This used to be commit 5a67b4f5be)
2007-10-10 11:10:20 -05:00
Lars Müller
ca0e155ef0 r13642: Fix install* scripts to use DESTDIR.
Always pass the INSTALLPERMS and DESTDIR as first and second arg to the
scripts.

No longer prepend DESTDIR to the remaining args.

To fix bug #3282 it is important _not_ to prepend DESTDIR to the source
of the sym link pointing to smbmount.
(This used to be commit c38adf7131)
2007-10-10 11:10:20 -05:00
Gerald Carter
0af1500fc0 r13316: Let the carnage begin....
Sync with trunk as off r13315
(This used to be commit 17e63ac4ed)
2007-10-10 11:06:23 -05:00
Gerald Carter
7de55b30b7 r13229: * fix bad comparison caught by the AIX compiler in wbinfo code
* update output from mkversion.sh to include the SAMBA_VENDOR_PATCH
(This used to be commit 485f037094)
2007-10-10 11:06:19 -05:00
Gerald Carter
19907887fc r13093: adding vendor patch level string as announced on samba-technical ml
(This used to be commit d40f06018b)
2007-10-10 11:06:13 -05:00
Gerald Carter
e2de656314 r12990: BUG 3329: patch from David May <mayd@cygnus.uwa.edu.au> for Solaris shell script portability issues in 'make test'
(This used to be commit 19339a9510)
2007-10-10 11:06:09 -05:00
Gerald Carter
67e8af8527 r12393: cleaning up swat bugs. *no one* tests swat it seems. This has been broken since r10656
(This used to be commit 85ea7afd8b)
2007-10-10 11:05:54 -05:00
Gerald Carter
03b77baa6f r12040: merging packaging fixes from release branch
(This used to be commit 47a9f2c3d6)
2007-10-10 11:05:42 -05:00
Gerald Carter
5251618c7f r11761: * fix clearing of event logs by truncating the tdb.
This feature got broken in some of the other updates.
  Now each open handle stores an pointer to an open tdb
  data structure (not the tdb pointer itself).
  Clearing can be done with a simple elog_close_tdb( elog, True )
  to force a close and then calling elog_open_tdb( logname, True )
  to force an tdb truncate.  Permissions on existing tdbs are
  maintained which is important.

* We don't currently handle backup.  Haven't looked at the
  format of a backuped up eventlog to know what the deal is.
(This used to be commit 2df34c9403)
2007-10-10 11:05:26 -05:00
Lars Müller
ba2edc38aa r11728: Ensure to check for the config.log in ${SRCDIR}.
Revert jerry's revert from 11685. :)

At the moment I don't see a way to check if there is an empty
${SMBWRAPPER} or none.  If there is a way to check if ${SMBWRAPPER}
isn't set at all we could make the installman script even work if
config.log does not exist.
(This used to be commit 3e3113a1fa)
2007-10-10 11:05:25 -05:00
Gerald Carter
f8cb37ab19 r11685: reverting Lar's change to nistallman from r11224 since it breaks 'make installman' outside the source tree; will fix up after the rc1 release
(This used to be commit 61e7366e0f)
2007-10-10 11:05:24 -05:00
Lars Müller
580ef1f81e r11224: Add feature to get our configuration from config.log into installman.sh.
This allows us to install for example smbsh.1 only if SMBWRAPPER is set.

Removed also one rm call as we copy and do not append to the same file
in the next step.  There is no file permission risk as we chmod 0644 in
any case later.

Replaced one basename call by shell substitution.
(This used to be commit 3944dfbff4)
2007-10-10 11:05:06 -05:00
Gerald Carter
63937fec90 r11152: fix some regressions caused by the trunk->3.0 merge when install docs with SWAT
(This used to be commit e3c6873866)
2007-10-10 11:05:03 -05:00
Gerald Carter
47e297bc8d r10904: build patches from Marc Balmer <marc@msys.ch> when builddir!=srcdir
(This used to be commit b7fc404518)
2007-10-10 11:04:55 -05:00
Gerald Carter
75a29f80eb r10676: reverting bad merge for install manpages script
(This used to be commit 50549fa9b3)
2007-10-10 11:04:50 -05:00
Gerald Carter
54abd2aa66 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
(This used to be commit 939c3cb5d7)
2007-10-10 11:04:48 -05:00
Gerald Carter
013ac99a9d r9618: adding get/put tests from Don Watson
(This used to be commit a94de276ae)
2007-10-10 11:03:23 -05:00
Gerald Carter
dffa98b761 r9615: trying a 3 second timeout on smbcontrol
(This used to be commit 4e62a51bf6)
2007-10-10 11:03:22 -05:00
Gerald Carter
78f6ccebc5 r9613: remove TMPDIR from 'make test' scripts (after comments by Don Watson)
(This used to be commit 0626bb6841)
2007-10-10 11:03:22 -05:00
Gerald Carter
38d08ad68c r9585: update test #1
(This used to be commit 7a150ffde5)
2007-10-10 11:03:22 -05:00
Gerald Carter
e2a5b7da6a r9583: ensure that Samba was with with --enable-socket-wrapper for running 'make test'
(This used to be commit 019155e748)
2007-10-10 11:01:13 -05:00
Gerald Carter
024a46c8fa r9562: successfully get the samba 3 smbtorture working (as a test case for infrastructre)
(This used to be commit c64f5666b8)
2007-10-10 11:01:13 -05:00
Gerald Carter
35f12fd94d r9548: more additions to make test; better checks for starting and stopping smbd
(This used to be commit dbaaf81cec)
2007-10-10 11:01:12 -05:00
Jeremy Allison
f98f86394a r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a UNIX vendor
not understanding abstract data types :-(.
Jeremy.
(This used to be commit be5b4e2fa3)
2007-10-10 11:01:11 -05:00
Lars Müller
910f3dd348 r9038: Revert svn rev 414. Discussed with Jerry and Metze.
We need the option to add an 'a' if we're already in pre or rc state
with the next release.

Bugzilla Bug 2618
(This used to be commit 26bf1d223e)
2007-10-10 11:00:24 -05:00
Gerald Carter
b549e4903d r8992: More make test work. Adding a way to order tests (might change
my mind on this later).
(This used to be commit 136fe3f15e)
2007-10-10 11:00:23 -05:00
Gerald Carter
c731d11471 r8990: First trivial example of 'make test'
(This used to be commit 11c8863949)
2007-10-10 11:00:23 -05:00
Gerald Carter
9451a51b59 r8834: fixing SWAT install after docs changeswat/help/welcome.html
(This used to be commit 6fb371f0c8)
2007-10-10 11:00:18 -05:00
Gerald Carter
1d4eb57323 r8388: fix typo in installman script
(This used to be commit 30b03519c0)
2007-10-10 11:00:04 -05:00
Gerald Carter
c25a9f4122 r7944: BUG 2808: don't try to install manpages if they are not present
(This used to be commit 1ce5cc2a5f)
2007-10-10 10:58:03 -05:00
Jeremy Allison
19ca97a70f r7882: Looks like a large patch - but what it actually does is make Samba
safe for using our headers and linking with C++ modules. Stops us
from using C++ reserved keywords in our code.
Jeremy
(This used to be commit 9506b8e145)
2007-10-10 10:58:00 -05:00
Tim Potter
0b8bc68b50 r7788: Update install swat message to reflect the fact that swat/README
no longer exists.  Bugzilla #2808.
(This used to be commit 88a3faf84e)
2007-10-10 10:57:21 -05:00
Volker Lendecke
5084d49052 r7243: Don't look at gencache.tdb for the trusted domains if winbind is around.
Volker
(This used to be commit 94acb93f57)
2007-10-10 10:57:05 -05:00
Stefan Metzmacher
0895eae509 r6925: merge rev 6920 from 4_0:
display the SVN revision in svk build of tree's directly mirrored from samba.org

metze
(This used to be commit 110c0f6f36)
2007-10-10 10:56:57 -05:00
Stefan Metzmacher
6cc85bbe72 r6354: merge from 4_0 rev 6353:
we need the english output from the svn commands

metze
(This used to be commit 6b84f30e3d)
2007-10-10 10:56:38 -05:00
Jelmer Vernooij
b62fae5edc r5915: Remove --with-manpages-languages= from configure (we only have them in one
lanuage, English, at the moment). Fixes #2261. If other languages
might are added in the future, this parameter will still not be needed.
(This used to be commit d41e790b4b)
2007-10-10 10:56:08 -05:00
Gerald Carter
46e5effea9 r4805: Last planned change to the privileges infrastructure:
* rewrote the tdb layout of privilege records in account_pol.tdb
  (allow for 128 bits instead of 32 bit flags)
* migrated to using SE_PRIV structure instead of the PRIVILEGE_SET
  structure.  The latter is now used for parsing routines mainly.

Still need to incorporate some client support into 'net' so
for setting privileges.  And make use of the SeAddUserPrivilege
right.
(This used to be commit 41dc7f7573)
2007-10-10 10:53:55 -05:00
Gerald Carter
07d8bf0f8f r3924: fix installswat once again after the image target location had changed in the docs
(This used to be commit ddb5823ac2)
2007-10-10 10:53:24 -05:00
Jeremy Allison
f1688d61df r2112: Simplify the mangle hash code to use an in-memory tdb.
Should be ready for the new directory code now...
Jeremy.
(This used to be commit c2eff8ef1b)
2007-10-10 10:52:32 -05:00
Gerald Carter
c1a0b0a9e7 r1410: fix another bug caused by the docs target directories change
(This used to be commit e13d15994d)
2007-10-10 10:52:10 -05:00
Gerald Carter
0122d4ef5e r1407: revert change that broke the build on systems w/o krb5 files
(This used to be commit 89a11b5d7c)
2007-10-10 10:52:10 -05:00
Gerald Carter
824bc32be7 r1399: applying heimdal krb5 fixes from Guenther and fixing compile warnings in libadskerberos_keyatb.c
(This used to be commit 837f56ec8b)
2007-10-10 10:52:10 -05:00
Jeremy Allison
569177a194 r1317: Patch from Joe Meadows "Joe Meadows" <jameadows@webopolis.com> to
add a timeout to the ldap open calls. New parameter, ldap timeout
added.
Jeremy.
(This used to be commit e5b3094c4c)
2007-10-10 10:52:06 -05:00
Jeremy Allison
2b76b28932 r1236: Heimdal fixes from Guenther Deschner <gd@sernet.de>, more to come before
it compiles with Heimdal.
Jeremy.
(This used to be commit dd07278b89)
2007-10-10 10:52:01 -05:00
Jeremy Allison
2fc57c9a2c r1085: Now it's had some proper user testing, merge in the deferred open fix. I'm
still doing more testing, but it fixes a behaviour that we've been wrong
on ever since the start of Samba.
Jeremy.
(This used to be commit 894cc6d162)
2007-10-10 10:51:54 -05:00
Stefan Metzmacher
b4594cec6e r824: merge from: SAMBA_4_0:
use 'Last Change Rev:' instead of 'Revision:' from the svn info output
for setting the SVN_REVISION in version.h

metze
(This used to be commit 7cc35ba066)
2007-10-10 10:51:47 -05:00
Gerald Carter
4f9c8e28ac r496: fixing swat welcome page -- added links to example guide, devel guide, and howto (all in multi page format)
(This used to be commit 984d9fe271)
2007-10-10 10:51:26 -05:00
Stefan Metzmacher
65d9febf9a r413: merge from 4_0:
as we decide to not do 3.0.2a releases anymore,
remove the generation stuff from VERSION and mkversion.sh

metze
(This used to be commit 25cbca89ba)
2007-10-10 10:51:22 -05:00
Stefan Metzmacher
1cd9d74016 r215: merge over svk fixes from 4_0
metze
(This used to be commit 2326c9e0a2)
2007-10-10 10:51:14 -05:00
Stefan Metzmacher
f8c418a0af r208: merge the version schema changes from 4_0
metze
(This used to be commit 4d9d8e83aa)
2007-10-10 10:51:14 -05:00
Gerald Carter
931df5850e r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
(This used to be commit a7e2730ec4)
2007-10-10 10:51:05 -05:00
Jeremy Allison
a79b205d92 Fix gcc warnings. Fix mkproto with new type.
Jeremy.
(This used to be commit 00fa66df3e)
2004-03-19 01:29:14 +00:00
Gerald Carter
08d03a7039 BUG 1129: patch from shiro@miraclelinux.com (Shiro Yamada) to install image files for SWAT
(This used to be commit a01a7fdbd9)
2004-03-02 18:10:12 +00:00
Herb Lewis
727bc707b6 merge old change from 2.2 branch to give legend in heading
(This used to be commit ed4af810cf)
2004-02-12 20:43:23 +00:00
Gerald Carter
f5bb18bfcb disable template accounts by default
(This used to be commit 02899224a1)
2004-01-29 20:15:12 +00:00
Gerald Carter
ad40c8a1f4 BUG 958; don't use the -N option when invoking smbclient from the smbtar script
(This used to be commit c51eaec4f0)
2004-01-15 17:18:39 +00:00
Gerald Carter
5c8b533638 patch from TAKEDA yasuma to bypass any missing language files
(This used to be commit a3b0cc9f5b)
2003-12-10 14:10:26 +00:00
Rafal Szczesniak
daea4804c3 Omit html documentation tree because it has been moved to the separate
module. Install though, in case one recreates the tree as it was before.


rafal
(This used to be commit d6857d191c)
2003-11-12 13:02:25 +00:00
Gerald Carter
6ebde91c44 * only install swat html files once
* revert the change that prevent the guest
  account from being added to a passdb backend
  since it broke the build farm.
* apply patch from Alex Deiter to fix the
  "smbldap_open: cannot access when not root
  error" messages when looking up group
  information (bug 281)
(This used to be commit 9b8bf6a950)
2003-11-07 23:04:06 +00:00
Tim Potter
9f154119e8 Final round of printf warnings fixes for the moment.
(This used to be commit 0519a7022b)
2003-11-06 22:11:08 +00:00
Tim Potter
f95e40197f Generate 64-bit clean printf's for build options.
(This used to be commit 1814c29b7d)
2003-11-04 19:47:40 +00:00
Gerald Carter
629120a0a1 cosmetic fix when DESTDIR=/ (default)
(This used to be commit e660b5752a)
2003-10-06 19:24:17 +00:00
Simo Sorce
b1f610ebb1 split some security related functions in their own files.
(no need to include all of smbd files to use some basic sec functions)

also minor compile fixes
couldn't compile to test these due to some kerberos problems wirh 3.0,
but on HEAD they're working well, so I suppose it's ok to commit
(This used to be commit c78f2d0bd1)
2003-10-06 01:38:46 +00:00
Gerald Carter
a234b822d4 fixed for /sbin/mount.smbfs link when using $DESTDIR; bug 525
(This used to be commit dc6d14c2bd)
2003-10-02 21:22:58 +00:00
Tim Potter
a6b3104042 Fix bug #456 for 3.0.0 release.
More work on SWAT i18n support to appear in later releases.
(This used to be commit c326774905)
2003-09-24 01:27:39 +00:00
Alexander Bokovoy
5715e01481 Fix scripts to generate correct tables for compilers which have character constants as signed chars instead of unsigned
(This used to be commit e4dda8cb22)
2003-09-17 17:49:35 +00:00
Gerald Carter
1f32535d60 fix some output formatting
(This used to be commit 0283b0152e)
2003-09-05 13:25:49 +00:00
Gerald Carter
2d5cf1d451 reformatting
(This used to be commit 5c3094ee55)
2003-09-05 13:21:35 +00:00
Gerald Carter
605caa4172 fix some problems with the findsmb script due to changes in smbclient & nmblookup
(This used to be commit 50bb063f3b)
2003-09-05 13:07:41 +00:00
Tim Potter
7444f0fc7b Removed {OLD,NEW}_NTDOMAIN cruft from mkproto.awk
(This used to be commit 061decb608)
2003-09-04 23:55:44 +00:00
Alexander Bokovoy
39abb5cacc Proper fix for #380 -- use different algorithm to generate codepages
source code which allows to take gaps into account thus making unneccessary
extended [index] = value, syntax in to_ucs2 array
(This used to be commit 4ab08a4bb8)
2003-09-01 11:33:42 +00:00
Gerald Carter
9809c98f24 make sure using_samba 2ed. files get installed ok
(This used to be commit 55b6129bd1)
2003-08-28 21:23:04 +00:00
Alexander Bokovoy
e83031c84d Refactor charset plugins a bit and add CP437 module.
Now all 8-bit charsets with gaps (not all symbols defined) could be produced through
one macro -- SMB_GENERATE_CHARSET_MODULE_8_BIT_GAP(CHARSETNAME) within source file
with three charset tables. Full source code for such modules can be generated by
source/script/gen-8bit-gap.sh script which was taken from GNU libc and changed slightly
to follow our data types and structure.
(This used to be commit 37042c7bc0)
2003-08-28 17:16:27 +00:00
Gerald Carter
a1be0fbbb4 don't complain if the using_samba book is not in the tree
(This used to be commit 20603faf2c)
2003-08-22 16:23:56 +00:00
Gerald Carter
f8c3883996 remove unneedced script
(This used to be commit 9c9cc30093)
2003-08-21 13:05:09 +00:00
Alexander Bokovoy
6cdfb4aa63 Ignore only getdate.* in modules/, not the whole directory. Fixes static builds of modules
(This used to be commit df6eeca5f6)
2003-08-21 08:46:48 +00:00
Gerald Carter
8bfe26b62d metze's autogenerate patch for version.h
(This used to be commit ae452e51b0)
2003-08-20 17:13:38 +00:00
Gerald Carter
caa5b47390 missing backtic
(This used to be commit bf271aadcf)
2003-08-19 22:59:45 +00:00
Alexander Bokovoy
ec8b32df56 Ignore modules/*.c in make proto
(This used to be commit eaf883abc0)
2003-08-19 21:52:33 +00:00
Jelmer Vernooij
fd4c40a00d Create symlinks for modules that register multiple functions (fixes bug #91 )
(This used to be commit 3000a99b2d)
2003-08-13 04:11:50 +00:00
Gerald Carter
6810e37aee removing outdated scripts
(This used to be commit b47b6f5825)
2003-07-16 04:53:57 +00:00
Gerald Carter
eb2b683022 fix cache coherency bug in print handle print_info_2 cache.
Needs to be rewritten to use a reference counter, but this
will work for now.

also the memory allocation in the printing code needs to be cleaned
up to use talloc exclusively.
(This used to be commit 3d29302756)
2003-07-14 19:51:34 +00:00
Jelmer Vernooij
46d115148c Move find_missing_doc.pl to the docs system
(This used to be commit 087e9af450)
2003-07-09 18:51:18 +00:00
Jelmer Vernooij
dd663f3f6f Update for docbook XML
(This used to be commit a61804b5eb)
2003-07-09 18:31:03 +00:00
Gerald Carter
16ff7b26f6 Large set of changes to add UNIX account/group management
to winbindd.  See README.idmap-and-winbind-changes for details.
(This used to be commit 1111bc7b0c)
2003-07-09 16:44:47 +00:00
Jelmer Vernooij
2e31bdaeb1 Add smb_event_id to list of return types (patch from metze)
(This used to be commit 95c4c801fe)
2003-07-04 21:24:31 +00:00
Gerald Carter
93bcb9963b merge of the netsamlogon caching code from APPLIANCE_HEAD
This replaces the universal group caching code (was originally
based on that code).  Only applies to the the RPC code.

One comment: domain local groups don't show up in 'getent group'
that's easy to fix.

Code has been tested against 2k domain but doesn't change anything
with respect to NT4 domains.

netsamlogon caching works pretty much like the universal group
caching code did but has had much more testing and puts winbind
mostly back in sync between branches.
(This used to be commit aac01dc7bc)
2003-06-21 04:05:01 +00:00
Tim Potter
4e8052640e More fixes for builddir != srcdir.
- Use absolute directories for $builddir and $srcdir in the Makefile

 - Don't try and combine source files in $builddir and $srcdir to build
   proto.h.  It's just too hard to get it right across all targets we
   wish to compile on.  Use a hand created prototype for the single
   function in smbd/build_options.c that we need.  This allows us to ditch
   all the extra sed work that was causing problems: \t not portable - hah!

 - Fix bogus delheaders target to remove the correct files

This appears to work quite nicely now.  Let's see how it goes on the
buildfarm machines.
(This used to be commit 456184463d)
2003-05-27 02:35:53 +00:00
Tim Potter
53e8a1cf6d Ignore autogenerated file.
(This used to be commit de8180a280)
2003-05-26 07:02:02 +00:00
Tim Potter
1f84a14b0b Bug 83: fixes for building when $srcdir != $builddir from David Lee
<t.d.lee@durham.ac.uk>
(This used to be commit e48a8b5e9c)
2003-05-23 01:59:43 +00:00
Andrew Bartlett
df31340b5d Fix for format string warning from vance
(This used to be commit 0369d4432b)
2003-04-29 03:04:05 +00:00
Andrew Bartlett
53004910eb Patch by Vance Lankhaar <vlankhaar@linux.ca> to automaticly regenerate the
build options, so we will always have the right values for how and when
an smbd was built.

In particular, this is indended to address bitrot caused by configure.in
changes.

Andrew Bartlett
(This used to be commit 2be258071c)
2003-04-23 14:19:03 +00:00
Jelmer Vernooij
858137d0dd - Fix modules build of pdb_mysql and pdb_xml
- Fix typo in script/installswat.sh
(This used to be commit 8d2aec7a73)
2003-04-21 01:04:17 +00:00
Jelmer Vernooij
fbc62e3bfc Use XML format instead of SGML format (merge from HEAD)
(This used to be commit 858017b16f)
2003-04-15 17:04:10 +00:00
Tim Potter
7a3a921748 Merge: add PAC_DATA as valid return type.
(This used to be commit a9df8ec587)
2003-04-14 05:27:04 +00:00
Gerald Carter
89393d93b0 autogen - cope with autoconf-2.53/2.13 systems (like RH 7.3)
findsmb - use @PERL@
(This used to be commit f869db787b)
2003-02-10 17:31:25 +00:00
Andrew Bartlett
6789cc3de6 Merge from HEAD - fix to findsmb by Waider
(This used to be commit 28258224de)
2003-01-29 13:14:18 +00:00
Gerald Carter
99cdb46208 *lots of small merges form HEAD
*sync up configure.in
*don't build torture tools in make all
*make sure to remove torture tools as part of make clean
(This used to be commit 0fb724b321)
2003-01-15 18:57:41 +00:00
Gerald Carter
e4819ee88b more unused files
(This used to be commit d223ea87ae)
2003-01-15 16:32:06 +00:00
Gerald Carter
c9fce34d00 remving more unused files
(This used to be commit e3f9b68dee)
2003-01-15 16:29:38 +00:00
Herb Lewis
1cee6e571e fix broken incremental tar - merge from 2.2
found by "Jacob Anawalt" <anawaltaj@hotmail.com>
(This used to be commit cfef980566)
2002-12-10 21:56:21 +00:00
Tim Potter
f3e3a56ea9 Merge a bunch of trivial changes from HEAD. The difference remaining
should actual functional differences between HEAD and 3.0.

 - Mostly reformatting
 - Removal of unecessary #include "smb.h"
 - Merge of dyn_DRIVERFILE removal
 - Silly bug fix for python code
(This used to be commit d3998307ad)
2002-11-29 02:58:59 +00:00
Gerald Carter
72948b91a0 * fixing RedHat spec file for 3.0
* updating Makefile & configure script to use CONFIGDIR & VFSLIBDIR
* set LIBDIR to ${prefix}/lib/samba when --with-fhs is enabled
* make installdirs take an arbitrary number of arguements
(This used to be commit f0d09cf676)
2002-11-26 23:18:35 +00:00
cvs2svn Import User
ed3d7fd7b5 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 2662e351f2) 2002-11-15 13:53:03 +00:00
Jelmer Vernooij
97bec3fc3e Remove obsolete scripts and put in module install/uninstall
(This used to be commit d777bba508)
2002-11-13 20:38:56 +00:00
Jeremy Allison
2f194322d4 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit f755711df8)
2002-11-12 23:20:50 +00:00
Jeremy Allison
250c980119 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit 82b8f749a3)
2002-11-12 23:15:52 +00:00
Jelmer Vernooij
66d95b8f45 Sync with HEAD
(This used to be commit a3d9fd65eb)
2002-10-28 19:37:02 +00:00
Jelmer Vernooij
5b29a8f6ef Be less verbose
(This used to be commit 65c4a1060b)
2002-10-02 18:38:04 +00:00
Jelmer Vernooij
f15c47d24d Update find_missing_doc.pl:
- Report references in smb.conf that point to non-existent entries
 - Report entries that are not referenced in the list
 - Report entries that are documented, but don't exist in loadparm.c
 - Report entries that are in loadparm.c, but are not documented
(This used to be commit bf5a84efb3)
2002-10-02 18:36:38 +00:00
Volker Lendecke
dc262e3f39 An example of a group creation command that can handle failures
of groupadd.

Volker
(This used to be commit 3f78923a6f)
2002-09-27 09:47:02 +00:00
Jelmer Vernooij
1ceb135b6c Don't report missing "-valid"
(This used to be commit f9018f4560)
2002-08-20 17:57:07 +00:00
Jelmer Vernooij
4c8b313a23 Add script to find undocumented smb.conf options
(This used to be commit 77152b4033)
2002-08-19 14:55:06 +00:00
Gerald Carter
ea27af285a simple perl script for retreiving cvs log messages for a file
after a given date.  I use it to help update the WHATSNEW.txt for a
release.

	./cvslog.pl SAMBA_2_2 '>2002-06-18' configure.in

The output is a little messy right now, but I plan to clean that up.
(This used to be commit 8812223e2a)
2002-07-29 16:22:37 +00:00
Tim Potter
c74a8d72f9 Merge from APPLIANCE_HEAD:
>When creating an automatically generated prototype make sure the
>destination directory exists.
(This used to be commit 9ffca4824c)
2002-07-29 03:26:31 +00:00
Andrew Tridgell
03e9a50305 fixed man install
samba-patches 961
(This used to be commit 935996e1c7)
2002-07-28 05:57:23 +00:00
Gerald Carter
a12ed7f506 done! printer_info_2, devicemode, sec_desc, & printer data all enumerate
and display correctly in regedit.exe.

Not sure about REG_SZ values in PrinterDriverData.  If we store these
in UNICODE, I'll have to fix up a few things.

REG_BINARY & REG_DWORD are fine.
(This used to be commit 2a30c243ec)
2002-07-24 08:58:03 +00:00
Gerald Carter
6dd9f24d05 another intermediate checkin on the way to enumerating forms
via the registry.  There is a seg fault here which shouldn't
bother anyone until I can get it fixed.  I just need
a check point in case I need to roll back to this version later on.
(This used to be commit e62ae94823)
2002-07-20 13:23:57 +00:00
Gerald Carter
06ae9ac5d9 virtual registry framework with initial printing hooks.
(This used to be commit a43d9788fa)
2002-07-18 23:00:24 +00:00
Andrew Tridgell
9930b0b065 used findstatic.pl to make some variables static and remove some dead
code
(This used to be commit 91ad9041e9)
2002-07-01 09:12:41 +00:00
Andrew Tridgell
fe082a8ff5 much better findstatic script
(This used to be commit 2947b7624f)
2002-06-24 06:27:30 +00:00
Andrew Tridgell
2154ebce84 a useful script for finding global variables or functions that could
be static

very very slow ... I leave it as an exercise for the reader to make
this O(n) instead of O(n^2)
(This used to be commit 7c035d473c)
2002-06-13 07:06:19 +00:00
Andrew Bartlett
58e1fe62cc A few things in this commit:
cleanup some of the code in net_rpc_join re const warnings and
fstrings.

Passdb:

Make the %u and %U substituions in passdb work.
This is done by declaring these paramters to be 'const' and doing
the substitution manually.  I'm told this is us going full circle,
but I can't really see a better way.

Finally these things actually seem to work properly...

Make the lanman code use the pdb's recorded values for homedir etc
rather than the values from lp_*()

Add code to set the plaintext password in the passdb, where it can
decide how to store/set it.  For use with a future 'ldap password
change' option, or somthing like that...

Add pdb_unix, so as to remove the 'not in passdb' special cases from the
local_lookup_*() code.  Quite small, as it uses the new 'struct passwd ->
SAM_ACCOUNT' code that is now in just one place.  (also used by pdb_smbpasswd)

Other:
Fix up the adding of [homes] at session setup time to actually pass
the right string, that is the unix homedir, not the UNC path.

Fix up [homes] so that for winbind users is picks the correct name.
(bad interactions with the default domain code previously)

Change the rpc_server/srv_lsa_nt.c code to match NT when for the
SATUS_NONE_MAPPED reply:  This was only being triggered on
no queries, now it is on the 'no mappings' (ie all mappings failed).
Checked against Win2k.

Policy Question:  Should SID -> unix_user.234/unix_group.364 be
considered a mapping or not?  Currently it isn't.

Andrew Bartlett
(This used to be commit c28668068b)
2002-05-18 05:52:52 +00:00
Tim Potter
0502d0ad6b Added findsmb to .cvsignore list.
(This used to be commit 5b682b2e04)
2002-05-10 03:17:44 +00:00
Gerald Carter
3de73897e7 merge from SAMBA_2_2
(This used to be commit 7382c3013d)
2002-05-09 13:52:06 +00:00
Gerald Carter
dd83af65d7 merge from SAMBA_2_2
(This used to be commit cc241cb240)
2002-05-09 04:12:15 +00:00
Tim Potter
321767cb66 Added another return type.
(This used to be commit 9b2777d3bc)
2002-03-28 04:12:39 +00:00
Tim Potter
740b24658c Use headername when closing off include file guards.
(This used to be commit 5bf5bffdd5)
2002-03-28 03:43:54 +00:00
Herb Lewis
87eb1ffd55 make install should also install the default dat files from codepages
directory so we don't keep getting these stupid error messages about
incorrect size for valid.dat upcase.dat and lowcase.dat
(This used to be commit 4af0c7a93f)
2002-03-21 23:42:54 +00:00
Andrew Bartlett
7451e73ae2 Move the directory creation process outside the 'installbin.sh' script, and
into its own.  The 'installdirs' makefile entry didn't do anything on my laptop,
so it has been replaced with the section from installbin.sh.

This also fixes the bug that we ignored the setting of $(PRIVATEDIR) when
making the directories.

Finally, link pam_winbind with .po objects only, not a mix of .o and .po
(as per Don Mccall's request).

Andrew Bartlett
(This used to be commit c7a883df28)
2002-03-13 01:21:02 +00:00
Andrew Tridgell
88514f7d1c we definately don't want RCS $id tags in Samba. They make merging much
harder.
(This used to be commit 6d33b30929)
2002-02-18 22:12:21 +00:00
Jim McDonough
6a92f246ca Add ADS_MODLIST to allowed types
(This used to be commit d082d3a9fc)
2002-02-12 18:23:34 +00:00
Andrew Tridgell
b6b6b0c691 support double functions
(This used to be commit e72c6fb36e)
2002-02-05 01:30:50 +00:00
Andrew Bartlett
bb6af711b8 This is the current patch from Luke Leighton <lckl@samba-tng.org> to add a
degree of seperation betwen reading/writing the raw NamedPipe SMB packets
and the matching operations inside smbd's RPC components.

This patch is designed for no change in behaviour, and my tests hold that to be
true.  This patch does however allow for the future loadable modules interface
to specify function pointers in replacement of the fixed state.

The pipes_struct has been split into two peices, with smb_np_struct taking the
information that should be generic to where the data ends up.

Some other minor changes are made: we get another small helper function in
util_sock.c and some of the original code has better failure debugs and
variable use. (As per on-list comments).

Andrew Bartlett
(This used to be commit 8ef13cabdd)
2002-01-20 02:40:05 +00:00
Andrew Tridgell
1f31ace6cb much better ADS error handling system
(This used to be commit 05a90a2884)
2001-12-19 12:21:12 +00:00
Andrew Tridgell
a062e58d9e - added initial support for trusted domains in winbindd_ads
- gss error code patch from a.bokovoy@sam-solutions.net
- better sid dumping in ads_dump
- fixed help in wbinfo
(This used to be commit ee1c3e1f04)
2001-12-19 08:44:23 +00:00
Andrew Tridgell
ad2974cd05 added "net join" command
this completes the first stage of the smbd ADS support
(This used to be commit 058a5aee90)
2001-11-24 14:16:41 +00:00
Andrew Tridgell
59efa068bd always install swat language files
(This used to be commit f283011c28)
2001-10-15 05:15:31 +00:00
Andrew Tridgell
81f56139b6 initial kerberos/ADS/SPNEGO support in libsmb and smbclient. To
activate you need to:

- install krb5 libraries
- run configure
- build smbclient
- run kinit to get a TGT
- run smbclient with the -k option to choose kerberos auth
(This used to be commit d330575856)
2001-10-11 07:42:52 +00:00
Tim Potter
18190fc051 Add CLI_POLICY_HND as a valid return type.
(This used to be commit 880201b52b)
2001-10-05 00:16:04 +00:00
Motonobu Takahashi
1817c231c7 now --with-i18n-swat works to install some international files
used by SWAT into $swatdir/$ln/{help,images,include}

we have still points which needs to discuss, that is how to archive
and install lots of HTML help files and Using Samba files.

-- monyo
(This used to be commit 9ec2d5e96e)
2001-09-25 17:40:12 +00:00
Andrew Bartlett
f3d8f6b198 Try to fix up manpage installation
(This used to be commit a302bb20e2)
2001-09-25 02:01:29 +00:00
Motonobu Takahashi
14403d5e8a fixed a typo in installman.sh
fixed a problem that source/install-sh is not executable
(This used to be commit c2e256c18c)
2001-09-24 18:22:46 +00:00
Motonobu Takahashi
96db4b1ba3 Added SWAT i18n feature:
TO enable configure with --with-i18n-swat
  to support this gettext is integrated
  and a new directories name "po" and "intl" are created.

  now these languages are supported:

  en - English (default)
  ja - Japanese
  po - Polish
  tr - Turkish

  To add your language,
  to create ${your_language}.po by translating source/po/en.po
  into your language is needed.

  some of html and image files of various language version are not
  included yet, though message catalogue files are installed.
  you need to copy files manually under
  ${swatdir}/lang/$ln/{help,images,included,using_samba}


And also added a option to intall manual pages:
of various lang version
  To enable configure with --with-manlangs
  but manual pages themself are not included yet.
(This used to be commit 486b79a6fc)
2001-09-24 15:55:09 +00:00
Andrew Bartlett
14811e7d0a Try to fix up the shell syntax
(This used to be commit f57b1085b3)
2001-09-19 13:29:33 +00:00
Andrew Bartlett
b882efea35 typo
(This used to be commit 7a47e0fceb)
2001-09-19 11:44:00 +00:00
Andrew Bartlett
31c44c4744 Adding the appropirate files might help...
(These are part of the build_options patch).

Andrew Bartlett
(This used to be commit 4e5c7724b4)
2001-09-19 10:45:33 +00:00
Andrew Tridgell
b30e75692d replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor
limit that we hit with nasty consequences on some systems

I would eventually prefer us to have a configure test to see if we need
to replace stdio, but for now this code needs to be tested widely so
I'm enabling it by default.
(This used to be commit 1af8bf34f1)
2001-09-10 11:08:57 +00:00
Andrew Tridgell
fd6ea43161 the next step in our error code handling change
- added WERROR for win32 error codes
- added a configure test for immediate structures

still lots to do, so its not enabled by default, but the main
structure is there
(This used to be commit 24f9ab683d)
2001-09-03 08:50:59 +00:00
Herb Lewis
1d726fe0e0 new logs use abbreviated month names. Add this to date conversion
(This used to be commit 8021669b16)
2001-08-27 18:24:04 +00:00
Andrew Tridgell
e8e98c9ea0 converted smbd to use NTSTATUS by default
major changes include:

- added NSTATUS type
- added automatic mapping between dos and nt error codes
- changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT()
  these calls auto-translate to the client error code system
- got rid of the cached error code and the writebmpx code

We eventually will need to also:
- get rid of BOOL, so we don't lose error info
- replace all ERROR_DOS() calls with ERROR_NT() calls

but that is too much for one night
(This used to be commit 83d9896c1e)
2001-08-27 08:19:43 +00:00
Andrew Tridgell
87fbb7092b The big character set handling changeover!
This commit gets rid of all our old codepage handling and replaces it with
iconv. All internal strings in Samba are now in "unix" charset, which may
be multi-byte. See internals.doc and my posting to samba-technical for
a more complete explanation.
(This used to be commit debb471267)
2001-07-04 07:15:53 +00:00