1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

use FILE_MACRO instead of __FILE__

use FUNCTION_MACRO instead of __FUNCTION_
(This used to be commit 243763d6eb107ab2444d81025232c8fe795baaf1)
This commit is contained in:
Herb Lewis 2002-12-03 21:49:00 +00:00
parent db9686ff89
commit 73bf5369b8
7 changed files with 60 additions and 60 deletions

View File

@ -69,7 +69,7 @@
/* assert macros */
#define SMB_ASSERT(b) ((b)?(void)0: \
(DEBUG(0,("PANIC: assert failed at %s(%d)\n", \
__FILE__, __LINE__)), smb_panic("assert failed")))
FILE_MACRO, __LINE__)), smb_panic("assert failed")))
#define SMB_ASSERT_ARRAY(a,n) SMB_ASSERT((sizeof(a)/sizeof((a)[0])) >= (n))
/* these are useful macros for checking validity of handles */
@ -156,17 +156,17 @@
#define HAS_CACHED_ERROR(fsp) ((fsp)->wbmpx_ptr && \
(fsp)->wbmpx_ptr->wr_discard)
/* Macro to turn the cached error into an error packet */
#define CACHED_ERROR(fsp) cached_error_packet(outbuf,fsp,__LINE__,__FILE__)
#define CACHED_ERROR(fsp) cached_error_packet(outbuf,fsp,__LINE__,FILE_MACRO)
/* these are the datagram types */
#define DGRAM_DIRECT_UNIQUE 0x10
#define ERROR_DOS(class,code) error_packet(outbuf,NT_STATUS_OK,class,code,__LINE__,__FILE__)
#define ERROR_NT(status) error_packet(outbuf,status,0,0,__LINE__,__FILE__)
#define ERROR_BOTH(status,class,code) error_packet(outbuf,status,class,code,__LINE__,__FILE__)
#define ERROR_DOS(class,code) error_packet(outbuf,NT_STATUS_OK,class,code,__LINE__,FILE_MACRO)
#define ERROR_NT(status) error_packet(outbuf,status,0,0,__LINE__,FILE_MACRO)
#define ERROR_BOTH(status,class,code) error_packet(outbuf,status,class,code,__LINE__,FILE_MACRO)
/* this is how errors are generated */
#define UNIXERROR(defclass,deferror) unix_error_packet(outbuf,defclass,deferror,__LINE__,__FILE__)
#define UNIXERROR(defclass,deferror) unix_error_packet(outbuf,defclass,deferror,__LINE__,FILE_MACRO)
#define SMB_ROUNDUP(x,r) ( ((x)%(r)) ? ( (((x)+(r))/(r))*(r) ) : (x))

View File

@ -527,7 +527,7 @@ static int ldapsam_search(struct ldapsam_privates *ldap_state,
}
if (rc == LDAP_SERVER_DOWN) {
DEBUG(0,("%s: LDAP server is down!\n",__FUNCTION__));
DEBUG(0,("%s: LDAP server is down!\n",FUNCTION_MACRO));
ldapsam_close(ldap_state);
}
@ -551,7 +551,7 @@ static int ldapsam_modify(struct ldapsam_privates *ldap_state, char *dn, LDAPMod
}
if (rc == LDAP_SERVER_DOWN) {
DEBUG(0,("%s: LDAP server is down!\n",__FUNCTION__));
DEBUG(0,("%s: LDAP server is down!\n",FUNCTION_MACRO));
ldapsam_close(ldap_state);
}
@ -575,7 +575,7 @@ static int ldapsam_add(struct ldapsam_privates *ldap_state, const char *dn, LDAP
}
if (rc == LDAP_SERVER_DOWN) {
DEBUG(0,("%s: LDAP server is down!\n",__FUNCTION__));
DEBUG(0,("%s: LDAP server is down!\n",FUNCTION_MACRO));
ldapsam_close(ldap_state);
}
@ -599,7 +599,7 @@ static int ldapsam_delete(struct ldapsam_privates *ldap_state, char *dn)
}
if (rc == LDAP_SERVER_DOWN) {
DEBUG(0,("%s: LDAP server is down!\n",__FUNCTION__));
DEBUG(0,("%s: LDAP server is down!\n",FUNCTION_MACRO));
ldapsam_close(ldap_state);
}
@ -623,7 +623,7 @@ static int ldapsam_extended_operation(struct ldapsam_privates *ldap_state, LDAP_
}
if (rc == LDAP_SERVER_DOWN) {
DEBUG(0,("%s: LDAP server is down!\n",__FUNCTION__));
DEBUG(0,("%s: LDAP server is down!\n",FUNCTION_MACRO));
ldapsam_close(ldap_state);
}

