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

1287 Commits

Author SHA1 Message Date
Gerald Carter
b0f9f11f5f fix for CR 601. Only call addprinter command when the port, driver, comment, or location field changed
(This used to be commit c6d45216f6d3573fb2342f4d3aa3a50415924674)
2002-11-11 22:05:05 +00:00
Jeremy Allison
7f94064e4a First cut of fix for changenotify on a print server handle. Use the connections tdb
with an snum of -1 and a special printername.
Jeremy.
(This used to be commit 940b04ddfa87acc939911e3fe76496e3c4675632)
2002-11-10 22:24:10 +00:00
Jeremy Allison
fc2dc328e1 First cut of fix for changenotify on a print server handle. Use the connections tdb
with an snum of -1 and a special printername.
Jeremy.
(This used to be commit 06b04380078ad840768a2c5a803f02669f54bc82)
2002-11-10 22:24:00 +00:00
Gerald Carter
cda79e5d36 deldriver fix
(This used to be commit 78ff2cc34aedaf82d965a71e0c9dfdeb86a90fdd)
2002-11-09 14:49:26 +00:00
Gerald Carter
4be3750d8e deldriver fix
(This used to be commit f20de1f9b0dcac15fbf968e6d5d5af2fdd5fbda1)
2002-11-09 14:48:27 +00:00
Gerald Carter
2d08c914d7 re-enable ffpcn on print server handle
(This used to be commit 47a0c68fa9e98ab761e609d889894db1de9520db)
2002-11-09 05:42:37 +00:00
Gerald Carter
b3f55b37a0 re-enable ffpcn on print server handle
(This used to be commit e87829b4942237de542d21051092fee069a9c73d)
2002-11-09 05:41:27 +00:00
Andrew Bartlett
c19598f2a6 Merge from HEAD:
- change auth_sam to use the initialisation flags to determine if
	 the password attributes are set

 - add const to secrets.c, cliconnect.c

 - passdb:  fix spelling in pdb_ldap, add group mapping back to smbpasswd

 - SAMR: add debugs to show what fails for group enum.

Andrew Bartlett
(This used to be commit 4e74d00b3634abf52aa24bfaa6dbe88202aa57a1)
2002-11-08 23:08:59 +00:00
Andrew Bartlett
aa208a58e2 Make it easier to track things down here - add some debugs on failure.
(This used to be commit 62ee7b7dc08e7be261211de8f85b8e9be4df7b54)
2002-11-08 22:14:31 +00:00
Jeremy Allison
47955b2f6c Merge of scalable printing code fix... Needs testing.
Also tidied up some of Richard's code (I don't think he uses the compiler
flags -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual like
I do :-) :-).
Jeremy.
(This used to be commit 10024ed06e9d91f24fdc78d59eef2f76bf395438)
2002-11-07 02:38:42 +00:00
Jeremy Allison
9304248788 Merge of scalable printing code fix... Needs testing.
Jeremy.
(This used to be commit d030df76439c72825d68410211e62090438cef54)
2002-11-07 02:15:35 +00:00
Simo Sorce
d12baf7bf7 port sec_desc headers reordering from HEAD.
Thanks to Andrew Brtlet for the diff :-)
(This used to be commit cf67981e73cf52803eae589a6b86e1274bf72d2c)
2002-11-02 12:53:13 +00:00
Andrew Bartlett
6d7195d1d7 Merge passdb from HEAD -> 3.0
The work here includes:
 - metze' set/changed patch, which avoids making changes to ldap on unmodified
attributes.

 - volker's group mapping in passdb patch

 - volker's samsync stuff
 - volkers SAMR changes.

 - mezte's connection caching patch

 - my recent changes (fix magic root check, ldap ssl)

