samba.git
22 years agoadded a little smbtorture test for dumping the unicode table of a
Andrew Tridgell [Tue, 25 Sep 2001 05:20:43 +0000 (05:20 +0000)]
added a little smbtorture test for dumping the unicode table of a
server. This is just a framework right now - I want this to eventually
replace the win32 test code from monyo

The interesting this about this test is that it shows up a really
horrible performance bug in our stat cache code. I'll see if I can fix
it.

22 years agoChange ./configure.developer to stay in effect across a
Andrew Bartlett [Tue, 25 Sep 2001 05:08:05 +0000 (05:08 +0000)]
Change ./configure.developer to stay in effect across a
'./config.status --recheck' by making it a real configure option.

reran autoconf

22 years agoallow all ucs2 chars in utf8, rather than mapping some to a single
Andrew Tridgell [Tue, 25 Sep 2001 04:27:59 +0000 (04:27 +0000)]
allow all ucs2 chars in utf8, rather than mapping some to a single
char like libiconv does

22 years agoadded cli_qpathinfo_alt_name() for fetching the 8.3 name of a file
Andrew Tridgell [Tue, 25 Sep 2001 04:25:49 +0000 (04:25 +0000)]
added cli_qpathinfo_alt_name() for fetching the 8.3 name of a file

22 years agoTry to fix up manpage installation
Andrew Bartlett [Tue, 25 Sep 2001 02:01:29 +0000 (02:01 +0000)]
Try to fix up manpage installation

22 years agoFixed enumeration of large numbers of groups from a Samba DC.
Jeremy Allison [Tue, 25 Sep 2001 00:50:37 +0000 (00:50 +0000)]
Fixed enumeration of large numbers of groups from a Samba DC.
Tidied up debug messages in lib/messages.c
Jeremy.

22 years agoLog sys_acl_set_XX at level 2 not zero.
Jeremy Allison [Tue, 25 Sep 2001 00:05:26 +0000 (00:05 +0000)]
Log sys_acl_set_XX at level 2 not zero.
Jeremy.

22 years agoChange log message to 2 from zero when failing to create directory.
Jeremy Allison [Mon, 24 Sep 2001 23:50:28 +0000 (23:50 +0000)]
Change log message to 2 from zero when failing to create directory.
Stops spurious profile creation messages.
Jeremy.

22 years agoRemoved extra '()' s.
Jeremy Allison [Mon, 24 Sep 2001 21:53:34 +0000 (21:53 +0000)]
Removed extra '()' s.
Jeremy.

22 years agofixed a typo in installman.sh
Motonobu Takahashi [Mon, 24 Sep 2001 18:22:46 +0000 (18:22 +0000)]
fixed a typo in installman.sh
fixed a problem that source/install-sh is not executable

22 years agofixed a typo
Motonobu Takahashi [Mon, 24 Sep 2001 16:38:54 +0000 (16:38 +0000)]
fixed a typo

22 years agoadded files and directories to support gettext() feature
Motonobu Takahashi [Mon, 24 Sep 2001 16:13:06 +0000 (16:13 +0000)]
added files and directories to support gettext() feature
Also added some po files to support:
    English, Japanese, Polish, Turlish

22 years agoUpdate configure from configure.in
Motonobu Takahashi [Mon, 24 Sep 2001 16:02:05 +0000 (16:02 +0000)]
Update configure from configure.in

22 years agoAdded SWAT i18n feature:
Motonobu Takahashi [Mon, 24 Sep 2001 15:55:09 +0000 (15:55 +0000)]
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.

22 years agoadded SWAT i18n support files for Japanese and Turkish
Motonobu Takahashi [Mon, 24 Sep 2001 15:49:06 +0000 (15:49 +0000)]
added SWAT i18n support files for Japanese and Turkish

22 years agofixed a silly off by 1 bug
Andrew Tridgell [Mon, 24 Sep 2001 06:24:14 +0000 (06:24 +0000)]
fixed a silly off by 1 bug

22 years agofixed bug in POST var handling
Andrew Tridgell [Mon, 24 Sep 2001 06:02:31 +0000 (06:02 +0000)]
fixed bug in POST var handling

