tprouty/samba.git
16 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
cvs2svn Import User [Tue, 18 Feb 2003 05:05:16 +0000 (05:05 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.

16 years agoCleanup of header files for python extensions.
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

16 years agoEnsure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now need
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.

16 years agoEnsure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now need
Jeremy Allison [Tue, 18 Feb 2003 04:48:32 +0000 (04:48 +0000)]
Ensure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now need
to set this for Tru64.
Jeremy.

16 years agoset the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985
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

16 years agoset the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985
Gerald Carter [Tue, 18 Feb 2003 03:42:34 +0000 (03:42 +0000)]
set the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985

16 years agoRemove obsolete comment.
Martin Pool [Tue, 18 Feb 2003 02:01:38 +0000 (02:01 +0000)]
Remove obsolete comment.

16 years agoDoxygen janitor. No other changes.
Martin Pool [Tue, 18 Feb 2003 01:55:50 +0000 (01:55 +0000)]
Doxygen janitor.  No other changes.

16 years agocmd_lsa_lookup_sids: Check return code from string_to_sid; skip SIDs
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.

16 years agoinit_dom_sid2s: Check return code from string_to_sid. Skip tokens
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.

16 years agoCheck return code from string_to_sid.
Martin Pool [Tue, 18 Feb 2003 01:09:19 +0000 (01:09 +0000)]
Check return code from string_to_sid.

16 years agoadd_initial_entry should fail if string_to_sid fails.
Martin Pool [Tue, 18 Feb 2003 01:05:56 +0000 (01:05 +0000)]
add_initial_entry should fail if string_to_sid fails.

16 years agoPatch from vorlon@debian.org to split out our -lacl dependency to only smbd
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.

16 years agoDoxygen janitor and some doc typo fixes.
Martin Pool [Tue, 18 Feb 2003 00:52:42 +0000 (00:52 +0000)]
Doxygen janitor and some doc typo fixes.

16 years agoDoxygen janitor. No other changes.
Martin Pool [Tue, 18 Feb 2003 00:41:13 +0000 (00:41 +0000)]
Doxygen janitor.  No other changes.

16 years agoThe cli_send_tconX code already determines to send \\server\share to port 139
Andrew Bartlett [Tue, 18 Feb 2003 00:36:37 +0000 (00:36 +0000)]
The cli_send_tconX code already determines to send \\server\share to port 139
and share to 445, so doing this only confuses the issue (sending
\\server\\server\share to 139) and makes debugging specific error codes more
difficult.

Andrew Bartlett

16 years agoUpdate config.guess, config.sub to the versions from the GNU autotools
Martin Pool [Mon, 17 Feb 2003 23:49:01 +0000 (23:49 +0000)]
Update config.guess, config.sub to the versions from the GNU autotools
2003-01-10 release.  This adds or improves detection for many host
platforms.

16 years agoAdd comment explaining the -DDEVELOPER safe_strcpy overflow hack.
Martin Pool [Mon, 17 Feb 2003 23:33:55 +0000 (23:33 +0000)]
Add comment explaining the -DDEVELOPER safe_strcpy overflow hack.

16 years agoCorrectly check for inet_addr fail. Patch from gregor.7@osu.edu.
Jeremy Allison [Mon, 17 Feb 2003 21:19:09 +0000 (21:19 +0000)]
Correctly check for inet_addr fail. Patch from gregor.7@osu.edu.
Jeremy.

16 years agoCorrectly check for inet_addr fail. Patch from gregor.7@osu.edu.
Jeremy Allison [Mon, 17 Feb 2003 21:19:00 +0000 (21:19 +0000)]
Correctly check for inet_addr fail. Patch from gregor.7@osu.edu.
Jeremy.

16 years agoDummy commit, I can't get through to samba-cvs@samba.org. It can't really
Volker Lendecke [Mon, 17 Feb 2003 21:12:21 +0000 (21:12 +0000)]
Dummy commit, I can't get through to samba-cvs@samba.org. It can't really
remember under what mail address I have to post.

My last commit to this file made it compile again, my fingers were a bit
too fast to really type this message.

Sorry for this confusion,

Volker

16 years agocmd_srvsvc.c
Volker Lendecke [Mon, 17 Feb 2003 21:04:09 +0000 (21:04 +0000)]
cmd_srvsvc.c

16 years agoThis is a very nice way to detect pstrcpy() into a malloc()ed string, but
Andrew Bartlett [Mon, 17 Feb 2003 12:33:24 +0000 (12:33 +0000)]
This is a very nice way to detect pstrcpy() into a malloc()ed string, but
it really is a developer hack...

Andrew Bartlett

16 years agoThis patch fixes one of my longest-standing pet hates with Samba :-).
Andrew Bartlett [Mon, 17 Feb 2003 12:27:34 +0000 (12:27 +0000)]
This patch fixes one of my longest-standing pet hates with Samba :-).

