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

8016 Commits

Author SHA1 Message Date
Jeremy Allison
2e3133fbe5 Merge in JohnR's page count fixes.
Jeremy.
-
Jeremy Allison
ad1e858d8e Sync up vfs changes from 2.2.x.
Jeremy.
-
Simo Sorce
fdb88eb06a ops forgot this :-) -
Simo Sorce
9836af7cd6 more verbose checking in talloc and util_pw
fixed tdbsam memory corruption (and segfault)
reducing calls to pdb_uid_to_user_rid and countrary to 0 to move to a non alghoritmic rid allocation with some passdb modules.
-
Simo Sorce
724390a8da Start to switch away from the alghorithmic uid->rid mapping model -
Andrew Bartlett
ef68b28fa0 Allow us to see the difference between these two errors. (We need to chase
down some bugs with it...).

Andrew Bartlett
-
Samba Release Account
a772386d34 preparing for release of 3.0-alpha17 -
John Terpstra
208c62c5a7 Fix ability to compile with CUPS support. -
Tim Potter
ddb5753e36 Added dos_errstr() function. Not all errors in list yet. -
Tim Potter
1f007d3ed4 Renamed get_nt_error_msg() to nt_errstr(). -
Jim McDonough
7ba235c0fb Fix build for non-ads case -
Jim McDonough
936df31df5 Don't use // even temporarily, lest ye forget it and check it in... -
Jim McDonough
539d0cc030 Change new style join function name for clarity in net_rpc.c -
Jim McDonough
c8a4a09b56 Change net rpc join several ways: \n\t1) expose \n\t2) eliminate oldstyle subcommand \n\t3) try oldstyle first, then more secure method\n to allow for autodetect between ads and rpc on net join -
Jim McDonough
87ee483231 Expose net_ads_join to allow for auto-transport-detection for net join -
Jim McDonough
951006374e Add autodetect for net join, as well as some more help updates -
Jim McDonough
17775dae28 Some help cleanups. Formatting and consistency issues. Line up text nicely, and make 'net help rap user' the same as 'net rap user help'...stuff like that -
Andrew Tridgell
e7ae8003cb if our lock spin code fails then return the first error code, not the
last one. This is what caused the lock1 and lock2 tests to fail.
-
Andrew Tridgell
775404fe46 the SEC_DOMAIN tests also apply to SEC_ADS -
Andrew Tridgell
a21ba95897 nicer output from "net rpc user add" -
Andrew Tridgell
1ad1a025b3 enable locking on the winbindd cache tdb so it can be backed up and
manipulated externally
-
Andrew Tridgell
d6a4a10f58 added a -h usage option to winbindd -
Andrew Tridgell
1394e6ed31 this tdb was being opened without locking, which is unsafe for shared
databases
-
Andrew Tridgell
ad9965414d lower the debug level of failing to map a file -
Gerald Carter
5760315c1d syncing up printing code with SAMBA_2_2 (already done some merges
in the reverse).

  * add in new printer change notify code from SAMBA_2_2

  * add in se_map_standard() from 2.2 in _spoolss_open_printer_ex()

  * sync up the _print_queue_struct in smb.h (why did someone change the
    user/file names in fs_user/fs_file (or vice-versa) ? )

  * sync up some cli_spoolss_XXX functions
-
Andrew Bartlett
9c8de8c6cf Actually include some *information* in the mangle debug messages.
In particular this shows the filename, prefix and counters involved.

The unicode -> unix converion only occours for the error case.

Andrew Bartlett
-
Jim McDonough
9c447920df Add paged search requests to net ads user and net ads group commands, allowing more than 1000 (or whatever the query limit is on the server) objects to be returned. Printers will come next. -
Jim McDonough
9afba67f9a This adds the Paged Result Control to ads searching. The new function, ads_do_paged_search, is the same as ads_do_search, but it also contains a count of records returned in this page, and a cookie for resuming, to be passed back. The cookie must start off NULL, and when it returns as NULL, the search is done. -
Tim Potter
ab1ebd3779 Remove studly gaps from prs_werror() calls so the same debug text is
logged.  This makes it much easier to use grep on log files when searching
for errors.
-
Jeremy Allison
cad82926a8 Now we have reliable signals take SIGTERM inband.
Jeremy.
-
Tim Potter
a3cea5e9ae getpid() -> sys_getpid() -
Tim Potter
d7efc5dd3d Backed out enumprinters stuff - leave it for another day. -
Jeremy Allison
8587dd95f8 Use sys_usleep not usleep.
Jeremy.
-
Jeremy Allison
f032c6f710 Get the current directory after becoming root.
Jeremy.
-
Tim Potter
6a053fa770 Fixed bodgy printf arguments in debug statment.
Who would have guessed it - we now use floating point maths in Samba.
-
Jeremy Allison
62b80d5c65 Ensure we attempt to lock at least once. Only sleep if time param set.
Jeremy.
-
Jeremy Allison
8aa9860ea2 include/smb_macros.h: Don't round up an allocation if the size is zero.
"One of these locks is not like the others... One of these locks is not
quite the same" :-). When is a zero timeout lock not zero ? When it's
being processed by Windows 2000 of course.. This code change, ugly though
it is - completely fixes the foxpro/access multi-user file system database
problems that people have been having. I used a *wonderful* test program
donated by "Gerald Drouillard" <gerald@drouillard.ca> which allowed me
to completely reproduce this problem, and to finally determine the correct
fix. This also explains why Windows 2000 is *so slow* when responding to
the smbtorture lock tests. I *love* it when all these things come together
and finally make sense :-).
Jeremy.
-
Andrew Tridgell
9338964720 detect SIZELIMIT_EXCEEDED in ldap queries and truncate
the problem is, how the heck do we properly handle these? Jerry?

It seems that the Win2000 ADS server only returns a max of 1000 records!
-
Andrew Bartlett
f81882fc95 Ensure we never use "" as a domain name (Win9X apparently does this for 'net use' duirng login).
Picked up from a post to a TNG list by Volker.

Andrew Bartlett
-
Jeremy Allison
bcf38961a7 Add "Creator Group" - was in 2.2.x and I'm syncing up the two.
Jeremy.
-
Andrew Bartlett
54e69ed20a Fix typo in copyright -
Andrew Bartlett
764b99a390 I don't need my name on this twice :-) -
Andrew Bartlett
c7a883df28 Move the directory creation process outside the 'installbin.sh' script, and
into its own.  The 'installdirs' makefile entry didn't do anything on my laptop,
so it has been replaced with the section from installbin.sh.

This also fixes the bug that we ignored the setting of $(PRIVATEDIR) when
making the directories.

Finally, link pam_winbind with .po objects only, not a mix of .o and .po
(as per Don Mccall's request).

Andrew Bartlett
-
Jeremy Allison
d08cbcbc5d Remove a stub function I forgot to fill in.
Jeremy.
-
Andrew Tridgell
1a8f3ba3ab if we know that the SID is local then don't try via winbindd -
Andrew Tridgell
df9e345366 fixed mapping of SIDs for local users -
Andrew Tridgell
1aaa2091d5 fixed 2 reconnection bugs in the ADS backend support -
John Terpstra
8e2f4bb35b Sorry, forgot to commit this last night. -
Andrew Tridgell
ed80311b41 get the test for disconnection the right way around! -
Jim McDonough
19546bdd55 Yet another build fix for popt. I gotta get me one of these picky systems... -