[Samba] net rpc samdump error on samba-3.0alpha22

Laurent Hubert laurent.hubert at chus.qc.ca
Wed Apr 2 00:16:48 GMT 2003


Hi John,

I installed samba-3.0alpha22-1.rpm from crash (removed previous version
then install). I refreshed the membership of the samba server by
removing it from the NT domain and then made a "net join" to the domain
IMAGERIE. Then, I receive  the error messages below

******

root at pelican samba]# net rpc join -w IMAGERIE -U Administrator
[2003/04/01 18:34:17, 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/04/01 18:34:17, 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/04/01 18:34:17, 1] utils/net_rpc.c:run_rpc_command(154)
  rpc command function failed! (NT_STATUS_NO_TRUST_SAM_ACCOUNT)
Password:
Joined domain IMAGERIE.

******

Nevertheless "Server manager" detect PELICAN as a Windows NT 4.9 server.
I can make various successfull use of 
net rpc [group share user] -S <PDC_SERVER> -U Administrator -W IMAGERIE

to list the users, shares and group on the PDC server.

But  "NT_STATUS_NO_TRUST_SAM_ACCOUNT,  Failed to setup BDC creds"
occured on  samdump

*****

[root at pelican samba]# net rpc samdump -W IMAGERIE -U Administrator
[2003/04/01 18:59:27, 1]
rpc_client/cli_netlogon.c:cli_nt_setup_creds(300)
  cli_nt_setup_creds: auth2 challenge failed
NT_STATUS_NO_TRUST_SAM_ACCOUNT
Failed to setup BDC creds

******

Does it mean that I need to put the samba server to a BDC configuration
?




Here my smb.conf file


Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[soft]"
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions

# Global parameters
[global]
        workgroup = IMAGERIE
        server string = Serveur Samba %v sur %L
        interfaces = 192.168.1.125/24
        security = DOMAIN
        password server = TURBO LIMACE
        username map = /etc/samba/smbusers
        log file = /var/log/samba/log.%m
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        local master = No
        dns proxy = No
        wins server = 192.168.1.251, 192.168.1.241
        remote announce = 192.168.1.255
        hosts allow = 192.168.1., 127.

[homes]
        comment = Home Directories
        read only = No
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

[print$]
        path = /et/samba/printers
        write list = root, lhubert

[soft]
        comment = Depot de logiciel
        path = /export/soft
        write list = lhubert
        read only = No
        guest ok = Yes

Thanks 

-- 
Laurent Hubert, PhD
Assistant de recherche
Centre d'Imagerie Métabolique et Fonctionnelle
CRC, CHUS
Université de Sherbrooke
3001, 12e Avenue Nord
Sherbrooke, Québec
Canada
J1H 5N4
tél : 819 346 1110 poste 11836
Télécopieur : 819 820 6490
Courriel : laurent.hubert at chus.qc.ca



More information about the samba mailing list