22 years agoIf we disable hostname lookups we can at least get a uniform answer for testing
Andrew Bartlett [Mon, 24 Sep 2001 05:27:44 +0000 (05:27 +0000)]
If we disable hostname lookups we can at least get a uniform answer for testing
the rhosts and hostsequiv stuff with.

Andrew Bartlett

22 years agotdbtorture updates from when I was trying to track down the hp tdb bug
Andrew Tridgell [Mon, 24 Sep 2001 04:56:56 +0000 (04:56 +0000)]
tdbtorture updates from when I was trying to track down the hp tdb bug

22 years agoconvert all POST variables from display to unix charset
Andrew Tridgell [Mon, 24 Sep 2001 04:49:14 +0000 (04:49 +0000)]
convert all POST variables from display to unix charset

22 years agoAdd .headers.stamp
Andrew Bartlett [Mon, 24 Sep 2001 01:04:52 +0000 (01:04 +0000)]
Add .headers.stamp

22 years agoLets call an NTSTATUS an nt_status, not an ecode.
Andrew Bartlett [Sun, 23 Sep 2001 23:07:53 +0000 (23:07 +0000)]
Lets call an NTSTATUS an nt_status, not an ecode.

22 years agoZero out these pstrings before we start: makes for much easier debugging.
Andrew Bartlett [Sun, 23 Sep 2001 22:51:27 +0000 (22:51 +0000)]
Zero out these pstrings before we start: makes for much easier debugging.

22 years agoFix up NT_STATUS return for session setups, Win2k objects to anything other
Andrew Bartlett [Sun, 23 Sep 2001 05:16:03 +0000 (05:16 +0000)]
Fix up NT_STATUS return for session setups, Win2k objects to anything other
than NT_STATUS_LOGON_FAILURE.  This also brings us (almost) back in line with
their implementation.

Kill off SMBENCRYPT() macro

Kill off 'nt smb support' paramater - tridge okayed this one.

Andrew Bartlett

22 years agofixed the Makefile so we don't rebuild libsmbclient and build_env.h
Andrew Tridgell [Sat, 22 Sep 2001 07:50:08 +0000 (07:50 +0000)]
fixed the Makefile so we don't rebuild libsmbclient and build_env.h
(and thus smbd) every time

22 years agoIgnore unmappable (NT Authority, BUILTIN etc.) SIDs in an ACL set.
Jeremy Allison [Sat, 22 Sep 2001 06:45:24 +0000 (06:45 +0000)]
Ignore unmappable (NT Authority, BUILTIN etc.) SIDs in an ACL set.
Jeremy.

22 years agoThese are RIDs not Unix UIDs so make this clear in the feild names.
Andrew Bartlett [Sat, 22 Sep 2001 03:44:15 +0000 (03:44 +0000)]
These are RIDs not Unix UIDs so make this clear in the feild names.

Andrew Bartlett

22 years agoAttempt to make quotas work with RH7.1, and with other Linuxen... This is
Jeremy Allison [Fri, 21 Sep 2001 22:06:03 +0000 (22:06 +0000)]
Attempt to make quotas work with RH7.1, and with other Linuxen... This is
*HARD*, dammit !
Jeremy.

22 years agofixed the error code handling in can_delete() by converting it to
Andrew Tridgell [Fri, 21 Sep 2001 14:27:43 +0000 (14:27 +0000)]
fixed the error code handling in can_delete() by converting it to
NTSTATUS. This gets the right error codes in SMBunlink

22 years agoAdded -s configfile to smbcontrol.c.
Volker Lendecke [Fri, 21 Sep 2001 13:37:52 +0000 (13:37 +0000)]
Added -s configfile to smbcontrol.c.

Volker

22 years agofixed character set for user name pull
Andrew Tridgell [Fri, 21 Sep 2001 13:22:22 +0000 (13:22 +0000)]
fixed character set for user name pull

22 years agosmbmount fixes from Urban.
Jeremy Allison [Thu, 20 Sep 2001 21:06:02 +0000 (21:06 +0000)]
smbmount fixes from Urban.
Jeremy.

