summaryrefslogtreecommitdiff
path: root/source4/smb_server
AgeCommit message (Collapse)AuthorFilesLines
2012-06-15lib/param: Create a seperate server role for "active directory domain ↵Andrew Bartlett2-2/+2
controller" This will allow us to detect from the smb.conf if this is a Samba4 AD DC which will allow smarter handling of (for example) accidentially starting smbd rather than samba. To cope with upgrades from existing Samba4 installs, 'domain controller' is a synonym of 'active directory domain controller' and new parameters 'classic primary domain controller' and 'classic backup domain controller' are added. Andrew Bartlett
2012-05-24s4:smb_server/smb: fix talloc_free() bugStefan Metzmacher1-1/+1
ERROR: talloc_free with references at ../source4/smb_server/smb/receive.c:637 reference at ../source4/ntvfs/posix/pvfs_wait.c:86 metze
2012-05-23Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy3-3/+7
System MIT krb5 build also enabled by specifying --without-ad-dc When --with-system-mitkrb5 (or --withou-ad-dc) option is passed to top level configure in WAF build we are trying to detect and use system-wide MIT krb5 libraries. As result, Samba 4 DC functionality will be disabled due to the fact that it is currently impossible to implement embedded KDC server with MIT krb5. Thus, --with-system-mitkrb5/--without-ad-dc build will only produce * Samba 4 client libraries and their Python bindings * Samba 3 server (smbd, nmbd, winbindd from source3/) * Samba 3 client libraries In addition, Samba 4 DC server-specific tests will not be compiled into smbtorture. This in particular affects spoolss_win, spoolss_notify, and remote_pac rpc tests.
2012-05-09s4:smb_server/smb: only create a new session with vuid == 0Stefan Metzmacher3-9/+17
metze
2012-04-11s4-smb2: Fix a talloc crash bug.Andreas Schneider1-2/+2
The talloc context needs to be initialzed or NULL. So move talloc_steal() to the position where req is initialized. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Apr 11 15:59:39 CEST 2012 on sn-devel-104
2012-04-02s4:smb_server/smb2: add missing 'return;' statements in smb2srv_chain_reply()Stefan Metzmacher1-0/+3
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 2 23:02:53 CEST 2012 on sn-devel-104
2012-04-02s4:smb_server/smb2: after smbsrv_terminate_connection() we have to returnStefan Metzmacher1-1/+0
req is a talloc child of the connection... metze
2012-04-02s4:smb_server/smb2: fix memory leak in smb2srv_chain_reply()Stefan Metzmacher1-0/+2
metze
2012-04-02s4:smb_server/smb2: use helper variable smb2srv_chain_reply()Stefan Metzmacher1-6/+7
metze
2012-04-02s4:smb_server/smb: remove a request from the list before adding the next one ↵Stefan Metzmacher1-0/+1
in a chain. metze
2012-03-07s4-smb_server: Put error from share_get_config() into the logsAndrew Bartlett1-1/+1
2012-02-28s3fs: added file_server directoryAndrew Tridgell1-0/+1
this contains a file server backend that forks and starts smbd Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2012-02-28s4-smb_server Remove inetd-mode samba3 hookAndrew Bartlett2-191/+0
2012-02-18auth: Reorder arguments to generate_session_infoAndrew Bartlett1-4/+4
This matches check_ntlm_password() and generate_session_info_pac() Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Feb 18 02:19:35 CET 2012 on sn-devel-104
2012-02-13auth: Pass in the SMB username (for %U) into generate_session_infoAndrew Bartlett1-1/+3
This matches what Samba3 does. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 13 01:25:59 CET 2012 on sn-devel-104
2012-02-07smb_server: Preserve signedness of string push return value.Jelmer Vernooij1-1/+1
2011-11-08s4-smb_server No longer follow the security=share smb.conf directiveAndrew Bartlett5-24/+2
By ignoring the value of security= from the smb.conf, we can allow this to instead set the value of 'server role' in a manner compatible with the Samba 3.x release stream. Andrew Bartlett
2011-11-03nbt: trim down header dependencies of nbt.idl.Günther Deschner1-0/+1
Guenther
2011-11-03s4:smb_server: s/SMB_SIGNING_SUPPORTED/SMB_SIGNING_IF_REQUIRED/Stefan Metzmacher2-2/+2
metze
2011-11-03s4:smb_server: change the default for "server signing" to "default"Stefan Metzmacher2-2/+8
metze
2011-11-03s4:smb_server/smb2: add the same SMB_SIGNING_AUTO logic as for smb1Stefan Metzmacher1-2/+25
metze
2011-11-03s4:smb_server/smb: make the SMB_SIGNING_AUTO behavior a bit easier to followStefan Metzmacher1-19/+25
The prepares a future change to SMB_SIGNING_DEFAULT. metze
2011-10-31s4:smb_server/smb2: correctly implement related compound requestsStefan Metzmacher2-0/+15
We need to remember the session id and tree id. metze
2011-10-31s4:smb_server/smb2: always grant the requested creditsStefan Metzmacher3-20/+20
At least one credit, if the client asked for 0. metze
2011-10-31s4:smb_server/smb2: echo back more header fieldsStefan Metzmacher1-3/+7
metze
2011-10-19s4:smb_server/smb2: make use of _smb_setlen_tcp()Stefan Metzmacher1-1/+1
metze
2011-10-19s4:smb_server/smb: make use of _smb_setlen_nbt()Stefan Metzmacher1-1/+1
metze
2011-10-19s4-smb_server do not set credentials on gensec twiceAndrew Bartlett1-4/+0
The samba_server_gensec_start() has already set the credentials on the gensec_security context. Andrew Bartlett
2011-10-18gensec: move event context from gensec_*_init() to gensec_update()Andrew Bartlett2-2/+2
This avoids keeping the event context around on a the gensec_security context structure long term. In the Samba3 server, the event context we either supply is a NULL pointer as no server-side modules currently use the event context. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-08s4:smb_server: implement dfs referral handing on top of ↵Stefan Metzmacher2-812/+54
dfs_server_ad_get_referrals() metze
2011-09-29s4:smb_server/smb2: make sure we sign the final session setupStefan Metzmacher1-3/+10
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 29 18:59:54 CEST 2011 on sn-devel-104
2011-09-05s4:smb_server: make use of PROTOCOL_SMB2_02Stefan Metzmacher3-3/+3
metze
2011-08-18credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
2011-08-03gensec: clarify memory ownership for gensec_session_info() and ↵Andrew Bartlett2-3/+4
gensec_session_key() This is slightly less efficient, because we no longer keep a cache on the gensec structures, but much clearer in terms of memory ownership. Both gensec_session_info() and gensec_session_key() now take a mem_ctx and put the result only on that context. Some duplication of memory in the callers (who were rightly uncertain about who was the rightful owner of the returned memory) has been removed to compensate for the internal copy. Andrew Bartlett
2011-07-21update/add my copyrightMatthieu Patou1-1/+1
2011-07-12s4:libcli/raw: s/SMBchkpth/SMBcheckpathStefan Metzmacher1-1/+1
metze
2011-07-12s4:smb_server: s/SMBkeepalive/NBSSkeepaliveStefan Metzmacher1-3/+3
metze
2011-06-23dfsreferral: search client's site and use itMatthieu Patou1-2/+2
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Jun 23 01:50:39 CEST 2011 on sn-devel-104
2011-06-09lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett1-1/+1
This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
2011-06-06s4-ipv6: removed an old commentAndrew Tridgell1-1/+0
the comment is not correct any more
2011-06-06s4-ipv6: update callers to load_interface_list()Andrew Tridgell2-2/+2
2011-06-06s4-ipv6: use "ip" instead of "ipv4" for serversAndrew Tridgell1-1/+1
this allows stream_setup_socket() to work with both v4 and v6 addresses
2011-06-06s4-ipv6: use iface_list_wildcard() to listen on IPv6Andrew Tridgell2-9/+27
when we need to listen on a wildcard address, we now listen on a list of sockets, usually 0.0.0.0 and ::
2011-05-18s4-dfs: Add workaround so that XP really works wellMatthieu Patou1-13/+18
XP seems to have problems working at a correct speed (or even working at all if we return referral of level 4).
2011-05-17s4-dfs: Use a workaround for ndr relative pointer bug/limitationMatthieu Patou1-11/+8
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue May 17 01:33:27 CEST 2011 on sn-devel-104
2011-05-17s4-dfs: clean the codeMatthieu Patou1-44/+50
2011-05-17s4-dfs: fix bugs in idl and adapt code accordinglyMatthieu Patou1-17/+23
2011-05-08s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett2-6/+6
The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
2011-05-08libds: moved enum security_types to a common headerAndrew Tridgell1-2/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-08s4-auth Rename auth -> auth4 to avoid conflict with s3 authAndrew Bartlett2-2/+2