[Samba] Conversion smbpasswd 2.2.8 to 3.0.13

Karel Zeman karel.zeman at mat.ethz.ch
Tue May 3 15:08:13 GMT 2005


Dear All
I'm about migrating Samba 2.2.8 to 3.0.13 on Sparc, Solaris 8.
Compilation and Installation without any problem.

Runs fine with exception of 2.2.8-user validation in the domain (no 
problems with validation of WXP- and W2K-Client Machines, newly set users 
(./smbpasswd -a username) works perfectly ).

I simply have copied smbpasswd 2.2.8 to the diferent directory of Samba 3.0.13.
About 10 percent (of about 100 per one samba instance) users work fine, the 
big rest "come back" with the error-message like "Password or Username 
wrong, check the CapsLock...."
After the first attempt the hashed password in smbpasswd is set to 
XXXXXXX.......

The question is: must some conversion of smbpasswd 2.2.8 to 3.0.13 be done? 
If yes how (something like the "old" convert_smbpasswd)? I can not find 
some advice in the samba-docs or google - except I have overseen something.

Please could somebody give me an advice how to solve the problem?
Thank you very much in advance.
Karel.
******************************************************
The currently running critical (and little experimental) part of smb.conf - 
(works perfect with 2.2.8):

[global]
    netbios name = server1
    server string = SMB Server1 %v B038
    hosts allow = 192.168.1. 127.
; -----------------------------
    workgroup = SPITAL
    domain logons = yes
    security = user
; generates error with 3.0.13:
;   domain admin group = @winadm
    wins support = yes
    load printers = no
    debug level = 0
    max log size = 100
    deadtime = 10
    public = no
; -----------------------------
    domain master =  yes
    local master = yes
    preferred master = yes
    os level = 65
    dns proxy = no
    guest account = nobody
; -----------------------------
;   password server = %L
    encrypt passwords = yes
    unix password sync = no
    passdb backend = smbpasswd:/usr/local/samba3/private/smbpasswd
; -----------------------------
;   socket options = IPTOS_LOWDELAY TCP_NODELAY
; maybe better for samba3:
; socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
;   read raw = yes
;   write raw = yes
;   oplocks = yes
;   max xmit = 65535
;   getwd cache = yes
; -----------------------------
    log file = /usr/local/samba3/var/%m.log
    logon path = \\%L\profiles\%U\.%aprofile\profile.pds
    logon script = %m.bat
    logon drive = P:
; -----------------------------
    case sensitive = no
    default case = lower
; generates error with 3.0.13:
;   mangle case = no
    preserve case = yes
    short preserve case = yes
; -----------------------------
# ========= Share Definitions ============
[netlogon]
    comment = Logon Scripts (read only)
    path = /home2/admin/wnt/netlogon
;   read only = yes
;   public = no
;   browsable = no
    read only = no
    public = yes
    browsable = yes

[myprofile]
    comment = User Profile Directory on logonserver
    path = /home2/%u/.%aprofile
    browseable = no
    public = no
    read only = no
    create mask = 0700
    directory mask = 0700
    nt acl support = no

[profiles]
    comment = User Profile Directory loaded to client
    path = /home2
    browseable = no
    public = no
    read only = no
    create mask = 0700
    directory mask = 0700
    nt acl support = no

[homes]
    comment = %U's Daten auf %L (Gruppe: %G)
    path = /home2/%u
    browseable = no
    read only = no
    create mask = 0700
    directory mask = 0700
    follow symlinks = yes
....etc....



More information about the samba mailing list