Hi everyone i have running 2.2.5 on RH73 and few days after i have upgrade all my roaming profiles have died !!!! in my error log i have constantly a messages saying: nmbd find_response_record: response packet id 32896 received with no matching record. nmbd/nmbd_responserecordsdb.c:find_response_record(234) and this is going on and on !!!!! I have moved my Roaming Profiles Dir to other place on my hard drive and changed my smb.conf to point there but not luck !! I have change the permissions for this dir -R 777 and still getting message that "Widows can not create profile Directory" !!!! smb.conf domain master = yes preferred master = yes domain logons = yes [netlogon] comment = Network Logon Service path = /home/netlogon readonly = yes public = no [Profiles] comment = Roaming user profiles path = /usr/local/profiles/ read only = no browseable = no ; guest ok = yes create mask = 0600 directory mask = 0700 Can anyone point me in the right direction!!! Any suggestions appreciated!!! Thanks in advance !!!! ivan
Hello Ivan. What have you set Logon Options to under Global? It took me quite a while to get it tweaked right. Chow, Trevor. ========================Stussy said:"Knowledge is King! ========================----- Original Message ----- From: "Ivan Dimitrov" <ivan@b4y.co.uk> To: <samba@lists.samba.org> Sent: Thursday, August 22, 2002 7:38 PM Subject: [Samba] Roaming Profiles Dead> Hi everyone > i have running 2.2.5 on RH73 and few days after i have upgrade all my > roaming profiles have died !!!! > in my error log i have constantly a messages saying: > > nmbd find_response_record: response packet id 32896 received with no > matching record. > nmbd/nmbd_responserecordsdb.c:find_response_record(234) > > and this is going on and on !!!!! > > > I have moved my Roaming Profiles Dir to other place on my hard drive and > changed my smb.conf to point there but not luck !! > I have change the permissions for this dir -R 777 and still getting > message that > "Widows can not create profile Directory" !!!! > > smb.conf > > > domain master = yes > preferred master = yes > domain logons = yes > > [netlogon] > comment = Network Logon Service > path = /home/netlogon > readonly = yes > public = no > > [Profiles] > comment = Roaming user profiles > path = /usr/local/profiles/ > read only = no > browseable = no > ; guest ok = yes > create mask = 0600 > directory mask = 0700 > > > Can anyone point me in the right direction!!! > Any suggestions appreciated!!! > > Thanks in advance !!!! > > ivan > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Windows caches the location of roaming profiles in the registry. If you move your profiles on the samba server, your windows would still look for the profiles in the old directory. To update profiles, open the registry editor and search for key ProfileList (or ProfilesList, don't quite remember which). Under that key you would find subkeys for each Windows user who has used roaming profiles. Update the profile directories, it should work now. -- Nick
The exact name of the registry key is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList Under that, you will a key for each user of the form S-9-9-99-9999..... and under that key, look for CentralProfile value that stores a UNC directory path of your roaming profile. -----Original Message----- Date: Thu, 29 Aug 2002 12:02:07 -0400 (EDT) From: Nicholas Sushkin <nsushkin@openfinance.net> To: samba@lists.samba.org Subject: [Samba] Re: roaming profiles dead Windows caches the location of roaming profiles in the registry. If you move your profiles on the samba server, your windows would still look for the profiles in the old directory. To update profiles, open the registry editor and search for key ProfileList (or ProfilesList, don't quite remember which). Under that key you would find subkeys for each Windows user who has used roaming profiles. Update the profile directories, it should work now.
Hello Ivan. Sorry for the late reply. What I see is the logon script = %m.bat means the 'Netbios name of the client machine' .bat. Myne is %U.bat, which means 'Client username variable' .bat, I think you can use %u which would mean 'Unix username variable' , but I haven't tried this. Another thing I noticed different to myne, it might be nothing, is the %u at the end of passwd program isn't there. I've attached a file I reguard as very useful, I've printed it and is always nearby. Another observation, this is what I've read and not tried, but someone had problems with os level = 64 instead of 65. You can't always believe what you read though, but if it changes something, let us know. Chow, Trevor in South Africa. ========================Stussy said:"Knowledge is King! ========================----- Original Message ----- From: "Ivan Dimitrov" <ivan@b4y.co.uk> To: "Trevor Fraser" <trevor@systematic.co.za> Sent: Thursday, August 29, 2002 4:42 PM Subject: Re: [Samba] Roaming Profiles Dead> Hi Trevor > I don't have anything special just standard conf in the GLOBAL section > here is : > > netbios name = XEON > workgroup = TEST > hosts allow = 192.168.123. 127. > veto files = /*.eml/*.nws/riched20.dll/ > log level = 10 > log file = /var/log/samba/%m.log > max log size = 700 > security = user > password level = 8 > username level = 8 > encrypt passwords = yes > smb passwd file = /etc/samba/smbpasswd > passwd program = /usr/bin/passwd %u > passwd chat = *New*password* %n\n *Retype*new*password* %n\n > *passwd:*all*authentication*tokens*updated*successfully* > pam password change = yes > obey pam restrictions = yes > unix password sync = Yes > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > interfaces = eth1 lo > bind interfaces only = yes > local master = yes > os level = 64 > domain master = yes > preferred master = yes > domain logons = yes > logon path = \\%L\profiles\%U > logon script = %m.bat > dns proxy = no > default case = lower > > I tend to try to keep everything simple .... sometimes even tooo simple > LOLOL :) > > At 13:35 29/08/2002 +0200, you wrote: > >Hello Ivan. > > > >What have you set Logon Options to under Global? It took me quite awhile> >to get it tweaked right. > > > >Chow, Trevor. > > > >========================> >Stussy said:"Knowledge is King! > >========================> >----- Original Message ----- > >From: "Ivan Dimitrov" <ivan@b4y.co.uk> > >To: <samba@lists.samba.org> > >Sent: Thursday, August 22, 2002 7:38 PM > >Subject: [Samba] Roaming Profiles Dead > > > > > > > Hi everyone > > > i have running 2.2.5 on RH73 and few days after i have upgrade all my > > > roaming profiles have died !!!! > > > in my error log i have constantly a messages saying: > > > > > > nmbd find_response_record: response packet id 32896 received with no > > > matching record. > > > nmbd/nmbd_responserecordsdb.c:find_response_record(234) > > > > > > and this is going on and on !!!!! > > > > > > > > > I have moved my Roaming Profiles Dir to other place on my hard driveand> > > changed my smb.conf to point there but not luck !! > > > I have change the permissions for this dir -R 777 and still getting > > > message that > > > "Widows can not create profile Directory" !!!! > > > > > > smb.conf > > > > > > > > > domain master = yes > > > preferred master = yes > > > domain logons = yes > > > > > > [netlogon] > > > comment = Network Logon Service > > > path = /home/netlogon > > > readonly = yes > > > public = no > > > > > > [Profiles] > > > comment = Roaming user profiles > > > path = /usr/local/profiles/ > > > read only = no > > > browseable = no > > > ; guest ok = yes > > > create mask = 0600 > > > directory mask = 0700 > > > > > > > > > Can anyone point me in the right direction!!! > > > Any suggestions appreciated!!! > > > > > > Thanks in advance !!!! > > > > > > ivan > > > > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions: http://lists.samba.org/mailman/listinfo/samba
Forgot the attachment... ----- Original Message ----- From: "Ivan Dimitrov" <ivan@b4y.co.uk> To: "Trevor Fraser" <trevor@systematic.co.za> Sent: Thursday, August 29, 2002 4:42 PM Subject: Re: [Samba] Roaming Profiles Dead> Hi Trevor > I don't have anything special just standard conf in the GLOBAL section > here is : > > netbios name = XEON > workgroup = TEST > hosts allow = 192.168.123. 127. > veto files = /*.eml/*.nws/riched20.dll/ > log level = 10 > log file = /var/log/samba/%m.log > max log size = 700 > security = user > password level = 8 > username level = 8 > encrypt passwords = yes > smb passwd file = /etc/samba/smbpasswd > passwd program = /usr/bin/passwd %u > passwd chat = *New*password* %n\n *Retype*new*password* %n\n > *passwd:*all*authentication*tokens*updated*successfully* > pam password change = yes > obey pam restrictions = yes > unix password sync = Yes > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > interfaces = eth1 lo > bind interfaces only = yes > local master = yes > os level = 64 > domain master = yes > preferred master = yes > domain logons = yes > logon path = \\%L\profiles\%U > logon script = %m.bat > dns proxy = no > default case = lower > > I tend to try to keep everything simple .... sometimes even tooo simple > LOLOL :) > > At 13:35 29/08/2002 +0200, you wrote: > >Hello Ivan. > > > >What have you set Logon Options to under Global? It took me quite awhile> >to get it tweaked right. > > > >Chow, Trevor. > > > >========================> >Stussy said:"Knowledge is King! > >========================> >----- Original Message ----- > >From: "Ivan Dimitrov" <ivan@b4y.co.uk> > >To: <samba@lists.samba.org> > >Sent: Thursday, August 22, 2002 7:38 PM > >Subject: [Samba] Roaming Profiles Dead > > > > > > > Hi everyone > > > i have running 2.2.5 on RH73 and few days after i have upgrade all my > > > roaming profiles have died !!!! > > > in my error log i have constantly a messages saying: > > > > > > nmbd find_response_record: response packet id 32896 received with no > > > matching record. > > > nmbd/nmbd_responserecordsdb.c:find_response_record(234) > > > > > > and this is going on and on !!!!! > > > > > > > > > I have moved my Roaming Profiles Dir to other place on my hard driveand> > > changed my smb.conf to point there but not luck !! > > > I have change the permissions for this dir -R 777 and still getting > > > message that > > > "Widows can not create profile Directory" !!!! > > > > > > smb.conf > > > > > > > > > domain master = yes > > > preferred master = yes > > > domain logons = yes > > > > > > [netlogon] > > > comment = Network Logon Service > > > path = /home/netlogon > > > readonly = yes > > > public = no > > > > > > [Profiles] > > > comment = Roaming user profiles > > > path = /usr/local/profiles/ > > > read only = no > > > browseable = no > > > ; guest ok = yes > > > create mask = 0600 > > > directory mask = 0700 > > > > > > > > > Can anyone point me in the right direction!!! > > > Any suggestions appreciated!!! > > > > > > Thanks in advance !!!! > > > > > > ivan > > > > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions: http://lists.samba.org/mailman/listinfo/samba-------------- next part -------------- %U = Client username variable %u = Unix username variable %H = User's home directory variable smbpasswd -a = add to smbpasswd file -m = machine trust account Account flags: U = standard user account D = account disabled N = no password W = workstation trust account LCT- amount of seconds since epoch (midnight,Jan 1,1970) Password chat response characters: * = zero or more occurances of any character " " allows u to include matching string that contain spaces. * are still considered wildcards even inside quotes, and you can represent a null repsonse with empty quotes. Password chat send characters: %o = the user's old passwd %n = the user's new passwd \n = the linefeed character \r = the carriage-return character \t = the tab character \s = a space Variable Substitutions: %S = the name of the current service %P = the root directory of the current service %u = the user name of the current service %g = the primary group name of %u %U = the session user name %G = the primary group name of %U %H = the home directory of user given by %u %v = the Samba version %h = the internet hostname that Samba is running on %m = the NetBIOS name of the client machine %L = the NetBIOS name of the server (this allows you to change your config based on what the client calls you. Your server can have a "dual personality" %M = the internet name of the client machine %N = the name of the NIS home directory server. This is obtained from your NIS auto.map entry. If you have not compiled Samba with the --with-automount option then this value will be the same as %L %p = the path of the service's home directory, obtained from your NIS auto.map entry. The NIS auto.map entry is split up as "%N:%p". %R = the selected protocol level after protocol negotiation. It can be one of CORE, COREPLUS, LANMAN1, LANMAN2 or NT1. %d = the process id of the current server process. %a = the architecture of the remote machine. Only some are recognized, and those may not be 100% reliable. It currently recognizes Samba, WfWg, Win95, WinNT and Win2k. Anything else will be known as "UNKNOWN". If it gets it wrong then sending a level 3 log to samba@samba.org should allow it to be fixed. %I = the IP address of the client machine. %T = the current date and time. %$(envvar) = the value of the environment variable envar. There are some quite creative things that can be done with these substitutions and other smb.conf options.