1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-24 13:57:43 +03:00

10349 Commits

Author SHA1 Message Date
Andrew Bartlett
6d7195d1d7 Merge passdb from HEAD -> 3.0
The work here includes:
 - metze' set/changed patch, which avoids making changes to ldap on unmodified
attributes.

 - volker's group mapping in passdb patch

 - volker's samsync stuff
 - volkers SAMR changes.

 - mezte's connection caching patch

 - my recent changes (fix magic root check, ldap ssl)

Andrew Bartlett
(This used to be commit 2044d60bbe0043cdbb9aba931115672bde975d2f)
2002-11-02 03:47:48 +00:00
Andrew Bartlett
531cea2937 Return the result code, not false (0 == success) on error...
(This used to be commit f91c363bc05d1c82ad8a99a5c0d59b46cf820aac)
2002-11-02 03:37:26 +00:00
Andrew Bartlett
a66b852ddc Fixes for pdb_ldap:
- Default is now for start-tls, on the ldap (not ldaps) port
 - We check for 'I am currently root' in the right place now, and don't
   accidentily use a cached connection.
 - We don't loop on failure to be root, or some other errors.

 - A bit cleaner error reporting for add/modify.

 - Both the OpenLDAP and manual URI parsing tested.

Andrew Bartlett
(This used to be commit cfa1e459d727764feddcfdd8c9c0404282e2d0e8)
2002-11-02 03:14:27 +00:00
Tim Potter
aea57af3e3 Fix --set-auth-user command to delete entries from the secrets file when an
empty username/password is passed on the command line.  Previously we were
leaving the domain name set and the password set to a NULL character.

Added a --get-auth-user command to display the restrict anonymous username
information.  Can only be run successfully by root.
(This used to be commit dcaf21efc5b48ddb0cbe70ce17e45c035ef525ad)
2002-11-02 01:51:53 +00:00
Tim Potter
642ee6fb37 Fix --set-auth-user command to delete entries from the secrets file when an
empty username/password is passed on the command line.  Previously we were
leaving the domain name set and the password set to a NULL character.

Added a --get-auth-user command to display the restrict anonymous username
information.  Can only be run successfully by root.
(This used to be commit 0bb9bc196207fb35c9de6accbe101937a687762f)
2002-11-02 01:51:34 +00:00
Tim Potter
d759a02094 Some winbindd cleanups I made trying to fix cr1020:
- move winbindd client handling into accessor functions in
   winbindd_util.c

 - move some winbindd socket routines into accessor functions in
   winbindd_utils.c

(The deadlock situation mentioned in the appliance branch is probably
not applicable since we don't clear the connection cache on SIGHUP.
Perhaps we should?)
(This used to be commit ee0e3d31a1d1bef70810aadcdafdf9678d21ea8f)
2002-11-02 01:36:42 +00:00
Tim Potter
674790b7bd Some winbindd cleanups I made trying to fix cr1020:
- move winbindd client handling into accessor functions in
   winbindd_util.c

 - move some winbindd socket routines into accessor functions in
   winbindd_utils.c

(The deadlock situation mentioned in the appliance branch is probably
not applicable since we don't clear the connection cache on SIGHUP.
Perhaps we should?)
(This used to be commit 846b5494942c73e68616e7eae0d2fd5ae4b2bc05)
2002-11-02 01:35:18 +00:00
Jelmer Vernooij
209f911344 Add popt_common_socket_options
(This used to be commit a15434314fd8cd88eab40e7cbc8f06a7d0d0169e)
2002-11-02 01:07:27 +00:00
Tim Potter
500905fedb Handle the case where the password used in RPC connections (for restrict
anonymous support) is blank.
(This used to be commit b376b7dad003593d26c867ffe8f906084e42160e)
2002-11-02 01:06:10 +00:00
Tim Potter
aed20178df Handle the case where the password used in RPC connections (for restrict
anonymous support) is blank.
(This used to be commit 7badccda46a0837dd9da802b44c2fbcb4f38845a)
2002-11-02 01:05:47 +00:00
Tim Potter
84ef8d47a1 Display pipe name in rpc bind failure debug.
(This used to be commit 62ab0f8cbe7c517084383bdc9a8c97404ad27147)
2002-11-02 00:45:19 +00:00
Jelmer Vernooij
6c589bfb76 Convert to popt
(This used to be commit 9ea7440ac4a3dbb98e34ccb8ee78e0bd782fa704)
2002-11-02 00:44:19 +00:00
Tim Potter
c49573e59f Display pipe name in rpc bind failure debug.
(This used to be commit 70838b33a61a10e9bd1622611a6be3b0cac08479)
2002-11-02 00:43:38 +00:00
Jelmer Vernooij
3a382e8bf7 Initial updating of Diagnosis
(This used to be commit 4fc8f1d3f29e36c8c1a04d6907c4bed3d6547e35)
2002-11-02 00:20:29 +00:00
Jelmer Vernooij
6ed3ac352d Update status of docs - some more manpages are now up-to-date
(This used to be commit 675226f1a1e2cc424f24bb2f22c730185db0c949)
2002-11-02 00:17:21 +00:00
Jelmer Vernooij
4d2879aea9 Update manpages - make ready for 3.0
(This used to be commit 1a06235f183c2dcc6efc056043252246a4f31139)
2002-11-02 00:16:36 +00:00
Andrew Bartlett
56dc17378b Merges from HEAD:
- off-by-one fix - fixes warnings about insufficent space in buffer.
- fix a memleak in uid.c - we forgot to free() the allocated struct.
(This used to be commit b8951a6551b352e4aac7e8b0ecf7fec3f2d9634e)
2002-11-01 22:17:19 +00:00
Gerald Carter
9ec7e009ca adding roadmap to 3.0 branch
(This used to be commit 4bdcd1b6b3220d4566a625d0402d7f45163a39c8)
2002-11-01 15:24:20 +00:00
Richard Sharpe
b6a34f656c Add the changes to change the SIDs ...
You must make two passes over NTUSER.DAT, one for the OWNER SID and one for
GROUP SID.

