Koozali.org: home of the SME Server

Samba Roaming Profiles: Windows Not Useing Global Profiles

Dreamless

Samba Roaming Profiles: Windows Not Useing Global Profiles
« on: March 17, 2004, 02:35:35 PM »
This problem:
Windows cannot locate the server copy of your roaming profile and is attempting to log you on with your local profile.
Changes to the profile will not be copied to the server when you logoff.
Possible causes of this error include network problems or insufficient security rights.
If this problem persists, contact your network administrator.

Follow by a not useing local profil dialog box useing temp profile.

I need to get this correct before i can switch to "gateway mode"

The problem has been since ive updated from 6.0 Beta 3   - 6.0 Final and i really need help on this.
Before the users kill me :-o :-P

smb.conf:
[global]
add user script = /sbin/e-smith/signal-event machine-account-create '%u'
bind interfaces only = no
case sensitive = no
character set = ISO8859-1
client code page = 850
deadtime = 10080
dns proxy = no
domain admin group = admin
domain logons = yes
domain master = yes
encrypt passwords = yes
guest account = public
guest ok = no
hosts allow = *** hidden ***
interfaces = *** hidden ***
kernel oplocks = true
level2 oplocks = true
log file = /var/log/samba/log.%m
logon home = \\%L\%U\._winprofile
logon path = \\%L\Profiles\%U
logon script = netlogon.bat
map to guest = never
max log size = 50
name resolve order = wins lmhosts bcast
netbios name = *** hidden ***
oplocks = true
os level = 65
pid directory = /var/run
preserve case = yes
printer admin = admin
security = user
server string = Mitel Networks SME Server
short preserve case = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY
strict locking = no
unix password sync = Yes
pam password change = Yes
wins support = yes
workgroup = *** hidden ***
printcap name = /etc/printcap
load printers = yes
printing = lprng
print command = /usr/bin/lpr -b -h -r -P%p %s

[homes]
comment = Home directory
browseable = no
guest ok = no
read only = no
writable = yes
printable = no
create mode = 0660
force create mode = 0660
directory mode = 0770
force directory mode = 0770
path = /home/e-smith/files/users/%S/home

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
use client driver = yes

[Profiles]
path = /home/e-smith/files/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0770

[netlogon]
comment = Network Logon Service
path = /home/e-smith/files/samba/netlogon
guest ok = yes
writable = yes
browseable = no


[print$]
comment = Printer drivers
path = /home/e-smith/files/samba/printers
guest ok = yes
browsable = yes
writable = yes
use client driver = yes

[Primary]
comment = Primary i-bay
path = /home/e-smith/files/ibays/Primary
read only = no
writable = yes
printable = no
inherit permissions = yes
create mode = 0640

[drivers]
comment = drivers
path = /home/e-smith/files/ibays/drivers
read only = no
writable = yes
printable = no
inherit permissions = yes
create mode = 0664

[public1]
comment = Public Directory 1
path = /home/e-smith/files/ibays/public1
read only = no
writable = yes
printable = no
inherit permissions = yes
create mode = 0660

Offline wyron

  • *
  • 275
  • +0/-0
    • http://www.ideast.dk
Samba Roaming Profiles: Windows Not Useing Global Profiles
« Reply #1 on: March 18, 2004, 10:15:08 AM »
First of all, read this bugtracker thread: http://no.longer.valid/mantis/bug_view_page.php?bug_id=0000038
Good luck !
Greetings
wyron
...

Dreamless

Samba Roaming Profiles: Windows Not Useing Global Profiles
« Reply #2 on: March 29, 2004, 08:28:34 AM »
Thanks but it dident really solve the problem.

Rights on files should be okay (/home/e-smith/files/users):
drwx------    5 *user*    *user*          4096 Mar 15 20:55 *user*

Regards
Kristian

Offline mdo

  • *
  • 355
  • +0/-0
Samba Roaming Profiles: Windows Not Useing Global Profiles
« Reply #3 on: March 29, 2004, 09:37:46 AM »
Kristian,

if it would be a permission problem (I doubt it) you need to check the permissions on /home/e-smith/files/samba/profiles because that's where the profiles for NT, W2K and XP users are stored.

The error message sounds like it comes from one of those OS (not Win9x). I would still suspect that Wyron's pointer is the right one. It sounds to me that the /etc/smbpasswd file is not linked to /etc/samba/smbpasswd. I would copy it into /etc/samba, restart Samba and try again. If it still does not work I would copy secrets.tdb over to /etc/samba as well.

Regards,
Michael
...

Dreamless

Samba Roaming Profiles: Windows Not Useing Global Profiles
« Reply #4 on: April 13, 2004, 08:07:48 AM »
Hey michael

I get this error in samba/log.smbd :
2004/01/07 10:47:40, 0] smbd/server.c:open_sockets(272)
  Got SIGHUP
[2004/01/09 07:29:02, 0] smbd/server.c:main(811)
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/01/09 07:32:17, 0] smbd/server.c:main(811)
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/03/16 08:10:18, 0] smbd/server.c:main(811)
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/03/16 08:10:18, 0] lib/util_sock.c:open_socket_in(804)
  bind failed on port 139 socket_addr = 0.0.0.0.
  Error = Address already in use

Regards
Kristian