[Samba] Samba/NT mode and roaming profiles...

Marco Gaiarin gaio at sv.lnf.it
Tue May 22 13:46:00 UTC 2018


A collegue of mine, in a different office branch of my organization,
suffer continuous troubles on roaming profiles, troubles thta in my
site, with rather similar setup, does not happens.

Trouble last some month, but 'till now we have thinked was the network,
and we had worked checking cables, switches, configurations.

But trouble continues... and seems frequent but not with a specific
pattern (a user; a computer; ...).


OS: debian jessie (8.10)
Samba: standard jessie,  2:4.2.14+dfsg-0+deb8u9


Configuration files of the server where the roaming profiles reside
are:

 # Global parameters
 [global]
        workgroup = OSTUNI
        netbios aliases = CUPS FILE TIME
        server string = %h server (Samba %v)
        security = USER
        map to guest = Bad User
        passdb backend = ldapsam:"ldapi:/// ldaps://ldap.irccs.os.lnf.it/"
        guest account = guest
        syslog = 0
        log file = /var/log/samba/log.%m
        time server = Yes
        unix extensions = No
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = cups
        add user script = /usr/sbin/smbldap-useradd "%u"
        delete user script = /usr/sbin/smbldap-userdel "%u"
        add group script = /usr/sbin/smbldap-groupadd -p "%g"
        delete group script = /usr/sbin/smbldap-groupdel "%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"
        add machine script = /usr/sbin/smbldap-useradd -w -d /dev/null -s /bin/false "%u"
        logon script = startup.bat
        logon path = \\IBRSAMBA\profiles\%U
        logon drive = p:
        logon home = \\IBRSAMBA\%U
        domain logons = Yes
        os level = 100
        preferred master = Yes
        domain master = No
        dns proxy = No
        wins support = Yes
        ldap admin dn = cn=admin,dc=os,dc=lnf,dc=it
        ldap group suffix = ou=Group
        ldap machine suffix = ou=Host
        ldap passwd sync = yes
        ldap replication sleep = 2000
        ldap suffix = dc=os,dc=lnf,dc=it
        ldap ssl = no
        ldap user suffix = ou=People
        panic action = /usr/share/samba/panic-action %d
        host msdfs = No
        idmap config ostuni : range = 500-29999
        idmap config ostuni : backend = tdb
        idmap config * : range = 40000-50000
        idmap config * : backend = tdb
        include = /etc/samba/smb.conf.

[...]

 [profiles]
        comment = Network Profiles Share
        path = /srv/samba/profiles
        read only = No
        create mask = 0600
        directory mask = 0700
        store dos attributes = Yes
        browseable = No
        csc policy = disable
        root preexec = /etc/samba/createprofile "%u"


In windows the error that appear are errors 1521 and 1511; the latter
seems a consequence of the former.

1521 also specify:
	The network name cannot be found. ('Impossibile trovare il nome della rete.' in italian)

Someone have some clue? Or at least some hint on how to enable selectve
debugging on samba to try to get some info?


Thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the samba mailing list