Hello, I've setup a PDC with Samba 3.0.23 and a ldap-backend. Roaming Profiles are working, but I always have the desktop.ini visible in some folders of the Windows-Startmenue. I found several hints for the dos-attributes in smb.conf, buit notthing seems to work. Any hints? Here is my smb.conf: [global] workgroup = example server string = b-login passdb backend = ldapsam:"ldap://10.3.1.3" username map = /etc/samba/smb-user-map log level = 10 debug uid = Yes smb ports = 139 name resolve order = wins host bcast deadtime = 300 printcap name = cups add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ logon path = \\%L\%U\.ntprofile logon drive = H: logon home = \\%L\%U preferred master = Yes local master = No domain master = No wins server = gate kernel oplocks = No ldap admin dn = cn=Administrator,dc=example,dc=de ldap group suffix = ou=group ldap machine suffix = ou=Computers ldap suffix = dc=example,dc=de ldap ssl = no ldap user suffix = ou=people create mask = 0775 directory mask = 0775 profile acls = Yes map acl inherit = Yes hide unreadable = Yes map archive = No map readonly = no store dos attributes = Yes share modes = No delete readonly = Yes [homes] comment = Home Directory read only = No create mask = 0711 hide files = /Desktop.ini/ntuser.ini/NTUSER.*/tmp/RECYCLER/ map hidden = Yes map system = Yes browseable = No Regards Daniel -- Daniel Spannbauer Software Entwicklung marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4 - 6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds at marco.de Gesch?ftsf?hrer Martin Reuter HRB 171775 Amtsgericht M?nchen
> > Roaming Profiles are working, but I always have the desktop.ini > visible in some folders of the Windows-Startmenue. > I found several hints for the dos-attributes in smb.conf, buit > notthing seems to work. >You have " hide files = /Desktop.ini/" In any Windows computer, you will find both "desktop.ini" and "Desktop.ini". Linux is case-sensitive, so "desktop.ini" is not covered by your configuration. I would advise you to use "hide files = /desktop.ini/Desktop.ini/". That's what I am doing and it works. I use it on the "global" section of "smb.conf" in order to cover all shares.
Hi, the desktop.ini issue can't be solved by samba. That's because the contents of the "Start Menu" are located in different places, like within your Windows profile (roaming) and the "All Users" profile (local). Because the latter is located on your PC, there's no way for samba to interfere. BTW, it's not an samba-only issue, because you will get your desktop.ini files in a Windows-only network, too. Cheers, Christian ==========================================================Dipl.-Ing. Christian Rost roCon - Informationstechnologie Glatzer Weg 4 44534 L?nen fon: +49 (0) 2306 910 658 fax: +49 (0) 2306 910 664 url: http://www.rocon-it.de --------Daniel Spannbauer <ds at marco.de> wrote-------- Subject: Re: [Samba] Desktop.ini in Startmenue Date: 02.11.2009 15:05> > >Miguel Medalha schrieb: >> >>> >>> Roaming Profiles are working, but I always have the desktop.ini >>> visible in some folders of the Windows-Startmenue. >>> I found several hints for the dos-attributes in smb.conf, buit >>> notthing seems to work. >>> >> >> You have " hide files = /Desktop.ini/" >> >> In any Windows computer, you will find both "desktop.ini" and >> "Desktop.ini". >> >> Linux is case-sensitive, so "desktop.ini" is not covered by your >> configuration. >> >> I would advise you to use "hide files = /desktop.ini/Desktop.ini/". >> That's what I am doing and it works. >> I use it on the "global" section of "smb.conf" in order to cover all >> shares. >> >> >Added the line "hide files = >/Desktop.ini/desktop.ini/ntuser.ini/NTUSER.*/tmp/RECYCLER/" to the >global-section, but this seems to has no effect. There is still visible. > >Regards > >Daniel > > >-- >Daniel Spannbauer Software Entwicklung >marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 >Rechbergstr. 4 - 6, D 87727 Babenhausen Mobil +49 171 4033220 >http://www.marco.de/ Email ds at marco.de >Gesch?ftsf?hrer Martin Reuter HRB 171775 Amtsgericht >M?nchen >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba >