1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

2825 Commits

Author SHA1 Message Date
Kai Blin
88af0ec6e4 s3 net: i18n support for net rpc audit 2009-08-07 09:54:52 +02:00
Kai Blin
8dcf3b7062 s3 net: i18n support for net rpc 2009-08-07 09:54:52 +02:00
Kai Blin
7ced58b932 s3 net: i18n support for net registry 2009-08-07 09:54:51 +02:00
Kai Blin
9be14ed78d s3 net: i18n support for net rap 2009-08-07 09:54:51 +02:00
Kai Blin
2f7108bcae s3 net: i18n support for net lua 2009-07-30 12:17:46 +02:00
Kai Blin
a9a52f3b62 s3 net: i18n support for net lookup 2009-07-30 12:10:56 +02:00
Kai Blin
3af57c66b3 s3 net: i18n for net join 2009-07-30 12:07:31 +02:00
Kai Blin
346c5cca44 s3 net: i18n support for net idmap 2009-07-30 12:04:53 +02:00
Kai Blin
a7f6c839ba s3 net: i18n support for net help 2009-07-30 11:32:08 +02:00
Kai Blin
cb55ec6dcb s3 net: Remove uid==0 check from net groupmap 2009-07-30 11:25:37 +02:00
Kai Blin
8e43ea647b s3 net: i18n support for net group and net groupmap 2009-07-30 11:16:32 +02:00
Kai Blin
137a4015f0 s3 net: i18n support for net file 2009-07-30 09:35:42 +02:00
Kai Blin
3a7b04361e s3 net: i18n for net eventlog 2009-07-30 09:14:45 +02:00
Kai Blin
bdb23c73d9 s3 net: i18n support for net dom 2009-07-30 09:10:03 +02:00
Kai Blin
51f9d1ecd5 s3 net: i18n support for net conf 2009-07-30 09:00:31 +02:00
Kai Blin
358a55e50d s3 net: i18n support for net cache 2009-07-29 23:59:39 +02:00
Kai Blin
320a9aff70 s3 net: i18n for net ads gpo 2009-07-29 23:46:09 +02:00
Kai Blin
ceab454bcf s3 net: i18n support for net ads 2009-07-29 23:46:09 +02:00
Kai Blin
d2eb7f8853 s3 net: Initial top level support. 2009-07-29 23:46:09 +02:00
Volker Lendecke
d8543da9da Fix unqualified "net join"
Kai, please check!

Thanks,

