[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] Re: reply to k12OSN:pushing icons out to desktops



Ah, I think I see the problem. The push-icons-to-users-desktops script gets the list of users by parsing /etc/passwd (line 41 in the script); but in your case, your /etc/passwd doesn't contain any user info because that's all stored in the Windows AD. Fortunately, it sounds like you can get a list of all your users by just looking at all the directories in /home/domain, right? Assuming so, try making two modifications: First, comment out line 41 and replace it with this:

for i in $(ls /home/domain/)

Second, add this line after the 'do' command on line 42

U=/home/domain/${i}

So, the end result should look like this:

...
# find all of the subdirectories under /home
## getent passwd | cut -d: -f6 | while read U
for i in $(ls /home/domain/)
do
	U=/home/domain/${i}
        # copy new-style Desktop
	if [ -d "$U"/Desktop/ ]; then
	...

and so on.  Try this and let us know what happens.

Petre




Karen Bailey wrote:
Petre,

The home directory is on the k12ltsp server.  It is under in a folder
under home with the domain name. ie. /home/domain/users home directories. Any help on this would be greatly appreciated. Karen Bailey

Does the user's home directory live on the k12ltsp server or on the
Windows server?

Petre

Karen Bailey wrote:

We are using samba, kerberos and winbind with k12ltsp 6.0 to authenticate
to a Windows 2003 active directory server.  When setting this up one of
the steps is to create a folder in the home directory with the name of the
domain.  The process works well for authentication but now I can't use the
push icons out to desktops script because it only puts the icons in the
home directory.  I have tried to edit the scripts path pointing to the
domain folder but I have been unsuccessful.  Has anyone had a problem like
this and if so how do you get around it?

Karen M. Bailey
Software Support Specialist
Merrimack Valley School District
kbailey mv k12 nh us

Karen M. Bailey
Software Support Specialist
Merrimack Valley School District
kbailey mv k12 nh us



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]