summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-04-14 15:15:32 +0200
committerGünther Deschner <gd@samba.org>2010-05-28 14:31:39 +0200
commit93ac516e15ab771b6ed4eeacc556a2ec916387bb (patch)
treea795aa18ad806ac26d79214551f2014d27ac5477 /source3/smbd
parent87037006bd27601b620d0d31f72261ba968d9567 (diff)
downloadsamba-93ac516e15ab771b6ed4eeacc556a2ec916387bb.tar.gz
samba-93ac516e15ab771b6ed4eeacc556a2ec916387bb.tar.bz2
samba-93ac516e15ab771b6ed4eeacc556a2ec916387bb.zip
s3-auth: Added a function to get the server_info from the system user.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index fcfabcd06f..7cd69467a8 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1318,6 +1318,11 @@ extern void build_options(bool screen);
exit(1);
#endif
+ if (!init_system_info()) {
+ DEBUG(0,("ERROR: failed to setup system user info.\n"));
+ return -1;
+ }
+
if (!print_backend_init(smbd_messaging_context()))
exit(1);