[Samba] winbind + PC-NetLink

Ákos Major major328 at freemail.hu
Fri Apr 2 07:31:01 GMT 2004


Hi EveryBody!

We have a NT 4.0 Domain using SUN PC-NetLink 2.0 . I'd like to join a Samba 
server , but I cannot!

The version of the samba  is 2.2.8a running on SuSE Linux 9.0 Professional. 
The configuration file of samba containing this:

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2003-09-23
[global]
   workgroup = FEJDOM
   os level = 2
   time server = Yes
   unix extensions = Yes
   encrypt passwords = yes
   map to guest = Bad User
   printing = CUPS
   printcap name = CUPS
   socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
   wins support = No
   veto files = /*.eml/*.nws/riched20.dll/*.{*}/
   security = domain
   server string = Samba Server
   add user script = 
   domain master = false
   domain logons = no
   local master = no
   preferred master = auto
   password server = pdcfej bdcgar
    winbind separator = +
    winbind uid = 2000-10000
    winbind gid = 10000-20000
    winbind enum users = yes
;    winbind use default domain = yes
    wins server = 10.6.0.253
;; ldap server = 127.0.0.1

[homes]
   comment = Home Directories
   valid users = %S
   browseable = no
   read only = No
   create mask = 0640
   directory mask = 0750
   guest ok = no
   printable = no
[printers]
   comment = All Printers
   path = /var/tmp
   printable = yes
   create mask = 0600
   browseable = no
   guest ok = no
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/drivers
   write list = @ntadmin root
   force group = ntadmin
   create mask = 0664
   directory mask = 0775
   browseable = yes
   guest ok = no
   printable = no
[adatok]
    comment = adatok
    path = /srv/samba
  
I used the neccesary command to join the DOMAIN:
  smbpasswd -j fejdom -r pdcfej -U admin
Password:
Joined domain FEJDOM.

Then started the deamons:

bdcfej:/ # /etc/init.d/smb start
Samba SMB: Waiting for cupsd to get ready                            done
Starting Samba classic SMB daemon                                    done
bdcfej:/ # /etc/init.d/nmb start
Starting Samba classic NMB daemon                                    done
bdcfej:/ # /etc/init.d/winbind start
Starting Samba classic WINBIND daemon                                done

Then entered the command:
bdcfej:/ # wbinfo -t
Secret is good
bdcfej:/ # wbinfo -a admin%xxxx
plaintext password authentication failed
error code was NT_STATUS_INVALID_PARAMETER (0xc000000d)
Could not authenticate user admin%xxxx with plaintext password
challenge/response password authentication succeeded
bdcfej:/ # wbinfo -a admin%xxxx
plaintext password authentication failed
error code was NT_STATUS_INVALID_PARAMETER (0xc000000d)
Could not authenticate user admin%xxxx with plaintext password
challenge/response password authentication succeeded
bdcfej:/ # wbinfo -t
Secret is good

But, the wbinfo -u  say this:
bdcfej:/ # wbinfo -u
0xc0000233


The logs are there:
log.smbd:

[2004/04/02 09:06:07, 0] smbd/server.c:main(791)
  smbd version 2.2.8a-SuSE started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002

log.nmbd:
[2004/04/02 09:06:10, 0] nmbd/nmbd.c:main(795)
  Netbios nameserver version 2.2.8a-SuSE started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2004/04/02 09:06:14, 0] 
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 4611 received with no matching 
record.
[2004/04/02 09:06:14, 0] 
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 4612 received with no matching 
record.


log.winbindd:
[2004/04/02 09:06:48, 0] rpc_parse/parse_prs.c:prs_mem_get(483)
  prs_mem_get: reading data of size 10354842 would overrun buffer.
[2004/04/02 09:19:04, 0] rpc_parse/parse_prs.c:prs_mem_get(483)
  prs_mem_get: reading data of size 10354842 would overrun buffer.


What's wrong???

-- 
CU.:
Maci


More information about the samba mailing list