Adam Williams wrote:


André Ribas wrote:
Ok, then I'll have all the posix users in my ldap base, but how about the samba users?


And a lot of samba users... but Samba needs that the user exists in the linux too. So my problem is how to migrate both posix _and_ samba users.


you migrate the posix users first with the migrate_passwd.pl script. then set up nss_ldap using /etc/ldap.conf and then edit /etc/nsswitch.conf and add ldap to the end of the passwd group and shadow lines, so that pam will look for users in the ldap directory, then migrate your samba users over using the pdbedit command in your first email. be sure to set up migrate_common.ph, you want the EXTENDED_SCHEMA=1 so that it will load samba attributes. also you will need include /etc/openldap/schema/samba.schema in slapd.conf



Thanks a lot for the help. It really solved my problem.

Now I'm gonna authenticate Squid in Ldap. It seems to bee pretty easy to do that. My only question is which attributes that squid uses to authenticate in Ldap? They're the same of posix or samba users?

I need different passwords for samba and Squid.

Reply via email to