7.3 and ldap

Francisco Ruiz fruiz at tsitrucks.com
Fri Nov 5 22:34:31 UTC 2004



-----Original Message-----
From: redhat-install-list-bounces at redhat.com
[mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick
Stevens
Sent: Friday, November 05, 2004 4:07 PM
To: Getting started with Red Hat Linux
Subject: Re: 7.3 and ldap


Francisco Ruiz wrote:
> 
> -----Original Message-----
> From: redhat-install-list-bounces at redhat.com
> [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick 
> Stevens
> Sent: Friday, November 05, 2004 1:15 PM
> To: Getting started with Red Hat Linux
> Subject: Re: 7.3 and ldap
> 
> 
> Francisco Ruiz wrote:
> 
>>Trying to join domain I get "Cannot find KDC for requested realm". I
>>used "net ads join -U administrator".  What gives?  I get this message
> 
> 
>>for two machines a 7.3 and a 8.0.  I can see the 7.3 in the my network
> 
> 
>>places.
> 
> 
> Are you sure you've got the /etc/samba/smb.conf set up right?  By 
> default, the system will try to join as a member of the domain, and if

> you don't have the right domain, it won't be able to find the domain 
> controller for it.
> 
> Here is my smb.conf file
> 
> [root at ruizlinux openldap]# testparm
> Load smb config files from /etc/samba/smb.conf
> Processing section "[homes]"
> Processing section "[printers]"
> Loaded services file OK.
> Server role: ROLE_DOMAIN_MEMBER
> Press enter to see a dump of your service definitions
> 
> # Global parameters
> [global]
>         workgroup = TSIDOMAIN
>         server string = samba server
>         security = DOMAIN
>         password server = tsidc.tsidomain.com
>         log file = /var/log/samba/log.%m
>         max log size = 50
>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>         dns proxy = No
>         wins server = 192.168.8.2
>         default service = global
>         idmap uid = 10000-20000
>         idmap gid = 10000-20000
>         template shell = /bin/bash
>         winbind separator = /
> 
> [homes]
>         comment = Home Directories
>         read only = No
>         browseable = No
> 
> [printers]
>         comment = All Printers
>         path = /var/spool/samba
>         printable = Yes
>         browseable = No
> [root at ruizlinux openldap]# net ads join -U administrator administrator

> password: [2004/11/05 15:33:12, 0] 
> libads/kerberos.c:ads_kinit_password(132)
>   kerberos_kinit_password administrator at TSIDOMAIN.COM failed: Cannot 
> find KDC for requested realm [root at ruizlinux openldap]#

Ok, I'm not a Windows Networking guy so take anything I say with a grain
of salt, but I think you'll find the user name is "Administrator"
(capital "A"), and you may need to prefix it with the domain name and a
backslash, e.g. "-U TSIDOMAIN\Administrator".

Anyone else out there with a bit more experience with that clunker known
as Windows Networking?

Nothing

[root at ruizlinux root]# net ads join -U TSIDOMAIN/Administrator
TSIDOMAIN/Administrator password:
[2004/11/05 17:48:27, 0] libads/kerberos.c:ads_kinit_password(132)
  kerberos_kinit_password TSIDOMAIN/Administrator at TSIDOMAIN.COM failed:
Cannot find KDC for requested realm
> 
>>-----Original Message-----
>>From: redhat-install-list-bounces at redhat.com
>>[mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Bob
>>McClure Jr
>>Sent: Tuesday, October 05, 2004 5:15 PM
>>To: Getting started with Red Hat Linux
>>Subject: Re: 7.3 and ldap
>>
>>
>>On Tue, Oct 05, 2004 at 04:58:49PM -0500, Francisco Ruiz wrote:
>>
>>
>>>I made the mistake in messing around with the ldap.conf file and now 
>>>I'm not able to log in period.  Is there a work around this problem 
>>>anyone?
>>
>>
>>Boot with your installation cd into rescue mode (put "linux rescue" at
> 
> 
>>the boot prompt).  Let it mount your system on /mnt/sysimage.  Eject
>>the CD.  Then you can put yourself in a familiar environment using
>>
>>  chroot /mnt/sysimage
>>
>>Edit what you need to fix, then
>>
>>  exit # the chroot shell
>>  exit # to reboot
>>
>>Cheers,
> 
> 
> 


-- 
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-        God is real...........unless declared integer or long       -
----------------------------------------------------------------------

_______________________________________________
Redhat-install-list mailing list
Redhat-install-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request at redhat.com
Subject: unsubscribe




More information about the Redhat-install-list mailing list