When we look see if a user is in a list, and we try to 'expand' an @group, we
should lookup the user's own list of groups, rather than looking for all the
members of a group.

I'm sure this will fix some nasty performance issues, particularly on large
domains etc.  In particular, this avoids contacting winbind at all, if the
group is not a winbind group.

(This caused a deadlock on my winbind-on-PDC setup).

The groups list always includes the user's primary group, as per the
getgrouplist manpage, and my recent changes to our implementation.

Andrew Bartlett

16 years agoDon't leak a session_key worth of memory at the end of the NTLMSSP auth.
Andrew Bartlett [Mon, 17 Feb 2003 12:20:20 +0000 (12:20 +0000)]
Don't leak a session_key worth of memory at the end of the NTLMSSP auth.

16 years agoSet the length back to zero when we free the data_blob.
Andrew Bartlett [Mon, 17 Feb 2003 12:19:12 +0000 (12:19 +0000)]
Set the length back to zero when we free the data_blob.

16 years agoTry to make our getgrouplist replacement better match the 'real' implemenations.
Andrew Bartlett [Mon, 17 Feb 2003 12:04:09 +0000 (12:04 +0000)]
Try to make our getgrouplist replacement better match the 'real' implemenations.

In particular, make sure we include the primary gid in the list.

Andrew Bartlett

16 years agoTypo: /mized/mixed/
Martin Pool [Mon, 17 Feb 2003 06:54:43 +0000 (06:54 +0000)]
Typo: /mized/mixed/

16 years agoDon't pstrcpy into an fstring. (Harmless in this case since it comes
Martin Pool [Mon, 17 Feb 2003 06:28:58 +0000 (06:28 +0000)]
Don't pstrcpy into an fstring.  (Harmless in this case since it comes
from an environment variable.)

16 years agoStart reworking rpcclient to use popt rather than next_token to parse
Martin Pool [Mon, 17 Feb 2003 05:42:36 +0000 (05:42 +0000)]
Start reworking rpcclient to use popt rather than next_token to parse
command lines.  This makes the code much simpler and also stops
trivial syntax errors from causing a crash.

Also fix support for semicolon-separated commands in -c, which is
promised by the manual but apparently never working due to an
off-by-one error.

16 years agoAdded SRVSVC pipe support. I've started implementing NetServerGetInfo()
Tim Potter [Mon, 17 Feb 2003 04:43:09 +0000 (04:43 +0000)]
Added SRVSVC pipe support.  I've started implementing NetServerGetInfo()

16 years agoAdd KRBCLIENT_OBJ to PYTHON_OBJ list.
Tim Potter [Mon, 17 Feb 2003 04:41:08 +0000 (04:41 +0000)]
Add KRBCLIENT_OBJ to PYTHON_OBJ list.

16 years agoReturn a WERROR instead of a NTSTATUS like the rest of the srvsvc
Tim Potter [Mon, 17 Feb 2003 04:35:32 +0000 (04:35 +0000)]
Return a WERROR instead of a NTSTATUS like the rest of the srvsvc
rpc calls.

16 years agoIf we didn't make the server_info correctly, then don't segfault trying to
Andrew Bartlett [Mon, 17 Feb 2003 00:58:47 +0000 (00:58 +0000)]
If we didn't make the server_info correctly, then don't segfault trying to
set the 'guest' bit.

Andrew Bartlett

