summaryrefslogtreecommitdiff
path: root/file_server/file_server.c
AgeCommit message (Collapse)AuthorFilesLines
2013-07-10s4:server: avoid calling into nss_winbind from within 'samba'Stefan Metzmacher1-0/+9
The most important part is that the 'winbind_server' doesn't recurse into itself. This could happen if the krb5 libraries call getlogin(). As we may run in single process mode, we need to set _NO_WINBINDD=1 everywhere, the only exception is the forked 'smbd'. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Jul 10 23:18:06 CEST 2013 on sn-devel-104
2012-12-15s3fs: make the log warning go awayRicky Nance1-0/+1
standard input is not a socket, assuming -D option Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat Dec 15 17:50:23 CET 2012 on sn-devel-104
2012-11-01s3-param: Move the options needed for running smbd in the AD DC to loadparmAndrew Bartlett1-51/+2
This avoids the whole fileserver.conf thing, and simply handles everything in C. The main challenge is that if s3fs is enabled in a member server configuration (unlikely) then these options will not be set, and it overrides any other attempt to set these as globals. (The previous approach essentially just changed defaults, because the include = of smb.conf was after the values were set in fileserver.conf). Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Nov 1 11:47:22 CET 2012 on sn-devel-104
2012-11-01file_server: put set create mask and directory mask in fileserver.confAndrew Bartlett1-0/+2
This allows any ACL to be set from the client, without restriction from the Samba side. Based on advise from Jermey at https://lists.samba.org/archive/samba-technical/2012-October/088414.html Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2012-09-04file_server: Remove explicit set of passdb backend in fileserver.confAndrew Bartlett1-1/+0
The default is now set during smb.conf loading based on the server role or during provision. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Sep 4 14:05:34 CEST 2012 on sn-devel-104
2012-09-04file_server: Run task_server_terminate when smbd existsAndrew Bartlett1-0/+4
This will help us shut down when smbd cannot bind to ports or perform some other critical startup operation. Based on a patch by Stefan Metzmacher <metze@samba.org> Andrew Bartlett
2012-09-04file_server: use 'subreq' as variable instead of 'req'Stefan Metzmacher1-4/+4
This matches the style of all other tevent_req users. metze
2012-09-04file_server: Clarify code by avoiding a gotoAndrew Bartlett1-4/+2
As suggested by Ricky Nance <ricky.nance@weaubleau.k12.mo.us> Andrew Bartlett
2012-08-30file_server: Fix spoolss support with s3fs.Andreas Schneider1-1/+1
2012-08-23param: Add startup checks for valid server role/binary combinationsAndrew Bartlett1-0/+1
This should eliminate confusion from our users about what they can expect to successfully run. Andrew Bartlett
2012-08-23file_server: Move default VFS module settings to loadparm.cAndrew Bartlett1-12/+0
This means that any utility that calls into the VFS layer will get the right modules. Because we use the fake_acls backend we need to override this whole list in Samba4.pm however. Andrew Bartlett
2012-07-03file_server: add [globals] to generated smb.confAndrew Bartlett1-0/+1
2012-06-15s3-auth: rework default auth methods around the lp_server_role() parameterAndrew Bartlett1-1/+0
To cover all the enum values, ROLE_ACTIVE_DIRECTORY_DOMAIN_CONTROLLER is mapped to the samba4 auth module, and this is no longer required to be specified in fileserver.conf. Andrew Bartlett
2012-06-11file_server: Use samba4 auth module for guest logins as wellAndrew Bartlett1-1/+1
This is important for consistancy on NTLM logins, as the samba4 stack is used for all NTLMSSP logins anyway. Andrew Bartlett
2012-05-02file_server: set 'store dos attributes = yes'Andrew Bartlett1-0/+5
This means we do not need the old permissions-based mappings. Andrew Bartlett
2012-05-02file_server: use embedded srvsvcAndrew Bartlett1-0/+1
2012-05-02file_server: Use the embedded winreg serverAndrew Bartlett1-0/+1
2012-05-02file_server: use embedded ntsvcs serverAndrew Bartlett1-0/+1
2012-05-02file_server: use embedded eventlog serverAndrew Bartlett1-0/+1
2012-05-02file_server: forward dssetup, but use embedded svcctl for s3fsAndrew Bartlett1-1/+1
2012-04-18s3fs: Use xattr_tdb format for xattr storageAndrew Bartlett1-2/+4
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 18 05:39:01 CEST 2012 on sn-devel-104
2012-04-03file_server: Move vfs objects initialisation into file_server.c smb.conf wrapperAndrew Bartlett1-0/+11
2012-02-28s3fs: when samba is logging to stdout, ask smbd to also do soAndrew Tridgell1-1/+3
this prevents make test getting spurious errors about opening log files in the install prefix
2012-02-28s3fs: added file_server directoryAndrew Tridgell1-0/+124
this contains a file server backend that forks and starts smbd Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>