1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

17713 Commits

Author SHA1 Message Date
Gerald Carter
2c66a4098a r6490: BUG 1998: patch from Olaf Imig <Olaf.Imig@bifab.de>; fix byte ordering bug when storing 16-bit RAP print job ids 2007-10-10 10:56:42 -05:00
Volker Lendecke
5fa5454218 r6488: net rpc printer migrate should not try to set stuff that's not there. This
fixes two segfaults. Thanks to Karolin Segger <ks@sernet.de> to find the bug
and test the patch.

Volker
2007-10-10 10:56:42 -05:00
Steve French
66ec66ed1b r6482: Add support so umount.cifs can update mtab 2007-10-10 10:56:42 -05:00
Jeremy Allison
7c173dec2e r6473: Fix for bug #2644 - test for special files to be ignored was reversed.
Jeremy.
2007-10-10 10:56:41 -05:00
Gerald Carter
03ebf3ebfe r6450: * fix typo in htlm_auth help message
* add synonym for idmap_rid in better lining with
  other idmap backend names
* remove old debug messages when idmap {uid|gid} options
  are not defined
2007-10-10 10:56:41 -05:00
Steve French
ccbdffb94e r6447: Add missing error mapping for EMLINK to NT_STATUS_TOO_MANY_LINKS (we have it the other direction
in clierror already).  This fixes the return code when we try to hardlink from a client.
2007-10-10 10:56:41 -05:00
Volker Lendecke
61d40ac60d r6445: Make us survive the PARANOID_MALLOC_CHECKER. Should we enable that for
--enable-developer=yes?

Volker
2007-10-10 10:56:41 -05:00
Gerald Carter
0ac57ae942 r6421: use add machine script when creating a user (ACB_NORMAL)
who has a name ending in '$' (usrmgr.exe does this for
domain trusts (that's was jfm's original comment I think).

avoid an assert() call in libldap.
2007-10-10 10:56:41 -05:00
Jeremy Allison
a60fe9aba1 r6417: Strange old IRIX systems return -1 for telldir() when
end of directory reached. Don't check for that and bail
when reading directory entries as it's a valid value.
Excellent work from Cale Fairchild <cale@brocku.ca>
tracked this down.
Jeremy.
2007-10-10 10:56:41 -05:00
Tim Potter
b568e5188c r6412: Add fflush(stdout) after displaying username prompt in smbsh if
username not specified on command line.  Bugzilla 2611.
2007-10-10 10:56:40 -05:00
Tim Potter
6a50b304e7 r6411: Remove configure check for FTRUNCATE_NEEDS_ROOT as it's not actually
used anywhere in the code anymore.  Bugzilla 2625.
2007-10-10 10:56:40 -05:00
Tim Potter
5921fcadd5 r6408: Fix compile error lurking where PATH_MAX is not defined. Bugzilla #2560. 2007-10-10 10:56:40 -05:00
Tim Potter
3216125bed r6407: Fix for bugzilla 2623 and 2630: $< and $* are not valid in explicit
rules according to POSIX.
2007-10-10 10:56:40 -05:00
Volker Lendecke
fb561fe26c r6401: Fix a debug message 2007-10-10 10:56:40 -05:00
Deryck Hodge
b9b18a09ea r6395: Fix for Bug 2137, from Jay Fenlason <fenlason@redhat.com>
Encode quotes for display in HTML.

deryck
2007-10-10 10:56:40 -05:00
Derrell Lipman
615a62b21f r6392: - Fixes bug 2564: when smbc_opendir() was called with a file rather than
a directory, the errno returned could end up as ENOENT rather than ENOTDIR.

- Fixes some compiler warnings which showed up on IRIX, as reported by
  James Peach.
2007-10-10 10:56:40 -05:00
Gerald Carter
97c68ec1e8 r6388: BUG 2626: ensure that the calling_name is set to something after parsing smb.conf (if not set via -n) 2007-10-10 10:56:39 -05:00
Jeremy Allison
81f30bf598 r6385: Convert checking of egid and secondary egid list into
iterator functions so it can be used easily in a for loop.
Drops duplicated code from posix_acls.c
Jeremy.
2007-10-10 10:56:39 -05:00
Jeremy Allison
e594222d0b r6378: Other systems may not return 1 for checking WRITE permission.
Canaonicalise any +ve return to 1.
Jeremy.
2007-10-10 10:56:39 -05:00
Gerald Carter
4213739ca2 r6373: minor changes to solaris packaging readme to bring it up to date 2007-10-10 10:56:39 -05:00
Gerald Carter
f8fb342d43 r6372: removing outdated Mandrake packaging files and pointing at Mandriva cooker (after clearing with Buchan) 2007-10-10 10:56:39 -05:00
Volker Lendecke
a831e54738 r6367: Slim down pdb_interface.c a bit. next_entry and search_end are function
pointers now.

Yes, Jeremy, this is about re-inventing C++... :-)

Volker
2007-10-10 10:56:39 -05:00
Jeremy Allison
0c4058c073 r6365: Wow, how much worse does this get. From info provided by
Eric Stewart <eric@lib.usf.edu> I realised we weren't checking
against the current effective groupid (set by force group) as
well as the group list. Fix this.
Jeremy.
2007-10-10 10:56:38 -05:00
Gerald Carter
70178d5d27 r6358: merging SMB_ASSERT() changes from the release branch 2007-10-10 10:56:38 -05:00
Stefan Metzmacher
6b84f30e3d r6354: merge from 4_0 rev 6353:
we need the english output from the svn commands

metze
2007-10-10 10:56:38 -05:00
Volker Lendecke
f0bb44ac58 r6351: This is quite a large and intrusive patch, but there are not many pieces that
can be taken out of it, so I decided to commit this in one lump. It changes
the passdb enumerating functions to use ldap paged results where possible. In
particular the samr calls querydispinfo, enumdomusers and friends have
undergone significant internal changes. I have tested this extensively with
rpcclient and a bit with usrmgr.exe. More tests and the merge to trunk will
follow later.

The code is based on a first implementation by Günther Deschner, but has
evolved quite a bit since then.

Volker
2007-10-10 10:56:38 -05:00
Steve French
c303022951 r6349: Update cifs umount utility 2007-10-10 10:56:38 -05:00
Jeremy Allison
644608ea7d r6348: Fix for bug #2605 reported by Daniel Patterson <Daniel_Patterson@national.com.au>.
Ensure smbclient doesn't perform commands if the "chdir" fails in a scripted set.
Jeremy.
2007-10-10 10:56:37 -05:00
Jeremy Allison
743174da86 r6346: Add a counter for the number of SMB operations per connection/file.
You will need to do a make clean after SVN updating this. Next will
come a smbcontrol message to dump this info. This should be interesting
to profile client activity.
Jeremy.
2007-10-10 10:56:37 -05:00
Jeremy Allison
77c0ade9fa r6344: Fix bug #2601 - it seems that DOS_OPEN_EXEC does mean readonly. Needed
for Win9x and OS/2 clients. More Samba4 tests against W2k3 will be needed
to confirm this but in the meantime get it up and running.
Jeremy.
2007-10-10 10:56:37 -05:00
Herb Lewis
b92e8b1c82 r6319: add prototype so -Wstrict-prototypes will not fail 2007-10-10 10:56:37 -05:00
Herb Lewis
ce38ead0fc r6318: don't include smbwrapper stuff unless asked for 2007-10-10 10:56:36 -05:00
Jeremy Allison
11c464268d r6316: Remove over-cautious asserts. Damn wish I'd made the release
with this....
Jeremy.
2007-10-10 10:56:36 -05:00
Gerald Carter
005427f73f r6311: setting version to 3.0.15pre2 2007-10-10 10:56:36 -05:00
Jeremy Allison
4db288e314 r6307: Ensure info requested bitmask is printed in log when querying security descriptors.
Jeremy.
2007-10-10 10:56:36 -05:00
Jeremy Allison
b2330c3888 r6302: OS/2 fix from Marcel Müller <mueller@maazl.de>. Don't check for mangled names
if mangled names is off.
Jeremy.
2007-10-10 10:56:35 -05:00
Jeremy Allison
62edc3d5dc r6297: Fix bug in our trans2 secondary processing. We need to pass in the
trans2 call info from the primary trans2 packet as it isn't present
in secondary transs packets. We only need to do this for functions that
satisfy more than one case in the switch statement. Found by Marcel Müller <mueller@maazl.de>.
Jeremy.
2007-10-10 10:56:35 -05:00
Gerald Carter
88c2ed1534 r6296: add message about known interoperability issue with Windows 2003 SP1 DCs 2007-10-10 10:56:35 -05:00
Gerald Carter
40f573e202 r6291: BUG 2588: force smbclient messages to port 139 unless someone set the -p option 2007-10-10 10:56:35 -05:00
Gerald Carter
5ea3fdff1b r6290: and now the development tree becomes 3.0.15pre1 2007-10-10 10:56:35 -05:00
Volker Lendecke
5d34bd6175 r6282: Before converting enum_dom_groups, better get the previous version a bit
closer to being correct. 'svn blame' shows CVSIN, but somehow I get the
feeling this is my code...

