1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

10028 Commits

Author SHA1 Message Date
Jelmer Vernooij
7da7b4a464 Make IRIX happy
(This used to be commit aeb94bb0d7ad84b52a5f729a3e83f4fb00005771)
2002-11-04 14:08:11 +00:00
Andrew Bartlett
995ab016ab Becouse lib/popt_common.c uses POPT, we must not include it in LIB, we must
link it on a per-program basis.

Next step is to make -lpopt apply only to the right programs, which might
help some of this kind of thing show up on Linux.

Andrew Bartlett
(This used to be commit a0d13cd3f0ca1738fbd978ac67876196cd0ee56c)
2002-11-04 13:39:40 +00:00
Andrew Bartlett
3ae2fcd776 Allow 'normal' accounts in the non-unix-account range for smbpasswd - I hope
this will fix some of the problems on the build farm @ Compaq (where they have
a *lot* of accounts...).
(This used to be commit 2c97b7e6480c2731739ccc52af97bc62a6228cfe)
2002-11-04 13:15:53 +00:00
Andrew Bartlett
1336b8153e Fix debug
(This used to be commit 5b5b8de70e46a15e9fb9b47c7af6cb0133f41217)
2002-11-04 12:47:07 +00:00
Andrew Bartlett
0ead4ef3c2 Move to the use of the 'initialised' flag, rather than the fact the pointer is
NULL.

Andrew Bartlett
(This used to be commit 2115335857acd2c4f5c89b95227b3762f4c052b0)
2002-11-04 12:36:37 +00:00
Andrew Bartlett
f35e15bd75 Try to fix popt dependencies - we were linking to popt before we built with it.
Andrew Bartlett
(This used to be commit dd9c6214d1976d87679735ea392b1a76463206a4)
2002-11-04 12:02:48 +00:00
Andrew Bartlett
99cd4b52a7 Any conversion to POPT must *always* add @BUILD_POPT@ or it just won't work on
systems other than linux.

Andrew Bartlett
(This used to be commit 80f1f68b6f0fa38dd1ef4b2cfabb07d3c8daf844)
2002-11-04 02:49:20 +00:00
Richard Sharpe
6214457499 The fixes from Tom plus a minor update from me.
(This used to be commit 6db6a48711f51ee6add32953506cd5db33939a1b)
2002-11-04 02:01:48 +00:00
Andrew Bartlett
a7f2feae31 Extra little fix to vl's patch. Make sure the passdb and testparm messages
say exactly the same thing - in particular that we can algorithmic rid base ==
1000, and use the BASE_RID macro to avoid the use of magic numbers.

Andrew Bartlett
(This used to be commit b70f2a8047ac549841bc103932b38951e9814186)
2002-11-03 14:13:43 +00:00
Andrew Tridgell
281284c819 make_server_info_guest() can need root for the ldapsam backend
(This used to be commit 918099f09618136c371e199803f5895f9cb702be)
2002-11-03 13:33:00 +00:00
Volker Lendecke
9422775efd Force algorithmic rid base to sane values and talk about it.
Volker
(This used to be commit ce5b2d991b42bbf6865ff75194f8ee4b46694841)
2002-11-03 12:54:12 +00:00
Jelmer Vernooij
670764e38c Remove obsolete function usage and some unused variables
(This used to be commit 162431a88ccb0811ae9873ce4ceda11d2f1de8b7)
2002-11-02 18:58:55 +00:00
Jelmer Vernooij
e79de17061 Remove dummy function I used for testing
(This used to be commit 15c71551db038071d981ca4e37ef505004e79b89)
2002-11-02 16:40:14 +00:00
Jelmer Vernooij
25e9b03738 Convert to popt.
Removed -o and -a options - these have been broken since 2.2 without complaints from users
(This used to be commit c8589a567b96dacc0b6c88c91b34f8211532bbfa)
2002-11-02 16:36:39 +00:00
Jelmer Vernooij
8a6b05d36d Add more options to popt_common and use them. Current ones are:
-V Version information
 -n Set netbios name
 -l Set directory to store log files in
 -d Set debuglevel
 -s Load specified configuration file
 -O Set socket options
(This used to be commit 1602d5894947b59fd36c161053a66c0afe2c959c)
2002-11-02 16:16:15 +00:00
Andrew Bartlett
a80438d96c Fix typo
(This used to be commit 5c6041f713f1931072aa25f49e8210c4c7e36ba9)
2002-11-02 11:35:43 +00:00
Andrew Bartlett
593e0b5d00 Clean up this a little - add comments describing a bit of what is going on
here.
(This used to be commit 88455313f6551a75eff4df2f0ba91430948c1c78)
2002-11-02 07:54:04 +00:00
Andrew Bartlett
b017064cec Add a 'ldap trust ids' option that lets pdb_ldap check for posixAccount
attributes rather than calling getpwnam() on the user.

This should help fix some of metze's performance issues - particularly on
enumerations.

There is a consequential change to the operation of 'non unix account's in LDAP
- they are no longer restricted to being 'within' the NUA range, but will
always be added to that range.

Finally, there is the doco for this and the previous LDAP SSL changes.
(This used to be commit 18abaeffda300074a507561d8372d5bfddc8fe50)
2002-11-02 07:09:17 +00:00
Richard Sharpe
949133f5f2 Make sure that %u is used for SID elements ...
(This used to be commit 82f6b264037a2f1b882dc75bc43c6c8b41477270)
2002-11-02 06:21:10 +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
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
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
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
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
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
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
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
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
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
Jelmer Vernooij
bfcbdaf933 Rerun autoconf
(This used to be commit ff10786c9d4662af355c12cc7363092dc5187e99)
2002-10-30 19:23:22 +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