Volker
2009-07-29 04:32:21 -04:00
Jeremy Allison
5d05d22999 Added prefer_ipv4 bool parameter to resolve_name().
W2K3 DC's can have IPv6 addresses but won't serve
krb5/ldap or cldap on those addresses. Make sure when
we're asking for DC's we prefer IPv4.
If you have an IPv6-only network this prioritizing code
will be a no-op. And if you have a mixed network then you
need to prioritize IPv4 due to W2K3 DC's.
Jeremy.
2009-07-28 11:51:58 -07:00
Kai Blin
67d9130c13 s3: net ads user info should print primary group as well (bug #2658)
Thanks to Pavel V. Rochnyack <rpv@muma.tusur.ru> for reporting this and
offering an initial patch.
2009-07-27 20:03:46 +02:00
Volker Lendecke
9ca44867b0 Remove a pointless static fstring 2009-07-25 12:59:21 -04:00
Volker Lendecke
033185e2a1 Make the smbd VFS typesafe 2009-07-24 11:42:05 -04:00
Kai Blin
8f5ef10633 Revert "net: Use samba default command line arguments."
This reverts commit fb262f79fab00374023e59476e8d05a1015a7041
and related commits c36031778e1983ddb11d3e1fcab35e738dbf94bc
72fd5fa6bb78a054fad5e5ebe19a0c0387a7d45b and
38cd0e086f50ce54d88a19aa5a6803469af90489

This change caused more trouble than it solved. We need to do this differently.
Reverting so we don't accidently release this.
2009-07-22 13:39:34 +02:00
Bo Yang
20f40d1c50 s3: Fix crsh in net usershare list
Signed-off-by: Bo Yang <boyang@samba.org>
2009-07-18 08:18:29 +08:00
Volker Lendecke
8a17cd810f Make gencache more stable
This provides a compromise between stability and performance: gencache is a
persistent database these days that for performance reasons can not use tdb
transactions for all writes. This patch splits up gencache into gencache.tdb
and gencache_notrans.tdb. gencache_notrans is used with CLEAR_IF_FIRST, writes
to it don't use transactions. By default every 5 minutes and when a program
exits, all entries from _notrans.tdb are transferred to gencache.tdb in one
transaction.
2009-07-15 10:55:20 +02:00
Volker Lendecke
3edcd55bf1 Remove gencache_init/shutdown
gencache_get/set/del/iterate call gencache_init() internally anyway. And we've
been very lazy calling gencache_shutdown, so this seems not really required.
2009-07-15 10:55:20 +02:00
Bo Yang
73e96935c3 s3: fix build of pdbedit and net_sam. Guenther, please check. Signed-off-by: Bo Yang <boyang@samba.org> 2009-07-15 17:05:46 +08:00
Bo Yang
2821f5abf5 s3: Fix double free in net usershare.
Signed-off-by: Bo Yang <boyang@samba.org>
2009-07-15 17:05:46 +08:00
Stefan Metzmacher
8646b9521d s3:net: Fix Bug #6222. Default to DRSUAPI replication for net rpc vampire keytab
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2009-07-13 16:52:12 +02:00
Volker Lendecke
c624a704be Make escape_ldap_string take a talloc context 2009-07-09 22:25:29 +02:00
Tim Prouty
3a7d372e2e s3: Change the share_mode_lock struct to store a base_name and stream_name 2009-07-08 21:36:04 -07:00
Volker Lendecke
711544d494 Turn the pdb_rid_algorithm into a capabilities call that returns flags 2009-06-28 22:13:50 +02:00
Jeremy Allison
d9eb1d9764 Fix coverity #900. Resource leak.
Jeremy.
2009-06-19 16:44:15 -07:00
Jeremy Allison
f262f80a1c Fix coverity #920. Possible NULL deref.
Jeremy.
2009-06-19 15:29:35 -07:00
Jim McDonough
7930f15f5d Don't require "Modify property" perms to unjoin bug #6481)
"net ads leave" stopped working when "modify properties"
permissions were not granted (meaning you had to be allowed
to disable the account that you were about to delete).

Libnetapi should not delete machine accounts, as this does not
happen on win32.  The WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE flag
really means "disable" (both in practice and docs).

However, to keep the functionality in "net ads leave", we
will still try to do the delete.  If this fails, we try
to do the disable.

Additionally, it is possible in windows to not disable or
delete the account, but just tell the local machine that it
is no longer in the account.  libnet can now do this as well.
2009-06-19 13:46:07 -04:00
David Markey
86450bd59c s3-net: Fix Bug #6328: support "net sam rights grant/revoke" with multiple rights.
David

Signed-off-by: Günther Deschner <gd@samba.org>
2009-06-17 18:42:34 +02:00
Günther Deschner
5a8483ea74 s3-net: Fix Bug #6328: allow multiple rights in "net sam rights grant".
Guenther
2009-06-17 12:40:28 +02:00
Kai Blin
38cd0e086f net: Only use the in memory ccache when not already using a kerberos ticket in net ads 2009-06-09 18:09:18 +02:00
Günther Deschner
72fd5fa6bb s3-net: fix "net ads testjoin".
This always needs to use machine account credentials.

Kai, please check.

Guenther
2009-06-09 15:41:44 +02:00
Volker Lendecke
6545e9e2ac Make "net sam [add|del]mem" work for domain groups 2009-06-09 15:25:15 +02:00
Volker Lendecke
7e14700016 Implement "net sam deletedomaingroup" 2009-06-09 14:49:33 +02:00
Volker Lendecke
890fbf2e30 Make "net ads listmem" also work for domain groups 2009-06-08 23:59:12 +02:00
Volker Lendecke
a51e6ce43c Pass a talloc_ctx to pdb_enum_aliasmem 2009-06-08 21:14:10 +02:00
Volker Lendecke
b5ac1068d1 Further fix for 6449
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
2009-06-08 10:08:33 +02:00
Volker Lendecke
054ef88b03 Fix a valgrind error in "net rap user add" 2009-06-08 09:53:20 +02:00
Volker Lendecke
bb4cffbd97 Fix bug 6449
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
2009-06-08 09:53:20 +02:00
Volker Lendecke
4de4c0318d Add "net sam createdomaingroup" 2009-06-07 23:14:40 +02:00
Volker Lendecke
53f007193f Fix a couple of warnings in log2pcaphex.c 2009-06-05 10:12:11 +02:00