1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00

8143 Commits

Author SHA1 Message Date
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... -
Jim McDonough
96e4282dca Missing comma from systems that have ACLs. -
Jim McDonough
4490ad340c Aack. Don't change too much. vfs.c still won't build, but this should fix some other build stuff I screwed up. -
John Terpstra
e3e0a5aca9 Update samba.pam from 2.2.4pre branch.
Fixups for incorrect man page location by installman.sh
	- Note: FHS standard for man pages if /usr/share/man/XX
		where XX is the language mneumonic
-
John Terpstra
e508b07fe7 Fix up location of libsmbclient.so so it always goes to /usr/lib. -
John Terpstra
917a5f2cdb It builds the RPMS, now for the testing... -
John Terpstra
675a78d09a Cleaning things up for test deployment. -
John Terpstra
a4be3b7b93 Added wins entry. -
John Terpstra
b07aa46d83 Hack, hack, where is my sledge hammer? -
Jeremy Allison
45bf5f6c05 Removed unused var.
Jeremy.
-
Jeremy Allison
87e6b08964 Ensure, if we're a PDC or BDC, that the SID stored for the domain name
and the machine name are identical.
Jeremy.
-
John Terpstra
153091597c Still hacking at it. -
Tim Potter
dfd51bc8d0 Merge of enumprinters vs getprinter naming patch from 2.2 -
Jeremy Allison
7d59445b69 Added POSIX ACL layer into the vfs.
Jeremy.
-
Tim Potter
a41750f86a Added tdbbackup. -
Tim Potter
33dd07d1fc Removed bogus calles to D() debugging function. Perhaps these should
be replaced by DEBUG() calls?
-
Andrew Tridgell
967cb3ed0c always make winbindd try for the PDC first before trying for a BDC
this prevents propogation delays in the SAM between the PDC and BDCs
-
Jeremy Allison
d85133e269 Implemented default ACL patch (set inherit acls = true on a per share basis).
Based on code donated by Olaf Frczyk <olaf@cbk.poznan.pl>. Further commit
will change to sending via vfs interface.
Jeremy.
-
Jim McDonough
00d3a064f1 Another program converted to popt...smbstatus this time. -
John Terpstra
cb38843ac7 More temp. changes. - Bear with me, this will soon be resolved. -
John Terpstra
0fe968378a Transient change - not final - don;t want to lose this between systems and testers.
NOTE: This is not useable for now.
-
Andrew Tridgell
965e23537c only try an ordinary file in lock6 -
Andrew Tridgell
3396a671c5 put in the ADS DNS hack, but commented out -
Andrew Tridgell
3e69ea6846 expanded the lock6 test a bit to try lsarpc as well
this allows us to check that we refuse locking on pipes
-