I am trying to get roaming profiles working for my Win2K workstation and run a group login script at logon. My user account (traxx) can join and logon to the domain (DATA) but I get 2 error messages after authentication: 1 'Windows cannot create profile directory \\henry\dcarter\profile.pds. You will be loggeed on with a local profile only. Changes to the profile will not be propogated to the server. Contact your network administrator.' 2-'Windows cannot find the local profile & is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.' These are the relevant lines from my smb.conf: workgroup=DATA netbios name=DATASERVER logon script=%g.bat domain logons=yes [Profiles] path=/home/profiles create mask=0777 read only=no browseable=no I can access \\henry\profiles from the run command okay I have also tried: path=/home/users/%u to store profiles in home directories e.g. mine would be /home/users/traxx but I get the same error messages. By the way my samba logs also says: [2003/07/27 14:56:31, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206) api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON. [2003/07/27 14:56:31, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200) api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed. [2003/07/27 14:56:35, 0] smbd/service.c:make_connection(248) traxx (192.168.0.55) couldn't find service profiles Can anybody help? Thank you
Your post says that you can access the profiles directory on the server. Make sure you can write to it as well. The Linux file permissions need to be correct. The following document has some good info. on setting up roaming profiles. Note that it deals with Samba 2.x but the info. may still be relevant to Samba 3.x. http://www-1.ibm.com/servers/esdd/tutorials/samba/index.html <oarojo@imgame.net> wrote in message news:1588.192.168.0.54.1059288289.squirrel@mail.imgame.net...> I am trying to get roaming profiles working for my Win2K workstation and > run a group login script at logon. My user account (traxx) can join and > logon to the domain (DATA) but I get 2 error messages after > authentication: > 1 'Windows cannot create profile directory \\henry\dcarter\profile.pds. > You will be loggeed on with a local profile only. Changes to the profile > will not be propogated to the server. Contact your network administrator.' > > 2-'Windows cannot find the local profile & is logging you on with a > temporary profile. Changes you make to this profile will be lost when you > log off.' > > These are the relevant lines from my smb.conf: > > workgroup=DATA > netbios name=DATASERVER > logon script=%g.bat > domain logons=yes > [Profiles] > path=/home/profiles > create mask=0777 > read only=no > browseable=no > > I can access \\henry\profiles from the run command okay I have also tried: > > path=/home/users/%u > > to store profiles in home directories e.g. mine would be /home/users/traxx > but I get the same error messages. > > By the way my samba logs also says: > > [2003/07/27 14:56:31, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206) > api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON. > [2003/07/27 14:56:31, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200) > api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed. > [2003/07/27 14:56:35, 0] smbd/service.c:make_connection(248) > traxx (192.168.0.55) couldn't find service profiles > > > Can anybody help? > > Thank you > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
This is a small section of our networks smb.conf file. We are running 2.2.8a with NIS and I want samba to emulate a PDC. I have ran down the Unofficial HowTO on this but still come up with this problem. The smb.conf file shows we want to use domain logins (domain logins = yes). The bottom file shows what testparms spits out in the log and domain logins = no in this case. Does anyone have any ideas where its picking up the no? [global] netbios name = eagle1 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192 server string = BOA Samba local master = yes preferred master = yes domain logons = yes domain master = yes workgroup = anc-smb interfaces = *.*.*.* logon home = /walrus/%U log file = /var/log/samba-log.%m log level = 2 max log size = 50 lock directory = /var/lock/samba printcap name = /etc/printcap security = user wins support = yes dns proxy = yes os level = 99 remote announce = *.*.*.* deadtime = 15 Notice where domain logins = yes When I do a testparm to see our settings this is a brief section of the report mangled stack = 50 stat cache = Yes domain admin group domain guest group machine password timeout = 604800 add user script delete user script logon script logon path = \\%L\%Uprofile logon drive logon home = /walrus/%U domain logons = No If the smb.conf file says domain logons = yes then why is it picking it up as domain logons = No? Thoughts? -- Thank you TJ _________________________________ Steven ?Todd? Johnson State of Alaska Dept. of Natural Resources MicroComputer/Network Specialist (907) 269-8831 (907) 269-8920 FAX toddj@dnr.state.ak.us _________________________________ "Who's been holding up the blasted elevator?" -- McCoy (Star Trek II) ===-----------------------------!!*. .--*--. ==IIII ------- NCC-1701 -->- !!** I'''''''''''''''''''''''''''! =----------------------------I!!*' !...........................! !=! / / ''=.='' !=! / ../ !=! / ../ *'!.!''''''''''''L ! ('' .. ... --->=I(!- '''=..... / ! `''''''
On Tue, 2003-08-05 at 13:21, Todd Johnson wrote:> This is a small section of our networks smb.conf file. We are running > 2.2.8a with NIS and I want samba to emulate a PDC. I have ran down the > Unofficial HowTO on this but still come up with this problem. The > smb.conf file shows we want to use domain logins (domain logins = yes). > The bottom file shows what testparms spits out in the log and domain > logins = no in this case. Does anyone have any ideas where its picking > up the no? > > [global] > netbios name = eagle1 > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > server string = BOA Samba > local master = yes > preferred master = yes > domain logons = yes > domain master = yes > workgroup = anc-smb > interfaces = *.*.*.* > logon home = /walrus/%U > log file = /var/log/samba-log.%m > log level = 2 > max log size = 50 > lock directory = /var/lock/samba > printcap name = /etc/printcap > security = user > wins support = yes > dns proxy = yes > os level = 99 > remote announce = *.*.*.* > deadtime = 15 > > Notice where domain logins = yes > > When I do a testparm to see our settings this is a brief section of the > report > > mangled stack = 50 > stat cache = Yes > domain admin group > domain guest group > machine password timeout = 604800 > add user script > delete user script > logon script > logon path = \\%L\%Uprofile > logon drive > logon home = /walrus/%U > domain logons = No > > If the smb.conf file says domain logons = yes then why is it picking it > up as domain logons = No? > > Thoughts? > > -- > Thank you > TJ > _________________________________ > > Steven “Todd” Johnson > State of Alaska Dept. of Natural Resources > MicroComputer/Network Specialist > (907) 269-8831 > (907) 269-8920 FAX > toddj@dnr.state.ak.us > _________________________________ >Are you using swat to do any configurations? I noticed when I use swat it always uses a capital after the = sign e.g. domain logons = Yes, No, but I always edit my smb.conf file and use lowercase letters i.e. domain logons = yes, no. Are you using swat to make any changes? Jon
On 05.08.2003 16:21 Uhr, "Todd Johnson" <toddj@dnr.state.ak.us> wrote:> This is a small section of our networks smb.conf file. We are running > 2.2.8a with NIS and I want samba to emulate a PDC. I have ran down the > Unofficial HowTO on this but still come up with this problem. The > smb.conf file shows we want to use domain logins (domain logins = yes). > The bottom file shows what testparms spits out in the log and domain > logins = no in this case. Does anyone have any ideas where its picking > up the no? > > [global] > netbios name = eagle1 > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > server string = BOA Samba > local master = yes > preferred master = yes > domain logons = yes > domain master = yes > workgroup = anc-smb > interfaces = *.*.*.* > logon home = /walrus/%U > log file = /var/log/samba-log.%m > log level = 2 > max log size = 50 > lock directory = /var/lock/samba > printcap name = /etc/printcap > security = user > wins support = yes > dns proxy = yes > os level = 99 > remote announce = *.*.*.* > deadtime = 15 > > Notice where domain logins = yes > > When I do a testparm to see our settings this is a brief section of the > report > > mangled stack = 50 > stat cache = Yes > domain admin group > domain guest group > machine password timeout = 604800 > add user script > delete user script > logon script > logon path = \\%L\%Uprofile > logon drive > logon home = /walrus/%U > domain logons = No > > If the smb.conf file says domain logons = yes then why is it picking it > up as domain logons = No? > > Thoughts?Are you trying to join a XP box or what OS? If it is XP, you have to change a registry key, go to xp-samba.linuxgod.net/Samba.php. Otherwise make sure you have a $ at the end of all machine trust accounts, and are you adding machine trust accounts into smbpasswd manually? Make sure to do smbpasswd -a -m machinename without the $, it will add it.