Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re-send: Re: Windows Home Directories and PDC/member servers




On 28 Sep, 2004, at 13:05, John Gerth wrote:

In our experience, this was *not* enough to disable roaming profiles because
Samba has a compiled in path. You need to hand code:
logon path =
in smb.conf (I've complained about this to Apple since the GUI provides
no way to enter an empty path).

We found that by removing or even commenting-out 'logon path = \\%N\profiles\%u', any new user logging-in is effected by the configuration change. Upon XP login, a user is warned that network profiles could not be found, and that a temporary profile will be used instead. This occurs as soon as smb.conf is saved, and I assume happens since smb.conf is read by each new smbd daemon spawned by each new login. As soon as profiles are enabled again, after saving smb.conf, a user logging-in to XP will not receive the profile error. This happens regardless whether the Windows services are restarted or not.

Interestingly, with the 'logon path = \\%N\profiles\%u' directive removed from smb.conf, and with all other XP logins receiving network profile errors, a user who has a 'User Profile Path' specified in Workgroup Manager will not receive an error, and will load her profile.

>From this I concluded that /etc/smb.conf is read each time smbd is spawned, followed by a call to the LDAP directory for additional Samba directives, on a per-user basis.


Do you do other things in the login scripts? I ask because we use
the "Windows Home Directory" settings instead of login.bat files
(XP queries for home dir...I think it was Win9x that needed the login.bat)

At one point we had the login scripts mounting U: to the user's home directory, and G: to a groups folder on one of the servers. Additionally, the script called a registry tweak, which would map "My Pictures" to ~/Pictures and "My Movies" to ~/Movies. We have since removed the groups mount command and the regedit call, during our troubleshooting. The scripts originally were very basic:

net use U: \\c8\%UserName% <---- only this statement now exists
regedit /s \\osx-login2\netlogon\mapu.reg
net use G: \\c8\Groups


If clients are on other subnets, it is vital that they use WINS
as the Windows default is local subnet broadcast. We now use DHCP
to set WINS at the same time we hand IP, DNS etc.

All XP clients are configured with the IP of our ODM/PDC in the WINS tab.


For Apple, 'high' equals 2, but Samba can go up to 10 with 3-5 often
providing much more data. Logging does consume resource and should
be set high only when needed. Samba also allows you to set higher
log levels for individual machines and to have separate log files
for each machine which can be useful in situations like this.

Good point, I will explore this.


Hmmmm...I've never seen the Master Browser settings as an option in SA.
You should have *only one* browser for each subnet. (This requires more
explanation, but browsing is really an separate service *unrelated* to auth)

These settings are on the 'Advanced' pane, second section down, beneath the 'Code Page' drop-down. The Browser options are labeled 'Services', and are enabled/disabled with a tick box.


Your WINS sounds right. My question about the domain members showing
up on the PDC was not about browsing. It was about their "machine accounts".
You should look those up in Workgroup Manager's Computer Lists

I checked and the servers were, in fact, missing from this list. I have added back each server. I say "back" because the servers were listed prior to an ODM/PDC rebuild from scratch a week and a half ago. These Windows problems have plagued us since the beginning of September though, even before the rebuild. The home directory servers were definitely listed before the rebuild, which was done by another technician out of desperation one weekend.


If it will help, I will be happy to post smb.conf files from both our PDC and home directory servers.
That's probably a good idea

I will send those in a separate message.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >Re: Windows Home Directories and PDC/member servers (From: Chris <email@hidden>)
 >Re: Windows Home Directories and PDC/member servers (From: email@hidden)
 >Re: Windows Home Directories and PDC/member servers (From: John Gerth <email@hidden>)
 >Re: Windows Home Directories and PDC/member servers (From: email@hidden)
 >Re: Windows Home Directories and PDC/member servers (From: John Gerth <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.