summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
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>
2012-04-03s3-krb5: remove unused get_auth_data_from_tktAndrew Bartlett1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: Remove unused get_authtime_from_tktAndrew Bartlett1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: Remove unused krb5_rd_req_return_keyblock_from_keytabAndrew Bartlett1-8/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: Remove unused get_principal_from_tktAndrew Bartlett1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-libsmb: Remove unused spnego_parse_krb5_wrap()Andrew Bartlett1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-26s3: Pass filters explicitly through vfs notify watchVolker Lendecke2-6/+8
This removes a dependency on "struct notify_entry" and makes the nature of the API more explicit. We depend upon the VFS module to mask out elements from e->filter and e->subdir_filter that it took over to handle. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Mar 26 17:45:44 CEST 2012 on sn-devel-104
2012-03-24use usleep rather than sys_usleep in various places, in anticipation of ↵Jelmer Vernooij1-1/+0
usleep moving to libreplace.
2012-03-24lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij1-2/+2
The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104
2012-03-24adt_tree: Avoid WERROR.Jelmer Vernooij1-1/+1