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

10382 Commits

Author SHA1 Message Date
Martin Pool
98d8bf1ac6 Add FIXME about --with-python
(This used to be commit 96741a251c731d71126dcf9c706f7bb7c954f6e7)
2002-11-04 19:36:34 +00:00
Jelmer Vernooij
4ca4febd67 Large number of updates - new structure of the HOWTO, better names, introductions, updating to 3.0
(This used to be commit dfc3d55493c40201244a9e44b89868f7128c6f85)
2002-11-04 18:25:25 +00:00
Jelmer Vernooij
a3090f0cc8 Move testsmbc.c to examples
(This used to be commit fdd70614d2dc29f6a676c30e254a0bf024687fb4)
2002-11-04 17:11:18 +00:00
Jelmer Vernooij
0bd559ad1d testsmbc should only be in examples
(This used to be commit 7aad086c9a20c4c700dfce3f81d89ab982702198)
2002-11-04 17:10:08 +00:00
Jelmer Vernooij
61c600725d Move encryption algorithm explanation to dev-doc
(This used to be commit ea026d74c1d8696e45c6bddc5b1b0029e7e41507)
2002-11-04 16:23:00 +00:00
Jelmer Vernooij
e7c2603609 Move explanation of encryption algorithm to dev-doc
(This used to be commit b279cc065385d45b8a16e220fb13b278d5921b1f)
2002-11-04 16:20:15 +00:00
Jelmer Vernooij
4484769473 remove 'sam backend'
(This used to be commit 373f8bcd29fec254a563161d9d0897ad810ef682)
2002-11-04 15:58:03 +00:00
Jelmer Vernooij
f9d0e90fa4 Add @BUILD_POPT@ to smbclient
(This used to be commit 24dd3886e8783b09094c3b32b4184055cd06e8c2)
2002-11-04 15:43:21 +00:00
Jelmer Vernooij
d4a93bd8f0 Don't pass any booleans to pdb_set_* functions
(This used to be commit 91f9c9e1d8b490eb384198ff012f65e22f834c39)
2002-11-04 15:04:26 +00:00
Jelmer Vernooij
0a0cee218a Don't pass true to pdb_set_* functions
(This used to be commit e803bfde3d0b199155a87975e8af65f13babe692)
2002-11-04 15:03:58 +00:00
Jelmer Vernooij
5883bc73c1 Handle -p correctly
(This used to be commit b69d5fffd97890f80df6675fb71bc230aacc8234)
2002-11-04 14:50:08 +00:00
Jelmer Vernooij
366da1ee37 Adapt to metze's PDB_SET patch
(This used to be commit 33c7a296b3bdfab276ed91ea77077eedbeed3757)
2002-11-04 14:36:34 +00:00
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
Simo Sorce
d12baf7bf7 port sec_desc headers reordering from HEAD.
Thanks to Andrew Brtlet for the diff :-)
(This used to be commit cf67981e73cf52803eae589a6b86e1274bf72d2c)
2002-11-02 12:53:13 +00:00
Andrew Bartlett
b3b24fb690 Merge of my 'ldap trust ids' patch from HEAD.
This hopefully provides a peformance boost by not hitting getpwnam() for every
entry in an enumeration, instead reteriving entries directly (if available).

idra has reviewed this patch.

Andrew Bartlett
(This used to be commit 8abe71c4d7a796001c5765f4dd88c2e6f5637802)
2002-11-02 12:13:44 +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
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