Re: [Samba] Samba 3b3 + ADS

2003-08-14 Thread Will Froning
Solved.

Recompiled krb5 with openldap.

Will

On Thu, 31 Jul 2003 10:20:28 -0700
Will Froning [EMAIL PROTECTED] wrote:

  For your freebsd box: Did you install openldap?  You can do that
  from the ports tree.  Then after configure, make sure you get
  HAVE_LDAP, HAVE_LDAP_H in config.h.  If not, try to give the ldap
  header and library paths to the configure script.
 
 [cowers in shame] Yeah kinda forgot that one...
 
 Ok so I got ADS compiled in now, but I cannot join the domain.
 
 [SAMBA 3b3 BOX]
 marmar# /usr/local/bin/kinit [EMAIL PROTECTED]
 [EMAIL PROTECTED]'s Password: 
 
 marmar# net join -U Administrator
 Administrator password: 
 [2003/07/31 08:43:48, 1] libsmb/clikrb5.c:ads_krb5_mk_req(267)
   krb5_cc_get_principal failed (No such file or directory)
 [2003/07/31 08:43:48, 1] libsmb/clikrb5.c:ads_krb5_mk_req(274)
   krb5_get_credentials failed for [EMAIL PROTECTED] (Unknown error:
 -1765328369)[2003/07/31 08:43:48, 1] utils/net_ads.c:ads_startup(176)
   ads_connect: Server is unavailable
 [2003/07/31 08:43:49, 1] utils/net.c:net_find_server(258)
   no server to connect to
 
 Unable to find a suitable server
 [2003/07/31 08:43:50, 1] utils/net.c:net_find_server(258)
   no server to connect to
 
 Unable to find a suitable server
 
 [DC3 LOG ENTRIES]
 Authentication Ticket Granted:
 User Name: Administrator
 Supplied Realm Name:STK.REALM
 User ID:   STK\administrator
 Service Name: krbtgt
 Service ID:  STK\krbtgt
 Ticket Options:0x0
 Ticket Encryption Type:  0x17
 Pre-Authentication Type: 2
 Client Address: 10.10.9.13
  
  
 Service Ticket Request Failed:
 User Name: 
 User Domain:   
 Service Name: dc3$
 Ticket Options:0x0
 Failure Code:   0xF
 Client Address: 10.10.9.13
 
 I have dc3 and dc2 shortname entries in /etc/hosts.  Below is the
 smb.conf file relevant entries (I've tried it with and without the
 workgroup entry).
 
 [global]
workgroup = STK
realm = stk.realm
security = ads
netbios name = MARMAR
encrypt passwords = yes
 
 I appreciate any help on this one.  Please CC me on the reply.
 
 Thanks,
 Will
 
 
 -- 
 Will Froning
 Unix Sys. Admin.
 [EMAIL PROTECTED]


-- 
Will Froning
Unix Sys. Admin.
(209)946-7470
(209)662-4725
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 3b3 + ADS

2003-07-31 Thread Will Froning
 For your freebsd box: Did you install openldap?  You can do that from
 the ports tree.  Then after configure, make sure you get HAVE_LDAP,
 HAVE_LDAP_H in config.h.  If not, try to give the ldap header and
 library paths to the configure script.

[cowers in shame] Yeah kinda forgot that one...

Ok so I got ADS compiled in now, but I cannot join the domain.

[SAMBA 3b3 BOX]
marmar# /usr/local/bin/kinit [EMAIL PROTECTED]
[EMAIL PROTECTED]'s Password: 

marmar# net join -U Administrator
Administrator password: 
[2003/07/31 08:43:48, 1] libsmb/clikrb5.c:ads_krb5_mk_req(267)
  krb5_cc_get_principal failed (No such file or directory)
[2003/07/31 08:43:48, 1] libsmb/clikrb5.c:ads_krb5_mk_req(274)
  krb5_get_credentials failed for [EMAIL PROTECTED] (Unknown error:
-1765328369)[2003/07/31 08:43:48, 1] utils/net_ads.c:ads_startup(176)
  ads_connect: Server is unavailable
[2003/07/31 08:43:49, 1] utils/net.c:net_find_server(258)
  no server to connect to

Unable to find a suitable server
[2003/07/31 08:43:50, 1] utils/net.c:net_find_server(258)
  no server to connect to

Unable to find a suitable server

[DC3 LOG ENTRIES]
Authentication Ticket Granted:
User Name: Administrator
Supplied Realm Name:STK.REALM
User ID:   STK\administrator
Service Name: krbtgt
Service ID:  STK\krbtgt
Ticket Options:0x0
Ticket Encryption Type:  0x17
Pre-Authentication Type: 2
Client Address: 10.10.9.13
 
 
Service Ticket Request Failed:
User Name: 
User Domain:   
Service Name: dc3$
Ticket Options:0x0
Failure Code:   0xF
Client Address: 10.10.9.13

I have dc3 and dc2 shortname entries in /etc/hosts.  Below is the
smb.conf file relevant entries (I've tried it with and without the
workgroup entry).

[global]
   workgroup = STK
   realm = stk.realm
   security = ads
   netbios name = MARMAR
   encrypt passwords = yes

I appreciate any help on this one.  Please CC me on the reply.

Thanks,
Will


-- 
Will Froning
Unix Sys. Admin.
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba 3b3 + ADS

2003-07-31 Thread Razvan Cosma
 I've been trying for a couple of days to get ADS support built into
 Samba 3.  I've been searching the archives for something that will
help
 me out, but nothing seems to work.
 
 Here's what I've tried, first on FreeBSD 4.8:
 
 FreeBSD 4.8
 Samba 3b3, ./configure --with-ads --with-krb5=/usr (I installed FBSD
 krb5 from /usr/src/kerberos5) works like a charm.  make works and I
see
 all the fancy ads stuff fly by the screen like it's compiling.  I then
 test source/bin/net ads - ADS support not compiled in.
 
Same problem here.. linux slackware. Is it necessary to also have the
ldap libraries installed?

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3b3 + ADS

2003-07-30 Thread Will Froning
I've been trying for a couple of days to get ADS support built into
Samba 3.  I've been searching the archives for something that will help
me out, but nothing seems to work.

Here's what I've tried, first on FreeBSD 4.8:

FreeBSD 4.8
Samba 3b3, ./configure --with-ads --with-krb5=/usr (I installed FBSD
krb5 from /usr/src/kerberos5) works like a charm.  make works and I see
all the fancy ads stuff fly by the screen like it's compiling.  I then
test source/bin/net ads - ADS support not compiled in.  

I then try it with MIT krb5 and samba fails to compile
(--with-krb5=/usr/local).  I try heimdal krb5 and that compiles, but
same ADS support not compiled in message pops up.

So I give up and try Solaris 8.
I try the --with-krb5=/usr --with-ads and that can't find the libs, so I
install MIT krb5 and it finds krb5-config and compiles, but same mesg.

I'm at a total loss on what's going on here.  Am I missing some super
major step?  Any help is greatly appreciated.

Please CC me on the reply, I wil also be checking the online archive to
see if I've missed a post.

Thanks,
Will

-- 
Will Froning
Unix Sys. Admin.
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 3b3 + ADS

2003-07-30 Thread Chere Zhou
For your freebsd box: Did you install openldap?  You can do that from the 
ports tree.  Then after configure, make sure you get HAVE_LDAP, HAVE_LDAP_H 
in config.h.  If not, try to give the ldap header and library paths to the 
configure script.


On Wednesday 30 July 2003 04:18 pm, Will Froning wrote:
 I've been trying for a couple of days to get ADS support built into
 Samba 3.  I've been searching the archives for something that will help
 me out, but nothing seems to work.

 Here's what I've tried, first on FreeBSD 4.8:

 FreeBSD 4.8
 Samba 3b3, ./configure --with-ads --with-krb5=/usr (I installed FBSD
 krb5 from /usr/src/kerberos5) works like a charm.  make works and I see
 all the fancy ads stuff fly by the screen like it's compiling.  I then
 test source/bin/net ads - ADS support not compiled in.

 I then try it with MIT krb5 and samba fails to compile
 (--with-krb5=/usr/local).  I try heimdal krb5 and that compiles, but
 same ADS support not compiled in message pops up.

 So I give up and try Solaris 8.
 I try the --with-krb5=/usr --with-ads and that can't find the libs, so I
 install MIT krb5 and it finds krb5-config and compiles, but same mesg.

 I'm at a total loss on what's going on here.  Am I missing some super
 major step?  Any help is greatly appreciated.

 Please CC me on the reply, I wil also be checking the online archive to
 see if I've missed a post.

 Thanks,
 Will
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba