[Samba] Samba 3.6 issues

wong lmark lmark1834 at gmail.com
Wed Jul 17 01:57:54 MDT 2013

Dear Samba Team,

There are three issues happening in my Samba 3.6.6

Issue 1: After upgrade, when upload file which is more 100mb to Samba, it
shows error "File name too long cannot copy" in windows xp. Tried to use 3
different pc to upload different files more than 100mb, it also fail to
transfer the file and show the error. Tested to upload file which is 25mb
or 50mb, it is okay, no problem . Before upgrade the samba 3.6, I am using
samba 3.0.28.

Issue 2: Users could logon to the pc within the domain, but the network
drive could not be mapped from 15-7-16 after 18:00 around (e.g.
\\dc01\netlogon). And the network drive could not be mapped through net use
command in windows xp. Also, the trust relationship with anthoner domain
chb lost. Attached the samba log and error screen capture for reference

Issue 3. When enter the command "service smb status", it show many process
id, is it normal?

Thanks for your help.

There my smb.conf:

workgroup = HB
server string = DC01
netbios name = DC01
interfaces = eth0
hosts allow = 10. 172.
    security = user
encrypt passwords = yes
unix password sync = no
username map = /etc/samba/smbusers
admin users = root lh2 jos1
hide unreadable = yes
smb ports = 139

local master = yes
os level = 33
domain master = no
preferred master = yes

domain logons = yes
logon path =
logon home =
#logon path = \\%L\profiles\%U
#logon path = \\%L\%U\profiles
logon drive =
#logon home = \\%L\%U
#logon home = \\%L\homes
#logon script = %U.bat
logon script = %g.bat

wins support = yes
name resolve order = wins lmhosts host
dns proxy = no

add user script = /usr/sbin/smbldap-useradd -a -m "%u"
add machine script = /usr/sbin/smbldap-useradd -W "%u"
add group script = /usr/sbin/smbldap-groupadd -a -p "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"

passdb backend = ldapsam:ldap://
ldap delete dn = yes
ldap ssl = no
;winbind nested groups = no

ldap suffix = dc=ch,dc=com
ldap admin dn = uid=edp,dc=ch,dc=com
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Idmap
ldap passwd sync = yes
ldap delete dn = no

log file = /var/log/samba/%m.log
log level = 5
max log size = 10000

   template shell = /bin/false
   ;winbind use default domain = no
   idmap uid = 16777216-33554431
   idmap gid = 16777216-33554431
comment = Home Directories
browseable = no
writable = yes
valid users = %S

comment = Network Logon Service
path = /home2/samba/netlogon
guest ok = yes
writable = no
share modes = no

        path = /home2/test
        comment = testing
        writable = yes
        browseable = no
        create mode = 0770
        directory mode = 2770
        public = no
        valid users = @testing

More information about the samba mailing list