summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2004-03-05fix compiler warningGerald Carter1-1/+1
(This used to be commit df19b6066e1f4e200adcd80f9526aa1a68509580)
2004-03-05Add -O (for writing downloaded files to standard out) based on patch byJelmer Vernooij1-65/+80
Bas van Sisseren <bas@dnd.utwente.nl> (This used to be commit cc164e5afb0f6100bde547674b3de88b7e45f31f)
2004-03-05all_string_sub() is broken as it doesn't handle mb chars correctly (andJeremy Allison2-18/+5
so breaks when substitution '/' and '\'). It's used by unix_clean_name(), which is used by reduce_name, which is used by check_name() (phew!). Now that we know all filenames passed to check_name() are in a "good" format (no double slashes, all '\\' chars translated to '/' etc.) due to the new check_path_syntax() we can avoid calling reduce_name unless widelinks are denied. After this check-in I can fix all_string_sub() to handle mb chars correctly as it won't be in the direct path in the main path handling code. Jeremy. (This used to be commit 6080186fc4c2e7c59dd12a177539bfb77eb525cb)
2004-03-04Fix my breakage of NT pipes from the previous patch (sorry). Use theJeremy Allison1-4/+1
original srvstr_pull_buf() function to get the pipename not srvstr_get_path(). Jeremy. (This used to be commit 2a263873fd6bbbf03a32136981e433dc43374da9)
2004-03-04BUG 1015: patch from jmcd to fix statfs redeclaration of statfs struct on ppcGerald Carter1-1/+3
(This used to be commit fafb243278cd33d696487e477d4685bb79e2e357)
2004-03-04BUG 1080: fix declaration of SMB_BIG_UINTGerald Carter1-12/+12
(This used to be commit 810bc1e2a02c6ab11ef00bf67b49929c596bee33)
2004-03-04There's a specific error message NT_STATUS_ALIAS_EXISTS.Volker Lendecke1-1/+1
(This used to be commit f0d99f318c67852ac5bf9b606faa115ad36a5f80)
2004-03-04Another typo, sorry for samba-cvs spam :-)Volker Lendecke1-1/+1
(This used to be commit 3e39d157cb94928a036f0497a9e255f6dbad1771)
2004-03-04Fix typo.Volker Lendecke1-1/+1
Volker (This used to be commit 8ba5bdc330114efbc86c851b71c58ac91ada7f31)
2004-03-04Fix build farm, older compilers won't let you declare variablesJim McDonough1-1/+1
right in the middle of the code. I just love catching jra on stuff like this, after all the crap I've done. :-) (This used to be commit dc7dc5175847243d821dd33c1678af1b785dfaf7)
2004-03-04BUG 848: don't create winbind local users/groups that already exist in the tdbGerald Carter1-3/+16
(This used to be commit 89da3df07b7d90ad19852046d0533673cff8fdc6)
2004-03-04another fix for bug 761; don't default to bsd printing on linuxGerald Carter1-9/+0
(This used to be commit d58139d64f37fe9fec34492d7857257d9ad4a808)
2004-03-03Added client "hardlink" commant to test doing NT rename with hard links.Jeremy Allison4-30/+136
Added hardlink_internals() code - UNIX extensions now use this too. Jeremy. (This used to be commit aad6eb2240393931940c982e25a981ce32264f38)
2004-03-03Use a common function to parse all pathnames from the wire. This allowsJeremy Allison9-136/+383
much closer emulation of Win2k3 error return codes. Jeremy. (This used to be commit c9f31fafeda6ad79e590276f36e03ecd2e93f818)
2004-03-03more usrmgr fixes: display lockout timers in minutes, not seconds, for samr 2eJim McDonough1-2/+2
(This used to be commit 832674c099a3ff9bb747dba6235e47d40a930abd)
2004-03-03quick for for usrmgr. unknown_6 is really max dimension of logon hours ↵Jim McDonough1-30/+12
array. need to update passdb for this. (This used to be commit fbf909926b7d7b1e92ebeba44469392296c35c1a)
2004-03-02Merge fields_present function from HEAD. Now, a field will not be updatedJim McDonough1-116/+158
on setuserinfo levels which include this field, unless the corresponding bit (defined in passdb.h) is turned on. Without this, newer versions of usrmgr break us pretty bad. (This used to be commit 840340bd96d3c6693b451bc61e155b7b426271e4)
2004-03-02BUG 1129: patch from shiro@miraclelinux.com (Shiro Yamada) to install image ↵Gerald Carter1-0/+16
files for SWAT (This used to be commit a01a7fdbd93997185322d1faaa76c408f0ed2b1d)
2004-03-02Janitorial duty for tpot - --with-fhs fix.Jeremy Allison1-7/+14
Jeremy. (This used to be commit 64eded518b32a242880b5e85c9032bc212c3f1fb)
2004-03-02fix typo for callback bitJim McDonough1-1/+1
(This used to be commit 31a15164ffb3f551a5f7006e637036dc3b59bd22)
2004-03-02allow the 'printing' parameter to be set on a per share basis.Gerald Carter1-7/+29
The problem was that the current_printif struct was set during print_backend_init() based on the 'printcap name'. So you could not use cups and then override the setting for a specific printer by setting 'printing = bsd' (a common setup for pdf generation print services. There is a subtle change in behavior in that the print interface functions are selecting on the basis of lp_printing() and not lp_printcap_name(), but the new behavior seems more intuitive IMHO. (This used to be commit 14de9c065787bd1675021a6cd6555f81ea965f17)
2004-03-02BUG 761: read the config file before initialized default values for printing ↵Gerald Carter1-46/+50
options (This used to be commit d358f72974ce49bf2007c9b3b7314caa5897b4c1)
2004-03-01BUG 692: patch from SATOH Fumiyasu <fumiya@miraclelinux.com> to correct ↵Gerald Carter1-4/+4
truncation of share names and workgroup names (This used to be commit 822e31d841e720d48f4feeec673b75575caa8fac)
2004-03-01BUG 1147; bad pointer case in get_stored_queue_info() causing seg faultGerald Carter1-1/+1
(This used to be commit 91af1fb73a2e86a343c085128aaed2ef0c26de57)
2004-02-29net_rpc.c: Don't complain if [add|del]mem was successful.Volker Lendecke2-5/+5
srv_samr_nt.c: Correctly report that a user is not member of an alias. Volker (This used to be commit 540f625036871e7facd094fce49d7317f65f4ffd)
2004-02-29Print an informative error message if trying to add/remove members fromVolker Lendecke1-0/+6
something not a group. Volker (This used to be commit 73f26de5c0b6a6b9b78c22016986f3106bce7bfa)
2004-02-28Add 'net rpc group [add|del]mem' for domain groups and aliases.Volker Lendecke4-3/+732
Volker (This used to be commit e597420421e085b17dcdc062c5900518d0d4e685)
2004-02-28Fix my fix to net rpc group list. We can certainly have more than a singleVolker Lendecke1-3/+6
set of groups. Volker (This used to be commit e77fe4a77a6b0b8d92014edb073b36d01a1a5169)
2004-02-28Can't set allocation size on directories, return correct error code onJeremy Allison3-1/+18
fail if file exists and target is a directory. gentest. Jeremy. (This used to be commit f4a7ea6dc2b9f379a9c735670a49ac63818754c7)
2004-02-28More gentest fixes. Fix up regression in IS_NAME_VALID and renames.Jeremy Allison2-13/+34
Jeremy. (This used to be commit 367f5c3bc27aafb04f7589b3d4ac5b58189909fb)
2004-02-27Added copyrights I forgot about looong ago...Rafal Szczesniak2-2/+4
rafal (This used to be commit 33d1e2dd63e3dbf592a666ae48bc013a8198d008)
2004-02-26Fix for writable printerdata problem - bugzilla #1112.Tim Potter1-6/+12
(This used to be commit a05b9f0cc55300e2a25c87849a4417afea0cd867)
2004-02-26That const was one too manyVolker Lendecke1-3/+2
(This used to be commit 005d92d57ea912b68dd107152d478fae2162511a)
2004-02-26Implement 'net groupmap set' and 'net groupmap cleanup'.Volker Lendecke3-0/+157
I was rather annoyed by the net groupmap syntax, I could never get it right. net groupmap set "domain admins" domadm creates a mapping, net groupmap set "domain admins" -C "Comment" -N "newntname" should also do what you expect. I'd like to have some feedback on the usability of this. net groupmap cleanup solves a problem I've had two times now: Our SID changed, and a user's primary group was mapped to a SID that is not ours. net groupmap cleanup removes all mappings that are not from our domain sid. Volker (This used to be commit eb4d4faff8c14e999f414ca5b6e8c25a558859c8)
2004-02-26And another little constVolker Lendecke1-1/+1
(This used to be commit f6bb3304fc5ef298a921b9ee5ad2f6444b0e72bc)
2004-02-26Apply some constVolker Lendecke1-2/+3
Volker (This used to be commit 0b29d83d33153dc0e49406efa6735b6664d88ce7)
2004-02-26Fixes to minor security bug pointed out by AB in the mount helperSteve French1-1/+8
(This used to be commit b83802c5a14800554d30c32c12ae3a86e3136bdf)
2004-02-26fixed compilation with --enable-dmallocAndrew Tridgell2-4/+4
the macro redefinition of free() means we cannot have a structure element called "free" (This used to be commit d2d653a1a6db9d0407e99affb317a0045e56168a)
2004-02-26Merging Richard's rename test.Jeremy Allison1-6/+75
Jeremy. (This used to be commit 5646b6c989c6f13fe1149cf24bf8af87fa95b759)
2004-02-26Interesting fact found by IFSTEST /t LockOverlappedTest...Jeremy Allison1-1/+8
Even if it's our own lock context, we need to wait here as there may be an unlock on the way. So I removed a "&& !my_lock_ctx" from the following if statement. if ((lock_timeout != 0) && lp_blocking_locks(SNUM(conn)) && ERROR_WAS_LOCK_DENIED(status)) { Jeremy. (This used to be commit 3f35e3975f1c46daad1456bc82163acd049d7be8)
2004-02-25Fix bug in previous global_sam_sid() commit. I broke the 'read fromAndrew Bartlett2-1/+6
MACHINE.SID' file functionality. Also, before we print out the results of 'net getlocalsid' and 'net getdomainsid', ensure we have tried to read that file, or have generated one. Andrew Bartlett (This used to be commit 191b43159e7358541be9a3deac8c447885145442)
2004-02-25I *hate* global variables...Andrew Bartlett4-31/+61
OK, what was happening here was that we would invalidate global_sam_sid when we set the sid into secrets.tdb, to force a re-read. The problem was, we would do *two* writes into the TDB, and the second one (in the PDC/BDC case) would be of a NULL pointer. This caused smbd startups to fail, on a blank TDB. By using a local variable in the pdb_generate_sam_sid() code, we avoid this particular trap. I've also added better debugging for the case where this all matters, which is particularly for LDAP, where it finds out a domain SID from the sambaDomain object. Andrew Bartlett (This used to be commit 86ad04d26d3065a99b08afaaf2914968a9e701c5)
2004-02-25Fixup strange rename error case (gentest).Jeremy Allison1-1/+2
Jeremy. (This used to be commit d448fb801e175e11cfc0118325043eef836103f0)
2004-02-25Do the query part of the previous fix...reset time and duration are set in ↵Jim McDonough1-2/+2
minutes, not seconds. Works from usrmgr. (This used to be commit 98833a82facb0bc25d9ba6f4d4c1200627e98d6d)
2004-02-25reset time and duration are set in minutes, not seconds. Works from usrmgr.Jim McDonough1-2/+2
(This used to be commit 700049d9efefc7f8952cc60bc46ba8aa790a28ba)
2004-02-25Figured out a new flags bit with gentest and ethereal....Jeremy Allison2-2/+11
Jeremy. (This used to be commit b4b684f1155b1abccb69cca7bca9819625dbfead)
2004-02-25More gentest fun :-). NB. I'm not fixing OpenX breakage 'cos if you lookJeremy Allison1-5/+27
at what W2K3 accepts here it's COMPLETELY BROKEN ! :-). Jeremy. (This used to be commit 5107f6ee70a9300678ccb7b3c812e23ddf795c22)
2004-02-25More gentest fixes.Jeremy Allison1-6/+17
Jeremy. (This used to be commit d34785194cbd7132fc3ca1f4d5561c2eee6009ab)
2004-02-24Add 'net rpc group add'. For this parse_samr.c had to be changed: TheVolker Lendecke4-5/+160
group_info4 in set_dom_group_info also has the level in the record itself. This seems not to be an align. Tested with NT4 usrmgr.exe. It can still create a domain group on a samba machine. Volker (This used to be commit 76c75bb8a7ad2a2e719dbbe997abf8aefe2fbbb4)
2004-02-24Remove unused variable.Volker Lendecke1-1/+0
Volker (This used to be commit eece7ff000a9589d56130e93a6105ad1052e9a14)