[Samba] Roaming Profiles Dead
Trevor Fraser
trevor at systematic.co.za
Mon Sep 2 04:43:57 GMT 2002
Forgot the attachment...
----- Original Message -----
From: "Ivan Dimitrov" <ivan at b4y.co.uk>
To: "Trevor Fraser" <trevor at 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 a
while
> >to get it tweaked right.
> >
> >Chow, Trevor.
> >
> >=========================
> >Stussy said:"Knowledge is King!
> >=========================
> >----- Original Message -----
> >From: "Ivan Dimitrov" <ivan at b4y.co.uk>
> >To: <samba at 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
-------------- 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 at 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.
More information about the samba
mailing list