1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

31023 Commits

Author SHA1 Message Date
Volker Lendecke
dbf9017a80 s3: Remove string_sid_talloc
All but one call were pointless, so I think this API should go
2010-01-23 14:35:37 +01:00
Volker Lendecke
2002b4e4c2 s3: Remove a call to string_sid_talloc 2010-01-23 14:35:37 +01:00
Volker Lendecke
c2c71b8e05 s3: Fix sending NULL sids to lookupsids3 2010-01-23 14:35:37 +01:00
Volker Lendecke
9fcbe3a65c s3: Remove some pointless uses of string_sid_talloc 2010-01-23 14:35:37 +01:00
Volker Lendecke
3e1a1616ec s3: Use global_sid_Builtin in net_groupmap_memberships 2010-01-23 14:35:37 +01:00
Volker Lendecke
8905b599b4 s3: Fix some nonempty blank lines 2010-01-23 14:35:37 +01:00
Volker Lendecke
9acbed13e8 s3: Fix some nonempty blank lines 2010-01-22 13:34:25 +01:00
Volker Lendecke
ee4a3606e6 s3: Fix a typo in a comment 2010-01-22 13:34:25 +01:00
Volker Lendecke
253465456a s3:pdb_ldap: Fix large paged search.
Fix bug #6981 (Paged Search with DirX LDAP server broken).
(cherry picked from commit 0a3b576c0a4298cbe600ad8943e401e3a0639359)
2010-01-21 15:33:42 +01:00
Volker Lendecke
9b4b9d26f1 s3: Initialize the seqnum in "init_smb_request"
This makes it a bit more obvious for me that the signing sequence number is
tied to the SMB request.
2010-01-21 14:08:27 +01:00
Volker Lendecke
33e397f9fd s3: Make "init_smb_request" static to process.c 2010-01-21 14:08:27 +01:00
Volker Lendecke
24d4433bd7 s3: Move "yesno" to the only place where it is used: client.c 2010-01-21 12:58:11 +01:00
Ed Plese
a5ca70a867 Add localtime parameter to shadow_copy2. 2010-01-21 08:32:02 +01:00
Ed Plese
05cd30ba42 Add format parameter to shadow_copy2. 2010-01-21 08:30:01 +01:00
Ed Plese
bb6a917ece Add sort parameter to shadow_copy2. 2010-01-21 07:39:17 +01:00
Björn Jacke
e8a99ac980 s3: fix dnsupdate configure check 2010-01-21 01:09:01 +01:00
Lars Müller
30ea9932f5 Add cross option to samba_cv_linux_getgrouplist_ok
"cross" as an option got removed accidentl with commit e5a95132 while
moving in direction of 3.2.

Patch proposed by Richard Sharpe <realrichardsharpe@gmail.com>.
2010-01-20 12:41:43 +01:00
Björn Jacke
3bf9bbb275 s3: build with dnsupdate support when possible 2010-01-20 00:09:38 +01:00
Volker Lendecke
41a350f17e s3: Fix a typo 2010-01-19 16:53:11 +01:00
Kai Blin
add4edcd06 s3 net/i18n: Update .po files 2010-01-19 14:48:34 +01:00
Kai Blin
66de52c4f4 s3 net: Fix compile warnings 2010-01-19 14:48:34 +01:00
Volker Lendecke
7d04c0fcfd s3: Remove a comment from ancient times that no longer applies 2010-01-19 14:20:07 +01:00
Günther Deschner
b5186b3e23 s3-selftest: finally enable RPC-SPOOLSS-NOTIFY against s3.
Guenther
2010-01-19 14:14:30 +01:00
Günther Deschner
f720f7512e s3-spoolss: stricter name checks when opening back-channel notify connection.
Make sure to always check if the name the client passed in
spoolss_RemoteFindFirstPrinterChangeNotifyEx is not one of our names.

Guenther
2010-01-19 14:14:30 +01:00
Günther Deschner
c971c10a63 s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR.
Guenther
2010-01-19 14:14:30 +01:00
Kai Blin
6d33bb25e1 s3 net/i18n: update .po files 2010-01-19 10:08:07 +01:00
Kai Blin
09bc13728f s3 net/i18n: Use only one spelling for "Usage:" 2010-01-19 10:07:36 +01:00
Kai Blin
28b512f904 s3 net: Fix compile error with WITH_DNS_UPDATES
bd3c922e2bc1a163efc1d8c9cb59578bebb79616 introduced a compile-time error
when building with WITH_DNS_UPDATES.
2010-01-19 10:07:35 +01:00
Björn Jacke
bd3c922e2b s3/net: split up some printable stings to ease i18n
If we put strings like "Usage:" into separate _() macros and not the whole
"Usage:..." string we can cover much more messages by only one single
translation. The drawback is that the message in the sources looks less pretty.
2010-01-18 23:45:05 +01:00
Björn Jacke
c3ef7a3d96 s3/i18n/de: improve some German translations 2010-01-18 23:45:01 +01:00
Björn Jacke
fb7a462113 ѕ3/i18n/de: fix typo 2010-01-18 23:44:57 +01:00
André Hentschel
46842a6861 net: Add German translation, specially for the command listing
Signed-off-by: Kai Blin <kai@samba.org>
2010-01-18 11:49:01 +01:00
Günther Deschner
661dada503 s3-selftest: use testenv dc so that smbtorture4 actually uses the client configuration.
Found while trying to get RPC-SPOOLSS-NOTIFY working against s3.

Guenther
2010-01-18 11:04:08 +01:00
Marcin Gryszkalis
7d5adf8dec s3: Show share path in swat statuspage 2010-01-18 10:17:05 +01:00
Volker Lendecke
971f6a4a5b s3: Fix the format string for smbcontrol pool-usage
With the dot I have seen printf to not print anything
2010-01-17 23:10:37 +01:00
Andrew Tridgell
f461a72ec3 idl: switched to using the WSPP names for the 'neighbour' DRS options
The documentation shows that all these functions in fact use the same
flags variable type. To be consistent between functions, and to allow
easy reference to the WSPP docs, it is better for us to also use this
generic DrsOptions bitfield rather than one per operations.
2010-01-18 07:25:18 +11:00
Volker Lendecke
aa362e8e68 s3: Protect against an invalid bcc in SMBsendtxt 2010-01-17 17:26:39 +01:00
Volker Lendecke
f7adf534fd s3: For "smbcontrol <pid> pool-usage", print the first 50 bytes of a string 2010-01-17 15:04:25 +01:00
Volker Lendecke
a1015051c0 s3: Fix some nonempty blank lines 2010-01-17 15:03:15 +01:00
Jeremy Allison
98a495f1e6 Modification of fix for bug 6876 - Delete of an object whose parent folder does not have delete rights fails even if the delete right is set on the object
Suggested by Volker. Reduce the surface area of the
become_root() unbecome_root() code to reduce the chance
of errors.

Jeremy.
2010-01-16 17:03:06 -08:00
Volker Lendecke
4dd0c5516a s3: Fix a crash in libsmbclient used against the OpenSolaris CIFS server
A user has sent me a sniff where the OpenSolaris CIFS server returns "32" in
totalentries, but the array in ctr only contains 15 entries. Look at the right
delimiter for walking the array.
2010-01-16 13:53:26 +01:00
Jeremy Allison
f85b6ee90b Second part of bug 7045 - Bad (non memory copying) interfaces in smbc_setXXXX calls.
Protect against SMB_STRDUP of null...

Jeremy.
2010-01-15 17:33:24 -08:00
Jeremy Allison
2d41b1ab78 Fix bug 7045 - Bad (non memory copying) interfaces in smbc_setXXXX calls.
In smbc_free_context libsmbclient just called free() on the string options
so it assumes the callers have malloced them before setting them via smbc_set
calls.

Change to corretly malloc/free string options to the library.

Jeremy
2010-01-15 17:22:35 -08:00
Jeremy Allison
6653cc4323 Fix bug #7036 - net rpc getsid fails in hardened windows environments.
Fix suggested by Dave.Daugherty@Centrify.com.
2010-01-14 15:39:30 -08:00
Olivier Sessink
3c42e11ff3 Part 4 of bug #7028 - include scannedonly VFS module
Fix some issues with handling names ending in '/'.
2010-01-14 12:13:14 -08:00
Günther Deschner
e635b0074c s3-libsmbclient: Fix crash bug in SMBC_parse_path().
Patch from Tim Waugh <twaugh@redhat.com>.
This resolves https://bugzilla.redhat.com/show_bug.cgi?id=552658

LIBSMBCLIENT-OPENDIR torture test checks this as well.

Guenther
2010-01-14 19:48:33 +01:00
Günther Deschner
d95ad11bc5 s4-smbtorture: add rather simple libsmbclient torture testsuite.
Guenther
2010-01-14 19:48:29 +01:00
Michael Adam
8573471154 s3:auth: fix account unlock regression introduced with fix for bug #4347
By an oversight, the patchset for #4347 made the unlocking of a locked
account after the lockout duration ineffective.
Thanks to Björn for finding this!

Michael
2010-01-14 15:48:09 +01:00
Kai Blin
743adfda91 s3 selftest: Enable the WINBIND-STRUCT tests 2010-01-14 15:18:35 +01:00
Kai Blin
cf38a1f850 s3 test: Fix WINBINDD-STRUCT tests
The struct-based tests are working in make selftest, make them work in plain
"make test" as well.
2010-01-14 15:18:35 +01:00