Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Ubuntu Server 14.04 LTS - domain controller configuration (SAMBA) Post 302940734 by AQwert on Wednesday 8th of April 2015 03:31:07 PM
Old 04-08-2015
Ubuntu Server 14.04 LTS - domain controller configuration (SAMBA)

Hello!
Never configured a Linux server from a scratch.
Reviewed the official documentation and dozens of different "how to", but now one of them helped me to solve the issue.

The need:

Quote:
1. Ubuntu Server (already installed)
2. Connect to it 1 Linux Mint computer (already installed) + 1 computer with Windows 7 (already installed).

Need to create 3 groups with permissions:
1. AdminUsers(with full admin access).
2. SimpleUsers (with limited access and interdiction of applicatoin install on Linux Mint and Windows 7
3. AdvancedUsers (with moderated access: permissions to install apps)

Need to create users inside each of those groups (User: Adm1 inside AdminUsers group, user: Simple1 inside SimpleUseres group, user:Advus inside AdvancedUsers group).
Need to connect with specific user from Linux Mint and Windows 7.
Need to have redirected Desktop to specific folder on the Server (for SimpleUsers - they share same Desktop, for AdminUsers and AdvancedUsers - they have their own Desktop, but still under folders inside Server and not on their local machines.
My final goal is to install a small network (later with around 10 stations) where I can controle the stations OS from the Server (example: limiting different apps installation on Win7-8, Linux Mint 17, MacOS with the users restrictions)
And also add a personalized and group file sharing.

Ubuntu Server 14.04 LTS.
Installed Samba by following this video: _youtube.com/watch?v=Rf7Hk8qWt1Q
_ubuntuforums.org/showthread.php?t=2146198

But receiving errors:

Receiving error in the authentication step verification:
# smbclient //localhost/netlogon -U 'administrator'
Enter administrator's password:
Domain=[USERVER] OS=[Unix] Server=[Samba 4.1.6-Ubuntu]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

==

And next also receiving error:
kinit administrator@MYDOMAIN.LOCAL
kinit: Cannot contact any KDC for realm 'MYDOMAIN.LOCAL' while getting initial credentials
--

On the side of Win7 I applied two registrie fixes (found this on the web).
But cannot connect the station to the domain.
Cannot even ping the domain: not the host and not the full domain host.mydomain.local
But, when placing the DNS in Win7 with IP of my server can ping the host, but still not the domain: not host.mydomain.local and not mydomain.local, only host unswering pings.


Dont really understand if this is an authomated task: thus mean, that by adding from the side of win7 station to the domain it will create the station name authomaticaly on the side of Ubuntu Server. Or, I need first write this station name somwhere on the side of Ubuntu Server, give the permissions to this specific station and only than add it from the side of Win7.
But all this should be the next steps, presently, as I understand the problem is in correct Samba configuration

Can someone suggest the correction?

Thank you in advance!
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Samba / FreeBSD member server in MSFT 2003 AD domain

By following the Samba.org how-to's and various finds on groups.google.com I've succeeded in getting a FreeBSD (5.2.1-RELEASE) / Samb-3.0.0,1 server in to my MSFT 2003 Active Directory domain as a member server, but there is a little problem I'm having trouble resolving. Newly created user... (0 Replies)
Discussion started by: ccy
0 Replies

2. UNIX for Dummies Questions & Answers

Samba change domain controller

Hello people i have a samba and they changed domain controller from a windows 2003 to a windows 2008, there is a problem with the version of samba maybe incompatibilities i dont know what show me this domain_client_validate: unable to validate password for user xxxx in domain xxxx to Domain... (0 Replies)
Discussion started by: enkei17
0 Replies

3. Debian

Testing a SAMBA Domain Controller

Hello,,, We have an existing(working) MS PDC in our office. I have already installed SAMBA with LDAP Authentication on a TEST machine (on same LAN). But, am unable to join a WinXP machine to this domain. in smb.conf i have: WORKGROUP = mydomain and tried to join the XP machine to... (0 Replies)
Discussion started by: coolatt
0 Replies

4. UNIX for Dummies Questions & Answers

how to fix these preoblems in samba in order to act as domain controller

Dear all I now working on samba in order to act as domain controller, but I have some problems in the configuration file that I don't how to solve it, so I hope you able to give me some help: the warnings and the configuration I made : dos charset = 850 unix charset = ISO8859-1 ... (0 Replies)
Discussion started by: hard_revenge
0 Replies

5. Ubuntu

Ubuntu Server 10.04 LTS - Regular crontab "caches old scripts"

Hi, I'm using a Ubuntu Server 10.04 LTS and it works like a charm, except for the regular crontab. Onde day a user had some problems with crontab, i analyse it and i see no problemns, all my stuff is working right. Cron is running smoth... I only noticed it when i altered a script already... (2 Replies)
Discussion started by: grafman
2 Replies

6. Solaris

Solaris 11 server as Primary Domain Controller

Hi, All of our servers run Solaris (currently 10, but looking to upgrade to 11). In each of our offices we have a server configured as a Primary Domain Controller via Samba to provide naming services to our Windoze users. I would like to continue with that arrangement, but I would also like... (2 Replies)
Discussion started by: wgkorb
2 Replies

7. Ubuntu

Logging samba share in Ubuntu 12.04 LTS

Hi guys I am trying to log full_audit on my samba shares so I know who is creating, deleting, renaming, moving etc. files and directories in the samba/windows share. In my etc/samba/smb.conf file, under I have: # Audit settings full_audit: prefix = %u|%I|%S full_audit:failure =... (0 Replies)
Discussion started by: Akshay Hegde
0 Replies
Net::Server::Mail::ESMTP::XFORWARD(3pm) 		User Contributed Perl Documentation		   Net::Server::Mail::ESMTP::XFORWARD(3pm)

NAME
Net::Server::Mail::ESMTP::XFORWARD - A module to add support to the XFORWARD command in Net::Server::Mail::ESMTP SYNOPSIS
use Net::Server::Mail::ESMTP; my @local_domains = qw(example.com example.org); my $server = new IO::Socket::INET Listen => 1, LocalPort => 25; my $conn; while($conn = $server->accept) { my $esmtp = new Net::Server::Mail::ESMTP socket => $conn; # activate some extensions $esmtp->register('Net::Server::Mail::ESMTP::XFORWARD'); # adding some handlers $esmtp->set_callback(RCPT => &validate_recipient); $esmtp->process(); $conn->close() } sub validate_recipient { my($session, $recipient) = @_; my $domain; if($recipient =~ /@(.*)>s*$/) { $domain = $1; } if(not defined $domain) { return(0, 513, 'Syntax error.'); } elsif(not(grep $domain eq $_, @local_domains) && $session->get_forwarded_addr != "10.1.1.1") { return(0, 554, "$recipient: Recipient address rejected: Relay access denied"); } return(1); } DESCRIPTION
When using a Net::Server::Mail::ESMTP script inside a MTA and not in front of Internet, values like client IP address are not accessible to the script and when the script returns mail to an other instance of smtpd daemon, it logs "localhost" as incoming address. To solve this problem, some administrators use the XFORWARD command. This module gives the ability to read and store XFORWARD informations. METHODS These methods return the values set by the upstream MTA without modifying them so they can be set to undef or "[UNVAILABLE]". See Postfix documentation for more. o get_forwarded_values : returns a hash reference containing all values forwarded (keys in lower case). o get_forwarded_name : returns the up-stream hostname. The hostname may be a non-DNS hostname. o get_forwarded_address : returns the up-stream network address. Address information is not enclosed with []. The address may be a non-IP address. o get_forwarded_source : returns LOCAL or REMOTE. o get_forwarded_helo : returns the hostname that the up-stream host announced itself. It may be a non-DNS hostname. o get_forwarded_proto : returns the mail protocol for receiving mail from the up-stream host. This may be an SMTP or non-SMTP protocol name of up to 64 characters. SEE ALSO
Net::Server::Mail::ESMTP, <http://www.postfix.org/XFORWARD_README.html> AUTHOR
Xavier Guimard, <x.guimard@free.fr> COPYRIGHT AND LICENSE
Copyright (C) 2006 by Xavier Guimard This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.6.4 or, at your option, any later version of Perl 5 you may have available. POD ERRORS
Hey! The above document had some coding errors, which are explained below: Around line 167: You forgot a '=back' before '=head1' perl v5.10.0 2007-04-09 Net::Server::Mail::ESMTP::XFORWARD(3pm)
All times are GMT -4. The time now is 02:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy