1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

3056 Commits

Author SHA1 Message Date
Jeremy Allison
155dc2d52a r10371: Adding iPrint printing backend written by Joel J. Smith @ Novell.
Jeremy.
2007-10-10 11:03:41 -05:00
Jeremy Allison
17598846e7 r10151: Fix includes correctly. Patch from Steve Williams
<steve@celineandsteve.com>.
Jeremy.
2007-10-10 11:03:34 -05:00
Jeremy Allison
7cc70ae633 r10042: Add in external LGPL library for accessing the share mode db. Allow
others to examine & test. May not end up here eventually...
Jeremy.
2007-10-10 11:03:31 -05:00
Gerald Carter
32bebc452d r10003: in the rush for 10k, I forgot to run add the rest of Chris' libmsrpc files 2007-10-10 11:03:30 -05:00
Gerald Carter
554c22faee r9998: starting content for maintainers file 2007-10-10 11:03:30 -05:00
Günther Deschner
1ef7a192ee r9952: Adapt better to the Windows way of taking and assigning ownership:
* Users with SeRestorePrivilege may chown files to anyone (be it as a
backup software or directly using the ownership-tab in the security
acl editor on xp), while

* Users with SeTakeOwnershipPrivilege only can chown to themselves.

Simo, Jeremy. I think this is correct now.

Guenther
2007-10-10 11:03:29 -05:00
Günther Deschner
12029e9022 r9945: fix typos.
Guenther
2007-10-10 11:03:28 -05:00
Gerald Carter
ee54d1abf9 r9893: fix REG_CREATE_KEY_EX parsing error caused by WinXP clients
looking for an not finding a 'Terminal Server' key.
Claims to make problems with usrmgr.exe support as well
according the Samba ml.

Posted on samba@samba.org for review.  Reviewed by
Thomas Bork (comments integrated into the reg_db.c patch
coming up next).
2007-10-10 11:03:26 -05:00
Gerald Carter
ef721333ab r9739: conver the reg_objects (REGSUBKEY_CTR & REGVAL_CTR) to use
the new talloc() features:

 Note that the REGSUB_CTR and REGVAL_CTR objects *must* be talloc()'d
 since the methods use the object pointer as the talloc context for
 internal private data.

 There is no longer a regXXX_ctr_intit() and regXXX_ctr_destroy()
 pair of functions.  Simply TALLOC_ZERO_P() and TALLOC_FREE() the
 object.

Also had to convert the printer_info_2->NT_PRINTER_DATA field
to be talloc()'d as well.  This is just a stop on the road to
cleaning up the printer memory management.
2007-10-10 11:03:25 -05:00
James Peach
5396944fc3 r9627: Enable format string checking for the MIPSPro compilers. 2007-10-10 11:03:23 -05:00
Derrell Lipman
1f8aff85a6 r9540: correct comments in struct smbc_dirent (fixes bug 3030) 2007-10-10 11:01:12 -05:00
Gerald Carter
8d34756191 r9486: ensure that the registry hash records are sorted by original subkey name and not the 4 character hash key 2007-10-10 11:01:11 -05:00
Jeremy Allison
be5b4e2fa3 r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a UNIX vendor
not understanding abstract data types :-(.
Jeremy.
2007-10-10 11:01:11 -05:00
James Peach
98d364459d r9303: Clobber compiler warnings. Patch from Jason Mader <jason@ncac.gwu.edu> plus
some extra function declarations. Bugzilla bug #2523.
2007-10-10 11:00:32 -05:00
Jeremy Allison
b195af0b39 r9253: From Samba4 tridge commit - added a new DOS error code (thanks to EMC)
Jeremy.
2007-10-10 11:00:29 -05:00
Günther Deschner
d14dcba963 r9163: Rename UNKNOWN_TYPE_10 to PAC_LOGON_NAME (merge from samba4)
Guenther
2007-10-10 11:00:27 -05:00
Jim McDonough
65adbd83fe r9091: Fix #2954, aix 5.1 compile. Stupid aix aio.h header defines aio_error and
aio_return as macros...
2007-10-10 11:00:25 -05:00
Jeremy Allison
0017247467 r9073: Fixing up please-add-me typos in stupid, over-designed stackable
vfs interface.
Jeremy.
2007-10-10 11:00:24 -05:00
Jeremy Allison
076023df8e r8959: Make msdfs code talloc based. Fix leaks.
Jeremy.
2007-10-10 11:00:22 -05:00
Jeremy Allison
fd6e342746 r8805: Merge a duplicate struct. Get ready to support SPNEGO rpc binds.
Jeremy.
2007-10-10 11:00:18 -05:00
Jeremy Allison
871c647bc3 r8762: Attempt to fix the winbindd crashing bug on Solaris (can't remember
the bugid). Make the functions in lib/util_unistr.c odd-alignment
safe using some evil macros. Needs testing on bigendian.
Jeremy.
2007-10-10 11:00:16 -05:00
Jeremy Allison
84651aca04 r8564: Sometimes we're too dumb to live... Fix samr calls where we were
using USER_INFO_XX structs and functions where XX was sometimes
in hex and sometimes in decimal. Now it's all in decimal (should
be no functionality change).
Jeremy.
2007-10-10 11:00:09 -05:00
Gerald Carter
318fe7ba00 r8510: Don't include the valgrind headers on 64bit linux systems.
Several incarnations of gcc bork with

Compiling dynconfig.c
/tmp/ccXd94O5.s: Assembler messages:
/tmp/ccXd94O5.s:1202: Error: suffix or operands invalid for `mov'
/tmp/ccXd94O5.s:1289: Error: suffix or operands invalid for `mov'`

Thanks to Bent Vangli for the the leg work and suggestions.
2007-10-10 11:00:07 -05:00
Volker Lendecke
1993e409a5 r8508: Rename EXCLUSIVE_BREAK_SENT to BREAK_TO_NONE_SENT.
Volker
2007-10-10 11:00:07 -05:00
Gerald Carter
aab17a7095 r8472: abartlet's patch for parallel ntlmssp supporttrunk/source/smbd/sesssetup.c 2007-10-10 11:00:06 -05:00
Jim McDonough
0446319a3b r8432: Fix #2077 - login to trusted domain doesn't allow home drive map and login
scripts to be executed.

We were filling in our name as the server which processed the login, even
when it was done by a trusted DC.

Thanks to John Janosik <jpjanosi@us.ibm.com> for the fix.
2007-10-10 11:00:05 -05:00
Günther Deschner
9dc4e4f012 r8427: Printerdb has been moved into a tmp branch.
Guenther
2007-10-10 11:00:04 -05:00
Volker Lendecke
2d2c49518b r8360: Some ioctl constants, found by Björn Jacke <bj@sernet.de> with
msbackup&filemon.

Thanks,

Volker
2007-10-10 10:58:20 -05:00
Jeremy Allison
c7fe18761e r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the torture
tests on this as it's very late NY time (just wanted to get this work
into the tree). I'll test this over the weekend....
Jerry - in looking at the difference between the two trees there
seem to be some printing/ntprinting.c and registry changes we might
want to examine to try keep in sync.
Jeremy.
2007-10-10 10:58:18 -05:00
Gerald Carter
63bc03536b r8152: * remove commented out structure
* use SAMBA_PRINTER_PORT_NAME in registry values for builtin printer
  port
2007-10-10 10:58:12 -05:00
Volker Lendecke
25cbcfba30 r8093: Next round. Now it compiles with --enable-socket-wrapper.
Volker
2007-10-10 10:58:11 -05:00
Volker Lendecke
53c22c0365 r8092: Attempt to fix the socket wrapper stuff for Samba 3.
Volker
2007-10-10 10:58:10 -05:00
Gerald Carter
04431372a6 r8026: * more fixes to the printing registry interface
(still not completely back to the read functionality
  we previously had but the cleanup is progressing)
2007-10-10 10:58:09 -05:00
Gerald Carter
28c7293ee9 r8007: * cleanup unused structure from reg_objects.h
* make regdb_store_XXX() and regdb_fetch_XXX() functions non-static
* use case sensitive string lookups in reg_dynamic.c since the
  keys have already been normalized
* move to new design for making printing related data available
  via the winreg pipe (with the intent of allowing writes)
2007-10-10 10:58:08 -05:00
Gerald Carter
0d6352da48 r7995: * privileges are local except when they're *not*
printmig.exe assumes that the LUID of the SeBackupPrivlege
  on the target server matches the LUID of the privilege
  on the local client.  Even though an LUID is never guaranteed
  to be the same across reboots.  How *awful*!  My cat could
  write better code! (more on my cat later....)

* Set the privelege LUID in the global PRIVS[] array

* Rename RegCreateKey() to RegCreateKeyEx() to better match MSDN

* Rename the unknown field in RegCreateKeyEx() to disposition
  (guess according to MSDN)

* Add the capability to define REG_TDB_ONLY for using the reg_db.c
  functions and stress the RegXXX() rpc functions.
