1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-18 06:04:06 +03:00

642 Commits

Author SHA1 Message Date
Gerald Carter
0899eed4ab enable enumeration of domain local groups using LDAP (and in a native mode domain)
(This used to be commit ff4b2411d146b72f5f578b2e78701f125fec8f08)
2002-11-15 17:57:21 +00:00
Gerald Carter
74cdd691a9 enable enumeration of domain local groups using LDAP (and in a native mode domain)
(This used to be commit 3ac98b59632fd771b8819f88a479ef4c0daade68)
2002-11-15 17:56:21 +00:00
Jeremy Allison
2f194322d4 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
2002-11-12 23:20:50 +00:00
Jeremy Allison
250c980119 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit 82b8f749a36b42e22186297482aad2abb04fab8a)
2002-11-12 23:15:52 +00:00
Jelmer Vernooij
f09109c7bc Last sync with HEAD
(This used to be commit 1175b62337f5c29954cd5e8dfdc2327c9c80748c)
2002-11-09 17:08:58 +00:00
Gerald Carter
5d81628512 remove accidental debug code..
(This used to be commit d422a51b3a076b6398f7b755d16319d9e7c48c75)
2002-11-09 04:37:07 +00:00
Gerald Carter
d7fd0d9409 remove accidental debug code.
(This used to be commit 9bba2199e3127c8a7bcb3143d962a6660c125d88)
2002-11-09 04:36:43 +00:00
Gerald Carter
3474ec6d51 fix for defunct winbindd from APP_HEAD
(This used to be commit 856678d69fac9849c689c485fc727fca300eb152)
2002-11-08 23:47:51 +00:00
Gerald Carter
cc9b6ef9ca defunct winbindd fix from APP_HEAD
(This used to be commit 488e985caa0b0e3e2a6665eb2515a2c99745d861)
2002-11-08 23:46:45 +00:00
Andrew Bartlett
c501ac2bfa Compleatly remove support for logfile truncation. All logs are opened for
append writes.

(blessed by jra)

Andrew Bartlett
(This used to be commit 81633064dd196c40541ecece8def51745f514646)
2002-11-08 23:05:34 +00:00
Tim Potter
8cdbdb170b Perform my janitorial duties.
(This used to be commit 3810f13682617d043d3cffaafe8a7cb7125c4ecd)
2002-11-07 07:24:10 +00:00
Tim Potter
fdfed5abe8 Remove lp_security() checks for winbindd as this is how we act as a PDC.
Keep the rest of the cleanups though.
(This used to be commit f0a1177acf82fceb174df1852d87a6e16d63fd63)
2002-11-07 07:23:37 +00:00
Jeremy Allison
f3fe0aa48c Keep branches in sync.....
Jeremy.
(This used to be commit faf92207e71980aaaad8b5487f5c2d6a60f7ddd1)
2002-11-07 07:17:09 +00:00
Tim Potter
bcf0c11e3d Call winbindd_param_init() earlier on in the piece so we don't get stuck in
the holding pattern when started up when security = user or security = ads.

Clean up return value of winbindd_common_init() - what a mess!
(This used to be commit 8a6d37752182e0de7fd04b2c31f90e145dde783b)
2002-11-07 01:06:38 +00:00
Tim Potter
ab1cf8d1cf Merge of get_dc_list() api change from HEAD.
(This used to be commit 6ba7847ce2756fde94e530fd0bf2a055f3e27373)
2002-11-06 05:14:15 +00:00
Tim Potter
ea24bb2da8 Merge of get_dc_list() api change. This was slightly more intrusive
than the version in APPLIANCE so watch out for boogs.
(This used to be commit 1e054e3db654801fbb5580211529cdfdea9ed686)
2002-11-06 01:29:07 +00:00
Jeremy Allison
d21a06bbb4 Merge things that bloody tpot should be doing :-).
Jeremy.
(This used to be commit 77d534f7fd9ad74ca6d5e74860b29bb8ad54268f)
2002-11-06 00:10:04 +00:00
Tim Potter
f57d02eed3 Merge of lp_talloc_free() call in init_domain_list() from APPLIANCE.
(This used to be commit 48ed9dce0dab53066d3304baa0f24639a1f1755b)
2002-11-05 23:19:38 +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
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
Jelmer Vernooij
11817b0780 Sync with HEAD
(This used to be commit 658f3e92dd4b291b40ead3ef59eb19daf7f49076)
2002-10-29 17:36:50 +00:00
Andrew Bartlett
35ac9d287f Try to catch up on the code I've put into HEAD that should be in 3.0:
- vorlan's hosts allow with DNS names patch
 - use x_fileno() in debug.c, not the struct directly.
 - check for server timeout on password change (was reporting success)
 - better error/status loggin in both the pam_winbind client and winbindd_pam
server code.
 - (pdb_ldap) don't set the ldap version twice - we do it on every bind anyway.
(This used to be commit 9fa1863d8e7788eda83911ca2610754486b33069)
2002-10-26 02:20:59 +00:00
Andrew Bartlett
185a232ae0 Updates to winbind's PAM client and server - make the debug logs
work a bit better for password changing.

