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

24552 Commits

Author SHA1 Message Date
Kai Blin
c19700fc07 net: Make "net ads gpo" use functable3
(This used to be commit 4418b4da61646172981fd54e4bfb6a038feb640b)
2008-06-10 09:47:21 +02:00
Kai Blin
54bc155736 net: Make "net ads" use functable3
(This used to be commit 64e3dc63966ecf216b354263e4bd5dfd1491abcc)
2008-06-10 09:47:15 +02:00
Kai Blin
67fee7a79a net: Make "net usershare" use functable3
(This used to be commit b45ada159e1eec757eaf5210517139aae4159119)
2008-06-10 09:47:03 +02:00
Kai Blin
7870908a0d net: Fix comment for net_time_zone()
(This used to be commit aea3466d12e31f8f506c21b856235e2e2aa40090)
2008-06-10 09:46:57 +02:00
Kai Blin
b1ef38de9f net: Make "net time" use functable3
(This used to be commit 28991ad74a387ebfe931860b380d25d5b0b67c7d)
2008-06-10 09:46:53 +02:00
Kai Blin
6468d36716 net: Make "net idmap" use functable3
(This used to be commit 9c88b16bebd0917a6a4e8d0e5fcc64c3581ceff5)
2008-06-10 09:46:46 +02:00
Kai Blin
f3d86100b8 net: Make "net groupmap" use functable3
(This used to be commit c328b3e30b17866f4a0fd344d01efca826215cbc)
2008-06-10 09:46:42 +02:00
Kai Blin
7ba0724f80 net: Make "net dom" use functable3
(This used to be commit 11d692de7330b0d6b995fae62746df2ef7830e38)
2008-06-10 09:46:37 +02:00
Kai Blin
6b9c815bcc net: Make "net cache" use functable3
(This used to be commit 60ac59fb8a391989f2c2e25b288674e6cc63ae60)
2008-06-10 09:46:26 +02:00
Kai Blin
2eaef96387 net: Make "net afs" use functable3
(This used to be commit aa60f3c0d59e2ebb870ae4e79c7c4c51c3e22d68)
2008-06-10 09:46:24 +02:00
Kai Blin
b0d8162525 net: Make "net status" use functable3
(This used to be commit e4b4fb4c39f251b0675b1c1dcec14f20135f876b)
2008-06-10 09:46:12 +02:00
Kai Blin
6e8d46d40d net: Don't try to look up a server if net time is called with a command.
(This used to be commit 37ef7c28163a5c538f325729855ec47ef6fac6bd)
2008-06-10 09:46:03 +02:00
Kai Blin
8efc535a4a net: Add net_display_usage_from_functable()
(This used to be commit de0e15b35ea46cfcdd82f45eb3329c44d7aacb90)
2008-06-10 09:45:55 +02:00
Kai Blin
0f1b3ed5c0 net: Autogenerate "net help" output from net's functable.
(This used to be commit 0feb40bc8408412336c667df4f8bf57c77446ca7)
2008-06-10 09:45:36 +02:00
Kai Blin
2ca10c462d net: Use functable3
(This used to be commit 122dfe876d954ee3b3796951df16e1be9e9b0eb8)
2008-06-10 09:45:34 +02:00
Kai Blin
223d1bce77 net: Use functable2 to give a short help text for top-level functions.
(This used to be commit e9be24a2cbbd9bc7075c0fe75d44d51184f84dba)
2008-06-10 09:45:28 +02:00
Kai Blin
44c260743c net: Add net_run_function3
(This used to be commit ba1108f06ae5860c8f418dc383b027068780abf9)
2008-06-10 09:45:19 +02:00
Kai Blin
6fd35d25bf net: Move net_run_function/net_run_function2 to net_util.c
(This used to be commit 73fb5f392dbc1966ec34217e39d565200e071aaf)
2008-06-10 09:45:14 +02:00
Kai Blin
4d9748e44d net: Move includes to net.h
(This used to be commit 1943e2752d4dcb5bbbd4e40cf854efba4aed8f45)
2008-06-10 09:45:09 +02:00
Jim McDonough
13b2f59383 Don't reset password last set time just because the expired flag
is set to 0.  If the account wasn't expired but autolocked,
using "net user /dom <username> /active:y" would clear this,
incorrectly setting the current time as the new "password last set"
time.
(This used to be commit 0f292d70f698b8ae885005b5704a96476e876571)
2008-06-09 11:49:29 -04:00
Volker Lendecke
b76f967300 shrink ldbtools
Thanks to Björn Jacke for noticing :-)
(cherry picked from commit 8faee1cee829d749835a66d219170ccfd85151d0)
(This used to be commit 49f99fcf12523c4a8ef450b66eeb677dc0036939)
2008-06-09 16:31:42 +02:00
Volker Lendecke
7910caec2b Fix the compile on NetBSD -- missing prototypes
(cherry picked from commit 11236d266e3703eb3aca4b96e2ed9da76614ec12)
(This used to be commit d25408f83d03fae9d6b589b005db9a3af823e652)
2008-06-09 15:01:50 +02:00
Volker Lendecke
aeb9eb85eb Fix the compile on NetBSD -- readlink and read are macros there
(cherry picked from commit 435b80a9a2e9324cc20594d922b3d8d6418c27af)
(This used to be commit 055bb54fa646f6de7d7b748deaebd69ddeff33d1)
2008-06-09 15:01:42 +02:00
Stefan Metzmacher
7932e475a5 libreplace: only include AC_USE_SYSTEM_EXTENSIONS fallback if required
This fixes ./autogen.sh with autoconf-2.62

metze
(cherry picked from commit 72bb01dda4d425528e28cd96e249595dc6c1952f)
(This used to be commit 85111dc2b60ca38027adf129a074641c752cb104)
2008-06-09 11:06:17 +02:00
Stefan Metzmacher
e2a393701c libreplace: fix warnings with autoconf-2.62 rename ac_ => libreplace_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(cherry picked from commit 67e43860b4973a458676b36785570bb4a66e046a)
(This used to be commit d786bfc48e20ed7e695a988da6ed56a573afdadc)
2008-06-09 11:06:08 +02:00
Stefan Metzmacher
b19587b464 configure: we require autoconf 2.54
I've tested with autoconf from 2.53 to 2.62.

metze
(This used to be commit a268a6d251e58c27262e11fcd85b8281dfaddd8b)
2008-06-09 11:05:06 +02:00
Stefan Metzmacher
4461f0a6ee configure: fix warnings with autoconf-2.62 rename SMB_BUILD_ => samba_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(This used to be commit 89663ab4d10586b96807c56de53fd60d2488093c)
2008-06-09 11:04:56 +02:00
Stefan Metzmacher
7f70c126b2 configure: fix warnings with autoconf-2.62 rename samba_stat_hires => samba_cv_stat_hires
AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(This used to be commit 426b1e36e262ae47ea62e36e1df8a76c930394bc)
2008-06-09 11:04:50 +02:00
Stefan Metzmacher
2c0360fe26 configure: fix warnings with autoconf-2.62 rename smb_krb5_ => smb_krb5_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(This used to be commit 38a03d61ecd35a70905b895b839a994e974cbaf1)
2008-06-09 11:04:45 +02:00
Jeremy Allison
1db2dc1931 Bugfix noticed by Herb. On using the again: tag as a
goto target we were not reinitializing the array counts.

From Herb:

This is in the file nsswitch/winbindd_cm.c (samba-3.0.30) line 1236

We have a label again: where we keep trying to find the name of the DC
from the list of IPs returned by get_dcs. If we fail to figure out the
name we do a goto again at the end of the function. The problem is we
don't reset the num_dcs, num_addrs, etc and free the memory in the
various arrays. This seems wrong to me. I have a winbindd core where
I have 9 IPs returned for the DCs but at the time of the crash num_dcs
is 87 and if I look through the array dcs it keeps repeating entries
from the same group of 9

Jerry, Volker and Guenther please check.