I have not tested this yet ... that is, I have not tried to use this on
a Win2K etc server.
(This used to be commit 7eb89ba467a66190775943834683a42b693d2e3b)
2002-11-01 08:53:28 +00:00
Richard Sharpe
cbb4ccdaea Add more. Parse SIDs on the command line ... soon will actually mod the
SecDescs in the NTUSER.DAT ...
(This used to be commit dbc608ba7e591175cd02f4adfdcfecd1350526a5)
2002-11-01 07:43:54 +00:00
Richard Sharpe
a71b29ad8e Fix a problem with spaces vs tabs
(This used to be commit 26857be78cda1e6d6cae9bc87d34cdad12492748)
2002-11-01 05:41:56 +00:00
Richard Sharpe
2eac34d4d9 Revert that stupid one line change.
(This used to be commit 095af10ff2e549b82c646df5ed20cf05352a3994)
2002-11-01 05:29:11 +00:00
Richard Sharpe
38e7a103da Fix small typo ...
(This used to be commit 59735a5aac88b076320874f06056d50947396fb3)
2002-11-01 05:24:38 +00:00
Richard Sharpe
689d510ef6 Add more code to the profiles program and add Makefile.in support.
(This used to be commit daefe52a56a7b977b8e561f8f668c42183de413b)
2002-11-01 05:06:19 +00:00
Tim Potter
3a225c0785 Tidyup of some DCERPC pipe connection debugs. The new LSA_DS stuff
generates some errors we haven't seen before which are inappropriately
logged at level 0.
(This used to be commit bd64de3716ffa9c3ebec282aa5cc0f773d3d8096)
2002-11-01 00:38:26 +00:00
Tim Potter
5dd341d647 Tidyup of some DCERPC pipe connection debugs. The new LSA_DS stuff
generates some errors we haven't seen before which are inappropriately
logged at level 0.
(This used to be commit 40d5112048ab0943caef7149b7a0d9dee5256b87)
2002-11-01 00:37:45 +00:00
Jeremy Allison
5593892caf Fix slowdown because of enumerating all print queues on every smbd startup.
Jeremy.
(This used to be commit d05b147fb3f32031a202cf61703dc2fd969f4617)
2002-10-31 23:41:02 +00:00
Jeremy Allison
a63844e10e Fix slowdown because of enumerating all print queues on every smbd startup.
Jeremy.
(This used to be commit 6efd17ef78ebcfed1130312fa019d674e4663a00)
2002-10-31 23:41:00 +00:00
Jelmer Vernooij
2d62bd5248 Add initial upgrading doc (doesn't contain much currently)
Start using more entities
(This used to be commit 6c442fe5c90902718d9a381e6b2518c0b4aab3de)
2002-10-31 22:00:20 +00:00
Jim McDonough
69a2042dc6 Re-enable use of existing kerberos tickets.
(This used to be commit 6ec5dce69834e72e458a8acff7d1790cbdd46d67)
2002-10-31 19:20:33 +00:00
Jeremy Allison
0e2eedb268 Check the long_archi name is not null.
Jeremy.
(This used to be commit 9e47aa32ed96faff4a68a8e360c1353fc011adf1)
2002-10-31 18:43:05 +00:00
Jeremy Allison
63eefb36f1 Check the long_archi name for NULL.
Jeremy.
(This used to be commit e504d1170da0d89da78063f0a00fc7b9294d911f)
2002-10-31 18:42:38 +00:00
Jim McDonough
e1239ecfb1 One more instance of AUTHLIBS...hopefully we can get most 3.0 builds back
up on the farm.
(This used to be commit 134ddca56ba36580d88825f6dc24d3820e4c9810)
2002-10-31 18:13:35 +00:00
Jelmer Vernooij
fb6c6ec09e add smb_load_modules() to load a list of modules - does this function look ok ?
(This used to be commit a82dbb3c22e6cb2096efb87c12a6006642806aac)
2002-10-31 18:08:45 +00:00
Volker Lendecke
bf1ec6db99 search & replace doesn't always work reliably :-)
Volker
(This used to be commit 54115fd16ff10d1958153268dfd0f22f3c400bb5)
2002-10-31 17:34:49 +00:00
Richard Sharpe
094166151b Add a small utility that can print out the SEC DESCs in NTUSER.DAT.
This is an early, messy version of the code, but it illustrates what can
be done. It currently only prints the Owner SID, Group SID, and Perms and
SID from each ACE.

Once more work is done, it could actually walk the SEC DESCs and ACEs and
change the SIDS ...
(This used to be commit 322151509c255aa288627ae239661154ab0c83d5)
2002-10-31 17:27:47 +00:00
Jim McDonough
d29e2893b0 Steve Langasek's authentication lib (libpam, libcrypt) split didn't make
it into Makefile.in in 3.0.  This should fix a few builds.
(This used to be commit 3b32e6bf5a4496beff3a817bdd3826947489b1ce)
2002-10-31 14:30:03 +00:00
John Terpstra
77eda21dea Added the remainder of Buchan Milne's patches.
(This used to be commit 7415c2446934902894253d08e4c7f8ec78073482)
2002-10-31 04:35:22 +00:00
John Terpstra
b6e8169ac9 Applying Buchan Milne's patches.
(This used to be commit 43f270b4909b363db50239e61184e057c96106b9)
2002-10-31 04:33:17 +00:00
John Terpstra
063ac686b5 Added DESTDIR patch from Buchan Milne.
(This used to be commit 4a5c926ac52576962b2af8f798ca2c80d8881d4e)
2002-10-31 04:22:36 +00:00
cvs2svn Import User
da560b01ba This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit f1acef4a1cc3ce99a765a2534a50fbd41f6e2e62) 2002-10-31 04:17:30 +00:00
John Terpstra
0af30d452d Another Buchan Milne patch that escaped the last commit.
(This used to be commit 4cfa5425201087f579fa4091ce3fbf83e76a7d1a)
2002-10-31 04:17:29 +00:00
John Terpstra
c5ac569180 Applied Buchan Milne's patches.
(This used to be commit ce5a7084540feff7354d2005e25cef581ad500db)
2002-10-31 04:16:26 +00:00
Jim McDonough
3b3c7914e2 Take out gcb2gtype and gtype2gcb fns. They were using symbols not defined
in 3.0 (new SAM in HEAD).  Nobody was referencing these fns...
(This used to be commit 386cc92dfa23b4e20172dff20fb14c2ad3172a58)
2002-10-30 20:31:02 +00:00
Jelmer Vernooij
bfcbdaf933 Rerun autoconf
(This used to be commit ff10786c9d4662af355c12cc7363092dc5187e99)
2002-10-30 19:23:22 +00:00
Jelmer Vernooij
279413b820 Rerun autoconf
(This used to be commit 7b7e54f7a8d4835b1f40e5617b1a9414322ff210)
2002-10-30 19:22:48 +00:00
Jim McDonough
b1598ff699 Fix build. Don't use BSD setenv. Use POSIX putenv.
Jeremy, it wasn't me!!!!!!
(This used to be commit 00d4e5c67b8a3b8eafa56fd46fbaf4922030dd81)
2002-10-30 18:18:25 +00:00
Jelmer Vernooij
9dcba81933 use sys_dlopen instead of dlopen (thanks to jra for noticing)
(This used to be commit 86eb0a25b1df8ca25872f9846a74d0f13a4ad045)
2002-10-30 17:50:36 +00:00
Tim Potter
44637311ea Fix boog in argument list for nt_create_andx.
(This used to be commit 6945e89e2d10743635f01420c83d405a2d4cb356)
2002-10-30 14:52:53 +00:00
Jelmer Vernooij
7727a368f1 The locking description in this doc is outdated - note that
(This used to be commit 125c2fea550a88cf28fa82281b69a25b644edc4a)
2002-10-30 12:50:47 +00:00