16 years agoPeople were being tripped up by the fact that we havn't updated acconfig.h
Andrew Bartlett [Mon, 17 Feb 2003 00:10:37 +0000 (00:10 +0000)]
People were being tripped up by the fact that we havn't updated acconfig.h
as we don't need it for autoconf 2.53.  Remove it from CVS, and assert the
newer autotools in configure.in

Andrew Bartlett

16 years agoPeople were being tripped up by the fact that we havn't updated acconfig.h
Andrew Bartlett [Mon, 17 Feb 2003 00:07:38 +0000 (00:07 +0000)]
People were being tripped up by the fact that we havn't updated acconfig.h
as we don't need it for autoconf 2.53.  Remove it from CVS, and assert the
newer autotools in configure.in

Andrew Bartlett

16 years agoMerge from HEAD - allow "" as a domain in the NLTMv2 hash calculations. Fixes
Andrew Bartlett [Sun, 16 Feb 2003 22:23:33 +0000 (22:23 +0000)]
Merge from HEAD - allow "" as a domain in the NLTMv2 hash calculations.  Fixes
interop with clients not in our domain.

Andrew Bartlett

16 years agoAdd the 'session key' output of the NTLMSSP exchange to the cli struct, so
Andrew Bartlett [Sun, 16 Feb 2003 22:10:48 +0000 (22:10 +0000)]
Add the 'session key' output of the NTLMSSP exchange to the cli struct, so
it can be used for 'net rpc join'.

Also fix a bug in our server-side NTLMSSP code - a client without any domain
trust links to us may calculate the NTLMv2 response with "" as the domain.

Andrew Bartlett

16 years agoRecover much of my changes to editreg.c. Add some const and start coding
Richard Sharpe [Sun, 16 Feb 2003 17:16:06 +0000 (17:16 +0000)]
Recover much of my changes to editreg.c. Add some const and start coding
the regedit file parser etc.

16 years ago* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736
Gerald Carter [Sat, 15 Feb 2003 23:36:18 +0000 (23:36 +0000)]
* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736
* never save a pointer to an automatic variable (they go away)
  implement a deep copy for SPOOLSS_NOTIFY_MSG to correct
  messages being sent that have junk for strings;
  fix in response to changes for CR 1504

16 years ago* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736
Gerald Carter [Sat, 15 Feb 2003 23:33:30 +0000 (23:33 +0000)]
* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736
* never save a pointer to an automatic variable (they go away)
  implement a deep copy for SPOOLSS_NOTIFY_MSG to correct
  messages being sent that have junk for strings;
  fix in response to changes for CR 1504

16 years agoMerge from head CFLAGS/CPPFLAGS and LIBS/LDFLAGS sanitizing
Alexander Bokovoy [Sat, 15 Feb 2003 23:07:59 +0000 (23:07 +0000)]
Merge from head CFLAGS/CPPFLAGS and LIBS/LDFLAGS sanitizing

16 years agoThird-party configuration scripts may produce undesirable additions to CFLAGS/CPPFLAGS
Alexander Bokovoy [Sat, 15 Feb 2003 22:51:15 +0000 (22:51 +0000)]
Third-party configuration scripts may produce undesirable additions to CFLAGS/CPPFLAGS
and LIBS/LDFALGS. In particular, they often don't check where the appropriate libraries
were installed and pass -I/usr/include and -L/usr/lib as part of CFLAGS/LDFLAGS.

While the latter isn't dangerous, passing system include directory through -I lead
to change of its status in CPP from system to user-defined in many cases.

This patch cleans up CFLAGS/CPPFLAGS from errorenous -I/usr/include and LIBS/LDFLAGS
from -L/usr/lib. This is done as two m4 macros which are called before AC_OUTPUT.

16 years agoDon't return NULL pointers for now.
Andrew Bartlett [Sat, 15 Feb 2003 21:41:01 +0000 (21:41 +0000)]
Don't return NULL pointers for now.

We should look into how to deal with NULL v "" strings, and the NTLMSSP code
underneath properly at some stage.

Andrew Bartlett

16 years agofix dumb perror used without errno beeing set.
Simo Sorce [Sat, 15 Feb 2003 21:37:15 +0000 (21:37 +0000)]
fix dumb perror used without errno beeing set.
thanks to RedHat developers for the report

16 years agofix dumb perror used without errno beeing set.
Simo Sorce [Sat, 15 Feb 2003 21:36:28 +0000 (21:36 +0000)]
fix dumb perror used without errno beeing set.
thanks to RedHat developers for the report

16 years agoMerger krb5-config and libtinfo to SAMBA_3_0
Alexander Bokovoy [Sat, 15 Feb 2003 19:13:53 +0000 (19:13 +0000)]
Merger krb5-config and libtinfo to SAMBA_3_0

16 years agoSome small updates
Jelmer Vernooij [Sat, 15 Feb 2003 16:35:20 +0000 (16:35 +0000)]
Some small updates

16 years agoWhen checking for tgetent, include libtinfo from recent Ncurses as well
Alexander Bokovoy [Sat, 15 Feb 2003 15:50:24 +0000 (15:50 +0000)]
When checking for tgetent, include libtinfo from recent Ncurses as well

16 years agoAdd support for krb5-config from recent MIT and Heimdal. And fallback to traditional...
Alexander Bokovoy [Sat, 15 Feb 2003 15:47:32 +0000 (15:47 +0000)]
Add support for krb5-config from recent MIT and Heimdal. And fallback to traditional guessing only if krb5-config was not found.

16 years agoAdd draft of universal passdb document that combines ENCRYPTION.sgml,
Jelmer Vernooij [Sat, 15 Feb 2003 14:44:25 +0000 (14:44 +0000)]
Add draft of universal passdb document that combines ENCRYPTION.sgml,
Samba-LDAP-HOWTO.sgml, pdb_mysql.sgml and pdb_xml.sgml

16 years agoRemove obsolete textdocs - they have been migrated to SGML
Jelmer Vernooij [Sat, 15 Feb 2003 14:17:03 +0000 (14:17 +0000)]
Remove obsolete textdocs - they have been migrated to SGML

16 years agoFix *a lot* of syntax errors
Jelmer Vernooij [Sat, 15 Feb 2003 14:13:55 +0000 (14:13 +0000)]
Fix *a lot* of syntax errors

16 years agoMove our NTLMSSP client code into ntlmssp.c. The intention is to provide a
Andrew Bartlett [Sat, 15 Feb 2003 12:20:22 +0000 (12:20 +0000)]
Move our NTLMSSP client code into ntlmssp.c.  The intention is to provide a
relitivly useful external lib from this code, and to remove the dupicate
NTLMSSP code elsewhere in samba (RPC pipes, LDAP client).

The code I've replaced this with in cliconnect.c is relitivly ugly, and
I hope to replace it with a more general SPENGO layer at some later date.

Andrew Bartlett

16 years agoUse more portable @SHLIBEXT@ instead of .so
Jelmer Vernooij [Sat, 15 Feb 2003 02:05:45 +0000 (02:05 +0000)]
Use more portable @SHLIBEXT@ instead of .so

16 years agoUse more portable @SHLIBEXT@ instead of .so
Jelmer Vernooij [Sat, 15 Feb 2003 02:04:41 +0000 (02:04 +0000)]
Use more portable @SHLIBEXT@ instead of .so

16 years agoRemove obsolete file lib/netatalk.c - We now have a vfs module
Jelmer Vernooij [Sat, 15 Feb 2003 02:03:55 +0000 (02:03 +0000)]
Remove obsolete file lib/netatalk.c - We now have a vfs module

16 years agoRemove obsolete file lib/netatalk.c - We have a VFS module now
Jelmer Vernooij [Sat, 15 Feb 2003 02:02:51 +0000 (02:02 +0000)]
Remove obsolete file lib/netatalk.c - We have a VFS module now

16 years agoPatch based on work by Michael Steffens <michael_steffens@hp.com> to wrap
Jeremy Allison [Sat, 15 Feb 2003 01:34:37 +0000 (01:34 +0000)]
Patch based on work by Michael Steffens <michael_steffens@hp.com> to wrap
all cm_get_XX calls and their subsequent requests in a retry loop in case
we've temporarily lost connection to the DC. Makes winbindd more reliable.
Jeremy.

16 years agoPatch based on work by Michael Steffens <michael_steffens@hp.com> to wrap
Jeremy Allison [Sat, 15 Feb 2003 01:34:34 +0000 (01:34 +0000)]
Patch based on work by Michael Steffens <michael_steffens@hp.com> to wrap
all cm_get_XX calls and their subsequent requests in a retry loop in case
we've temporarily lost connection to the DC. Makes winbindd more reliable.
Jeremy.

16 years agoAdd reference to example mysql.dump file
Jelmer Vernooij [Sat, 15 Feb 2003 01:08:08 +0000 (01:08 +0000)]
Add reference to example mysql.dump file

16 years agoAntti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enable
Andrew Bartlett [Sat, 15 Feb 2003 00:29:21 +0000 (00:29 +0000)]
Antti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enable
users w/o full administrative access on computer accounts to join a
computer into AD domain.

The patch and detailed changelog is available at:
http://www.itcollege.ee/~aandreim/samba

This is a list of changes in general:

1. When creating machine account do not fail if SD cannot be changed.
   setting SD is not mandatory and join will work perfectly without it.
2. Implement KPASSWD CHANGEPW protocol for changing trust password so
   machine account does not need to have reset password right for itself.
3. Command line utilities no longer interfere with user's existing
   kerberos ticket cache.
4. Command line utilities can do kerberos authentication even if
   username is specified (-U). Initial TGT will be requested in this case.

I've modified the patch to share the kinit code, rather than copying it,
and updated it to current CVS.  The other change included in the original patch
(local realms) has been left out for now.

Andrew Bartlett

16 years agoMove our NTLMSSP code into easily seperated peices, not relying on the whole
Andrew Bartlett [Sat, 15 Feb 2003 00:10:09 +0000 (00:10 +0000)]
Move our NTLMSSP code into easily seperated peices, not relying on the whole
of libsmb.

Andrew Bartlett

16 years agoOops, forgot the header file changes.
Andrew Bartlett [Fri, 14 Feb 2003 23:34:32 +0000 (23:34 +0000)]
Oops, forgot the header file changes.

16 years agoNTLMSSP parinoia - we really don't want to run over the end of our blob,
Andrew Bartlett [Fri, 14 Feb 2003 23:13:05 +0000 (23:13 +0000)]
NTLMSSP parinoia - we really don't want to run over the end of our blob,
and make sure we can never get an 'authenticate' packet without a challenge.

Andrew Bartlett

16 years agoEnsure that only parse_prs.c access internal members of the prs_struct.
Jeremy Allison [Fri, 14 Feb 2003 23:04:03 +0000 (23:04 +0000)]
Ensure that only parse_prs.c access internal members of the prs_struct.
Needed to move to disk based i/o later.
Jeremy.

16 years agoEnsure that only parse_prs.c access internal members of the prs_struct.
Jeremy Allison [Fri, 14 Feb 2003 22:55:46 +0000 (22:55 +0000)]
Ensure that only parse_prs.c access internal members of the prs_struct.
Needed to move to disk based i/o later.
Jeremy.

16 years agooff by one bug in string length; CR 1159
Gerald Carter [Fri, 14 Feb 2003 22:25:12 +0000 (22:25 +0000)]
off by one bug in string length; CR 1159

16 years agooff by one bug in string length; CR 1159
Gerald Carter [Fri, 14 Feb 2003 22:24:49 +0000 (22:24 +0000)]
off by one bug in string length; CR 1159

16 years agoPut dynrpc modules as part of make all, when specified in configure.
Jim McDonough [Fri, 14 Feb 2003 20:19:50 +0000 (20:19 +0000)]
Put dynrpc modules as part of make all, when specified in configure.

16 years agoPut dynrpc modules as part of make all, when specified in configure.
Jim McDonough [Fri, 14 Feb 2003 20:10:43 +0000 (20:10 +0000)]
Put dynrpc modules as part of make all, when specified in configure.

16 years agoBring in line with HEAD version...mostly formatting changes to clean up diffs.
Jim McDonough [Fri, 14 Feb 2003 19:42:54 +0000 (19:42 +0000)]
Bring in line with HEAD version...mostly formatting changes to clean up diffs.

16 years agoFurther extract our NTLMv2 code into smbencrypt.c, prior to merge into our
Andrew Bartlett [Fri, 14 Feb 2003 10:47:07 +0000 (10:47 +0000)]
Further extract our NTLMv2 code into smbencrypt.c, prior to merge into our
NTLMSSP client code.

Andrew Bartlett

16 years agoDoc
Martin Pool [Fri, 14 Feb 2003 06:34:59 +0000 (06:34 +0000)]
Doc

16 years agoSimplify some return values in gencache functions:
Tim Potter [Fri, 14 Feb 2003 05:07:05 +0000 (05:07 +0000)]
Simplify some return values in gencache functions:

- return ret == 0 ? True : False;
+ return ret == 0;

and

- return tdb_close(cache) ? False : True;
+ return tdb_close(cache) != -1;

16 years agomerge from HEAD - enable dynamic RPC modules
Jim McDonough [Fri, 14 Feb 2003 00:48:28 +0000 (00:48 +0000)]
merge from HEAD - enable dynamic RPC modules

16 years agoMop and bucket for trusted domain enumeration fix.
Tim Potter [Fri, 14 Feb 2003 00:31:30 +0000 (00:31 +0000)]
Mop and bucket for trusted domain enumeration fix.

16 years agoFix for trusted domains scan not working inspired by Ken Cross.
Tim Potter [Fri, 14 Feb 2003 00:23:31 +0000 (00:23 +0000)]
Fix for trusted domains scan not working inspired by Ken Cross.

(Sorry - I should have checked this in yesterday but forgot)

16 years agoA few typo fixes Andrew eventually let off to me.
Rafal Szczesniak [Thu, 13 Feb 2003 21:40:35 +0000 (21:40 +0000)]
A few typo fixes Andrew eventually let off to me.

Rafal

16 years agoRemoved unused variable.
Jeremy Allison [Thu, 13 Feb 2003 19:49:28 +0000 (19:49 +0000)]
Removed unused variable.
Jeremy.

16 years agoRemoved unused variable.
Jeremy Allison [Thu, 13 Feb 2003 19:42:50 +0000 (19:42 +0000)]
Removed unused variable.
Jeremy.

