I''am installing samba-pdc using http://directory.fedoraproject.org/wiki/Howto:Samba i am stumbled at the final point of adding Administrator: pdbedit -U S-1-5-21-1017320176-1068811812-2284442376-500 -u Administrator -r Username not found! pdbedit -U S-1-5-21-1017320176-1068811812-2284442376-500 -u Administrator -a Cannot locate Unix account for Administrator in discussion i read: http://directory.fedoraproject.org/wiki/Talk:Howto:Samba "I found that the step to use pdbedit to modify the administrator account was failing. after much searching i realized it is expecting the Administrator account that was added with ldif2ldap of the sambaAdministrator.ldap to *already* have a sambasamaccount object class associated with it." i dunno how to do it :( other comments make me wonder if using this howto i will be ever able to install samba-pdc :( if someone was able to do it, please! share your experience with us :) m.
Does anyone have samba working with FDS? I can add a sambasamaccount objectclass, but it looks like there are missing attributes from advanced properties. From the schema config, I see the required attributes are only: objectclass, sambasid, uid. Other important attributes such as sambaLMpassword, sambadomain, are only listed as allowed attributes. I don''t know if I have to add them manually, how many are required, or how to generate the encrypted password. If anyone has any ideas, any help would be appreciated. On 3/3/08, Maurizio Marini <maumar@cost.it> wrote:> > I''am installing samba-pdc using > http://directory.fedoraproject.org/wiki/Howto:Samba > > i am stumbled at the final point of adding Administrator: > pdbedit -U S-1-5-21-1017320176-1068811812-2284442376-500 -u Administrator > -r > Username not found! > pdbedit -U S-1-5-21-1017320176-1068811812-2284442376-500 -u Administrator > -a > Cannot locate Unix account for Administrator > > in discussion i read: > http://directory.fedoraproject.org/wiki/Talk:Howto:Samba > > "I found that the step to use pdbedit to modify the administrator account > was > failing. after much searching i realized it is expecting the Administrator > account that was added with ldif2ldap of the sambaAdministrator.ldap to > *already* have a sambasamaccount object class associated with it." > > i dunno how to do it :( > > other comments make me wonder if using this howto i will be ever able to > install samba-pdc :( > > > if someone was able to do it, please! share your experience with us :) > m. > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
Maurizio Marini
2008-Mar-11 09:05 UTC
Re: [Fedora-directory-users] trouble installing samba
On Wed March 5 2008, solarflow99 wrote:> Does anyone have samba working with FDS? > > I can add a sambasamaccount objectclass, but it looks like there are > missing attributes from advanced properties. From the schema config, I see > the required attributes are only: objectclass, sambasid, uid. Other > important attributes such as sambaLMpassword, sambadomain, are only listed > as allowed attributes. I don''t know if I have to add them manually, how > many are required, or how to generate the encrypted password. If anyone > has any ideas, any help would be appreciated.Hi i finally got samba working with fds 1.1; what was missing was /etc/ldap.conf configuration. This url can be very helpful: http://wiki.zimbra.com/index.php?title=UNIX_and_Windows_Accounts_in_Zimbra_LDAP_and_Zimbra_Admin_UI the "Configuring on RHEL5/CentOS5/Fedora7 using authconfig" help me. Firstly: authconfig --enableldap --enableldapauth --disablenis --enablecache \ --ldapserver=gregzimbra1.zimbra.com --ldapbasedn=dc=gregzimbra1,dc=zimbra,dc=com \ --updateall further: " The last parameter will update /etc/ldap.conf, /etc/nsswitch.conf and /etc/pam.d/system-auth configuration files. The only file which requires manual editing is /etc/ldap.conf. The base line should be already there. It is inserted by authconfig. You should also see a uri line with the address of your ldap server. The host, binddn, bindpw, rootbinddn lines should be added as explained above and /etc/ldap.secret file should exist and contain a password." after these 2 stepes, i was able to add administrator samba account. Thns, i installed smbldap an di run smbldap-populate populate is very very powerful, it does and fixes everything, at all. After populate veriything is workung like a charm :) m. -- Dr. Maurizio Marini CoST Computers Services and Technologies s.r.l. http://www.cost.it e-mail: maurizio.marini@cost.it phone: +39.0245446202 fax: +39.0245446333 mobile: +39.3358259739