22 years agoMove pass_check.c over to NTSTATUS, allowing full NTSTATUS from PAM to wire!
Andrew Bartlett [Thu, 20 Sep 2001 13:15:35 +0000 (13:15 +0000)]
Move pass_check.c over to NTSTATUS, allowing full NTSTATUS from PAM to wire!

Add the ability for swat to run in non-root-mode (ie non-root from inetd).
 - we still need some of the am_root() calls fixed however.

22 years agoWe are not meant to touch the username, so use the pass->pw_name output rather
Andrew Bartlett [Thu, 20 Sep 2001 10:26:50 +0000 (10:26 +0000)]
We are not meant to touch the username, so use the pass->pw_name output rather
than Get_Pwnam(user, True).

22 years agoFix up the test for some of the quirkier hosts on the farm, and enable one
Andrew Bartlett [Thu, 20 Sep 2001 08:28:41 +0000 (08:28 +0000)]
Fix up the test for some of the quirkier hosts on the farm, and enable one
previously disabled sub-test.

22 years agoCheck 'hosts equiv' and 'use rhosts' compatability with 'hostname
Andrew Bartlett [Thu, 20 Sep 2001 07:27:55 +0000 (07:27 +0000)]
Check 'hosts equiv' and 'use rhosts' compatability with 'hostname
lookup' value.

22 years agoRearrange the ordering of the checks in make_connection(). The new order has
Andrew Bartlett [Thu, 20 Sep 2001 07:09:28 +0000 (07:09 +0000)]
Rearrange the ordering of the checks in make_connection().  The new order has
some sainity, avoiding things like 'root preexec' when the connection would
otherwise already be denied (max connections).

This does change behaviour, but I think its for the best.

Andrew Bartlett

22 years agoAdd and modify some of the various tests I have had sitting around here for a
Andrew Bartlett [Thu, 20 Sep 2001 06:23:29 +0000 (06:23 +0000)]
Add and modify some of the various tests I have had sitting around here for a
little while.  This should give us a bit more coverage.

Andrew Bartlett

22 years agoFix for MiXed and UPPER case usernames with plaintext PAM passwords.
Andrew Bartlett [Thu, 20 Sep 2001 03:31:57 +0000 (03:31 +0000)]
Fix for MiXed and UPPER case usernames with plaintext PAM passwords.

22 years agoRevert this one: The NTLMv2 checks need the original username as found
Andrew Bartlett [Thu, 20 Sep 2001 00:19:55 +0000 (00:19 +0000)]
Revert this one:  The NTLMv2 checks need the original username as found
on the wire.

22 years ago- Fix up to use sampass->username insted of user_info->smb_username
Andrew Bartlett [Wed, 19 Sep 2001 23:53:51 +0000 (23:53 +0000)]
- Fix up to use sampass->username insted of user_info->smb_username
- Fix initial lookup to use the mapped username.

22 years agoTry to fix up the shell syntax
Andrew Bartlett [Wed, 19 Sep 2001 13:29:33 +0000 (13:29 +0000)]
Try to fix up the shell syntax

22 years agoReran autoconf, autoheader
Andrew Bartlett [Wed, 19 Sep 2001 12:47:59 +0000 (12:47 +0000)]
Reran autoconf, autoheader

22 years agotypo
Andrew Bartlett [Wed, 19 Sep 2001 11:44:00 +0000 (11:44 +0000)]
typo

22 years agoAdding the appropirate files might help...
Andrew Bartlett [Wed, 19 Sep 2001 10:45:33 +0000 (10:45 +0000)]
Adding the appropirate files might help...

(These are part of the build_options patch).

Andrew Bartlett

22 years agoAdd the ability to display Samba's build options with smbd -b and as a level 4
Andrew Bartlett [Wed, 19 Sep 2001 09:44:12 +0000 (09:44 +0000)]
Add the ability to display Samba's build options with smbd -b and as a level 4
DEBUG().  Also included are details like build date/time, location and
compiler.

This should get most of the options we set, except those that don't affect
smbd, like WITH_PAM_SMBPASSWD or WITH_WINBINDD.

This work due to Vance Lankhaar <vlankhaar@hotmail.com>

Some work needs to be done to make it only rebuild when needed (ie smbd being
rebuilt) but its in pretty good shape already.

Also fix up some printf() -> d_printf().

