Cobbler 2.0.11
by Scott Henson
I've released Cobbler 2.0.11 today. Lots of bug fixes are included in
this release. It can be found in the usual places[0]. Please provide
karma in Bodhi[1]. It should hit the various testing repositories in the
next day or so. Thanks to all those who contributed to this release.
SHA256 sums:
b7b5eb143eead40a06152a6515f87c29f523098fe7d3e7d4fecbf31ace7a08e5 cobbler-2.0.11-1.el5.src.rpm
d3c870e373d6f6dcf5b1986ca48d003abb5b53cfbf5df7aab85e98f6d41c6bba cobbler-2.0.11.tar.gz
[0] - http://shenson.fedorapeople.org/cobbler/
[1] - https://admin.fedoraproject.org/updates/search/cobbler-2.0.11-1
--
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME
13 years
apache rewrites
by Tim Dunphy
hey list!
Having a slight issue I was hoping to bounce off of you. I genuinely appreciate your input. I am attempting to setup a an apache rewrite that automatically redirects the user to the cobbler page.
Here is what I've tried:
## machine info
[root@VIRCENT14 cobbler]# cat /etc/redhat-release
CentOS release 5.6 (Final)
[root@VIRCENT14 cobbler]# uname -a
Linux VIRTCENT14 2.6.18-238.9.1.el5xen #1 SMP Tue Apr 12 18:53:56 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
## attempting to get apache url rewrites to work
RewriteEngine on # <-- this line
RewriteRule ^(.*) http://%{SERVER_NAME}/%{REQUEST_URI} [R,L] # <-- and this line are in my vhost
## namevirtualhost is in httpd.conf
NameVirtualHost *:80
# NOTE: NameVirtualHost cannot be used without a port specifier
## vhost conf file
# This configuration file enables the cobbler web
# interface (django version)
<VirtualHost *:80>
ServerName cobbler.summitnjhome.com
ServerAlias www.cobbler.summitnjhome.com
# Do not log the requests generated from the event notification system
SetEnvIf Request_URI ".*/op/events/user/.*" dontlog
# Log only what remains
CustomLog logs/access_log combined env=!dontlog
<LocationMatch "^/cobbler/web/*">
RewriteEngine on
RewriteRule ^(.*) http://%{SERVER_NAME}/%{REQUEST_URI} [R,L]
</LocationMatch>
<Location "/cobbler_web">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE settings
# PythonOption django.root /cobbler_web
PythonDebug On
PythonPath "['/usr/share/cobbler/web/'] + sys.path"
AuthBasicAuthoritative Off
AuthType basic
AuthName "Cobbler"
Require valid-user
PythonAuthenHandler cobbler_web.views
</Location>
</VirtualHost>
## access logs (nothing unusual when hitting cobbler.summitnjhome.com)
192.168.1.18 - admin [21/Apr/2011:16:00:44 -0400] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/2009033100 Ubuntu/9.04 (jaunty) Firefox/3.0.8"
192.168.1.18 - admin [21/Apr/2011:16:11:28 -0400] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/2009033100 Ubuntu/9.04 (jaunty) Firefox/3.0.8"
## error logs (also nothing unusual when hitting cobbler.summitnjhome.com)
[Thu Apr 21 15:59:58 2011] [notice] mod_python: (Re)importing module 'services'
[Thu Apr 21 16:00:02 2011] [notice] mod_python: (Re)importing module 'services'
[Thu Apr 21 16:00:07 2011] [notice] mod_python: (Re)importing module 'services'
[Thu Apr 21 16:00:12 2011] [notice] mod_python: (Re)importing module 'services'
[Thu Apr 21 16:00:16 2011] [notice] mod_python: (Re)importing module 'services'
thanks in advance!
tim
13 years
Best practice: distro upgrade
by Peter Hinse
Hi all,
I have several virtual machines running CentOS 5.5 and want to upgrade
to CentOS 5.6. How do I integrate the latest CentOS version with my
cobbler system?
If I import CentOS 5.6 as a new distro (which I will have to do to be
able to boot new images with 5.6), how can I update the existing
machines to 5.6? Add 5.6 as a repo as well? Change the repo file inside
the virtual machine to point to the 5.6 distro?
Any hints?
Peter.
13 years
Variable expansion in kopts?
by Bryson Lee
Hi,
Is there a way to get Cobbler (2.0.9) to expand variable references in a
system's kopts setting? I have number of systems that are configured
with static IP addresses, and I'd like to have the network settings
inserted into the "append" line in the Cobbler-generated yaboot.conf files.
I found Ticket #21, closed years ago, that states that an
'@@variablename@@' syntax is honored in templated contexts, but when I
tried it, the '@@var@@' references showed up unchanged in the
/var/lib/tftpboot/etc/xx-xx-xx-xx-xx-xx file.
Has another syntax superseded '@@var@@' for this purpose?
Thanks,
-Bryson
13 years
cobbler / koan mismatch
by Tim Dunphy
hello list!
I recently had to rebuild a cobbler server on the network. however for some reason once everything seemed to be working I notice that when I try to list profiles using koan on the client it does not match the profiles I see when I run cobbler list. Also when I try toi build a host it complains that it cannot find the cobbler_api.
## cobbler list
[root@cobbler ~]# cobbler list
distros:
rhel5-32-i386
rhel5-32-xen-i386
rhel5-64-x86_64
rhel5-64-xen-x86_64
profiles:
rhel5-32-i386
rhel5-32-xen-i386
rhel5-64-x86_64
rhel5-64-xen-x86_64
systems:
snjh
repos:
Centos5-CENTOSPLUS
Centos5-EPEL
Centos5-EXTRAS
Centos5-REMI
Centos5-UPDATES
images:
[root@cobbler ~]# cobbler list
distros:
rhel5-32-i386
rhel5-32-xen-i386
rhel5-64-x86_64
rhel5-64-xen-x86_64
profiles:
rhel5-32-i386
rhel5-32-xen-i386
rhel5-64-x86_64
rhel5-64-xen-x86_64
systems:
snjh
repos:
Centos5-CENTOSPLUS
Centos5-EPEL
Centos5-EXTRAS
Centos5-REMI
Centos5-UPDATES
images:
## koan on client
[root@LCENT02:~] #koan --server=cobbler --list=profiles
- looking for Cobbler at http://cobbler/cobbler_api
rhel5-64-xen-x86_64
rhel5-32-xen-i386
rhel5-32-i386
rhel5-64-x86_64
[root@LCENT02:~] #koan --virt --server=cobbler --profile=base64
--virt-name=vm11 --virt-path=/mnt/store/xen --nogfx
- looking for Cobbler at http://cobbler/cobbler_api
No entry/entries found
This is a listing of the cobbler web root:
[root@VIRTCENT08:~] #ls -l /var/www/html/cobbler/
total 18
drwxr-xr-x 2 apache apache 512 Apr 16 22:47 aux
drwxr-xr-x 6 apache apache 512 Apr 17 15:43 images
drwxr-xr-x 11 apache apache 512 Dec 24 21:58 ks_mirror
drwxr-xr-x 2 apache apache 512 Dec 24 21:58 links
drwxr-xr-x 2 apache apache 512 Dec 24 21:58 localmirror
drwxr-xr-x 2 apache apache 512 Dec 24 21:58 rendered
drwxr-xr-x 13 apache apache 512 Apr 17 13:09 repo_mirror
drwxr-xr-x 2 apache apache 512 Apr 16 22:47 svc
drwxr-xr-x 2 apache apache 512 Apr 16 22:47 web
And it seems that cobbler_api is actually not there. I'd appreciate any help you might have to share.
tim
13 years
RHEL 6 as Cobbler server
by Daniel Kertby
Hi all,
Im quite new to Cobbler and have evaluated it on Centos. However, we are now
moving
Cobbler into our production environment which also then includes RHEL 6 as
OS.
I have been looking around but Im a bit confused how to setup Cobbler in the
best way on RHEL6.
Which repo to use, how to solve the dependencies (pyYAML etc..) without
messing up
the RPM database.
Recommendations how to get a clean install would be VERY APPRECIATED!
Thanks in advance,
Daniel
13 years
Re: Fedora14 kvm guest pauses during koan installation [SOLVED]
by Greg Chavez
I was able to get kick the Fedora KVM guest by removing the pre and
post console kernel options from the system object:
console=tty0 console=ttyS0,115200
I've been using these options per a RHN knowlegebase article which
provided instructions for how to enable the use of "virsh console
<virt-name>" (https://access.redhat.com/kb/docs/DOC-25454). They
worked great with RHEL 5x guests, but Fedora 14 is choking on them.
Maybe F14's upstream kernel no longer supports these options? In any
case, appears to not be a Cobbler issue.
--Greg Chavez
On Tue, Apr 19, 2011 at 5:49 PM, Greg Chavez <greg.chavez(a)gmail.com> wrote:
> I have a RHEL 5.6 KVM host on which koan and Cobbler have successfully
> provisioned RHEL guests. Now I'm trying to kick Fedora14 guests and
> it halts during PXE boot. Unfortunately, I can't vnc or console in
> fast enough to catch all the console messages. Here are the last few
> lines before it pauses:
>
>
> [ 2.028840] Initializing network drop monitor service
> [ 2.033362] Freeing unused kernel memory: 944k freed
> [ 2.038365] Write protecting the kernel read-only data: 10240k
> [ 2.043519] Freeing unused kernel memory 1576k freed
> [ 2.049756] Freeing unused kernel memory: 1836 freed
> [ 2.099890] virtio-pci 0000:00:04.0 PCI INT A -> Link[LNKD] ->
> GSI 11 (level, high) -> IRQ 11
>
> It stops there and refuses to budge. I've never seen a failure this
> early on, after it gets its DCHP information but before it completes
> initializing the kernel. This is the first time I've tried to kick
> any server, virtual or physical, for Fedora. I'm assuming that the
> kickstart file is irrelevant since it never gets to Anaconda.
>
> It feels like there's something wrong with the PXE environment, but
> I've run out of things to check. /tftpboot files look good, distro
> tree looks good, bootloaders are where they should be. Any ideas?
>
> Here's my distro, profile, and system:
>
> # cobbler distro report --name=f14-x86_64
> Name : f14-x86_64
> Architecture : x86_64
> Breed : redhat
> Comment : fedora14.1
> Initrd :
> /var/www/cobbler/ks_mirror/f14-x86_64/images/pxeboot/initrd.img
> Kernel :
> /var/www/cobbler/ks_mirror/f14-x86_64/images/pxeboot/vmlinuz
> Kernel Options : {}
> Kernel Options (Post Install) : {}
> Kickstart Metadata : {'tree':
> 'http://@@http_server@@/cblr/links/f14-x86_64'}
> Management Classes : []
> OS Version : fedora14
> Owners : ['cobbler']
> Red Hat Management Key : <<inherit>>
> Red Hat Management Server : <<inherit>>
> Template Files : {}
>
> # cobbler profile report --name=f14-x86_64
> Name : f14-x86_64
> Comment :
> DHCP Tag : default
> Distribution : f14-x86_64
> Enable PXE Menu? : True
> Kernel Options : {}
> Kernel Options (Post Install) : {}
> Kickstart : /var/lib/cobbler/kickstarts/sample_end.ks
> Kickstart Metadata : {}
> Management Classes : []
> Name Servers : ['10.1.1.19', '10.1.2.79']
> Name Servers Search Path : []
> Owners : ['cobbler']
> Parent Profile :
> Red Hat Management Key : <<inherit>>
> Red Hat Management Server : <<inherit>>
> Repos : []
> Server Override : <<inherit>>
> Template Files : {}
> Virt Auto Boot : 1
> Virt Bridge : br0
> Virt CPUs : 1
> Virt File Size(GB) : 20
> Virt Path : /kvm
> Virt RAM (MB) : 8192
> Virt Type : qemu
>
> # cobbler system report --name=kvm-gchavez
> Name : kvm-gchavez
> Comment :
> Gateway : 10.1.1.1
> Hostname : kvm-gchavez.local
> Image :
> Kernel Options : {'console': ['tty0', 'ttyS0,115200']}
> Kernel Options (Post Install) : {'console': ['tty0', 'ttyS0,115200']}
> Kickstart : /var/lib/cobbler/kickstarts/fedora-kvm-guest.ks
> Kickstart Metadata : {}
> Management Classes : []
> Name Servers : []
> Name Servers Search Path : []
> Netboot Enabled : True
> Owners : ['cobbler']
> Power Management Address :
> Power ID :
> Power Password :
> Power Management Type : ipmitool
> Power Username :
> Profile : f14-x86_64
> Red Hat Management Key : <<inherit>>
> Red Hat Management Server : <<inherit>>
> Server Override : <<inherit>>
> Template Files : {}
> Virt Auto Boot : 1
> Virt CPUs : <<inherit>>
> Virt File Size(GB) : 100
> Virt Path : <<inherit>>
> Virt RAM (MB) : <<inherit>>
> Virt Type : qemu
> Interface ===== : eth0
> Bonding Mode :
> Bonding Master :
> Bonding Opts :
> DHCP Tag : CS
> DNS Name : kvm-gchavez.local.
> IP Address : 10.1.1.13
> MAC Address : 00:16:3e:38:42:ae
> Static : True
> Static Routes : []
> Subnet : 255.255.252.0
> Virt Bridge : br0
>
> Finally, here's the kvm process after it hangs:
>
> root 13443 59.7 0.2 8625056 787448 ? Sl 17:45 0:15
> /usr/libexec/qemu-kvm -S -M rhel5.4.0 -m 8192 -smp 1 -name kvm-gchavez
> -uuid 2e7b3ca8-2a35-4645-a00b-0264fa1185d2 -no-kvm-pit-reinjection
> -monitor pty -pidfile /var/run/libvirt/qemu//kvm-gchavez.pid
> -no-reboot -boot c -kernel
> /var/lib/libvirt/boot/virtinst-vmlinuz.dGxO6X -initrd
> /var/lib/libvirt/boot/virtinst-initrd.img.0WMu0T -append
> method=http://10.1.1.97/cblr/links/f14-x86_64/ ksdevice=link lang=
> console=tty0 console=ttyS0,115200 text
> ks=http://10.1.1.97/cblr/svc/op/ks/system/kvm-gchavez kssendmac
> -drive file=/kvm/kvm-gchavez-disk0,if=ide,index=0,boot=on,cache=none
> -net nic,macaddr=00:16:3e:38:42:ae,vlan=0 -net
> tap,fd=21,script=,vlan=0,ifname=vnet2 -serial pty -parallel none -usb
> -vnc 127.0.0.1:2 -k en-u
>
> Thanks.
> --
> --Greg Chavez
> --
>
13 years
Fedora14 kvm guest pauses during koan installation
by Greg Chavez
I have a RHEL 5.6 KVM host on which koan and Cobbler have successfully
provisioned RHEL guests. Now I'm trying to kick Fedora14 guests and
it halts during PXE boot. Unfortunately, I can't vnc or console in
fast enough to catch all the console messages. Here are the last few
lines before it pauses:
[ 2.028840] Initializing network drop monitor service
[ 2.033362] Freeing unused kernel memory: 944k freed
[ 2.038365] Write protecting the kernel read-only data: 10240k
[ 2.043519] Freeing unused kernel memory 1576k freed
[ 2.049756] Freeing unused kernel memory: 1836 freed
[ 2.099890] virtio-pci 0000:00:04.0 PCI INT A -> Link[LNKD] ->
GSI 11 (level, high) -> IRQ 11
It stops there and refuses to budge. I've never seen a failure this
early on, after it gets its DCHP information but before it completes
initializing the kernel. This is the first time I've tried to kick
any server, virtual or physical, for Fedora. I'm assuming that the
kickstart file is irrelevant since it never gets to Anaconda.
It feels like there's something wrong with the PXE environment, but
I've run out of things to check. /tftpboot files look good, distro
tree looks good, bootloaders are where they should be. Any ideas?
Here's my distro, profile, and system:
# cobbler distro report --name=f14-x86_64
Name : f14-x86_64
Architecture : x86_64
Breed : redhat
Comment : fedora14.1
Initrd :
/var/www/cobbler/ks_mirror/f14-x86_64/images/pxeboot/initrd.img
Kernel :
/var/www/cobbler/ks_mirror/f14-x86_64/images/pxeboot/vmlinuz
Kernel Options : {}
Kernel Options (Post Install) : {}
Kickstart Metadata : {'tree':
'http://@@http_server@@/cblr/links/f14-x86_64'}
Management Classes : []
OS Version : fedora14
Owners : ['cobbler']
Red Hat Management Key : <<inherit>>
Red Hat Management Server : <<inherit>>
Template Files : {}
# cobbler profile report --name=f14-x86_64
Name : f14-x86_64
Comment :
DHCP Tag : default
Distribution : f14-x86_64
Enable PXE Menu? : True
Kernel Options : {}
Kernel Options (Post Install) : {}
Kickstart : /var/lib/cobbler/kickstarts/sample_end.ks
Kickstart Metadata : {}
Management Classes : []
Name Servers : ['10.1.1.19', '10.1.2.79']
Name Servers Search Path : []
Owners : ['cobbler']
Parent Profile :
Red Hat Management Key : <<inherit>>
Red Hat Management Server : <<inherit>>
Repos : []
Server Override : <<inherit>>
Template Files : {}
Virt Auto Boot : 1
Virt Bridge : br0
Virt CPUs : 1
Virt File Size(GB) : 20
Virt Path : /kvm
Virt RAM (MB) : 8192
Virt Type : qemu
# cobbler system report --name=kvm-gchavez
Name : kvm-gchavez
Comment :
Gateway : 10.1.1.1
Hostname : kvm-gchavez.local
Image :
Kernel Options : {'console': ['tty0', 'ttyS0,115200']}
Kernel Options (Post Install) : {'console': ['tty0', 'ttyS0,115200']}
Kickstart : /var/lib/cobbler/kickstarts/fedora-kvm-guest.ks
Kickstart Metadata : {}
Management Classes : []
Name Servers : []
Name Servers Search Path : []
Netboot Enabled : True
Owners : ['cobbler']
Power Management Address :
Power ID :
Power Password :
Power Management Type : ipmitool
Power Username :
Profile : f14-x86_64
Red Hat Management Key : <<inherit>>
Red Hat Management Server : <<inherit>>
Server Override : <<inherit>>
Template Files : {}
Virt Auto Boot : 1
Virt CPUs : <<inherit>>
Virt File Size(GB) : 100
Virt Path : <<inherit>>
Virt RAM (MB) : <<inherit>>
Virt Type : qemu
Interface ===== : eth0
Bonding Mode :
Bonding Master :
Bonding Opts :
DHCP Tag : CS
DNS Name : kvm-gchavez.local.
IP Address : 10.1.1.13
MAC Address : 00:16:3e:38:42:ae
Static : True
Static Routes : []
Subnet : 255.255.252.0
Virt Bridge : br0
Finally, here's the kvm process after it hangs:
root 13443 59.7 0.2 8625056 787448 ? Sl 17:45 0:15
/usr/libexec/qemu-kvm -S -M rhel5.4.0 -m 8192 -smp 1 -name kvm-gchavez
-uuid 2e7b3ca8-2a35-4645-a00b-0264fa1185d2 -no-kvm-pit-reinjection
-monitor pty -pidfile /var/run/libvirt/qemu//kvm-gchavez.pid
-no-reboot -boot c -kernel
/var/lib/libvirt/boot/virtinst-vmlinuz.dGxO6X -initrd
/var/lib/libvirt/boot/virtinst-initrd.img.0WMu0T -append
method=http://10.1.1.97/cblr/links/f14-x86_64/ ksdevice=link lang=
console=tty0 console=ttyS0,115200 text
ks=http://10.1.1.97/cblr/svc/op/ks/system/kvm-gchavez kssendmac
-drive file=/kvm/kvm-gchavez-disk0,if=ide,index=0,boot=on,cache=none
-net nic,macaddr=00:16:3e:38:42:ae,vlan=0 -net
tap,fd=21,script=,vlan=0,ifname=vnet2 -serial pty -parallel none -usb
-vnc 127.0.0.1:2 -k en-u
Thanks.
--
--Greg Chavez
--
13 years
Help network interface configuration
by Julio Cesar Pavan
Hello Guys,
I need to create snippet for debian network interface configuration with cobller, but I having some problems.
My preseed conf is ok, but it configure with dhcp interfaces and I need static ip configuration.
The debian documentation says about create the script below and run after preseed conf, but is not working.
killall.sh; nercfg
and add the following comands:
d-i netcfg/disable_dhcp boolean true
d-i netcfg/get_nameservers string 186.202.4.34
d-i netcfg/get_ipaddress string 187.45.240.56
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 187.45.240.1
d-i netcfg/confirm_static boolean true
I know I could create a shell script with "echo" commands, but its not a good idea.
Could someone help me please?
Tks
Att,
Júlio César Pavan
CT-Linux
Locaweb
13 years
cobbler and ldap errors, AD authentication
by Alfonso Seguro
Hi everyone, I've been trying to have cobbler to talk to our AD with no luck
so far, I've been reading all related posts and wiki, but it keeps failing
all the time :(
My setting are:
CentOS release 5.5
Python 2.4.3
openldap-2.3.43-12.el5_6.7.x86_64
cobbler 1.6.8
/etc/openldap/ldap.conf
URI ldap://mydcip:389
BASE ou=ou1,ou=company,dc=company,dc=com
BINDDN cn=connector,ou=ou1,ou=company,dc=company,dc=com
BINDPW 'password'
/etc/cobbler/settings
ldap_server: "ldap://mydcip"
ldap_base_dn: "ou=ou1,ou=company,DC=company,DC=com"
ldap_port: 389
ldap_tls: 0
ldap_anonymous_bind: 0
ldap_search_bind_dn: 'CN=connector,ou=ou1,ou=company,dc=company,dc=com'
ldap_search_passwd: 'password'
ldap_search_prefix: 'uid=' /(and sAMAccountName=)
*******
python /tmp/demo_connect.py --user=myaduser --pass=myadpassword
- trying to login with user=myaduser
Traceback (most recent call last):
File "/tmp/demo_connect.py", line 37, in ?
token = sp.login(options.user,options.password)
File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
verbose=self.__verbose
File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib64/python2.4/xmlrpclib.py", line 1286, in _parse_response
return u.close()
File "/usr/lib64/python2.4/xmlrpclib.py", line 744, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: "ldap.LDAPError:(2, 'No such file or
directory')">
..just the 1st time I tried, after that I get all the time:
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: "ldap.LDAPError:(11, 'Resource temporarily
unavailable')">
/var/log/cobbler/cobblerd also show:
- api - login attempt; user(myaduser)
- api - Exception occured: ldap.LDAPError
- api - Exception value: (11, 'Resource temporarily unavailable')
- api - Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1567, in
_dispatch
return method_handle(*params)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1027, in
login
if self.__validate_user(login_user,login_password):
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 939, in
__validate_user
return self.api.authenticate(input_user,input_password)
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 668, in
authenticate
rc = self.authn.authenticate(self,user,password)
File "/usr/lib/python2.4/site-packages/cobbler/modules/authn_ldap.py",
line 81, in authenticate
dir = ldap.initialize(uri)
File "/usr/lib64/python2.4/site-packages/ldap/functions.py", line 85, in
initialize
return LDAPObject(uri,trace_level,trace_file,trace_stack_limit)
File "/usr/lib64/python2.4/site-packages/ldap/ldapobject.py", line 67, in
__init__
self._l = ldap.functions._ldap_function_call(_ldap.initialize,uri)
File "/usr/lib64/python2.4/site-packages/ldap/functions.py", line 57, in
_ldap_function_call
result = func(*args,**kwargs)
I've successfully run:
ldapsearch -LLL -x -b 'ou=ou1,ou=company,dc=company,dc=com' -D
CN=connector,ou=ou1,ou=company,dc=company,dc=com -w password -H
ldap://mydcip:389 "sAMAccountName=*" /(and uid=*)
Anything I am missing? Frankly I don't know what to do next, any advice will
be appreciated.
Thanks in advance,
Alfonso
13 years