summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2011-07-20s3-auth Use struct auth3_session_info outside the auth subsystemAndrew Bartlett1-6/+6
This seperation between the structure used inside the auth modules and in the wider codebase allows for a gradual migration from struct auth_serversupplied_info -> struct auth_session_info (from auth.idl) The idea here is that we keep a clear seperation between the structure before and after the local groups, local user lookup and the session key modifications have been processed, as the lack of this seperation has caused issues in the past. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-04s3-lib Move event_add_idle() to source3/lib/events.cAndrew Bartlett1-7/+0
This allows libauth not to depend on smbd_base. Andrew Bartlett
2011-06-21s3-build: Provide a run-time shim to work around duplicate symbolsAndrew Bartlett1-0/+14
The become_root() and similar 'smbd' functions that are used widely in Samba libraries had 'dummy' copies in dummysmbd.c and dummyroot.c. These have been replaced by a runtime plugin mechanim, which ensures that standlone binaries still do nothing, while in smbd the correct function is used. This avoids having these as duplicate symbols in the smbd binary, which can cause unpredictable behaviour. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-20ldb: replace 'struct TDB_DATA' with 'TDB_DATA'Rusty Russell1-0/+5
The typedef is TDB2 compatible, the struct isn't. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-05-31s3:smbd/proto.h: add _SMBD_PROTO_H_ guardMichael Adam1-0/+5
2011-05-31s3:smbd/proto.h: add GPL/Copyright headerMichael Adam1-0/+44
2011-05-31s3-smbd Split conn.c into 3 filesAndrew Bartlett1-1/+1
The idea with this split is to make it easier to handle dependencies, avoiding having the loadparm code depend on the global server variables, without resorting to dummy functions and linker tricks. conn_clear_vuid_cache() is brought in from uid.c to make it static Andrew Bartlett
2011-05-31s3-smbd provide struct smbd_server_connection * to conn_snum_usedAndrew Bartlett1-2/+3
This provides the 'sconn' parameter to this key functions, that is currently duplicated in dummysmbd.c, which causes duplicate symbol issues in the waf build. This has natrually caused a number of consequential changes across the codebase, includning not passing a messaging context into initial reload_services(): This causes problems because the global smbd_server_connection isn't yet set up, as there isn't a connection here, just the initial process. Andrew Bartlett
2011-05-20s3: Fork the echo handler only after SMB1 negprot is doneVolker Lendecke1-0/+1
This enables activating the echo responder also if SMB2 is enabled, albeit it will only be used for SMB1 at this moment. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri May 20 15:06:03 CEST 2011 on sn-devel-104
2011-05-06s3: only include tdb headers where needed.Günther Deschner1-1/+2
Guenther
2011-05-05Fix many const compiler warnings.Jeremy Allison1-1/+1
2011-05-02s3-smbd: avoid using pipes_struct when only session_info is needed.Günther Deschner1-1/+1
Guenther
2011-04-15Ensure vfs_chown_fsp() is safe against races.Jeremy Allison1-0/+2
2011-04-13s3: Make send_nt_replies() staticVolker Lendecke1-4/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Apr 13 16:25:29 CEST 2011 on sn-devel-104
2011-04-11s3-smbd: Added a become_user_by_session() function.Andreas Schneider1-0/+2
This uses the provided session_info instead of searching the user via the vuid. This is useful to work with fake connnection you need to create if someone connects directly to a rpc service. Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-11s3-smbd: Added a change_to_user_by_session() function.Andreas Schneider1-0/+2
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-03-30Fix bug #7996 - sgid bit lost on folder rename.Jeremy Allison1-0/+1
Refuse to set dos attributes into unix mode bits on such a folder.
2011-03-30s3-prototyes: user_in_netgroup and user_in_list moved to auth, out of smbd.Günther Deschner1-2/+0
Guenther
2011-03-30s3-smbd: add smbd.h and move smbd prototypes to smbd/proto.h.Günther Deschner1-0/+1131
Guenther