Andrew Bartlett

22 years agoprintf() -> d_printf()
Andrew Bartlett [Wed, 19 Sep 2001 09:37:33 +0000 (09:37 +0000)]
printf() -> d_printf()

22 years agoThis isn't used anymore
Andrew Bartlett [Wed, 19 Sep 2001 08:37:05 +0000 (08:37 +0000)]
This isn't used anymore

22 years agoUse lp_private_dir() not magic on the lp_smb_passwd_file() output.
Andrew Bartlett [Wed, 19 Sep 2001 08:21:12 +0000 (08:21 +0000)]
Use lp_private_dir() not magic on the lp_smb_passwd_file() output.

22 years agoRemoved unneeded variable, added comment on deadlock prevention.
Jeremy Allison [Wed, 19 Sep 2001 07:06:34 +0000 (07:06 +0000)]
Removed unneeded variable, added comment on deadlock prevention.
Jeremy.

22 years agoPut pwrite code back in expand_file.
Jeremy Allison [Wed, 19 Sep 2001 06:55:25 +0000 (06:55 +0000)]
Put pwrite code back in expand_file.
Jeremy.

22 years agoRemoved test code that got added by accident.
Jeremy Allison [Wed, 19 Sep 2001 06:49:02 +0000 (06:49 +0000)]
Removed test code that got added by accident.
Jeremy.

22 years agoremoved anti-race code that could cause a classic ABBA deadlock
Andrew Tridgell [Wed, 19 Sep 2001 06:46:35 +0000 (06:46 +0000)]
removed anti-race code that could cause a classic ABBA deadlock

I'd rather get the connection count wrong with a small probability
than deadlock

22 years agopassdb/pampass.c and passdb/pass_check.c are not passdb related at all,
Andrew Bartlett [Wed, 19 Sep 2001 06:01:35 +0000 (06:01 +0000)]
passdb/pampass.c and passdb/pass_check.c are not passdb related at all,
so don't link them as such.

22 years agoadded a hook to reopen all tdb's after the server fork
Andrew Tridgell [Wed, 19 Sep 2001 05:43:15 +0000 (05:43 +0000)]
added a hook to reopen all tdb's after the server fork
this prevents the fd seek pointer problem

22 years ago*llist being NULL is not an error
Andrew Tridgell [Wed, 19 Sep 2001 05:41:51 +0000 (05:41 +0000)]
*llist being NULL is not an error

22 years agoRemove the ugly hacks to get around the Get_Pwnam() calls in pass_check.c by
Andrew Bartlett [Wed, 19 Sep 2001 05:26:11 +0000 (05:26 +0000)]
Remove the ugly hacks to get around the Get_Pwnam() calls in pass_check.c by
simply not doing Get_Pwnam() calls in pass_check.c

We now make *one* sys_getpnam() call in cgi.c and we always call PAM no matter
what it returns.  We also no longer run the password cracker for these logins.

The truly parinod will note the slight difference in call paths, in that we only
call crypt for valid password structs (if not --with-pam).  The truly parinoid
don't run SWAT either, so I don't think this is an issue.

Andrew Bartlett

22 years agoFix (I hope) compile on HP-UX. Found by the build farm.
Andrew Bartlett [Wed, 19 Sep 2001 04:16:35 +0000 (04:16 +0000)]
Fix (I hope) compile on HP-UX.  Found by the build farm.

22 years agogot rid of bogus write list substitution error messages
Andrew Tridgell [Wed, 19 Sep 2001 04:11:23 +0000 (04:11 +0000)]
got rid of bogus write list substitution error messages

22 years agoFix based on Andrew's insight as re-using a tdb after fork means
Jeremy Allison [Wed, 19 Sep 2001 03:33:47 +0000 (03:33 +0000)]
Fix based on Andrew's insight as re-using a tdb after fork means
parent and child share seek pointer. Damn....
Jeremy.

22 years agodon't try to initgroups in non root mode
Andrew Tridgell [Wed, 19 Sep 2001 03:30:20 +0000 (03:30 +0000)]
don't try to initgroups in non root mode

22 years agofix debug
Andrew Bartlett [Wed, 19 Sep 2001 02:53:14 +0000 (02:53 +0000)]
fix debug