Andrew Bartlett
(This used to be commit 425782ba32554b90d592493a1928a926e492bb2a)
2002-10-26 00:55:14 +00:00
Andrew Tridgell
e53b7d6496 much simpler code to choose a DC to contact in winbindd. We now always
choose the server that has the most bits in common in its IP with one
of our interfaces.
(This used to be commit 31774dce67844b67cb405e65f307a20354f2cedb)
2002-10-23 03:37:51 +00:00
Andrew Tridgell
ef372e36f0 if trusted domains are disabled then we should not try to connect to
them in winbindd
(This used to be commit 6c7748b001836e4aa3e23dedfe28db3c8acc197a)
2002-10-23 00:23:30 +00:00
Herb Lewis
955003ebce must add one to the extra_data size to transfer the 0 string terminator.
This was causing "wbinfo --sequence" to access past the end of malloced
memory.
(This used to be commit 4125c582aaf86ee5d92b0c800266543a390aefce)
2002-10-18 23:52:05 +00:00
Gerald Carter
67b3799bf4 NULL enum_local_groups for ads winbindd (temporary workaround).
(This used to be commit 5a2f1edb5848dc054cfaa71b0fb3b473ad930b7d)
2002-10-18 17:44:53 +00:00
Gerald Carter
e1096e6936 NULL enum_local_groups for ads winbindd (temporary workaround).
(This used to be commit 06eea39abdb49d9d547707dcb170c988d7276c1d)
2002-10-18 17:42:41 +00:00
Jeremy Allison
389a16d9d5 Added new error codes. Fix up connection code to retry in the same way
that app-head does.
Jeremy.
(This used to be commit b521abd86b10573ca8f9116907c81e6deb55f049)
2002-10-17 17:10:29 +00:00
Jeremy Allison
c53eb2ed54 Added new error codes. Fix up connection code to retry in the same way
that app-head does.
Jeremy.
(This used to be commit ec7953f20145799f6286a295472df4826bfdfb8f)
2002-10-17 17:10:24 +00:00
Andrew Tridgell
d0c11644dc - we need to rescan the trusted domain list regularly to cope with
transitive trusts, and trusts that are added while winbindd is running

- removed an unnecessary call to time()
(This used to be commit 14489ff30bb9eca2c55d36a69c0b45a2db339061)
2002-10-15 23:44:15 +00:00
Jeremy Allison
e3522b2123 Fix spelling of background_process.
Jeremy.
(This used to be commit 2006e36c18bb2d5e44179829c66934efad38b0c7)
2002-10-15 21:34:42 +00:00
Jeremy Allison
04b02e86ac Fix spelling of background_process.
Jeremy.
(This used to be commit 94fc0ea9f99bc73486ef374a84d2c20ce895ee14)
2002-10-15 21:34:40 +00:00
Jeremy Allison
2e86b6bcc8 Change to use sys_read/sys_write.
Jeremy.
(This used to be commit 042890056d5d4128eaaca346e7898ccda860dbe2)
2002-10-15 21:33:20 +00:00
Jeremy Allison
400864a7b3 Change to use sys_read/sys_write.
Jeremy.
(This used to be commit 7d0dc36df0e3ca451c1ab660aa08e0d021ca89f0)
2002-10-15 21:33:16 +00:00
Gerald Carter
bfa93735ab merge from APP_HEAD of winbindd's domain local group fix
(This used to be commit 09c6f6329d6ae9327b7ef06de0ea78d24d805456)
2002-10-08 18:32:42 +00:00
Gerald Carter
876afb5d0f merge from APP_HEAD
* s/driverlocation/comment
* detect native mode domain and enumerate local groups

Also

* Added sendfile stats from SAMBA_2_2
(This used to be commit 764b58e2c0b3179cffe157c0ab58761b156b8423)
2002-10-08 18:29:57 +00:00
Jelmer Vernooij
222075ee27 Don't use usage function, but use popt for usage and help info
(This used to be commit a0e0f3b293a71ee6a7bb0edb626c5e16cb803830)
2002-10-05 16:10:36 +00:00
Gerald Carter
fac6a13fd3 fix typo
(This used to be commit 38a956c79bbdb5e1eedfcb1cf3ad4f7c906d0cf7)
2002-10-04 21:46:27 +00:00
Gerald Carter
cc169cc668 fix typo
(This used to be commit 324da9fdb93cdc5ed240a3291020858765e70acc)
2002-10-04 21:46:11 +00:00
Gerald Carter
055e6d1491 * merge native_mode flag in winbindd_domain struct from app-head
* add some files missing from a previous commit
(This used to be commit 29159c97371c75327e377f9d13406dad46095568)
2002-10-04 21:42:04 +00:00
Gerald Carter
d2eae2a299 merge native_mode flag in winbindd_domain struct from app-head
(This used to be commit dd948a302ad6bd4307ecdfb10510e12185150eae)
2002-10-04 21:39:09 +00:00
Gerald Carter
36ef82a529 merge of new client side support the Win2k LSARPC UUID in rpcbind
from APP_HEAD
(This used to be commit 1cfd2ee433305e91e87804dd55d10e025d30a69e)
2002-10-04 04:10:23 +00:00
Gerald Carter
83e58265b5 merge of new client side support the Win2k LSARPC UUID in rpcbind
from APP_HEAD
(This used to be commit 38c9e4299845fd77cc8629945ce2d259489f7437)
2002-10-04 03:51:43 +00:00
Jeremy Allison
b5cb54d5b1 Doh ! Lookup name before checking negative cache (the way Tim originally
had it...).
Jeremy.
(This used to be commit 151f0c1c526a04ea14ae054e977c76c8617bb113)
2002-10-01 23:07:12 +00:00
Jeremy Allison
919a78f005 Doh ! Lookup name before checking negative cache (the way Tim originally
had it...).
Jeremy.
(This used to be commit 6929b65954ff5b94d11db79c8fc6a295311c238f)
2002-10-01 23:07:00 +00:00