LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-25-2003, 06:11 AM   #1
Tiago Cruz
Member
 
Registered: Jan 2003
Location: Brasil - São Paulo
Distribution: RHEL, SuSE, *BSD, Debian
Posts: 36

Rep: Reputation: 15
Unhappy Samba -> Expire password


Hi!!!

Peaple, I`m running Samba 2.2.7 with Red Hat 8.0 and I like of know how to make`s force samba to expire password of user`s to change in the next login...

Suggestions?

Code:
[global]
	workgroup = TUX
	netbios name = MAQ_711
	server string = Servidor de dados experimental - Samba Server %v
	encrypt passwords = Yes
	min passwd length = 4
	log file = /var/log/samba/%m.log
	max log size = 100
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	domain logons = Yes
	os level = 64
	preferred master = Yes
	domain master = Yes
	printing = lprng
Very thank`s
 
Old 02-25-2003, 07:56 AM   #2
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
I don't know of any way to do that with Samba.

I have been searching for this for a long time.

Similarly, I would want to set expiry dates and have a message prompt the user for a new password when the expiry date is near. Pretty much the way Windows does it.
 
Old 02-25-2003, 08:17 AM   #3
Tiago Cruz
Member
 
Registered: Jan 2003
Location: Brasil - São Paulo
Distribution: RHEL, SuSE, *BSD, Debian
Posts: 36

Original Poster
Rep: Reputation: 15
Pretty and easy, hehehehe

Thank's for reply

Maybe the Samba-TNG: http://www.samba-tng.org

You have more information about this project?

In the SuSE 8.1 i don't know start the service

The samba "normal" is # rcsmb start but the Tng...

Other: My english is sux

Thanks again
 
Old 03-03-2003, 09:12 PM   #4
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Tiago Cruz

I was reading through the Samba mail archives at Samba.org the other day.

One of the developers was saying that these issues have been addressed by Samba 2.2.8 or something like that. It is a pre-release that is still being tested.

You will need to configure Samba to work with Openldap. The pre-release is available for download.

Sorry I didn't keep the link, but you should be able to find it. It was in February or January's archive.
 
Old 03-05-2003, 05:16 AM   #5
Tiago Cruz
Member
 
Registered: Jan 2003
Location: Brasil - São Paulo
Distribution: RHEL, SuSE, *BSD, Debian
Posts: 36

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jamrock
Tiago Cruz

I was reading through the Samba mail archives at Samba.org the other day.

One of the developers was saying that these issues have been addressed by Samba 2.2.8 or something like that. It is a pre-release that is still being tested.

You will need to configure Samba to work with Openldap. The pre-release is available for download.

Sorry I didn't keep the link, but you should be able to find it. It was in February or January's archive.
Hei Jamrock

I was reading samba mail archives too, and I discovery:

"Use Samba 3.0alpha and pdb_ldap. In pdb_ldap, you want to set the 'pwdMustChange' attribute to 0. " (Andrew Bartlett)

http://lists.samba.org/pipermail/sam...ry/090884.html

Samba 3.0Alpha
http://us1.samba.org/samba/ftp/alpha/WHATSNEW.txt

Ok... I installed Samba3.0 alpha with a RPM package in RH8.0, but I dont know work with pdb_ldap

Code:
# rpm -qa | grep ldap
openldap-devel-2.0.27-2.8.0
nss-ldap-1983
openldap-2.0.27-2.8.0
You can help me, please?

Searching I discovered that I have that to use pdb_ldap, but it would like to know as I install and/or I configure it in the Red Hat 8.0:

# rpm -qa | grep ldap
openldap-devel-2.0.27-2.8.0
nss-ldap-1983
openldap-2.0.27-2.8.0

It is sufficient or need downloading more packages to pdb_ldap?

Sorry, I am a in the subject, and my native language is not this :-(

Very thank's

Last edited by Tiago Cruz; 03-05-2003 at 05:33 AM.
 
Old 03-05-2003, 06:24 AM   #6
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
I haven't looked at Samba 3.0 yet so I can't help.

I can give you a link to a tutorial on using ldap with Samba. Hope this can help. Take a look at Samba 2.2.8 though. Setting it up should be similar to what has been done in the tutorial.

http://www-1.ibm.com/servers/esdd/tu...dap/index.html

There was a post last month by someone who was setting up Samba to work with ldap. He/she may be able to help.

Setting up Samba with ldap seemed a bit complicated and I didn't see any advantages over using the smbpasswd file. This expire password is a good reason to give it a shot, however.

Your English is good enough. I can understand what you are saying.
 
Old 03-05-2003, 07:21 AM   #7
Tiago Cruz
Member
 
Registered: Jan 2003
Location: Brasil - São Paulo
Distribution: RHEL, SuSE, *BSD, Debian
Posts: 36

Original Poster
Rep: Reputation: 15
Hello jamrock!

First, thank you for the attention

I will go to study the tutorial one that he passed me, and I go to see if the staff of the list of the SAMBA has a little more than patience with me

I find other tutorial - Samba (v.3) PDC LDAP howto:
http://www.unav.es/cti/ldap-smb/smb-ldap-3-howto.html

I go to leave link to help using futures here...

Thank you for everything, also for the compliment to my English stocking-mouth

Brazilian regard's to the people of Jamaica
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how expire password automatically manudath Linux - Security 2 04-27-2005 12:38 AM
samba password expire Peds222 Linux - Newbie 1 03-12-2005 04:34 PM
Change text of "password will expire in..." Schlabbl Linux - Software 0 08-25-2004 03:48 AM
Warning: your password will expire in 0 days dragon Linux - Security 5 05-27-2004 02:53 AM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration