[Samba] server=domain does not work in samba3.0-alpha24

Laurent Hubert laurent.hubert at chus.qc.ca
Thu Jun 5 14:25:03 GMT 2003


Hi All,

I tried to apply "server=domain"  for a samba server domain member with  
samba-3.0alpha23 and samba-3.0alpha24.  In each cases,  " ads_connect: 
Connection refused .." message appeared when trying to join the domain. But  
"net rpc testjoin" says ok.
The main point of this mail is that " smbclient -L mysamba -U username"
will work on samba-3.0alpha23 but not on samba-3.0alpha24. Is this a bug or 
is there some changes between these two versions that I have to take 
account for joining the domaine with server=domain?


Here details of the two of the attemps: one with alpha24 the other with 
alpha23.


Laurent


#################################
Details  with samba-3.0alpha24
#################################

# Removed pelican from PDC server manager
# Removed previous samba, install samba-3.0alpha24-1.i386.rpm
# Apply configuration (smb.conf) with  security=domain
# Try to join the domain, but  " ads_connect: Connection refused .." message
# start  smb,
# session setup failed: NT_STATUS_UNSUCCESSFUL for  "smbclient -L pelican -U 
lhubert"

[root at pelican samba]# cp smb.conf smb.conf-use
[root at pelican samba]# /sbin/service smb stop
[root at pelican samba]# rpm -e samba
[root at pelican samba]# rpm -i 
/export/home/lhubert/samba-3.0alpha24-1.i386.rpm
[root at pelican samba]# cp smb.conf-use smb.conf
[root at pelican samba]# net join -w IMAGERIE -U Administrator
Administrator password:
[2003/06/05 09:32:25, 1] utils/net_ads.c:ads_startup(176)
  ads_connect: Connection refused
[2003/06/05 09:32:25, 1] utils/net_rpc.c:run_rpc_command(154)
  rpc command function failed! (NT_STATUS_NO_TRUST_SAM_ACCOUNT)
Joined domain IMAGERIE.
[root at pelican samba]# net rpc testjoin
Join to 'IMAGERIE' is OK
[root at pelican samba]# /sbin/service smb start
Starting SMB services:                                     [  OK  ]
[root at pelican samba]# smbclient -L pelican -U lhubert
Password:
session setup failed: NT_STATUS_UNSUCCESSFUL



################################
Details  with samba-3.0alpha23
################################

# Removed pelican from PDC server manager
# Removed previous samba, install samba-3.0alpha23-1.i386.rpm
# Apply configuration (smb.conf) with  security=domain
# Try to join the domain, but  "ads_connect: Connection refused ..." message
# start  smb,
# "smbclient -L pelican -U lhubert" is ok 



[root at pelican samba]# /sbin/service smb stop
[root at pelican samba]# rpm -e samba
[root at pelican samba]# rpm -i 
/export/home/lhubert/samba-3.0alpha23-1.i386.rpm
[root at pelican samba]# cp smb.conf-use smb.conf
[root at pelican samba]# net join -w IMAGERIE -U Administrator
administrator password:
[2003/06/05 09:45:38, 1] utils/net_ads.c:ads_startup(160)
  ads_connect: Connection refused
[2003/06/05 09:45:38, 1] rpc_client/cli_netlogon.c:cli_nt_setup_creds(300)
  cli_nt_setup_creds: auth2 challenge failed NT_STATUS_NO_TRUST_SAM_ACCOUNT
[2003/06/05 09:45:38, 1] libsmb/trust_passwd.c:just_change_the_password(41)
  just_change_the_password: unable to setup creds 
(NT_STATUS_NO_TRUST_SAM_ACCOUNT)!
[2003/06/05 09:45:38, 1] utils/net_rpc.c:run_rpc_command(154)
  rpc command function failed! (NT_STATUS_NO_TRUST_SAM_ACCOUNT)
Joined domain IMAGERIE.
[root at pelican samba]# smbclient -L pelican -U lhubert
added interface ip=192.168.1.125 bcast=192.168.1.255 nmask=255.255.255.0
error connecting to 192.168.1.125:445 (Connection refused)
error connecting to 192.168.1.125:139 (Connection refused)
Error connecting to 192.168.1.125 (Connection refused)
Connection to pelican failed
[root at pelican samba]# /sbin/service smb start
Starting SMB services:                                     [  OK  ]
[root at pelican samba]# smbclient -L pelican -U lhubert
added interface ip=192.168.1.125 bcast=192.168.1.255 nmask=255.255.255.0
Password:
Doing spnego session setup (blob length=58)
OS=[Unix] Server=[Samba]

        Sharename      Type      Comment
        ---------      ----      -------
        tmp            Disk      Temporary file space
        soft           Disk      Depot de logiciel
        IPC$           IPC       IPC Service (Serveur Samba  3.0alpha23 sur 
pelican)
        ADMIN$         IPC       IPC Service (Serveur Samba  3.0alpha23 sur 
pelican)
        mesange_PS     Printer
        mesange_PCL    Printer
        lexmark        Printer
        lamproie       Printer
        toucan         Printer
        roselin        Printer
        lhubert        Disk      Home Directories

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
        IMAGERIE


-- 
Laurent Hubert, PhD
Centre d'Imagerie Métabolique et Fonctionnelle
CRC, CHUS
Université de Sherbrooke, Québec, Canada
laurent.hubert at chus.qc.ca




More information about the samba mailing list