1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-05 20:58:40 +03:00

7741 Commits

Author SHA1 Message Date
Andrew Bartlett
e32177ea9d Fix up some of the DEBUG lines in winbind_pam.c
(This used to be commit dfc8883305abf7630e6446a0b865bae99ec2f5a4)
2002-02-08 06:43:55 +00:00
Herb Lewis
8efa4bd901 smbsh need CC not SHLD
(This used to be commit 690c1fae9ce0ad6a8adef42ed5a7d8cfedab261d)
2002-02-07 20:20:05 +00:00
Herb Lewis
e7944643f7 quite errors about unnecessary const casting - don't build libnss_wins.so
(This used to be commit 8ae0abb174aec0c76d6900b08914535d0a2d425c)
2002-02-07 20:09:17 +00:00
Andrew Tridgell
fb444a546e when a trusted domain is down an ADS server will return a success on a
get trusted domains query but leave the domain SID blank - we need to
fail the add of the trusted domain in winbindd in that case
(This used to be commit 24c7e7a3849df3a3378f7e7f20099de048f0b7bd)
2002-02-07 02:44:37 +00:00
Christopher R. Hertel
bced3ac18e I added two lines of comments regarding the include= parameter. Someone
here at the UofM was burned today because they had left that line in its
default location.
(This used to be commit fd4d3496e142574e2bd25faab5c8f1534a21558f)
2002-02-06 22:51:07 +00:00
Andrew Bartlett
72b1011cb2 Try to get this finally working. (Note to self: *always* check build farm...)
:-)

Andrew Bartlett
(This used to be commit 542e0e37455e6bcd8e0c248b3bb6ede8306d1656)
2002-02-06 20:31:26 +00:00
Jim McDonough
9aa88da9d5 Fix ldapmod list overrun check. Also better document and format ldap control for permissive modify.
(This used to be commit 01e7f7c3d9006883b71e43d917d32e325cff7a15)
2002-02-06 02:28:46 +00:00
Tim Potter
1e94977a9b 0x is the traditional prefix for displaying hex numbers.
(This used to be commit f424b691ea76819e90f10919b0506bb2216ecd0e)
2002-02-06 02:22:33 +00:00
Herb Lewis
8d84f070c4 no longer need separate build o32 smbwrapper
(This used to be commit a9316754c7ef6244e69bec25ca20dad0019f77e1)
2002-02-06 00:56:43 +00:00
Herb Lewis
57cfadcbbd fix for IRIX toolroot builds
(This used to be commit dc3fb2e6dcd92efd7468bd8121fbc49e3dadb8ea)
2002-02-06 00:53:00 +00:00
Andrew Bartlett
4f442bc011 Fix use of uninitialsed variable in PAM code
(This used to be commit 6c08c233e6675056c0ee0bbc4ecdcbc205950f54)
2002-02-05 23:45:29 +00:00
Andrew Bartlett
db0d2f8d60 See if we can get slightly valid C for the non-PAM case here.
Andrew Bartlett
(This used to be commit 59afc3d6daad2770219dba1ca113869967eefc23)
2002-02-05 21:05:04 +00:00
Andrew Bartlett
ed389ee8dc Drastic impromvents to pam_winbind.
This adds code to do generic PAM -> NTSTATUS and NTSTATUS -> PAM error
conversions, and uses them to make the error handling in pam_winbind sane.

In particular, pam_winbind now uses PAM error codes, not silly '-1, -2 ...'
stuff, and logs the NTSTATUS error that winbind now sends over the pipe.

Added code to wbinfo to display these - makes a big difference in debugging
winbindd.

The main change here is the code to allow pam_winbind password changing to
correctly stack - This code ripped from pam_unix, and the copyright attached.
(Same as for all pam modules, including pam_winbind)

Andrew Bartlett
(This used to be commit dc1a72f896b83bc1ad3c7bf6c12c36ace3967280)
2002-02-05 09:40:36 +00:00
Andrew Tridgell
209467ece1 got rid of a silly '*' in printout
(This used to be commit 22be40b6b8c034c143ce5d804628bc12cb1cc3dd)
2002-02-05 06:42:35 +00:00
Andrew Tridgell
007a9a5cdc - only show 1 cleanup msg per client
- show client count in progress
(This used to be commit 10ee1d22e606847d40fb013c694ed5733ef6b87b)
2002-02-05 03:55:20 +00:00
Andrew Tridgell
3608da565f fixed the directory removal for when the dir doesn't exit
(This used to be commit 2c67b266cc4848dff6066fcbc875ab5f91113179)
2002-02-05 03:02:14 +00:00
Jeremy Allison
7d9c3b7f75 Fix stupid typo !
Jeremy.
(This used to be commit d1e911afd08971c6cf5429bda929663a5dd8f63d)
2002-02-05 02:40:16 +00:00
Andrew Tridgell
38fa35571e rewrote smbtorture to use the new dbench 2 format and methods
(This used to be commit 36f816a5e12a80f0184f43cbd44ef5fac53fcb81)
2002-02-05 01:31:47 +00:00
Andrew Tridgell
4ddd288f9a check for empty parameters in qpathinfo
(This used to be commit c78b16c1f850562b65acb6143e55b1aefc075753)
2002-02-05 01:31:16 +00:00
Andrew Tridgell
b6b6b0c691 support double functions
(This used to be commit e72c6fb36ebd3ea8fc6b6d8e1b1a9ff1ccb3ade9)
2002-02-05 01:30:50 +00:00
Andrew Tridgell
5d2302899a fixed a bug in qpathinfo client code
(This used to be commit 22f348a1f9501cc00d46d6c6064f71198558c0ee)
2002-02-05 01:30:02 +00:00
Gerald Carter
7998c99191 removed several parameters ("client code page", "valid chars",
"code page directory", "character set", et. al.)
(This used to be commit 6ff236249559f8a11381cab9cc1757b26764a39d)
2002-02-04 14:15:29 +00:00
Richard Sharpe
95c914388b Add the new smbprint shell script, smbprint-new.sh that is supposed to fix some problems under *BSD and etc ...
(This used to be commit 6bd91973bbacc718de5d32a6819cc7e6ae98dd6f)
2002-02-04 02:24:29 +00:00
Simo Sorce
407cd42143 better debug messages!
(This used to be commit e3bb6867454307ae592115e205d32ddd53988678)
2002-02-04 00:59:23 +00:00
Andrew Bartlett
4cf87fc667 A new simpiler syntax demands a new simpiler HOWTO. (This can all be reverted
if new simpiler syntax was a bad idea...).

Andrew Bartlett
(This used to be commit 717f45ca3ca85ca47f6d7b9379c17480f0bf82e4)
2002-02-03 03:51:01 +00:00
Andrew Bartlett
2a7e661f00 Make smbgroupedit a little easier on the user.
We now have error messages for most of the failure cases, and the
'sid' arguments for delete and change can now take the nt group name
as a string.

Also fix up all the internal functions to be static, keeping the
namespace clean.

Andrew Bartlett
(This used to be commit f1687587010a2390b65bd5efa37cc199b67587f8)
2002-02-03 03:25:26 +00:00
Jim McDonough
de6dbff177 Change ADS_ERROR family of macros - removed semicolon from the end, since they were only being used correctly in one location, and all other assumed the semicolon wasn't there. Amazing that none of them mattered syntactically, until today.
(This used to be commit 6515c3e8ef546975657e45fce7f147fe4a08e9ca)
2002-02-02 22:09:03 +00:00
Jim McDonough
55b92fdebc Update for function name changes, plus do some of the optional attributes on printer modify, now that the ldap control is working.
(This used to be commit 76afc886a89e8c0d5a169435dde42b00db522060)
2002-02-02 22:07:22 +00:00
Jim McDonough
81b54940b7 merge in some changes from Alexey Kotovich. Return ADS_STATUS instead of BOOLs. Add support for bervals in mod lists. Also put undocumented AD ldap control in to allow modifications when an attribute does not yet exist.
(This used to be commit 1a2d27b21e61be5a314f7d6c4ea0dff06a5307be)
2002-02-02 22:06:10 +00:00
Gerald Carter
c8bc0fa4a7 merge from 2.2
(This used to be commit 473a89cde2e60c359cb435c714dc98974489a118)
2002-02-02 15:44:37 +00:00
Gerald Carter
8cb4e23ffc merge from 2.2 and regen
(This used to be commit 7b7e4190739bd7df422e3f239fd89373edb97ee5)
2002-02-02 06:08:43 +00:00
Gerald Carter
28a4f3926c merge from 2.2
(This used to be commit a60be0216eb3d0c76f93ec3a3edd861861cb1a4e)
2002-02-02 04:58:57 +00:00
Jim McDonough
ffc58a7ff8 Add support for net ads printer to publish, remove, or display printer info in the directory. Only publishes required fields right now.
(This used to be commit 1d326f8b7e68bcad6c35488f77b05c598ebaad5d)
2002-02-02 02:06:03 +00:00
Jim McDonough
bb8349735f Minor bug fixes, plus support to remove a printer. Commented out optional attributes until a method for checking for their existence is done.
(This used to be commit 538c19a6983e0423b94f743184263cd8ef9c701e)
2002-02-02 02:04:01 +00:00
Simo Sorce
0da3a4e659 update from 2.2
(This used to be commit 8bb2a7446ed69020086aaedf2889795dd38ef9d4)
2002-02-01 23:20:08 +00:00
Jim McDonough
921eb3588d Add ads printer information
(This used to be commit a844d9af21d8047629129c5e842db7acbc059932)
2002-02-01 17:42:41 +00:00
Jim McDonough
0c63216603 Fix build errors on non-ldap systems...change function parms from LDAPMod ** to void **
(This used to be commit 9467792843fdd9bc55e92bfaa2f2205279074297)
2002-02-01 17:13:39 +00:00
Jim McDonough
aa8ebe3956 Fix file header description and copyright (from cut-and-paste laziness)
(This used to be commit 146c731c35beecd3ae8e093e52d94af0e2efcd69)
2002-02-01 16:58:01 +00:00
Jim McDonough
47f7fb01a8 Add ldap_printer.c build for ADS printer objects.
(This used to be commit 085f5ab03e0e4994315b9a0eeb5cb2a625b784f8)
2002-02-01 16:17:39 +00:00
Jim McDonough
ecc2e1e3b8 Module for ADS operations on a printer object in the directory. Initially it creates and modifies a printQueue object in the directory
(This used to be commit b14e638aeb80bad80cfd12ed60f5e77f24addfd5)
2002-02-01 16:15:53 +00:00
Jim McDonough
9e75e5c1f0 Add functions for modifying an entry in ADS. Needed for printer publishing.
(This used to be commit 3d8d8cef64c674f9f1240759a05766db95bfde4e)
2002-02-01 16:14:33 +00:00
Jeremy Allison
69adbb0ce3 Fix from Michael Steffens <michael_steffens@hp.com> to make signal
processing work correctly in winbindd. This is a really good patch
that gives full select semantics to the Samba modified select.
Jeremy.
(This used to be commit 3af16ade173cac24c1ac5eff4a36b439f16ac036)
2002-01-31 23:26:12 +00:00
Andrew Tridgell
0815cd63bd reduced memory usage in winbindd with a rpc backend by using a
separate talloc context for each partial fetch
(This used to be commit 9c8a2fe4df21c29c90dc8493dade2b12314234c3)
2002-01-31 12:47:42 +00:00
Tim Potter
12b7f600a0 Removed unused variables.
(This used to be commit 703d06fee03b6b6a37b9f64cdc313a0d59c41597)
2002-01-31 11:54:01 +00:00
Andrew Tridgell
3a1a53c88a added 'wbinfo --sequence' to show sequence numbers of all domains
(This used to be commit bcd234a3dad2cd3d1c57780f4a7a3833ea611764)
2002-01-31 11:49:29 +00:00
Tim Potter
8fff9a4b9e Added administrator access check for server side add, delete and setform
rpcs.  The only one I have been able to verify is addform - can't get the
client side routines working properly yet.  )-:
(This used to be commit 3cd97d65dea428382104ebde63eaf660aa3942fb)
2002-01-31 11:44:00 +00:00
Tim Potter
a630f289f5 Added make functions for SPOOL_Q_{ADD,SET,DELETE}FORM.
I'm pretty sure that the useless_ptr in spoolss_io_q_setform() needs to be
initialised to 1 otherwise the form isn't marshalled at all.  JF, can you
verify this?  If so then this probably applies to the io functions for
setform and deleteform.
(This used to be commit 1803778451a344c6c8d116eac5eaac777e5cf4fe)
2002-01-31 11:42:16 +00:00
Andrew Bartlett
f3ee505fce Initialise some SAM_ACCOUNT structs to NULL, and add some more error checking.
Andrew Bartlett
(This used to be commit f3f375dc6b7175d4dd4ce401815e5dfdd9747083)
2002-01-31 11:38:47 +00:00
Tim Potter
359dfddcda Added addform, setform and deleteform cli functions.
(This used to be commit a7e67dc00ae1a9a80875f2708def6565af0c6f0e)
2002-01-31 11:37:48 +00:00
Tim Potter
1b70d2769a Added addform, setform and deleteform commands. The only one I could get
to actually work was addform.  )-:

Removed a whole bunch of calls to werror_to_ntstatus() because there isn't
a one-to-one mapping of NTSTATUS values to WERROR values.  This function
maps WERR_ACCESS_DENIED to NTSTATUS_INVALID_LOCK_SEQUENCE or something
silly like that.
(This used to be commit 825b5c8bd6d0f114faf3b0fd91eb374cbfb8c8b7)
2002-01-31 11:36:30 +00:00