Andrew Bartlett
(This used to be commit 2044d60bbe0043cdbb9aba931115672bde975d2f)
2002-11-02 03:47:48 +00:00
Gerald Carter
71f34ddabd PURGE_PRINTER fix from APP_HEAD
(This used to be commit 8af12875b0608b83187e4156843e37097de4cd13)
2002-10-25 22:17:29 +00:00
Gerald Carter
35357e8589 merge PURGE_PRINTER fix from APP_HEAD
(This used to be commit 4d32e6bdb6500f442ff3cda7d43bdf506a08eacf)
2002-10-25 22:16:00 +00:00
Jeremy Allison
158ae87aa9 Reverted a fix from Volker (sorry). We need to move this fix to the correct
place.
Jeremy.
(This used to be commit e46e38beabe8ae5b1ba1941dcffecbc89165ce2a)
2002-10-23 22:23:39 +00:00
Jeremy Allison
b064077145 Debug level 12 is a typo.
Jeremy.
(This used to be commit 4d9b205362997f897be4739efd52ee2cfde4c6cb)
2002-10-23 01:55:40 +00:00
Jeremy Allison
1a96aeebc8 Debug level 12 is a typo.
Jeremy.
(This used to be commit c4e4cc9ce169038c4bb8cdcc477d15a9661d1b8e)
2002-10-23 01:55:27 +00:00
Jeremy Allison
7689a9c969 First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.
This is not 100% the same as what SuSE shipped in their Samba, there is
a crash bug fix, a race condition fix, and a few logic changes I'd like to
discuss with Andreas. Added Andreas to (C) notices for posix_acls.c
Jeremy.
(This used to be commit a81d700ae9c82d4b7ea631ab7862162a2ed3d512)
2002-10-23 01:22:45 +00:00
Jeremy Allison
f735551b9e First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.
This is not 100% the same as what SuSE shipped in their Samba, there is
a crash bug fix, a race condition fix, and a few logic changes I'd like to
discuss with Andreas. Added Andreas to (C) notices for posix_acls.c
Jeremy.
(This used to be commit 40eafb9dde113af9f7f1808fda22908953f7e8c3)
2002-10-23 01:22:32 +00:00
Jeremy Allison
83219da302 Fix for systems that allow more than 65536 open files per process.
Jeremy.
(This used to be commit 947a56ce00e552e8b8d2ed64435eabde6225f044)
2002-10-22 22:17:29 +00:00
Jeremy Allison
9b323a3c0d Fix for systems that allow more than 65536 open files per process.
Jeremy.
(This used to be commit ff537f10a0c0b6b1d9055eb776d1e8a9864e8363)
2002-10-22 22:17:06 +00:00
Volker Lendecke
c7731c988e Same segfault as in add_groupmem.
Volker
(This used to be commit 1f702dcd2ced6f64a619e3ddbb570f41f7f0986b)
2002-10-21 20:33:00 +00:00
Volker Lendecke
5dbf435408 This moves the group mapping API into the passdb backend.
Currently this calls back to mapping.c, but we have the framework
to get the information into LDAP and the passdb.tdb (should we? I
think so..).

This has received moderate testing with net rpc vampire and
usrmgr. I found the add_groupmem segfault in add_aliasmem as
well, but that will be another checkin.

Volker
(This used to be commit f30095852fea19421ac8e25dfe9c5cd4b2206f84)
2002-10-21 19:28:56 +00:00
Volker Lendecke
605ab78401 Fix full_name for info23 as well. Thanks, Andrew.
Volker
(This used to be commit 382c444225fae54ae577baae8948a64a843a2afc)
2002-10-19 08:09:28 +00:00
Volker Lendecke
0c35d78632 This fixes some bugs for NT4 usrmgr.exe
Volker
(This used to be commit 32d6bcf3acefc77873a7241cc0c7e26241a65301)
2002-10-19 07:50:48 +00:00
Gerald Carter
378fd95ce8 merge from app_head to commit re-init'd printer to disk
(This used to be commit 92fd939c3439208660ac3821c458f8cd34a59555)
2002-10-16 18:23:15 +00:00
Gerald Carter
a0fbdc3d64 fix from APP_HEAD to commit a re-init'd printer to disk
(This used to be commit 64a159144483457887df2c6d779e6a139dfc6d1f)
2002-10-16 18:21:55 +00:00
Gerald Carter
4bdfae3df7 merge from APP_HEAD to use GMT in job submission notification
(This used to be commit 2ec53858d9ee01ed500f99a67e9a94e33576486d)
2002-10-15 00:35:12 +00:00
Gerald Carter
30acf331a9 merge from app_head to use GMT in job submission notification
(This used to be commit b130c681d2e8e6dcabe8cfd85dd718a294b04233)
2002-10-15 00:28:04 +00:00
Andrew Bartlett
4ac9ccfde4 Nice *big* patch from metze.
The actual design change is relitivly small however:

It all goes back to jerry's 'BOOL store', added to many of the elements in a
SAM_ACCOUNT.  This ensured that smb.conf defaults did not get 'fixed' into
ldap.  This was a great win for admins, and this patch follows in the same way.

This patch extends the concept - we don't store values back into LDAP unless
they have been changed.  So if we read a value, but don't update it, or we
read a value, find it's not there and use a default, we will not update
ldap with that value.  This reduced clutter in our LDAP DB, and makes it
easier to change defaults later on.

Metze's particular problem was that when we 'write back' an unchanged value,
we would clear any muliple values in that feild.  Now he can still have his
mulitivalued 'uid' feild, without Samba changing it for *every* other
operation.

This also applies to many other attributes, and helps to eliminate a nasty
race condition.  (Time between get and set)

This patch is big, and needs more testing, but metze has tested usrmgr, and
I've fixed some pdbedit bugs, and tested domain joins, so it isn't compleatly
flawed ;-).

The same system will be introduced into the SAM code shortly, but this fixes
bugs that people were coming across in production uses of Samba 3.0/HEAD, hence
it's inclusion here.