22 years agoReverse some of the breakage I commited a day or two ago, as we need to
Andrew Bartlett [Wed, 19 Sep 2001 02:28:15 +0000 (02:28 +0000)]
Reverse some of the breakage I commited a day or two ago, as we need to
fill out the user_info struct (otherwise we don't have a vuid for
make_connection()).

Also add a become_user() call, becouse it really looks like it was missing
(we must pass it anyway to finish make_connection()).

Is there any reason not to be the user when reading an ACL?

Finally, fix up some formatting to show that the two functions are almost
identical.

Andrew Bartlett

22 years agoReturn correct error code on lock fail in tdb_expand.
Jeremy Allison [Wed, 19 Sep 2001 00:02:28 +0000 (00:02 +0000)]
Return correct error code on lock fail in tdb_expand.
Jeremy.

22 years agoRoll back earlier fix after talking with Andrew. The write_lock_record and
Jeremy Allison [Tue, 18 Sep 2001 22:59:12 +0000 (22:59 +0000)]
Roll back earlier fix after talking with Andrew. The write_lock_record and
unlock are explicitly non-blocking. I will add a comment to this effect later.
Jeremy.

22 years agoFixed a couple of nasty bugs only easily seen with no mmap. Firstly,
Jeremy Allison [Tue, 18 Sep 2001 21:17:58 +0000 (21:17 +0000)]
Fixed a couple of nasty bugs only easily seen with no mmap. Firstly,
map_ptr not neccessarily set to NULL if no mmap, secondly, iterating
through a tdb was using SETLK, instead of SETLKW - would almost never
fail with mmap as the time holding the lock was so short, but was
easily seen with read/write. One finaly bug needs tracking down w.r.t.
traversal......
Jeremy.

22 years agoCorrect fix for unaligned memcpy - malloc'ed memory incremented by sizeof(struct...
Jeremy Allison [Tue, 18 Sep 2001 06:41:29 +0000 (06:41 +0000)]
Correct fix for unaligned memcpy - malloc'ed memory incremented by sizeof(struct locking_data)
was not forced to be 8 byte aligned. Use union to force it to be correctly aligned
for memcpy and use void *, to tell compiler not to optimize aligned copy (this last fix
suggested by Trond @ RedHat). The first fix should be sufficient, but this provides a
"belt and braces" fix.
Jeremy.

22 years agoUse structure copy to fix unaligned accesses on 64bit architectures on
Jeremy Allison [Tue, 18 Sep 2001 06:20:28 +0000 (06:20 +0000)]
Use structure copy to fix unaligned accesses on 64bit architectures on
Linux.
Jeremy.

22 years agoConverted cli_net_auth2() and cli_nt_setup_creds() to return NTSTATUS.
Tim Potter [Tue, 18 Sep 2001 02:49:35 +0000 (02:49 +0000)]
Converted cli_net_auth2() and cli_nt_setup_creds() to return NTSTATUS.

22 years agoDoc fix merge from 2.2
Tim Potter [Tue, 18 Sep 2001 00:13:29 +0000 (00:13 +0000)]
Doc fix merge from 2.2

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 11:48:29 +0000 (11:48 +0000)]
move to SAFE_FREE()

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 11:37:57 +0000 (11:37 +0000)]
move to SAFE_FREE()

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 11:25:41 +0000 (11:25 +0000)]
move to SAFE_FREE()

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 10:26:23 +0000 (10:26 +0000)]
move to SAFE_FREE()

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 10:00:29 +0000 (10:00 +0000)]
move to SAFE_FREE()

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 09:41:30 +0000 (09:41 +0000)]
move to SAFE_FREE()

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 09:25:57 +0000 (09:25 +0000)]
move to SAFE_FREE()

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 05:04:17 +0000 (05:04 +0000)]
move to SAFE_FREE()

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 04:58:38 +0000 (04:58 +0000)]
move to SAFE_FREE()

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 04:52:45 +0000 (04:52 +0000)]
move to SAFE_FREE()

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 04:35:51 +0000 (04:35 +0000)]
move to SAFE_FREE()

22 years agofixed ctemp in server and client. It turns out that ctemp on NT is completely broken...
Andrew Tridgell [Mon, 17 Sep 2001 04:23:48 +0000 (04:23 +0000)]
fixed ctemp in server and client. It turns out that ctemp on NT is completely broken, and it's pointless to emulate their brokenness completely in this case, but at least this makes us use approximately the same packet format. The spec is complelet wrong in this case

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 04:16:35 +0000 (04:16 +0000)]
move to SAFE_FREE()

22 years agotypo
Simo Sorce [Mon, 17 Sep 2001 03:44:52 +0000 (03:44 +0000)]
typo

22 years agofixed compilation of groupdb
Andrew Tridgell [Mon, 17 Sep 2001 03:40:55 +0000 (03:40 +0000)]
fixed compilation of groupdb

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 03:33:37 +0000 (03:33 +0000)]
move to SAFE_FREE()

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 02:19:44 +0000 (02:19 +0000)]
move to SAFE_FREE()

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 00:58:15 +0000 (00:58 +0000)]
move to SAFE_FREE()

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 00:52:47 +0000 (00:52 +0000)]
move to SAFE_FREE()

22 years agointroduce SAFE_FREE() macro as suggested by andreas moroder.
Simo Sorce [Mon, 17 Sep 2001 00:47:40 +0000 (00:47 +0000)]
introduce SAFE_FREE() macro as suggested by andreas moroder.

22 years agoFix compile warnings on IRIX's cc.
Andrew Bartlett [Sun, 16 Sep 2001 08:29:03 +0000 (08:29 +0000)]
Fix compile warnings on IRIX's cc.

22 years agoFix (I hope) for a number of little compile warnings found by the IRIX
Andrew Bartlett [Sun, 16 Sep 2001 08:24:44 +0000 (08:24 +0000)]
Fix (I hope) for a number of little compile warnings found by the IRIX
compilers on the build farm.

Andrew Bartlett

22 years agoMinor tidy-up.
Andrew Bartlett [Sun, 16 Sep 2001 07:32:06 +0000 (07:32 +0000)]
Minor tidy-up.

22 years agoFix up workstaion and kickoff time checks, moved to auth_smbpasswd.c where
Andrew Bartlett [Sun, 16 Sep 2001 06:35:35 +0000 (06:35 +0000)]
Fix up workstaion and kickoff time checks, moved to auth_smbpasswd.c where
they can have general effect.

Fixed up workstaion support in the rest of samba, so that we can do these
checks.

Pass through the workstation for cli_net_logon(), if supplied.

22 years agofixed compilation error in smbw
Andrew Tridgell [Sun, 16 Sep 2001 03:49:15 +0000 (03:49 +0000)]
fixed compilation error in smbw

22 years agoStart pushing the NTSTATUS stuff out to the wire for session setups.
Andrew Bartlett [Sun, 16 Sep 2001 02:35:55 +0000 (02:35 +0000)]
Start pushing the NTSTATUS stuff out to the wire for session setups.

Rework the 'map to guest' code, its now possible to follow what its trying
to do...

Add an NT_STATUS_EQUAL(x,y) macro to make this stuff sane to look at.

Andrew Bartlett

22 years agoKill off the dangerous passwd program default, as its both very
Andrew Bartlett [Sun, 16 Sep 2001 00:07:04 +0000 (00:07 +0000)]
Kill off the dangerous passwd program default, as its both very
system-dependent and can allow (when unix password sync = yes) the
'syncronisation' of root's password by a normal user :-(

Andrew Bartlett

22 years agoLooks like it missed these. make_connection now no longer takes a 'username'
Andrew Bartlett [Sat, 15 Sep 2001 23:32:19 +0000 (23:32 +0000)]
Looks like it missed these.  make_connection now no longer takes a 'username'
argument.

22 years agofree memory before returning.
Simo Sorce [Sat, 15 Sep 2001 14:03:25 +0000 (14:03 +0000)]
free memory before returning.
tx Andreas Moroder.

22 years agouse variables _before_ freeing them!
Simo Sorce [Sat, 15 Sep 2001 13:21:54 +0000 (13:21 +0000)]
use variables _before_ freeing them!
thanks to Andreas Moroder for spotting these two.