16 years agoFix typo in WIFSIGNALED (as per Waider's report)
Alexander Bokovoy [Thu, 13 Feb 2003 16:29:12 +0000 (16:29 +0000)]
Fix typo in WIFSIGNALED (as per Waider's report)

16 years agoMerge JohnR's patch.
Jeremy Allison [Thu, 13 Feb 2003 06:52:45 +0000 (06:52 +0000)]
Merge JohnR's patch.
Removed extra copy of server name in the printername field (it was
mangling the the name to be \\server\\\server\printer ... yes, there
were 3 backslashes) reported by get & enum jobs level 2.
Jeremy.

16 years agoMerge JohnR's patch.
Jeremy Allison [Thu, 13 Feb 2003 06:51:51 +0000 (06:51 +0000)]
Merge JohnR's patch.
Removed extra copy of server name in the printername field (it was
mangling the the name to be \\server\\\server\printer ... yes, there
were 3 backslashes) reported by get & enum jobs level 2.
Jeremy.

16 years agoAdd FIXME about checking exit code for popen'd commands.
Martin Pool [Thu, 13 Feb 2003 04:46:55 +0000 (04:46 +0000)]
Add FIXME about checking exit code for popen'd commands.

Fix typo.

16 years agowaitstatus audit: Correctly handle case where smbmnt is killed by a
Martin Pool [Thu, 13 Feb 2003 04:45:40 +0000 (04:45 +0000)]
waitstatus audit: Correctly handle case where smbmnt is killed by a
signal.  Previously this was incorrectly treated as success.

16 years agoMerge from HEAD to allow automatic Doxygen generation.
Martin Pool [Thu, 13 Feb 2003 01:47:03 +0000 (01:47 +0000)]
Merge from HEAD to allow automatic Doxygen generation.

16 years agoDoc
Martin Pool [Thu, 13 Feb 2003 01:05:56 +0000 (01:05 +0000)]
Doc

Set HTML output directory

16 years agoUpdate towards automatic building on dp.samba.org:
Martin Pool [Thu, 13 Feb 2003 00:37:35 +0000 (00:37 +0000)]
Update towards automatic building on dp.samba.org:

Remove features not supported by Doxygen 1.2.14 on RH7.3.

Remove dependence on dot tool, which is apparently not in Redhat, and
doesn't produce very interesting results for C code anyhow.

Make Doxygen --quiet to support running from cron.

Remove references to files which are gone from Samba
(CodingSuggestions).

Put HTML output in the right directory.

16 years agoAdded code based on Michael Steffens <michael.steffens@hp.com> uid/gid
Jeremy Allison [Wed, 12 Feb 2003 23:51:08 +0000 (23:51 +0000)]
Added code based on Michael Steffens <michael.steffens@hp.com> uid/gid
caching code. Reduces load on winbindd. Probably should be moved to
use gencache at some future date.
Jeremy.

16 years agoAdded code based on Michael Steffens <michael.steffens@hp.com> uid/gid
Jeremy Allison [Wed, 12 Feb 2003 23:51:05 +0000 (23:51 +0000)]
Added code based on Michael Steffens <michael.steffens@hp.com> uid/gid
caching code. Reduces load on winbindd. Probably should be moved to
use gencache at some future date.
Jeremy.

16 years agoFixes for HPUX only having limited POSIX lock range from Michael Steffens <michael...
Jeremy Allison [Wed, 12 Feb 2003 20:40:29 +0000 (20:40 +0000)]
Fixes for HPUX only having limited POSIX lock range from Michael Steffens <michael.steffens@hp.com>
Jeremy.

16 years agoFixes for HPUX only having limited POSIX lock range from Michael Steffens <michael...
Jeremy Allison [Wed, 12 Feb 2003 20:38:02 +0000 (20:38 +0000)]
Fixes for HPUX only having limited POSIX lock range from Michael Steffens <michael.steffens@hp.com>
Jeremy.

16 years agoadding more descriptions for nt status codes
Gerald Carter [Wed, 12 Feb 2003 16:44:13 +0000 (16:44 +0000)]
adding more descriptions for nt status codes

16 years agoadding more descriptions for nt status codes
Gerald Carter [Wed, 12 Feb 2003 16:43:47 +0000 (16:43 +0000)]
adding more descriptions for nt status codes

16 years agomerge desired_access for open_printer_ex from HEAD, allowing cupsaddsmb to
Andrew Bartlett [Wed, 12 Feb 2003 11:23:24 +0000 (11:23 +0000)]
merge desired_access for open_printer_ex from HEAD, allowing cupsaddsmb to
work again!

Andrew Bartlett

16 years agoMatch Samba 2.2 by chosing the correct desired access, and getting cupsaddsmb
Andrew Bartlett [Wed, 12 Feb 2003 11:17:35 +0000 (11:17 +0000)]
Match Samba 2.2 by chosing the correct desired access, and getting cupsaddsmb
back working again.

Andrew Bartlett

16 years agoMerge from HEAD: Fix NULL pointer de-reference in arguments to tdb_pack.
Andrew Bartlett [Wed, 12 Feb 2003 10:57:39 +0000 (10:57 +0000)]
Merge from HEAD: Fix NULL pointer de-reference in arguments to tdb_pack.

Andrew Bartlet

16 years agoinitial server side privileges implementation, using a tdb. This needs to be hooked...
Andrew Tridgell [Wed, 12 Feb 2003 09:14:35 +0000 (09:14 +0000)]
initial server side privileges implementation, using a tdb. This needs to be hooked into pdb, and we need some access control on changing privileges. That's next

16 years agoPrevent NULL-pointer induced segfaults.
Andrew Bartlett [Wed, 12 Feb 2003 06:38:18 +0000 (06:38 +0000)]
Prevent NULL-pointer induced segfaults.

Is tdb_pack in appliance_head different for some reason?

Andrew Bartlett