Jeremy.
(This used to be commit 15f464321a7c71a86b747918343746050d286655)
2008-06-08 14:19:44 -07:00
Volker Lendecke
d1e0c7f0c1 Add STREAMINFO op to vfs_full_audit
Fix Coverity ID 552 and 553
(This used to be commit c46e10d2605b22d31675976e62e5ae61d73c8a0a)
2008-06-07 09:04:03 +02:00
Volker Lendecke
0e7d1aae2f Fix a memleak in secrets_fetch_afs_key
Coverity ID 570
(This used to be commit 0f52dc3f7eae7e87b8a71bd099b99b0b3e76a387)
2008-06-07 08:51:35 +02:00
Volker Lendecke
8c98f5af6f Fix a memleak in secrets_fetch_trust_account_password_legacy
Coverity ID 571
(This used to be commit a551773e34af1c118f77784a285e1b885da8655d)
2008-06-07 08:50:02 +02:00
Volker Lendecke
32452565be Fix a memleak in fetch_ldap_pw
Fix Coverity ID 572, also fix the error check for secrets_fetch failing
(This used to be commit 2663c81a782fd4394a9feaaaa987c7f6d38ca5da)
2008-06-07 08:48:13 +02:00
Volker Lendecke
dd30dd2a14 Fix a crash in add_failed_connection_entry
(This used to be commit 2a689aa66af1de3d2e0d08b51e33e9a7015d6cb7)
2008-06-07 08:16:23 +02:00
Volker Lendecke
e252b0504a Add prototype for delete_negative_conn_cache
(This used to be commit 097446c3c82c42ca4a7909201119c0cf431321ba)
2008-06-07 08:16:23 +02:00
Volker Lendecke
a191f3d2fe Make the gencache based conncache use talloc_tos()
(This used to be commit f7f912a478af64b07beeb58673b605da0c46db94)
2008-06-07 08:16:23 +02:00
Marc VanHeyningen
d4cbc4408e Negative conn cache uses gencache
(This used to be commit 8765eb8ad7bb978d3bb9c9ff8e557791fdc43009)
2008-06-07 08:16:23 +02:00
Günther Deschner
f4e93883c9 pam_winbind: fix pam_sm_chauthtok for storing modified cached creds.
Thanks to Bo Yang for pointing this out.

Guenther
(This used to be commit 516a067016955938988ab37c777102a14b41e100)
2008-06-06 16:00:34 +02:00
Günther Deschner
a3353677d3 netapi: use NetGroupSetInfo() for "net rpc group rename".
Guenther
(This used to be commit 8a4577ebb00b0b190f6a9c708a1bc6e1bc8f9712)
2008-06-06 13:59:09 +02:00
Jeremy Allison
48a2a3780b More correct fix (hopefully :-) for any memory leaks.
Jerry promised to check :-). Vl also please review.
Jeremy.
(This used to be commit 8abc6e742147486a62b4a3f9845e34062845d8ea)
2008-06-05 14:27:26 -07:00
Günther Deschner
66a5cbaf8b netdomjoin-gui: enable NetGetJoinInformation() call after successfull joining.
Now that libnetjoin reloads configuration after joining, we can rely on the
NetGetJoinInformation() output and use it for displaying the new domain name and
type.

Guenther
(This used to be commit cc1b8de2632e87002cac86838f2a77ab9771ce2c)
2008-06-05 19:39:24 +02:00
Günther Deschner
de89de4b58 netdomjoin-gui: fix more gtk runtime warnings.
Guenther
(This used to be commit 521ea68719524eeef827875e018bb8cba2a92e87)
2008-06-05 19:39:17 +02:00
Günther Deschner
e3e1172979 libnetjoin: add libnet_join_rollback().
This is required now if the join verify failed and we already
modified the local configuration.

Guenther
(This used to be commit 2870fe50af5163e30330f5a3ef21d0b7eea85ee5)
2008-06-05 19:34:30 +02:00
Günther Deschner
387706a49d libnetjoin: First store configuration and then verify the join.
Jerry, this fixes the issues while joining with "config backend = registry".

Guenther
(This used to be commit b3d47f099286778252c6df6bf2c1fee0c4e26560)
2008-06-05 19:34:06 +02:00
Günther Deschner
21e759ef64 mailslot: always pull a command 25 type reply.
Guenther
(This used to be commit 1ce726b951621cb4b34069c31d1318fc04ad2389)
2008-06-05 19:09:30 +02:00
Günther Deschner
20ec11ac28 net: fix debuglevel handling.
Kai, that one actually needs to stay a global external variable in order to
support debuglevel definition only on the commandline for net.

Guenther
(This used to be commit f6ba7333ab31332198b59651b4252cb3f897b6aa)
2008-06-05 18:49:21 +02:00
Volker Lendecke
bde7cbf4a7 Fix a memleak caused by a crappy get_sorted_dc_list() API
(This used to be commit 2ea03a1e95a30e321e390bef9408a1215711de07)
2008-06-05 10:56:18 +02:00
Volker Lendecke
d261e16cfd Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails
This is really not a proper place to fix this, but as get_gc_list() and friends
are about to be replaced anyway, just work around the broken existing API
(This used to be commit df8d089bc63c2a52cbdf3504cded8df620a59902)
2008-06-05 10:56:18 +02:00
Günther Deschner
19e5ee0e09 netdomjoin-gui: disable annoying "reboot now" dialog.
Guenther
(This used to be commit 8f0c5f1bedaae7a86ca671cdb2ba798079ec1d84)
2008-06-05 01:11:23 +02:00