[Samba] roaming profile unusable after smb ports = 139

Philippe Strauss philippe.strauss at goelaan.ch
Fri Aug 18 12:59:59 GMT 2006


Hello,

I have a big problem with a samba setup.
After I tried the config option

smb ports = 139

in the global section, 90% of the roaming profiles are not
usable by the windows XP clients.
Removing the smb ports options didn't help.

No errors in the samba logfile.

erasing the profiles seems to fix the issue, but I cannot
afford losing all my users profile data!

here is my smb.conf.
It's a ldap based setup, using latest smbldap-tools.
samba is 3.0.22 RPMs from samba.org, OS is fedora core4.

[global]
        log level = 1
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        enable privileges = Yes
        delete user from group script =
/opt/IDEALX/sbin/smbldap-groupmod -x "%u" "%g"
        time server = Yes
        level2 oplocks = No
        oplocks = No
        cups options = "raw"
        ldap passwd sync = Yes
        logon script = logon.bat
        workgroup = FHS-SAMBA
        os level = 65
        ldap admin dn = cn=admin,dc=fhs,dc=ch
        printcap name = cups
        add machine script = /opt/IDEALX/sbin/smbldap-useradd -w "%u
"
        directory mode = 700
        ldap user suffix = ou=Users
        add group script = /opt/IDEALX/sbin/smbldap-groupadd -p "%g"
        map acl inherit = Yes
        delete group script = /opt/IDEALX/sbin/smbldap-groupdel "%g"
        add user to group script = /opt/IDEALX/sbin/smbldap-groupmod
 -m "%u" "%g"
        logon drive = H:
        username map = /etc/samba/smbusers
        domain master = Yes
        passdb backend = ldapsam:ldap://ldap/
        logon home =
        case sensitive = No
        wins support = Yes
        ldap delete dn = Yes
        server string =
        ldap group suffix = ou=Groups
        ldap machine suffix = ou=Computers
        ldap suffix = dc=fhs,dc=ch
        #logon path =
        set primary group script = /opt/IDEALX/sbin/smbldap-usermod
-g "%g" "%u"
        create mode = 700
        ldap idmap suffix = ou=Users
        domain logons = Yes

[homes]
        comment = repertoire de %U, %u
        read only = No
        create mask = 0644
        directory mask = 0775
        browseable = No

[netlogon]
        path = /home/samba/netlogon/
        browseable = No

[profiles]
        path = /home/samba/profiles
        valid users = %U, "@Domain Admins"
        force user = %U
        read only = No
        create mask = 0600
        directory mask = 0700
        guest ok = Yes
        profile acls = Yes
        browseable = No
        csc policy = disable

[donnee]
        comment = Donnees
        path = /data/donnee
        read only = No

[system]
        path = /data/system
        read only = No

[cdrom]
        comment = CD-ROM economie suisse
        path = /media/cdrom

[Novell Services Vol1]
        path = /mnt/noveltest

[Novell Services Sys]
        path = /mnt/novelsys

[Novell Prod Vol2]
        path = /mnt/novelprodvol2

[Novell Prod Vol3]
        path = /mnt/novelprodvol3

[sgbd]
        comment = bases de donnees
        path = /data/sgbd
        read only = No

[appl]
        comment = Applications
        path = /data/appl
        read only = No
     

-- 
Network & System Engineer
Goelaan SA, Switzerland
Tel. +41-22-960 98 20
Fax +41-22-960 98 21
http://www.goelaan.ch



More information about the samba mailing list