Re: [Samba] Roaming profile : taking forever to login /log off

2005-09-15 Thread Lorenzo Cerini

Well, it's possible to store all the profile on the server like happens, e.g.,  
in nfs.

On your clients you have the gpedit.msc utility. So 
run-gpedit.msc-user_config-administrative_templates

-user_profiles

here you can exclude some folder of your roaming to be copied up and down (something like 'exclude directory 


from roaming profile', my winxp is in italian). You can write 'Documents; 
Personal; Desktopetc'

In this way these folders will be threated as local, and could be different on 
every client. But you can map

all these ones to a network volume on your samba server.

Just prepare a small logon.bat with time server sync (it's important), and net 
use ... ... to import a network volume

(say U:) on your clients.

Now run-regedit-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders 

Here you can change the displacemant of your profile, and change 
USERPROFILE\Desktop - U:\user_name\Desktop, or better 
you can map U: with a logon.bat.%U script and give a different U: to every user.


Unlucky you need to use gpedit.msc on every client.
For regedit you can take advatage by using a netlogon\Default User share.

One caveat: do not use your logon drive, or your profile drive form U:, take 
another one and put correct
permission.
Another one: On windows you can open explorer-Tools-Folder Options-'off-line 
files' and you can disable
off-line files, in this way, if the client is well-connected to the lan will use the natwork files, if not 
won't. If you enable off-line files, win will sync everything at login/off loosing a lot of time. 
I have clients with 1gb or more for documents folder, and this config helps a lot.


L.Cerini




FM wrote:


Hello,
Thank you for your help :-)
Yes some users have  200 MB profile

Lorenzo Cerini wrote:


Hi,
i had a lot of similar problems inthe past now solved,
just i didn't understand if the roaming profile of your client are 
actually about 200mb or not.
In one case is possible to manage not to copy all the profile at 
every logon/off, instead if the trouble is not
concerning the bigness of roaming profiles i need to know something 
more about your lan ( how many clients,

how many people, etc..)
L.Cerini






--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Roaming profile : taking forever to login /log off

2005-09-15 Thread Natxo Asenjo
On 9/15/05, Lorenzo Cerini [EMAIL PROTECTED] wrote:
 
 Unlucky you need to use gpedit.msc on every client.


well, that's why god invented disc-images. Just make an xp isntallation you 
are happy with, and deploy its image on the rest of workstations :)

regards,
J.I.Asenjo
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: FW: [Samba] Roaming profile : taking forever to login /log off

2005-09-15 Thread Lorenzo Cerini

Many thanks, that should really help.
Louis van Belle wrote:



i did it by applying policies at logon.

You can use poledit.exe en the needed templates.
search for samba.adm

or get it from my server at 
http://www.ratio-benelux.nl/sambaldap.rar.gz


all you need is in there.


 


-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] 
Namens Natxo Asenjo

Verzonden: donderdag 15 september 2005 10:23
Aan: Lorenzo Cerini
CC: samba@lists.samba.org
Onderwerp: Re: [Samba] Roaming profile : taking forever to 
login /log off


On 9/15/05, Lorenzo Cerini [EMAIL PROTECTED] wrote:
   


Unlucky you need to use gpedit.msc on every client.
 

well, that's why god invented disc-images. Just make an xp 
isntallation you 
are happy with, and deploy its image on the rest of workstations :)


regards,
J.I.Asenjo
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

   



 



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Roaming profile : taking forever to login /log off

2005-09-15 Thread FM

Except when you have multiple vendors and different hardware

Natxo Asenjo wrote:



On 9/15/05, *Lorenzo Cerini* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Unlucky you need to use gpedit.msc on every client.


well, that's why god invented disc-images. Just make an xp isntallation 
you are happy with, and deploy its image on the rest of workstations :)


regards,
J.I.Asenjo


--
Frederic Medery
System Administrator

LexUM, University of Montreal
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Roaming profile : taking forever to login /log off

2005-09-14 Thread Lorenzo Cerini

Hi,
i had a lot of similar problems inthe past now solved,
just 
i didn't understand if the roaming profile of your client are actually about 200mb or not.

In one case is possible to manage not to copy all the profile at every 
logon/off, instead if the trouble is not
concerning the bigness of roaming profiles i need to know something more about 
your lan ( how many clients,
how many people, etc..)
L.Cerini

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Roaming profile : taking forever to login /log off

2005-09-14 Thread FM

Hello,
Thank you for your help :-)
Yes some users have  200 MB profile

Lorenzo Cerini wrote:


Hi,
i had a lot of similar problems inthe past now solved,
just i didn't understand if the roaming profile of your client are 
actually about 200mb or not.
In one case is possible to manage not to copy all the profile at every 
logon/off, instead if the trouble is not
concerning the bigness of roaming profiles i need to know something 
more about your lan ( how many clients,

how many people, etc..)
L.Cerini



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Roaming profile : taking forever to login /log off

2005-09-14 Thread kurt weiss

do not use the home directory as profile dir...
you need profile acls = yes there.
similar like this:

logon path = \\%N\profiles\%u
[profiles]
   csc policy = disable
   browsable = no
   profile acls = yes
   path = /var/smbdata/profiles
   writable = yes
   create mask = 0600
   directory mask = 0700

