![]() |
Help Setting up openLDAP/Samba on Ubuntu 8.04
Hi Everyone,
Thank you for having a site and forum where us less experienced users can get help. I'm setting up a linux based server for a local company and have ran into some snags. I havn't had much server experience and this is my first linux server setup. This is the current configuration for the Ubuntu Server: Webmin, OpenLDAP, Samba, BIND DNS are installed and configured as per the tutorial here: http://www.howtoforge.com/openldap-s...ler-ubuntu7.10 IP: 192.168.1.116 Gateway: 192.168.1.1 Runing "hostname -f" returns "dcon" Runing "hostname -a" returns "dcon.csts.local" Ping dcon from a winXP machine comes back ok ping 192.168.1.116 from a winXP machine comes back ok pinging "CSTS" or "CSTS.local" returns unable to find host I've gone through the entire tutorial and done everything as instructed, including setting up Apache2 and phpLDAPadmin. Here are the snags I get: Step 6 says to run "net getlocalsid". When I run that, this is what I get: Code:
root@dcon:~# net getlocalsidSo I'm not sure what's wrong in my setup. I've put up some of the config files incase that helps. Unix/LDAP users and passwords root safety1 shai safety1 ricky 12345 /etc/hosts: Code:
127.0.0.1 localhosthttp://pastie.org/282871 /etc/samba/smb.conf http://pastie.org/282875 /etc/smbldap-tools/smbldap.conf http://pastie.org/282878 /etc/smbldap-tools/smbldap_bind.conf Code:
############################http://pastie.org/282883 /etc/resolv.conf Code:
### BEGIN INFOThank you everyone for your help, Shai |
Help Setting up openLDAP/Samba on Ubuntu 8.04
Hi Shai,
looking at the response from your attempts to get the sid you have not set the dc correctly in one or more config files. The response "failed to bind to server ldap://localhost/ with dn="cn=admin,dc=example,dc=local" Error: Invalid credentials" shows that you have used the default settings from the howto. I would suggest going back over it and changing every instance of dc=example, dc=local with dc=csts, dc=local. Then carry on the installation from where you left off. Hope this helps Nick |
| All times are GMT +2. The time now is 12:31. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.