Syncing AD password with Samba


 
Thread Tools Search this Thread
Operating Systems Solaris Syncing AD password with Samba
# 1  
Old 07-17-2009
Java Syncing AD password with Samba

Hi all! I was hoping someone could point me in the right direction...

I am running Solaris10, and 3.04 Samba (we might use 3.0.32)

What I want to do:

I want to provide samba shares to our Windows clients with single sign on

Currently what I have:

I have a samba server providing shares for the windows clients

I manually use the following command for every user

smbpasswd -a username
default pass
confirm default pass

Now, to provide single sign on...

The user has to press CTRL + ALT + DEL and point to our Samba server;
input username and default pass and then use their current AD password which will provide promptless access to our samba shares as long as their AD password and smbpasswd are the same.

Now the problem is that the AD passwords change every month which makes this manual intervention rather tedious...

My Question:

I wanted to know what is the simplest (and best) way to provide synced AD password and Samba password, so when a user changes their AD password, the smbpasswd will be updated as well.

Now is this even possible?

Please let me know, as I am still learning and I am a little stumped...

If anyone knows any good docs, or correct terminology to help me search for this more appropriately, it would be greatly appreciated!!

Thanks!!
# 2  
Old 07-17-2009
Looking over the samba docs ( http://us3.samba.org/samba/docs/using_samba/ch04.html ) I believe what you need is "Samba as a Domain Member Server" so that Samba will pass off auth details to the domain controller instead of managing its own list of accounts.

My experience with AD and Samba is very limited so I might be way off course; I posted what seemed to make sense to me and is a best guess.
# 3  
Old 07-17-2009
Unfortunately, I don't think getting trusted by AD is an option...

Is there any other ways to pool this information?
# 4  
Old 07-20-2009
Is there anybody out there that knows of a solution?

We have an LDAP server that can query for AD information; we can make our Solaris box running the Samba server an LDAP client but currently the box is setup with NIS

Is there any other possible way for AD to update the smbpasswd on the Samba server so users would only need to change their AD password once every few weeks as opposed to changing their AD password as well as their smbpasswd?

Any solutions with Samba or cheap alternatives?

Any help of any sort would be greatly appreciated!
# 5  
Old 07-23-2009
Okay... I hope someone can clarify some of this for me Smilie (and correct my logic if I am not understanding the functionality if possible)

I've been searching and reading up on Samba and found a few options..

1.) I can have my my Samba server added to AD and have AD authenticate the windows user clients providing SSO to the Samba shares

2.) I can make the use of PAM and have the the smbpasswd change alongside the local unix password using passwd

3.) I can manually change the smbpasswd to match the AD password

4.) Is there anyway to make use of the LDAP AD password to sync with the smbpasswd?

Any Samba experts out there?

Thanks,
Keep
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Forum Support Area for Unregistered Users & Account Problems

Password sent via reset password email is 'weak' and won't allow me to change my password

I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login. Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies

2. UNIX for Advanced & Expert Users

Setup Samba Server to always ask user and password

How do I setup a Samba server to always ask to user and password, when a windows user, prints your files using a shared printer through a Samba Linux Server (CUPS)? (0 Replies)
Discussion started by: viga
0 Replies

3. Solaris

Samba with password server

Hi guys, I have also here a Sol-10 with samba configured all is working out but just want to know if i set a password server pointing to a windows domain with Active Directory... do i still have to create a samba user on my Sol-10 or all username/pass authentication will be done on the windows... (2 Replies)
Discussion started by: batas
2 Replies

4. 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

5. Filesystems, Disks and Memory

RAID syncing 2 partitions

Hi all, I tried setting up RAID between 2 partitions and it was success. If I write some things on /dev/md0, both partition got affected. Then I stop the RAID, and I mounted one of my partition and I created a file in it. Now I started the RAID (mdadm --assemble --scan) What I expected... (1 Reply)
Discussion started by: lakshmananindia
1 Replies

6. Linux

NTPD seems to be not syncing !!!

Hi Linux Admin Guys My onsite server is always 15 min slow and seems like NTPD (Network Time Protocol (NTP) daemon) not running properly. can anyone suggest me how to rectify this problem? we can't seem to get NTP to properly sync the clock. Any help is resolving the issue will be helpful.... (12 Replies)
Discussion started by: csaha
12 Replies

7. UNIX for Advanced & Expert Users

filesystem syncing

Does anyone know if there is free software that can keep 2 filesystem on remote machines , synced. This will be part of our Disaster Recovery to keep one machine off site , which will take over should the need arise.. Thanks (6 Replies)
Discussion started by: markdr011
6 Replies

8. UNIX for Advanced & Expert Users

samba questions (password conversion to blowfish and is it wise to sync the useraccou

i stumbled upon something that gave some nice instructions on how to convert FreeBSD passwords from md5 to blowfish. it was simple and straight forward and it worked. i'm running samba on the machine. now i know the tutorial i was following had something where a user's samba and machine... (1 Reply)
Discussion started by: xyyz
1 Replies
Login or Register to Ask a Question