if u use the homedir as profiledir, u must not use profile acls=yes...
therefore u have problems with logon. this - maybe - will slow down your 
logon process. details u can find, if u turn log level to a higher value.


--
greetings,
kurt, austria. (http://www.kwnet.at)

this is a posting from a samba *user* - not a samba developer.
the posting is created on the base of experiences an may be faulty.
so, please, if there's any mistake in it, please feel free to correct it


FM schrieb:


Hello everybody,

We are using SMB as PDC and roaming profile.
but login /log off are taking 15 min (200 MB) on our GB network.
when I use tcpdump to monitor SMB on the client and the server , I can
see that  the copy  hang during several minutes.
our stations :
win xp sp2 (webclient disabled)

our smb serveur : samba-3.0.9

here is my smb.conf :
# Global parameters
[global]
   workgroup = DOMAIN
   server string = DOMAIN PDC Server
   interfaces = IP
   passdb backend = ldapsam:ldap://ldap-master.lan.lexum.pri/
   passwd program = /usr/local/sbin/krb5_update_pwd.pl -u %u
   passwd chat = *Password:* %n\n *Again:* %n\n *Changed*
   username map = /etc/samba/smbusers
   unix password sync = Yes
   log level = 10
   log file = /var/log/samba/%m.log
   max log size = 50
   name resolve order = wins lmhosts bcast host dns
   time server = Yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   printcap name = /etc/printcap
   add user script = /usr/local/sbin/smbldap-useradd -m %u
   delete user script = /usr/local/sbin/smbldap-userdel %u
   add group script = /usr/local/sbin/smbldap-groupadd -p %g
   add user to group script = /usr/local/sbin/smbldap-groupmod -m
%u %g
   delete user from group script = /usr/local/sbin/smbldap-groupmod
-x %u
   set primary group script = /usr/local/sbin/smbldap-usermod -g
%g %u
   add machine script = /usr/local/sbin/smbldap-useradd -t 5 -w %u
   logon path = \\%L\%U\windows
   logon drive = Z:
   logon home = \\%L\%U
   domain logons = Yes
   os level = 33
   preferred master = Yes
   domain master = Yes
   dns proxy = No
   wins support = Yes
   ldap admin dn = cn=samba,ou=LdapSystem,dc=lan,dc=lexum,dc=pri
   ldap group suffix = ou=Group
   ldap idmap suffix = ou=Idmap
   ldap machine suffix = ou=Computers
   ldap suffix = dc=lan,dc=lexum,dc=pri
   ldap ssl = no
   ldap user suffix = ou=Users
   hosts allow = 192.168.4., 127.0.0.1
   cups options = raw
   mangled names = No
[homes]
   comment = Home Directories
   read only = No
   browseable = No
   csc policy = disable

[netlogon]
   comment = Network Logon Service
   path = /etc/samba/netlogon
   guest ok = Yes
   share modes = No



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Roaming profile : taking forever to login /log off

2005-09-13 Thread FM

Hello everybody,

We are using SMB as PDC and roaming profile.
but login /log off are taking 15 min (200 MB) on our GB network.
when I use tcpdump to monitor SMB on the client and the server , I can
see that  the copy  hang during several minutes.
our stations :
win xp sp2 (webclient disabled)

our smb serveur : samba-3.0.9

here is my smb.conf :
# Global parameters
[global]
   workgroup = DOMAIN
   server string = DOMAIN PDC Server
   interfaces = IP
   passdb backend = ldapsam:ldap://ldap-master.lan.lexum.pri/
   passwd program = /usr/local/sbin/krb5_update_pwd.pl -u %u
   passwd chat = *Password:* %n\n *Again:* %n\n *Changed*
   username map = /etc/samba/smbusers
   unix password sync = Yes
   log level = 10
   log file = /var/log/samba/%m.log
   max log size = 50
   name resolve order = wins lmhosts bcast host dns
   time server = Yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   printcap name = /etc/printcap
   add user script = /usr/local/sbin/smbldap-useradd -m %u
   delete user script = /usr/local/sbin/smbldap-userdel %u
   add group script = /usr/local/sbin/smbldap-groupadd -p %g
   add user to group script = /usr/local/sbin/smbldap-groupmod -m
%u %g
   delete user from group script = /usr/local/sbin/smbldap-groupmod
-x %u
   set primary group script = /usr/local/sbin/smbldap-usermod -g
%g %u
   add machine script = /usr/local/sbin/smbldap-useradd -t 5 -w %u
   logon path = \\%L\%U\windows
   logon drive = Z:
   logon home = \\%L\%U
   domain logons = Yes
   os level = 33
   preferred master = Yes
   domain master = Yes
   dns proxy = No
   wins support = Yes
   ldap admin dn = cn=samba,ou=LdapSystem,dc=lan,dc=lexum,dc=pri
   ldap group suffix = ou=Group
   ldap idmap suffix = ou=Idmap
   ldap machine suffix = ou=Computers
   ldap suffix = dc=lan,dc=lexum,dc=pri
   ldap ssl = no
   ldap user suffix = ou=Users
   hosts allow = 192.168.4., 127.0.0.1
   cups options = raw
   mangled names = No
[homes]
   comment = Home Directories
   read only = No
   browseable = No
   csc policy = disable

[netlogon]
   comment = Network Logon Service
   path = /etc/samba/netlogon
   guest ok = Yes
   share modes = No

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba