Help with Samba please!


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Help with Samba please!
# 1  
Old 09-25-2014
Help with Samba please!

I am having a nightmare getting a new Solaris server to join a domain in order to access some samba shares.

I am a newbie to Unix so am learning as I go.

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

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

Here is my smb.conf:
Code:
[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


My krb5.conf

Code:
[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
	}

Your help is really appreciated!

---------- Post updated at 05:38 AM ---------- Previous update was at 05:20 AM ----------

Thanks for the edit Scrutinizer (I cant PM you)

Last edited by Scrutinizer; 09-25-2014 at 07:29 AM.. Reason: Additional code tags
# 2  
Old 09-25-2014
Something comes to mind from the deep and distant past.

Is the password of the user that you are trying to join the domain with 8 characters or less? That used to be an issue.
# 3  
Old 09-25-2014
Hi hicksd8,

Funnily enough I did read the 8 character password thing as a possible "known bug" on another forum.

I don't want to change my 'administrator' password as it is embedded into lots of stuff, however, I did try creating a new temporary domain admin account with a password less than 8 characters but this didn't work either.
# 4  
Old 09-25-2014
What version of Solaris is it? Solaris 10 or Solaris 11?

Samba client sets up differently on each.
# 5  
Old 09-25-2014
Solaris 10

---------- Post updated at 09:58 AM ---------- Previous update was at 08:09 AM ----------

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?
# 6  
Old 09-25-2014
Old passwd? If has not been changed for a long while it can be an issue...
# 7  
Old 09-26-2014
I presume you mean the AD password? I have changed it but it doesn't seem to have made a difference. I still cant access the shares the next morning.

---------- Post updated at 02:07 AM ---------- Previous update was at 01:35 AM ----------

I just restarted Samba and I was able to connect.

However, strangely I am now unable to connect to the existing 'live' samba share from my PC.

Is there something that allows you to only connect to one?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Ubuntu

Samba Help

All; I've done this before, but sure I'm typing in the wrong search terms, so not finding the help I need. What I have to do: Set up Samba, smb.conf, smbclient, fstab and all other settings so I see both the Windows and Linux servers and their shares in the network, via Samba. It's... (19 Replies)
Discussion started by: TBotNik
19 Replies

2. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

3. UNIX for Dummies Questions & Answers

SAMBA

currently, we are using SAMBA for our ftp way. can SAMBA be encrypted aka sftp ? (2 Replies)
Discussion started by: lawsongeek
2 Replies

4. UNIX for Dummies Questions & Answers

Samba

after creating username/passwd, vi /usr/lib/smb.conf file comment = dropoff location path = /tmp/droloc browsable = No available = yes public = no writable = yes printable = no create mode = 777 valid users = tjmann,palexander,bmartin,.... instead of using... (2 Replies)
Discussion started by: tjmannonline
2 Replies

5. UNIX for Dummies Questions & Answers

Samba help

Hey. I have a question about adding users and maping theirs dirictorys. Main Folder | -User1 Folder -User2 Folder -User3 Folder ...... How can I add this users to have folders in the Main Folder ? any simple script? And I... (0 Replies)
Discussion started by: net555
0 Replies

6. Solaris

SAMBA - where?

Greetings.. I need SAMBA to implement a backup strategy , the problem is that i cant find it anywhere... can u guys gimme a link to a sun compatilble version of samba ? thanx thanx htanx..... :rolleyes: (3 Replies)
Discussion started by: nEuRoMaNcEr
3 Replies

7. UNIX for Dummies Questions & Answers

Why use Samba?

Hi, I am sorry I am total dummy in Unix. I am starting to explore a thing call "Samba". From my initial and rough finding, I think Samba is only useful in providing Print services to PC platform users. That is to say, The Unix machine which has Samba installed, is able to provide print... (3 Replies)
Discussion started by: champion
3 Replies

8. UNIX for Dummies Questions & Answers

Need Samba Help

Hi, I am very new to Unix, do know some RedHat linux. I am wanting to install samba on my unix machine. Not sure where to start, any help would be very much appreciated. Thanks, Chris Lewis (4 Replies)
Discussion started by: lewy33
4 Replies

9. Programming

Samba 2.2.4

Has any setup samba 2.2.4 inside of unix ver 11.0, i am trying to mount a nfs mount on a w2k, and wxp box, and i was told that i had to upgrade to sambe 2.2.4, but the c compiler on ver 11.0 isnt ansii compatable, I could please use any help or directions on this matter... thanks (0 Replies)
Discussion started by: marvin51796
0 Replies
Login or Register to Ask a Question