View File

@ -247,7 +247,7 @@ pytdbpack_data(const char *format_str,
default:
PyErr_Format(PyExc_ValueError,
"%s: format character '%c' is not supported",
__FUNCTION__, ch);
FUNCTION_MACRO, ch);
return NULL;
}
}
@ -477,7 +477,7 @@ pytdbunpack(PyObject *self,
if (i == 0) {
PyErr_Format(PyExc_ValueError,
"%s: '$' may not be first character in format",
__FUNCTION__);
FUNCTION_MACRO);
return NULL;
}
while (packed_len > 0)
@ -511,7 +511,7 @@ static void
pytdbunpack_err_too_short(void)
{
PyErr_Format(PyExc_IndexError,
__FUNCTION__ ": data too short for unpack format");
FUNCTION_MACRO ": data too short for unpack format");
}
@ -598,7 +598,7 @@ pytdbunpack_buffer(char **pbuf, int *plen, PyObject *val_list)
if (slen < 0) { /* surely you jest */
PyErr_Format(PyExc_ValueError,
__FUNCTION__ ": buffer seems to have negative length");
FUNCTION_MACRO ": buffer seems to have negative length");
return NULL;
}
@ -608,7 +608,7 @@ pytdbunpack_buffer(char **pbuf, int *plen, PyObject *val_list)
if (*plen < slen) {
PyErr_Format(PyExc_IndexError,
__FUNCTION__ ": not enough data to unpack buffer: "
FUNCTION_MACRO ": not enough data to unpack buffer: "
"need %d bytes, have %d",
(int) slen, *plen);
return NULL;
@ -668,7 +668,7 @@ static PyObject *pytdbunpack_item(char ch,
}
else {
PyErr_Format(PyExc_ValueError,
__FUNCTION__ ": format character '%c' is not supported",
FUNCTION_MACRO ": format character '%c' is not supported",
ch);
return NULL;

View File

@ -170,7 +170,7 @@ static NTSTATUS make_backend_entry(SAM_BACKEND_ENTRY *backend_entry, char *sam_b
if (!secrets_fetch_domain_sid(backend_entry->domain_name, backend_entry->domain_sid)) {
DEBUG(2,("make_backend_entry: There is no SID stored for domain %s. Creating a new one.\n",
backend_entry->domain_name));
DEBUG(0, ("FIXME in %s:%d\n", __FILE__, __LINE__));
DEBUG(0, ("FIXME in %s:%d\n", FILE_MACRO, __LINE__));
ZERO_STRUCTP(backend_entry->domain_sid);
}

View File

@ -622,7 +622,7 @@ static NTSTATUS sam_ads_set_sec_desc(const SAM_METHODS *sam_method, const NT_USE
const DOM_SID *sid, const SEC_DESC *sd)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}
@ -677,7 +677,7 @@ static NTSTATUS sam_ads_lookup_name(const SAM_METHODS *sam_method, const NT_USER
static NTSTATUS sam_ads_update_domain(const SAM_METHODS *sam_method, const SAM_DOMAIN_HANDLE *domain)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}
@ -984,7 +984,7 @@ done:
static NTSTATUS sam_ads_update_account(const SAM_METHODS *sam_method, const SAM_ACCOUNT_HANDLE *account)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}
@ -992,7 +992,7 @@ static NTSTATUS sam_ads_update_account(const SAM_METHODS *sam_method, const SAM_
static NTSTATUS sam_ads_delete_account(const SAM_METHODS *sam_method, const SAM_ACCOUNT_HANDLE *account)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
@ -1003,7 +1003,7 @@ static NTSTATUS sam_ads_delete_account(const SAM_METHODS *sam_method, const SAM_
static NTSTATUS sam_ads_enum_accounts(const SAM_METHODS *sam_method, const NT_USER_TOKEN *access_token, uint16 acct_ctrl, uint32 *account_count, SAM_ACCOUNT_ENUM **accounts)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}
@ -1040,7 +1040,7 @@ static NTSTATUS sam_ads_get_account_by_sid(const SAM_METHODS *sam_method, const
static NTSTATUS sam_ads_get_account_by_sid(const SAM_METHODS *sam_method, const NT_USER_TOKEN *access_token, const uint32 access_desired, const DOM_SID *account_sid, SAM_ACCOUNT_HANDLE **account)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}
@ -1078,7 +1078,7 @@ static NTSTATUS sam_ads_get_account_by_name(const SAM_METHODS *sam_method, const
static NTSTATUS sam_ads_get_account_by_name(const SAM_METHODS *sam_method, const NT_USER_TOKEN *access_token, const uint32 access_desired, const char *account_name, SAM_ACCOUNT_HANDLE **account)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}
@ -1088,7 +1088,7 @@ static NTSTATUS sam_ads_get_account_by_name(const SAM_METHODS *sam_method, const
static NTSTATUS sam_ads_create_group(const SAM_METHODS *sam_method, const NT_USER_TOKEN *access_token, uint32 access_desired, const char *group_name, uint16 group_ctrl, SAM_GROUP_HANDLE **group)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}
@ -1096,7 +1096,7 @@ static NTSTATUS sam_ads_create_group(const SAM_METHODS *sam_method, const NT_USE
static NTSTATUS sam_ads_add_group(const SAM_METHODS *sam_method, const SAM_GROUP_HANDLE *group)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}
@ -1104,7 +1104,7 @@ static NTSTATUS sam_ads_add_group(const SAM_METHODS *sam_method, const SAM_GROUP
static NTSTATUS sam_ads_update_group(const SAM_METHODS *sam_method, const SAM_GROUP_HANDLE *group)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}
@ -1112,7 +1112,7 @@ static NTSTATUS sam_ads_update_group(const SAM_METHODS *sam_method, const SAM_GR
static NTSTATUS sam_ads_delete_group(const SAM_METHODS *sam_method, const SAM_GROUP_HANDLE *group)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}
@ -1196,7 +1196,7 @@ static NTSTATUS sam_ads_enum_groups(const SAM_METHODS *sam_method, const NT_USER
static NTSTATUS sam_ads_get_group_by_sid(const SAM_METHODS *sam_method, const NT_USER_TOKEN *access_token, const uint32 access_desired, const DOM_SID *groupsid, SAM_GROUP_HANDLE **group)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}
@ -1204,7 +1204,7 @@ static NTSTATUS sam_ads_get_group_by_sid(const SAM_METHODS *sam_method, const NT
static NTSTATUS sam_ads_get_group_by_name(const SAM_METHODS *sam_method, const NT_USER_TOKEN *access_token, const uint32 access_desired, const char *name, SAM_GROUP_HANDLE **group)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}
@ -1212,7 +1212,7 @@ static NTSTATUS sam_ads_get_group_by_name(const SAM_METHODS *sam_method, const N
static NTSTATUS sam_ads_add_member_to_group(const SAM_METHODS *sam_method, const SAM_GROUP_HANDLE *group, const SAM_GROUP_MEMBER *member)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}
@ -1220,7 +1220,7 @@ static NTSTATUS sam_ads_add_member_to_group(const SAM_METHODS *sam_method, const
static NTSTATUS sam_ads_delete_member_from_group(const SAM_METHODS *sam_method, const SAM_GROUP_HANDLE *group, const SAM_GROUP_MEMBER *member)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}
@ -1228,7 +1228,7 @@ static NTSTATUS sam_ads_delete_member_from_group(const SAM_METHODS *sam_method,
static NTSTATUS sam_ads_enum_groupmembers(const SAM_METHODS *sam_method, const SAM_GROUP_HANDLE *group, uint32 *members_count, SAM_GROUP_MEMBER **members)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}
@ -1236,7 +1236,7 @@ static NTSTATUS sam_ads_enum_groupmembers(const SAM_METHODS *sam_method, const S
static NTSTATUS sam_ads_get_groups_of_sid(const SAM_METHODS *sam_method, const NT_USER_TOKEN *access_token, const DOM_SID **sids, const uint16 group_ctrl, uint32 *group_count, SAM_GROUP_ENUM **groups)
{
ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED;
DEBUG(0,("sam_ads: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_ads: %s was called!\n",FUNCTION_MACRO));
SAM_ASSERT(sam_method);
return ads_ntstatus(ads_status);
}

View File

@ -35,26 +35,26 @@ SAM_MODULE_VERSIONING_MAGIC
static NTSTATUS sam_skel_get_sec_desc(const SAM_METHODS *sam_methods, const NT_USER_TOKEN *access_token, const DOM_SID *sid, SEC_DESC **sd)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_set_sec_desc(const SAM_METHODS *sam_methods, const NT_USER_TOKEN *access_token, const DOM_SID *sid, const SEC_DESC *sd)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_lookup_sid(const SAM_METHODS *sam_methods, const NT_USER_TOKEN *access_token, TALLOC_CTX *mem_ctx, const DOM_SID *sid, char **name, uint32 *type)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_lookup_name(const SAM_METHODS *sam_methods, const NT_USER_TOKEN *access_token, const char *name, DOM_SID *sid, uint32 *type)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
@ -63,13 +63,13 @@ static NTSTATUS sam_skel_lookup_name(const SAM_METHODS *sam_methods, const NT_US
static NTSTATUS sam_skel_update_domain(const SAM_METHODS *sam_methods, const SAM_DOMAIN_HANDLE *domain)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_get_domain_handle(const SAM_METHODS *sam_methods, const NT_USER_TOKEN *access_token, uint32 access_desired, SAM_DOMAIN_HANDLE **domain)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
@ -78,44 +78,44 @@ static NTSTATUS sam_skel_get_domain_handle(const SAM_METHODS *sam_methods, const
static NTSTATUS sam_skel_create_account(const SAM_METHODS *sam_methods, const NT_USER_TOKEN *access_token, uint32 access_desired, const char *account_name, uint16 acct_ctrl, SAM_ACCOUNT_HANDLE **account)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_add_account(const SAM_METHODS *sam_methods, const SAM_ACCOUNT_HANDLE *account)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_update_account(const SAM_METHODS *sam_methods, const SAM_ACCOUNT_HANDLE *account)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_delete_account(const SAM_METHODS *sam_methods, const SAM_ACCOUNT_HANDLE *account)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_enum_accounts(const SAM_METHODS *sam_methods, const NT_USER_TOKEN *access_token, uint16 acct_ctrl, uint32 *account_count, SAM_ACCOUNT_ENUM **accounts)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_get_account_by_sid(const SAM_METHODS *sam_methods, const NT_USER_TOKEN *access_token, uint32 access_desired, const DOM_SID *accountsid, SAM_ACCOUNT_HANDLE **account)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_get_account_by_name(const SAM_METHODS *sam_methods, const NT_USER_TOKEN *access_token, uint32 access_desired, const char *name, SAM_ACCOUNT_HANDLE **account)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
@ -124,69 +124,69 @@ static NTSTATUS sam_skel_get_account_by_name(const SAM_METHODS *sam_methods, con
static NTSTATUS sam_skel_create_group(const SAM_METHODS *sam_methods, const NT_USER_TOKEN *access_token, uint32 access_desired, const char *account_name, uint16 group_ctrl, SAM_GROUP_HANDLE **group)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_add_group(const SAM_METHODS *sam_methods, const SAM_GROUP_HANDLE *group)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_update_group(const SAM_METHODS *sam_methods, const SAM_GROUP_HANDLE *group)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_delete_group(const SAM_METHODS *sam_methods, const SAM_GROUP_HANDLE *group)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_enum_groups(const SAM_METHODS *sam_methods, const NT_USER_TOKEN *access_token, uint16 group_ctrl, uint32 *groups_count, SAM_GROUP_ENUM **groups)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_get_group_by_sid(const SAM_METHODS *sam_methods, const NT_USER_TOKEN *access_token, uint32 access_desired, const DOM_SID *groupsid, SAM_GROUP_HANDLE **group)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_get_group_by_name(const SAM_METHODS *sam_methods, const NT_USER_TOKEN *access_token, uint32 access_desired, const char *name, SAM_GROUP_HANDLE **group)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_add_member_to_group(const SAM_METHODS *sam_methods, const SAM_GROUP_HANDLE *group, const SAM_GROUP_MEMBER *member)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_delete_member_from_group(const SAM_METHODS *sam_methods, const SAM_GROUP_HANDLE *group, const SAM_GROUP_MEMBER *member)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_enum_groupmembers(const SAM_METHODS *sam_methods, const SAM_GROUP_HANDLE *group, uint32 *members_count, SAM_GROUP_MEMBER **members)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}
static NTSTATUS sam_skel_get_groups_of_sid(const SAM_METHODS *sam_methods, const NT_USER_TOKEN *access_token, const DOM_SID **sids, uint16 group_ctrl, uint32 *group_count, SAM_GROUP_ENUM **groups)
{
DEBUG(0,("sam_skel: %s was called!\n",__FUNCTION__));
DEBUG(0,("sam_skel: %s was called!\n",FUNCTION_MACRO));
return NT_STATUS_NOT_IMPLEMENTED;
}

View File

@ -100,7 +100,7 @@ void cgi_load_variables(void)
#ifdef DEBUG_COMMENTS
char dummy[100]="";
print_title(dummy);
d_printf("<!== Start dump in cgi_load_variables() %s ==>\n",__FILE__);
d_printf("<!== Start dump in cgi_load_variables() %s ==>\n",FILE_MACRO);
#endif
if (!content_length) {