2007-10-10 10:58:07 -05:00
Günther Deschner
28b5969942 r7994: This adds support in Winbindd's "security = ads"-mode to retrieve the POSIX
homedirectory and the loginshell from Active Directory's "Services for Unix".

Enable it with:

        winbind sfu support = yes

User-Accounts without SFU-Unix-Attributes will be assigned template-based
Shells and Homedirs as before.

Note that it doesn't matter which version of Services for Unix you use (2.0,
2.2, 3.0 or 3.5). Samba should detect the correct attributes (msSFULoginShell,
msSFU30LoginShell, etc.) automatically.

If you also want to share the same uid/gid-space as SFU then also use PADL's
ad-idmap-Plugin:

        idmap backend = ad

When using the idmap-plugin only those accounts will appear in Name Service
Switch that have those UNIX-attributes which avoids potential uid/gid-space
clashes between SFU-ids and automatically assigned idmap-ids.

Guenther
2007-10-10 10:58:07 -05:00
Jeremy Allison
12ff297829 r7981: MS-DFS tidyup patches from James Peach <jpeach@sgi.com>.
Looking forward to the day he can commit these himself :-).
Jeremy.
2007-10-10 10:58:06 -05:00
Jeremy Allison
1de27da470 r7963: Add aio support to 3.0.
Jeremy.
2007-10-10 10:58:05 -05:00
Jeremy Allison
095c5dbc18 r7959: Added aio structure and types.
Jeremy.
2007-10-10 10:58:04 -05:00
Jeremy Allison
7eb7f83257 r7946: Minor C++ compatibility fix.
Jeremy.
2007-10-10 10:58:03 -05:00
Gerald Carter
3d837e58db r7908: * change REGISTRY_HOOK api to use const (fix compiler warning
in init_registry_data()
* Add means of storing registry values in registry.tdb
* add builtin_registry_values[] array for REG_DWORD and REG_SZ
  values needed during startup
* Finish up RegDeleteValue() and RegSetValue()
* Finish up regdb_store_reg_values() and regdb_fetch_reg_values()

I can now create and retrieve values using regedit.exe on Win2k.

bin/net -S rain -U% rpc registry enumerate 'hklm\software\samba'
Valuename  = Version
Type       = REG_SZ
Data       = 3.0.20

Next is to do the virtual writes in reg_printing.c and I'll be
done with Print Migrator (yeah!  finally)
2007-10-10 10:58:03 -05:00
Jeremy Allison
0f03a6bdcd r7893: Add in the extra parameters to opendir() to fix the large directory/insane app
problem. Rev vfs version. Doesn't change the normal codepath.
Jeremy.
2007-10-10 10:58:02 -05:00
Gerald Carter
71eb018a05 r7890: * add Reg[SG]etKeySec() server stubs
* merge a compile warning fix from trunk to SAMBA_3_0
2007-10-10 10:58:01 -05:00
Jeremy Allison
22a796fe01 r7886: Fix building with pam_smbpass.
Jeremy.
2007-10-10 10:58:01 -05:00
Jeremy Allison
9506b8e145 r7882: Looks like a large patch - but what it actually does is make Samba
safe for using our headers and linking with C++ modules. Stops us
from using C++ reserved keywords in our code.
Jeremy
2007-10-10 10:58:00 -05:00
Gerald Carter
d50f0ba07e r7878: mostly just a rename of REG_INFO to REG_QUERY_VALUE for better clarity 2007-10-10 10:58:00 -05:00
Jeremy Allison
55029b1a0c r7796: Prepare for client setting capabilities to select posix pathnames on
the wire. Jerry do not merge this please. New SMB_SET_FS_INFO - level
0x200 as was discussed on the mailing list.
Jeremy.
2007-10-10 10:57:21 -05:00
Jeremy Allison
d2aa5bc7aa r7696: Don't try and be clever and read an 8 byte int and 3 pad bytes
as a uint32 - you'll just get it wrong (as I did :-).
Second attempt to fix the Apple client issues.
Jeremy.
2007-10-10 10:57:19 -05:00
Gerald Carter
e188fdbef8 r7691: * add .gdbinit to the svn:ignore files
* start adding write support to the Samba registry
  Flesh out the server implementations of
  RegCreateKey(), RegSetValue(), RegDeleteKey() and RegDeleteValue()

I can create a new key using regedit.exe now but the 'New Key #1'
key cannot be deleted yet.
2007-10-10 10:57:19 -05:00
Gerald Carter
2f08a904ee r7664: add access check hooks to _reg_open_entry which are passed off
to the reg_XXX backend.  If the backend does not define
a regkey_access_check() function, we default to using the
standard registry_access_check()
2007-10-10 10:57:19 -05:00