summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2012-05-03s3:vfs fix compiler warningChristian Ambach1-0/+5
vfs_default.c:1875:10: warning: no previous prototype for 'vfswrap_audit_file'
2012-05-03s3:lib fix compiler warningsChristian Ambach1-0/+6
g_lock.c:182:20: warning: no previous prototype for ‘g_lock_lock_send’ g_lock.c:270:10: warning: no previous prototype for ‘g_lock_lock_recv’
2012-05-02s3-passdb: Change pdb_sid_to_id() to return struct unixidAndrew Bartlett1-3/+3
This will make it easier to consistantly pass a struct unixid all the way up and down the idmap stack, and allow ID_TYPE_BOTH to be handled correctly. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org>
2012-05-01s3:util add sid_check_is_wellknown_builtin()Christian Ambach1-0/+1
2012-04-30s3-lib Add a way to allocate the task_id value in server_idAndrew Bartlett1-0/+1
This safely allocates the task_id so that when we have multiple event contexts, they can each have their own messaging context, particularly for the imessaging subsystem under source4. Andrew Bartlett
2012-04-30s4-messaging: Fill in the whole server_id in all use casesAndrew Bartlett1-3/+0
This started per https://bugzilla.samba.org/show_bug.cgi?id=8872#c4 and avoids any possible collision with a different process. We also need to ensure that across a Samba installation on a single node that id.vnn is the same. Samba4 previously used 0, while Samba3 used NONCLUSTER_VNN. When a message is sent between these 'different' nodes, the error NT_STATUS_INVALID_DEVICE_REQUEST is raised. Andrew Bartlett
2012-04-28Add an audit file VFS routine so we can handle auditing with SACLs.Richard Sharpe2-0/+11
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Apr 28 08:05:00 CEST 2012 on sn-devel-104
2012-04-23Make krb5 wrapper library common so they can be used all overSimo Sorce2-223/+1
2012-04-20s3:memcache: remove the idmap-part from memcacheMichael Adam1-4/+0
This was useful before the idmap cache was moved to gencache. Nowadays it is available to smbd through gencache, so we can remove the extra caching layer.
2012-04-19s3-g_lock: Use dbwrap_record_watch_send/recvVolker Lendecke1-5/+0
This simplifies the g_lock implementation. The new implementation tries to acquire a lock. If that fails due to a lock conflict, wait for the g_lock record to change. Upon change, just try again. The old logic had to cope with pending records and an ugly hack into ctdb itself. As a bonus, we now get a really clean async g_lock_lock_send/recv that can asynchronously wait for a global lock. This would have been almost impossible to do without the dbwrap_record_watch infrastructure.
2012-04-19s3-passdb: Remove unused sampass->pass_must_change_timeAndrew Bartlett1-3/+0
There is no need to call pdb_set_pass_must_change_time() because nothing ever consults that value. It is always calculated from the domain policy. Also, this means we no longer store the value in LDAP. The value would only ever be set when migrating from tdbsam or smbpasswd, not on password changes, so would become incorrect over time. Andrew Bartlett
2012-04-18s3-build: move file_id.c into samba3-util and create a private headerAndrew Bartlett2-6/+1
2012-04-17s3:libsmb/ntlmssp: add ntlmssp_is_anonymous()Stefan Metzmacher1-0/+1
metze
2012-04-17s3: New notify implementationVolker Lendecke1-1/+1
From notify_internal.c: /* * The notify database is split up into two databases: One * relatively static index db and the real notify db with the * volatile entries. */ This change is necessary to make notify scale better in a cluster
2012-04-17s3: Start a list of ctdb srvid assigmentsVolker Lendecke1-0/+40
2012-04-17s3: Introduce ctdb_messaging_send_blobVolker Lendecke1-0/+3
Send a raw blob without the messaging.idl wrap
2012-04-17s3: Add messaging_tdb_event()Volker Lendecke1-0/+3
This is a void* that represents a signal handler attached to some custom tevent_context. This is necessary to make the tdb based messaging infrastructure trigger its business when we are sitting in tevent_loop_once for an event context that is not the main one in the messaging context.
2012-04-17s3: Return CTDB_PATH from lp_ctdbd_socket()Volker Lendecke1-0/+1
All callers had that fallback
2012-04-16param: Change from _lp to lp__ as the prefix for internal parameter wrappersAndrew Bartlett1-1/+1
This will make a merge with the lib/param param code easier, as we can then paste lp_ to the front of all parameters unconditionally. Andrew Bartlett
2012-04-16make _lp_readraw() and _lp_writeraw() staticAndrew Bartlett1-2/+0
2012-04-12clikrb5: Move pure krb wrapper functions from libads to clikrb5.Simo Sorce1-0/+3
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-12auth-krb: Move pac related util functions in a single place.Simo Sorce1-0/+1
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-11s3:param convert kernel oplocks to share parameterChristian Ambach1-1/+1
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-04-09Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with ↵Jeremy Allison1-10/+0
platforms that don't have these. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 9 21:40:42 CEST 2012 on sn-devel-104
2012-04-06build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett7-49/+46
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
2012-04-05s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configureAndrew Bartlett3-9/+0
If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configureAndrew Bartlett3-8/+1
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configureAndrew Bartlett3-7/+1
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configureAndrew Bartlett3-10/+0
2012-04-05build: Remove unused GLIBC_HACK_FCNTL64Andrew Bartlett1-13/+0
This is not set from anywhere, and refers to Red Hat 7.0, which is really, really old now. Andrew Bartlett
2012-04-05build: Remove SMB_F* locking definesAndrew Bartlett1-16/+0
2012-04-05build: Remove SMB_STRUCT_FLOCK defineAndrew Bartlett1-4/+0
2012-04-05build: Remove SMB_STRUCT_DIR defineAndrew Bartlett3-26/+18
2012-04-05build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett2-10/+2
2012-04-05build: Remove sys_rewinddir wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_closedir wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_telldir wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_seekdir wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_readdir wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_opendir wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_fopen wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_open wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_creat wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_ftell wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_lseek wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_ftruncate wrapperAndrew Bartlett1-1/+0
2012-04-05build: #ifdef LARGE_SMB_OFF_T as off_t is now always 64 bitsAndrew Bartlett2-16/+0
2012-04-05build: do not use HAVE_EXPLICIT_LARGEFILE_SUPPORT and *64() fucntions any moreAndrew Bartlett2-51/+4
2012-04-03s3-krb5: Remove unused smb_krb5_get_keyinfo_from_ap_req()Andrew Bartlett1-4/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: remove unused unwrap_pac()Andrew Bartlett1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>