Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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)
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.