Volker
2007-10-10 10:56:35 -05:00
Volker Lendecke
1ce9a0159d r6281: Fix the build for FreeBSD 4 -- no winbind 2007-10-10 10:56:34 -05:00
Volker Lendecke
7ae1b94e3e r6279: Convert the RAP enum functions to the pdb_search API. Who is using this
nowadays? This looks rather broken, but survives basic tests with 'net'.

Volker
2007-10-10 10:56:34 -05:00
Volker Lendecke
8b4f67a1e9 r6277: This implements a new caching API for enumerating the pdb elements. It is
modeled after query_displayinfo and should hide the differences between users,
groups and aliases while allowing a cache analog load_sampw_entries:

struct pdb_search *pdb_search_users(uint16 acct_flags);
struct pdb_search *pdb_search_groups(void);
struct pdb_search *pdb_search_aliases(const DOM_SID *sid);
uint32 pdb_search_entries(struct pdb_search *search, uint32 start_idx,
                          uint32 max_entries,
                          struct samr_displayentry **result);
void pdb_search_destroy(struct pdb_search *search);

Why this API? Eventually we will need to apply the work gd has started on
enumerating users with paged ldap searches to groups and aliases. Before doing
that I want to clean up the search routines we have.

The sample application (more to follow) is 'net maxrid'.

Volker
2007-10-10 10:56:34 -05:00
Volker Lendecke
c73f2656fd r6275: Implement RAP version of enumusers/enumgroups level 0. No, I've not gone mad,
this is to test future changes to enumeration functions...

This can successfully list users from nt4 and w2k3sp1.

Volker
2007-10-10 10:56:34 -05:00
Volker Lendecke
b451434e37 r6273: Remove some unused code, minor cleanup 2007-10-10 10:56:34 -05:00
Jeremy Allison
3eea1ff4b7 r6269: With help from Marcel Müller <mueller@maazl.de> in tracking down the bug,
fix trans2 and nttrans secondary packet processing. We were being too strict checking
the incoming packet (by 1 byte).
Jeremy.
2007-10-10 10:56:34 -05:00
Jeremy Allison
695d45bcad r6266: Add includes for sys/extattr.h and sys/uio.h for FreeBSD xattr code.
Jeremy.
2007-10-10 10:56:33 -05:00
Volker Lendecke
3493d9f383 r6263: Get rid of generate_wellknown_sids, they are const static and initializable
statically.

Volker
2007-10-10 10:56:33 -05:00
Steve French
cd8b93edc6 r6262: Minor updates to cifs umount helper 2007-10-10 10:56:33 -05:00