Any ideas?

[root@ldap home]# net join -S ldap -U admin
Enter admin's password:
Creation of workstation account failed
Unable to join domain LDAP.

admin is the admin user for ldap and samba.

in my directory /var/log/dirsrv/slapd-ldap/access I get:


[24/Jun/2008:16:38:29 -0700] conn=114 op=16 SRCH base="dc=gardenfreshcorp,dc=com
" scope=2 filter="(&(sambaSID=S-1-5-21-762671893-3211464481-46508682-1028)(objec
tClass=sambaSamAccount))" attrs="uid uidNumber gidNumber homeDirectory sambaPwdL
astSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime samba
KickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript samb
aProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sam
baLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMun
gedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTi
mestamp sambaLogonHours modifyTimestamp uidNumber"
[24/Jun/2008:16:38:29 -0700] conn=114 op=16 RESULT err=0 tag=101 nentries=0 etim
e=0
[24/Jun/2008:16:38:29 -0700] conn=114 op=17 SRCH base="ou=Groups,dc=gardenfreshc
orp,dc=com" scope=2 filter="(&(objectClass=sambaGroupMapping)(sambaSID=S-1-5-21-
762671893-3211464481-46508682-1028))" attrs="gidNumber sambaSID sambaGroupType s
ambaSIDList description displayName cn objectClass"
[24/Jun/2008:16:38:29 -0700] conn=114 op=17 RESULT err=0 tag=101 nentries=0 etim
e=0
[24/Jun/2008:16:38:29 -0700] conn=114 op=18 SRCH base="dc=gardenfreshcorp,dc=com
" scope=2 filter="(&(uid=ldap$)(objectClass=sambaSamAccount))" attrs="uid uidNum
ber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange
 sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDriv
e sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstati
ons sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainNam
e objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPassw
ordTime sambaPasswordHistory modifyTimestamp sambaLogonHours"
[24/Jun/2008:16:38:29 -0700] conn=114 op=18 RESULT err=0 tag=101 nentries=0 etim
e=0
[24/Jun/2008:16:38:29 -0700] conn=114 op=19 SRCH base="dc=gardenfreshcorp,dc=com
" scope=2 filter="(&(sambaSID=S-1-5-21-762671893-3211464481-46508682-1028)(objec
tClass=sambaSamAccount))" attrs="uid uidNumber gidNumber homeDirectory sambaPwdL
astSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime samba
KickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript samb
aProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sam
baLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMun
gedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTi
mestamp sambaLogonHours modifyTimestamp uidNumber"
[24/Jun/2008:16:38:29 -0700] conn=114 op=19 RESULT err=0 tag=101 nentries=0 etim
e=0
[24/Jun/2008:16:38:29 -0700] conn=114 op=20 SRCH base="dc=gardenfreshcorp,dc=com
" scope=2 filter="(uid=ldap$)" attrs="uid uidNumber gidNumber homeDirectory samb
aPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime
sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript
 sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSI
D sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sam
baMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory mod
ifyTimestamp sambaLogonHours"
[24/Jun/2008:16:38:29 -0700] conn=114 op=20 RESULT err=0 tag=101 nentries=0 etim
e=0
[24/Jun/2008:16:38:29 -0700] conn=114 op=21 SRCH base="dc=gardenfreshcorp,dc=com
" scope=2 filter="(&(sambaSID=S-1-5-21-762671893-3211464481-46508682-1028)(|(obj
ectClass=sambaIdmapEntry)(objectClass=sambaSidEntry)))" attrs="uid uidNumber gid
Number homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaL
ogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive samba
HomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sam
baSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objec
tClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime
 sambaPasswordHistory modifyTimestamp sambaLogonHours"
[24/Jun/2008:16:38:29 -0700] conn=114 op=21 RESULT err=0 tag=101 nentries=0 etim
e=0
[24/Jun/2008:16:38:29 -0700] conn=114 op=22 ADD dn="uid=ldap$,ou=Computers,dc=ga
rdenfreshcorp,dc=com"
[24/Jun/2008:16:38:29 -0700] conn=114 op=22 RESULT err=32 tag=105 nentries=0 eti
me=0
[24/Jun/2008:16:38:29 -0700] conn=114 op=-1 fd=70 closed - B1

Merle Reine
IT Manager Extraordinaire
Email Address: echo zreyr.ervar@tznvy.pbz | perl -pe 'y/a-z/n-za-m/'

On Tue, Jun 24, 2008 at 2:51 AM, yersinia <yersinia.spiros@gmail.com> wrote:
Likely are two different problem.

"Transport endpoint is not connected" is a very - very - old XP problem  http://wiki.samba.org/index.php/Samba_Myths

If you set smb ports = 445 (raw smb aka CIFS port) in smb.conf the message disappear - naturally you are to be sure that
you serve only XP o Vista client.

For the LDAP problem the message don't tell me so much. So try

smbcontrol smbd debug 10

and read again the log messages.

Regards

On Mon, Jun 23, 2008 at 10:56 PM, Merle Reine <merle.reine@gmail.com> wrote:
I know this has been asked a million times but I read all the posts and none answer my issue so I hope someone will know a fix.

I have fc9 with samba as PDC connecting to FDS.

Followed the how-to to the letter but can not get my windows machine to connect to the domain.

My domain is :  ldap
Windows machine is in random workgroup not associated with samba at all.

When I try to add to domain using root and pass (yes, it is setup on samba server), I get the following:


"The following error occured attempting to join the domain "ldap":
A device attached to the system is not functioning.

in /var/log/samba/samba.log:

[2008/06/23 13:53:44,  0] lib/util_sock.c:get_peer_addr_internal(1597)
  getpeername failed. Error was Transport endpoint is not connected
[2008/06/23 13:53:44,  0] lib/util_sock.c:write_data(1059)
[2008/06/23 13:53:44,  0] lib/util_sock.c:get_peer_addr_internal(1597)
  getpeername failed. Error was Transport endpoint is not connected
  write_data: write failure in writing to client 0.0.0.0. Error Connection reset
 by peer
[2008/06/23 13:53:44,  0] smbd/process.c:srv_send_smb(74)
  Error writing 4 bytes to client. -1. (Transport endpoint is not connected)
[2008/06/23 13:53:44,  0] lib/util_sock.c:get_peer_addr_internal(1597)
  getpeername failed. Error was Transport endpoint is not connected
[2008/06/23 13:53:44,  0] lib/util_sock.c:write_data(1059)
[2008/06/23 13:53:44,  0] lib/util_sock.c:get_peer_addr_internal(1597)
  getpeername failed. Error was Transport endpoint is not connected
  write_data: write failure in writing to client 0.0.0.0. Error Connection reset
 by peer
[2008/06/23 13:53:44,  0] smbd/process.c:srv_send_smb(74)
  Error writing 4 bytes to client. -1. (Transport endpoint is not connected)
[2008/06/23 13:53:44,  0] passdb/pdb_ldap.c:ldapsam_add_sam_account(2276)
  ldapsam_add_sam_account: failed to modify/add user with uid = TEST$ (dn = uid=
TEST$,ou=Computers,dc=gardenfreshcorp,dc=com)



Any one have any ideas what I am missing?

Thanks.



Merle Reine
IT Manager Extraordinaire
Email Address: echo zreyr.ervar@tznvy.pbz | perl -pe 'y/a-z/n-za-m/'

--
Fedora-directory-users mailing list
Fedora-directory-users@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users




--
Fedora-directory-users mailing list
Fedora-directory-users@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users