Andrew Bartlett
(This used to be commit 7f237bde212eb188df84a5d8adb598a93fba8155)
2002-10-12 03:38:07 +00:00
Gerald Carter
9c25d89070 print job properties fix from APP_HEAD. a null devmode is not a failure.
(This used to be commit 8f95773e0ab0c5e0854d9e442170e25280279bfb)
2002-10-09 18:55:35 +00:00
Gerald Carter
a92bf85234 print job properties fix from APP_HEAD. a null devmode is not a failure.
(This used to be commit b507dba452ecbd96ec95242f761501d0c5e0d7b5)
2002-10-09 18:54:20 +00:00
Gerald Carter
01da7d5617 add_printer_hook() fix from APP_HEAD
(This used to be commit 94201672a5c3cffd145e9f04a3ddd0d17a57e73b)
2002-10-09 17:00:04 +00:00
Gerald Carter
b57d0e060d add_printer_hook() fix from APP_HEAD
(This used to be commit b381ed3a9eba24c11796a9ca5cb4d226c131d867)
2002-10-09 16:59:45 +00:00
Gerald Carter
bfa93735ab merge from APP_HEAD of winbindd's domain local group fix
(This used to be commit 09c6f6329d6ae9327b7ef06de0ea78d24d805456)
2002-10-08 18:32:42 +00:00
Gerald Carter
876afb5d0f merge from APP_HEAD
* s/driverlocation/comment
* detect native mode domain and enumerate local groups

Also

* Added sendfile stats from SAMBA_2_2
(This used to be commit 764b58e2c0b3179cffe157c0ab58761b156b8423)
2002-10-08 18:29:57 +00:00
Volker Lendecke
0672da5c43 Third part of my fix for usrmgr. Assuming automagic mapping
only in parts of srv_samr_nt is not good.

This is soo broken. :-)

Volker
(This used to be commit 74e4a3479f380b320daa0d46c0ba4daa9f98c18f)
2002-10-08 15:29:13 +00:00
Simo Sorce
650e0274a1 try to put every security descriptors related definitions in the same file.
also try to uniform names to a clean scheme.

first part.
(This used to be commit a123e05877caf90c28980be2d84b1d0b46e4fd21)
2002-10-06 23:53:34 +00:00
Jeremy Allison
9c94d1a2f7 Add a timeout to tdb_lock_bystring(). Ensure we never have more than
MAX_PRINT_JOBS in a queue.
Jeremy.
(This used to be commit bb58a08af459b4abae9d53ab98c15f40638ce52b)
2002-10-04 22:53:30 +00:00
Jeremy Allison
3665777a5b Add a timeout to tdb_lock_bystring(). Ensure we never have more than
MAX_PRINT_JOBS in a queue.
Jeremy.
(This used to be commit 9fe3c0b90d4bff2217e3cb5a34b4683ca314c06e)
2002-10-04 22:53:18 +00:00
Gerald Carter
36ef82a529 merge of new client side support the Win2k LSARPC UUID in rpcbind
from APP_HEAD
(This used to be commit 1cfd2ee433305e91e87804dd55d10e025d30a69e)
2002-10-04 04:10:23 +00:00
Gerald Carter
83e58265b5 merge of new client side support the Win2k LSARPC UUID in rpcbind
from APP_HEAD
(This used to be commit 38c9e4299845fd77cc8629945ce2d259489f7437)
2002-10-04 03:51:43 +00:00
Jeremy Allison
32027e3b6b Missing break meant getprintprocessordirectory always returned UNKNOWN_LEVEL.
Jeremy.
(This used to be commit 1b283b649f68890b0aa450aa1ac90f1e8031a6fd)
2002-10-02 22:55:40 +00:00
Jeremy Allison
c4596dcf32 Missing break meant getprintprocessordirectory always returned UNKNOWN_LEVEL.
Jeremy.
(This used to be commit a9a959b85d110c4a6b9ac8988d35aee9a4d6b9f1)
2002-10-02 22:55:28 +00:00
Gerald Carter
f2d1f19a66 syncing up with HEAD. Seems to be a lot of differences creeping in
(i ignored the new SAMBA stuff, but the rest of this looks like it should
have been merged already).
(This used to be commit 3de09e5cf1f667e410ee8b9516a956860ce7290f)
2002-10-01 18:26:00 +00:00
Volker Lendecke
4b5c0793de Second part of my fix -- incorrect merge.
(This used to be commit 2613d3a48a8d60c3db38406a1abd943dbe0b7d09)
2002-09-30 06:45:58 +00:00
Volker Lendecke
cdeffe6d90 We have to hand out info on Builtin here as well. They are stored in
group mapping not as local, but as WKN_GRP.

Volker
(This used to be commit cb05dcab2de117ea4db54af313a05905cd5a0d0a)
2002-09-29 10:39:03 +00:00
Jeremy Allison
543edfbeab It turns out that Windows allows delete printer on a handle
opened by an admin user, then used on a pipe handle created
by an anonymous user..... but they're working on security.... riiight !
Jeremy.
(This used to be commit 322d8b4c83439261cfd2ff79b557bddb1e784660)
2002-09-27 22:51:59 +00:00
Jeremy Allison
c56213607c It turns out that Windows allows delete printer on a handle
opened by an admin user, then used on a pipe handle created
by an anonymous user..... but they're working on security.... riiight !
Jeremy.
(This used to be commit e96e6a60b82b71714120ce7636fa8402007d4b03)
2002-09-27 22:51:44 +00:00