Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Help!  Cannot get Samba to work!

Posted on 2014-09-25
3
Medium Priority
?
285 Views
Last Modified: 2014-09-29
I am having a nightmare getting a new Solaris server to join a domain in order to access some samba shares.


[global]
	workgroup = OURDOMAIN
	realm = INTERNAL.OURDOMAIN.COM
	server string = Maginus SUN2014, Samba %v
	interfaces = 172.XX.X.X
	security = ADS
	password server = *
	server signing = auto
  	client signing = auto
	map to guest = Bad Password
	guest account = web
	preferred master = Auto
	wins server = 172.XX.X.X, 172.XX.X.X, 172.XX.X.X
	idmap uid = 10000-20000
	idmap gid = 10000-20000
	template shell = /bin/bash
	winbind enum users = Yes
	winbind enum groups = Yes

[home_report]
	comment = Home Report for Res Bulk Pick Lists
	path = /home/report
	guest only = Yes
	guest ok = Yes

Open in new window


krb5.conf
[libdefaults]
        default_realm = INTERNAL.OURDOMAIN.COM

[realms]
        INTERNAL.OURDOMAIN.COM = {
                kdc = DC1.INTERNAL.OURDOMAIN.COM
                kdc = DC2.INTERNAL.OURDOMAIN.COM
                kdc = DC3.INTERNAL.OURDOMAIN.COM              
                admin_server = DC1.INTERNAL.OURDOMAIN.COM
        }

[domain_realm]
	OURDOMAIN = INTERNAL.OURDOMAIN.COM

[logging]
        default = FILE:/var/krb5/kdc.log
        kdc = FILE:/var/krb5/kdc.log
	kdc_rotate = {

# How often to rotate kdc.log. Logs will get rotated no more
# often than the period, and less often if the KDC is not used
# frequently.

		period = 1d

# how many versions of kdc.log to keep around (kdc.log.0, kdc.log.1, ...)

		versions = 10
	}

[appdefaults]
	kinit = {
		renewable = true
		forwardable= true
	}
	gkadmin = {
		help_url = http://docs.sun.com:80/ab2/coll.384.1/SEAM/@AB2PageView/1195
	}

Open in new window


Every time I try the net ads join -U administrator command, I get:

# net ads join -U administrator
Enter administrator's password:
[2014/09/25 08:29:27.672173,  0] libads/kerberos.c:333()
  kerberos_kinit_password administrator@INTERNAL.OURDOMAIN.COM failed: Preauthentication failed
Failed to join domain: failed to connect to AD: Preauthentication failed

I am a newbie to unix/samba and I am learning as I go, so your help is appreciated!
0
Comment
Question by:fieldj
  • 3
3 Comments
 

Author Comment

by:fieldj
ID: 40344140
Woohoo, our distributor finally got it working by updating Samba and starting from scratch.

Only odd thing is myself and one other user (in my department) still cannot browse to the shares, everyone else is OK.  Any ideas what might cause this?
0
 

Accepted Solution

by:
fieldj earned 0 total points
ID: 40349458
It looks like this was a cached credential problem to do with a mapped drive.

I am not entirely sure what the problem was but it seems to have resolved itself with time.
0
 

Author Closing Comment

by:fieldj
ID: 40349459
resolved with help of external support
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month12 days, 10 hours left to enroll

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question