r42: importing .cvsignore files
[ira/wip.git] / source4 / smbd / rewrite.c
1 #include "includes.h"
2
3 /*
4
5  this is a set of temporary stub functions used during the core smbd rewrite.
6  This file will need to go away before the rewrite is complete
7 */
8
9 void mangle_reset_cache(void) 
10 {}
11
12 void reset_stat_cache(void)
13 {}
14
15
16 BOOL set_current_service(void *conn, BOOL x)
17 { return True; }
18
19 void change_to_root_user(void)
20 {}
21
22 void load_printers(void)
23 {}
24
25 void file_init(void)
26 {}
27
28 BOOL init_oplocks(void)
29 { return True; }
30
31 BOOL init_change_notify(void)
32 { return True; }
33
34
35 BOOL pcap_printername_ok(const char *service, char *foo)
36 { return True; }
37
38 void become_root(void)
39 {}
40
41 void unbecome_root(void)
42 {}
43
44 BOOL namecache_enable(void)
45 { return True; }
46
47 BOOL locking_init(int read_only)
48 { return True; }
49
50 BOOL share_info_db_init(void)
51 { return True; }
52
53 BOOL init_registry(void)
54 { return True; }
55
56 BOOL share_access_check(struct request_context *req, struct tcon_context *conn, int snum, uint32 desired_access)
57 { return True; }
58
59 BOOL init_names(void)
60 { return True; }
61
62 BOOL uid_to_sid(DOM_SID *sid, uid_t uid)
63 {
64         ZERO_STRUCTP(sid);
65         return True;
66 }
67
68 BOOL gid_to_sid(DOM_SID *sid, gid_t gid)
69 {
70         ZERO_STRUCTP(sid);
71         return True;
72 }
73
74
75 BOOL become_user_permanently(uid_t uid, gid_t gid)
76 { return True; }
77
78
79 int sys_getgrouplist(const char *user, gid_t gid, gid_t *groups, int *ngroups)
80 {
81         return 0;
82 }