[Samba] Can't compile 3.01 on Solaris
I can't get 3.0.1 to fully compile on my Solaris machines(2.6 and 2.8) Below is an example the error I am getting. Note, that it errored out earlier with the same problem, I typed make again and it went on to the next file, got the same error about a file with extension .o.o not existing. The actual error: --- Compiling lib/replace1.c with -KPIC mv: cannot access lib/replace1.po.o.o *** Error code 2 make: Fatal error: Command failed for target `lib/replace1.po.o' --- I look in the makefile, and I do see it has references to .o.o things. For example: .c.po.o: @if (: $@ || : $@) /dev/null 21; then rm -f $@; else \ dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR); fi @echo Compiling $*.c with -KPIC @$(CC) -I. -I$(srcdir) $(FLAGS) -KPIC -c $ -o $*.po.o # -mv `echo $@ | sed -e 's%^.*/%%g' -e 's%\.po.o$$%.o%'` $@ @mv $*.po.o.o $@ Any ideas, I'm really hoping to try to get 3.0.1 Samba built and running on our machines over the holiday break. I've succesfully compiled it on a number of other unix platforms(Tru64 and Linux) so it must be a Solaris issue. Thanks -grant -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbd uses very high load on CPU
The Server machine: I have a Solaris 2.6 server(Ultra 2, 200mhz, 512megs, loads of disks(about 48 total drives hanging on this beast). It is running Samba version 2.2.8. Client machine: Win 2000 The problem: Compiling code via Visual C++, source files and all that fun stuff are on a drive on the Solaris box, being accessed via Samba. On the server, the CPU load for smbd when compiling goes up to around 60-80 percent. It noticably slows down compilation. Examples Code on Solaris server(over network): 20 minute build time Code on Windows server(over network): 8 minute build time Code locally on the PC: 7 minute build time. Should it really be that slow off a Samba share? Could it be a config issue? Are there any things that can be done to help this out some? All machines are on a single 100meg Full duplex switch( and are 100 FD) -grant -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] making a Unix machine Join the Windows Domain
Ok, I'm missing something here. We have a WINS server(actual WIndows NT machine). Configured with Domain security. We have a bunch of unix machines here, that I can connect to fine from my Windows PC. I added another Unix machine(Solaris 2.8) and am using basically the same smb.conf file. Now, on our Windows NT server, in Server manager I see our other UNIX machines. I do NOT see the new machine that I configured Samba on. I did an add machine, and it added it to the list. However, when I click on the machine in Windows Server Manger, I get Access is Denied. On the other Solaris machines, that I basically copied the whole configuration from. I can see info on it. I can see the new machine in network neighborhood though. Is there a step I missed? How do I make the new unix machine Join the Windows Domain. Thanks, I'm really not very familier with Windows, but I make may way. -grant -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] good solution for automount homes
All, On our main file server, all our home directorys are automount points. So /home isn't a real filesystem area, it points to a bunch of different home areas based on the auto.direct table. Example: /home/user1 mounts from -- /export/home1/user1 /home/user2 mounts from -- /export/home2/user2 /home/user3 mounts from -- /export/home2/user3 /home/user4 mounts from -- /export/home3/user4 I could explain more but I am sure most everyone knows how automount works in basic... Ok, so I want to do a read share out for all the users home areas... I could just set up a share one /home, but then since its an automount, /home/user1 wouldn't show up until user1 did something on the file server that keyed the automounter to kick in. Is there a way to have samba cause the automounter to kick in and mount it? I was actually suprised it didn't in the first place, but maybe its due to the way explorer browses, meaning it determintes that the path doesn't exist and doesn't even try to do it. -grant -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Files are showing up as hidden when view from windows...
Well I started digging into it, and it seems its making executables show up as hidden. Which seems really odd, here's an ls -l from my Solaris machine... -rw-r--r-- 1 iacm staff 0 Oct 12 11:10 notHidden -rwxr-xr-x 1 iacm staff 0 Oct 12 11:09 showsUpHidden The file names describe which one is which. If I did a chmod 755 on notHidden, it would then show up hidden. Any clues to why this is happening? It doesn't seem to be on all our shares... but from one share in particular... its smb settings are [home] comment = Home directories browseable = yes path = /home public = yes writeable = no printable = no -Original Message- From: Schoep, Grant @ STORM [mailto:GSchoep;storm.l-3com.com] Sent: Thursday, October 10, 2002 3:10 PM To: '[EMAIL PROTECTED]' Subject: [Samba] Files are showing up as hidden when view from windows... I have a string occurance one one machine. We have a Solaris 2.6 machine, running Samba 2.2.4. When going through the files from my Win2000 SP3 machine, I see some files are showing up as hidden. When I copy them over to my machine, they stay marked as hidden files. I can't figure out what is making it think these files are hidden. They don't have a . prefix or anything. Any clues? -grant -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Files are showing up as hidden when view from windows ...
All but the first of these defaults to off. Now this makes me wonder why map hidden seems to have been in effect for you. Was it set to yes/true in the global section? Yes, it was in the global area. I pulled it out. The person who set up Samba on our network years ago probably put it in there while trying to get it to work. He even commented the setting sith something that didn't make sense at all... something like make the service hidden. Probably just a case of assuming a flag did somethign else... -grant -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Files are showing up as hidden when view from windows ...
It's because of the map hidden config option. You can add map hidden = no as below. The downside is that you then cannot make any file in the homedir share hidden except by making it a dotfile :-( Ah thanks, I've set it now. Everyone here is most a UNIX user so they assume thats the way to make them hidden. Question, what was making them show up as hidden? The fact that they were executable? Since some files did not show up hidden, just the executable ones. -grant -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Files are showing up as hidden when view from windows...
I have a string occurance one one machine. We have a Solaris 2.6 machine, running Samba 2.2.4. When going through the files from my Win2000 SP3 machine, I see some files are showing up as hidden. When I copy them over to my machine, they stay marked as hidden files. I can't figure out what is making it think these files are hidden. They don't have a . prefix or anything. Any clues? -grant -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba