Götz Reinicke - IT-Koordinator
2010-Nov-12 07:15 UTC
[Samba] Samba and LDAP - which attributes are mandatory which optional
Hallo, I'm asking myself, which LDAP attributes are mandatory which optional for user and workstation accounts. After using the smbldap-populate command there where different attributes set than for adding users with the smbldap-useradd command. --- snip --- sambaAcctFlags: sambaHomeDrive: sambaHomePath: sambaKickoffTime: sambaLMPassword: sambaLogoffTime: sambaLogonScript: sambaLogonTime: sambaNTPassword: sambaPrimaryGroupSID: sambaProfilePath: sambaPwdCanChange: sambaPwdLastSet sambaPwdMustChange: --- snap --- Regards and Thanks for any help, G?tz -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzende des Aufsichtsrats: Prof. Dr. Claudia H?bner Gesch?ftsf?hrer: Prof. Thomas Schadt
Daniel Müller
2010-Nov-12 08:23 UTC
[Samba] Samba and LDAP - which attributes are mandatory which optional
Hello G?tz, A short explanation sambaAcctFlags:[W]-Workstation, [U]-User. String of 11 characters surrounded by square brackets [ ] representing account flags such as U (user), W (workstation), X (no password expiration), I (domain trust account), H (home dir required), S (server trust account), and D (disabled). sambaHomeDrive: forces the [homes] mapped to a certain Letter (ex: S:). Refer to the ?logon drive?.If empty smb.conf sambaHomePath: your.homes.path. if empty smb.conf [homes] path is used sambaKickoffTime: Specifies the time (UNIX time format) when the user will be locked down and cannot login any longer. If this attribute is omitted, then the account will never expire. Using this attribute together with shadowExpire of the shadowAccount ObjectClass will enable accounts to expire completely on an exact date. sambaLMPassword: Lan Manager Password sambaLogoffTime: sambaLogonScript: your.logon.script. if empty smb.conf netlogon script. sambaLogonTime: sambaNTPassword: Stores the passwords auto. Do not touch sambaPrimaryGroupSID: The primary Group SID auto. Do not touch. sambaProfilePath: The Profile Path. If it is empty taken from smb.conf. Not needed if you do no profiles. sambaPwdCanChange: need to be 0 or 1. 1 user can change password sambaPwdLastSet: counts the last set of password automatically. Used for your password policy. The integer time in seconds since 1970 when the sambaLMPassword and sambaNTPassword attributes were last set. sambaPwdMustChange: You must set to 0 or 1. 0 the user must change his password needs: sambaPwdCanChange =1. On some distributions you also need to, sambaPwdLastSet=0. You can go into deep there: http://www.linuxtopia.org/online_books/network_administration_guides/samba_r eference_guide/18_passdb_23.html Greetings Daniel ----------------------------------------------- EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de ----------------------------------------------- -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von G?tz Reinicke - IT-Koordinator Gesendet: Freitag, 12. November 2010 08:15 An: samba at lists.samba.org Betreff: [Samba] Samba and LDAP - which attributes are mandatory which optional Hallo, I'm asking myself, which LDAP attributes are mandatory which optional for user and workstation accounts. After using the smbldap-populate command there where different attributes set than for adding users with the smbldap-useradd command. --- snip --- sambaAcctFlags: sambaHomeDrive: sambaHomePath: sambaKickoffTime: sambaLMPassword: sambaLogoffTime: sambaLogonScript: sambaLogonTime: sambaNTPassword: sambaPrimaryGroupSID: sambaProfilePath: sambaPwdCanChange: sambaPwdLastSet sambaPwdMustChange: --- snap --- Regards and Thanks for any help, G?tz -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzende des Aufsichtsrats: Prof. Dr. Claudia H?bner Gesch?ftsf?hrer: Prof. Thomas Schadt
Seemingly Similar Threads
- Samba, LDAP, Windows XP - force passwordchange on first login
- samba 3.3 with LDAP - How To change passwor from WIndows
- How ot migrate from /etc/samba/smbpasswd -> LDAP ldapsam:trusted
- Samba, ldap and machine accounts
- Pittfals Windows 7 and samba 3.3.8 (centos 5.5), LDAP BE - joining domain