Re: [Samba] cannot locate roaming profile

2005-02-12 Thread Matthias Spork
Hello,
does all user has writepermissions to there own profile? Does samba 
creates /export/smb/ntprofile/username ?
I had similar problems, so I wrote simple root-preexec-scripts to create 
the directorys.

[profiles]
   comment = NT Roaming Profiles
   path = /samba/profiles
   root preexec = /etc/samba/scripts/mk_sambadir 
/samba/profiles/%U %U %g
   profile acls = yes
   browseable = yes
   force user = %U
   writeable = yes
   create mask = 0600
   directory mask = 0700
   read only = no

# cat /etc/samba/scripts/mk_sambadir
#!/bin/bash
if [ ! -d $1 ]
then
 mkdir $1
fi
 chmod 700 $1 -R
 chown $2 $1 -R
 chgrp $3 $1 -R
matze
Vinh Tran schrieb:
I've just edited smb.conf to make it a PDC on my SuSE 9.1 machine.  I 
can add other machines to the domain but when I try to log on, I get 
the message Windows cannot locate your roaming profile...blah blah  
My config file is below.

# smb.conf is the main Samba configuration file. You find a full 
commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2004-04-06
[global]
  workgroup = TranFamily
  os level = 64
  passdb backend = smbpasswd
  interfaces = 127.0.0.1 eth0
  bind interfaces only = true
  printing = cups
  printcap name = cups
  printer admin = @ntadmin, root, administrator
  map to guest = Bad User
  security = user
  encrypt passwords = yes
  server string = Samba
  netbios name = dragonite
  add machine script =
  domain master = yes
  domain logons = yes
  local master = yes
  preferred master = yes
  logon path = \\%N\profiles\%u
  logon drive = H:
  logon home = \\homeserver\%u
  logon script = logon.cmd
  ldap suffix = dc=example,dc=com

[netlogon]
   path = /usr/local/samba/lib/netlogon
   read only = yes
   write list = ntadmin
[profiles]
   path = /export/smb/ntprofile
   read only = no
   create mask = 0600
   directory mask = 0700
The local log in and the domain log in usernames are different.  I 
created the directory /export/smb/ntprofile as root but change mod to 
777.  Beside that, I haven't done much else.  Can someone please 
help?  Thank you.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] cannot locate roaming profile

2005-02-11 Thread Vinh Tran
I've just edited smb.conf to make it a PDC on my SuSE 9.1 machine.  I 
can add other machines to the domain but when I try to log on, I get the 
message Windows cannot locate your roaming profile...blah blah  My 
config file is below.

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2004-04-06
[global]
  workgroup = TranFamily
  os level = 64
  passdb backend = smbpasswd
  interfaces = 127.0.0.1 eth0
  bind interfaces only = true
  printing = cups
  printcap name = cups
  printer admin = @ntadmin, root, administrator
  map to guest = Bad User
  security = user
  encrypt passwords = yes
  server string = Samba
  netbios name = dragonite
  add machine script =
  domain master = yes
  domain logons = yes
  local master = yes
  preferred master = yes
  logon path = \\%N\profiles\%u
  logon drive = H:
  logon home = \\homeserver\%u
  logon script = logon.cmd
  ldap suffix = dc=example,dc=com
[netlogon]
   path = /usr/local/samba/lib/netlogon
   read only = yes
   write list = ntadmin
[profiles]
   path = /export/smb/ntprofile
   read only = no
   create mask = 0600
   directory mask = 0700
The local log in and the domain log in usernames are different.  I 
created the directory /export/smb/ntprofile as root but change mod to 
777.  Beside that, I haven't done much else.  Can someone please help?  
Thank you.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] cannot locate roaming profile

2003-10-17 Thread John H Terpstra
On Fri, 17 Oct 2003, Daniel Kasak wrote:

 Hi all.

 I've just installed samba-3.0.1-rc1 as a PDC and I can add computers (
 win2k ) to the domain, but when users log on, they get an error:

 ... windows cannot locate your roaming profile ...

 or words to that effect.

 My smb.conf is:

 # Global parameters
 [global]
 workgroup = NUS
 server string = Samba Server %v
 bind interfaces only = true
 interfaces = 192.168.0.10/24
 passdb backend = tdbsam
 pam password change = Yes
 unix password sync = Yes
 log level = 3
 log file = /var/log/samba3/log.%m
 max log size = 50
 name resolve order = wins lmhosts bcast
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 printcap name = cups
 add user script = /usr/sbin/useradd -s /bin/false '%u'
 delete user script = /usr/sbin/userdel '%s'
 add group script = /usr/sbin/groupadd %g  getent group
 '%g'|awk -F: '{print $3}'
 delete group script = /usr/sbin/groupdel '%g'
 add user to group script = /usr/bin/gpasswd -a '%u' '%g'
 delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
 set primary group script = /usr/sbin/usermod -g '%g' '%u'
 domain logons = Yes
 os level = 33
 preferred master = Yes
 domain master = Yes
 wins support = Yes
 printer admin = @adm
 printing = cups
 preserve case = No

To disable roaming profile usage add:
logon drive =
logon home =

ie: leave the field after the '=' blank.

PS: Also make sure that the user in pdbedit -Lv 'username' does not
specify a profile path.


 [homes]
 comment = Home Directories
 read only = No
 browseable = No

 [netlogon]
 comment = Network Logon Service
 path = /usr/local/smb_shares/netlogon
 guest ok = Yes

 I've read the docs that state that it is not recommended to use roaming
 profiles, and I agree. How do I stop windows from trying to locate one?

Oh? What documentation says that you should not use roaming profiles? I'd
like to know where we slipped up!

- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] cannot locate roaming profile

2003-10-16 Thread Daniel Kasak
Hi all.

I've just installed samba-3.0.1-rc1 as a PDC and I can add computers ( 
win2k ) to the domain, but when users log on, they get an error:

... windows cannot locate your roaming profile ...

or words to that effect.

My smb.conf is:

# Global parameters
[global]
   workgroup = NUS
   server string = Samba Server %v
   bind interfaces only = true
   interfaces = 192.168.0.10/24
   passdb backend = tdbsam
   pam password change = Yes
   unix password sync = Yes
   log level = 3
   log file = /var/log/samba3/log.%m
   max log size = 50
   name resolve order = wins lmhosts bcast
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   printcap name = cups
   add user script = /usr/sbin/useradd -s /bin/false '%u'
   delete user script = /usr/sbin/userdel '%s'
   add group script = /usr/sbin/groupadd %g  getent group 
'%g'|awk -F: '{print $3}'
   delete group script = /usr/sbin/groupdel '%g'
   add user to group script = /usr/bin/gpasswd -a '%u' '%g'
   delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
   set primary group script = /usr/sbin/usermod -g '%g' '%u'
   domain logons = Yes
   os level = 33
   preferred master = Yes
   domain master = Yes
   wins support = Yes
   printer admin = @adm
   printing = cups
   preserve case = No

[homes]
   comment = Home Directories
   read only = No
   browseable = No
[netlogon]
   comment = Network Logon Service
   path = /usr/local/smb_shares/netlogon
   guest ok = Yes
I've read the docs that state that it is not recommended to use roaming 
profiles, and I agree. How do I stop windows from trying to locate one?

Thanks!

Dan

--
Daniel Kasak
IT Developer
* NUS Consulting Group*
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: [EMAIL PROTECTED]
website: http://www.nusconsulting.com.au
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba