Re: [Samba] xp pro + excel xp + samba 2.2.3a

2002-10-12 Thread Andrew Bartlett
"David W. Chapman Jr." wrote:
> 
> On Fri, Oct 11, 2002 at 05:11:14PM +0200, Luca Massarenti wrote:
> > I installed my redhat 7.3 as pdc and I configure each client to access the domain.
> >
> > both windows 9x and xp pro work correctly but when I try to exit excel xp on my 
>win xp pc, I've to wait about 1 minute.
> >
> > the other os work without any problem
> 
> Could you try to upgrade to samba 2.2.5 or 2.2.6rc2?

Also, are you using nss_ldap?  This could be the SIGPIPE issue, which
was fixed in nss_ldap-200 apparently.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Server crashes during Roaming profile Transfer

2002-10-12 Thread Andrew Bartlett
> Kevin Smith wrote:
> 
> I have a RH 6.0 (don't laugh) server I've set up. Hooked to the test
> machine its fine, but when I put in on the 3 machine network it did a
> few weird things:
> 
> 1: Changed my Main User Profile on Machine #1 to what looks like a
> default profile. and When I login there no previous username in the
> Logon Box. (no windows Policies)
> 
> 2: Crashes when  Machine #2 of the machines logs in and is copying its
> roaming profiles to or from the server with this error:
> 
> Kernel Panic: SKput:over:c2820b30:27855:dev eth0: In Swapper
> Task   not syncing

If you kernel crashes, it's a kernel bug - nothing much Samba can do
about it.

Andrew Barteltt

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] ssh tunnels

2002-10-12 Thread Ruben I Safir
It's easier with a VPN


On 2002.10.12 23:14 Justin Georgeson wrote:
> Is there a way to use ssh tunnels to access samba shares on a remote 
> system from a Win 2K box? I have some linux boxen behind a NAT in a data 
> center, and someone wants samba access to to one of them. No way in hell 
> am I opening it through the NAT. Thanks.
> 
> -- 
> Justin Georgeson
> UnBound Technologies, Inc.
> http://www.unboundtech.com
> Main   713.329.9330
> Fax713.460.4051
> Mobile 512.789.1962
> 
> 5295 Hollister Road
> Houston, TX 77040
> Real Applications using Real Wireless Intelligence(tm)
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
-- 
__

Brooklyn Linux Solutions
__
DRM is THEFT - We are the STAKEHOLDERS http://www.nyfairuse.org

http://www.mrbrklyn.com - Consulting
http://www.nylxs.com/radio - Free Software Radio Show and Archives
http://www.tmm.net <-- Happy Clients
http://www.brooklynonline.com - For the love of Brooklyn
http://www.nylxs.com - Leadership Development in Free Software
http://www.nyfairuse.org - The foundation of Democracy
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from 
around the net
http://www2.mrbrklyn.com/mp3/dr.mp3 - Imagine my surprise when I saw you...
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn

1-718-382-0585



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Server crashes during Roaming profile Transfer

2002-10-12 Thread Kevin Smith




I have a RH 6.0 (don't laugh) server I've set up. 
Hooked to the test machine its fine, but when I put in on the 3 machine network 
it did a few weird things:
 
1: Changed my Main User Profile on Machine #1 to 
what looks like a default profile. and When I login there no previous username 
in the Logon Box. (no windows Policies)
 
2: Crashes when  Machine #2 of the machines 
logs in and is copying its roaming profiles to or from the server with 
this error:
 
Kernel Panic: SKput:over:c2820b30:27855:dev 
eth0: In Swapper Task   not 
syncing 
 
I seems to be doing this with just the one machine. 
a Win 98se box with an IntelPro/100B  iis the culprit.
I tried disabling the  roaming profiles, but that 
didn't seem to work and it still crashed. 
 
My RH Server uses Samba 2.2.5 and the NIC 
uses the Tulip driver .92u that came with the RedHat.  It's all 
connected through a Linksys Hub.
The Machine that DOES work, uses a linksys 10/100 

 
My Questions are: 
 
Anyone even get this error? Or have and 
Idea why its being triggered? and more importantly how to fix the darn 
thing?
 
and 
 
Can I put a file Size limit on what is being transferred to to server in 
smb.conf?
 
thanks in advance,
K Smith
 
---Outgoing mail is certified Virus 
Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.394 / 
Virus Database: 224 - Release Date: 
10/4/02


[Samba] ssh tunnels

2002-10-12 Thread Justin Georgeson
Is there a way to use ssh tunnels to access samba shares on a remote 
system from a Win 2K box? I have some linux boxen behind a NAT in a data 
center, and someone wants samba access to to one of them. No way in hell 
am I opening it through the NAT. Thanks.

--
Justin Georgeson
UnBound Technologies, Inc.
http://www.unboundtech.com
Main   713.329.9330
Fax713.460.4051
Mobile 512.789.1962

5295 Hollister Road
Houston, TX 77040
Real Applications using Real Wireless Intelligence(tm)

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Winbind and groups

2002-10-12 Thread Grzegorz Kusnierz
Hi!
Actually I had a similar situation and was using winbind, which showed up to be 
unreliable and _very_ moody. Recently, I've decided to give up winbind and move to NIS 
and I'm really happy with it - no problems with groups, delicate wb's tdb files and 
other stuff.
For further info read NIS-HOWTO which can be found at (eg.)
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/NIS-HOWTO.html

cheers :)
konik
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Winbind and groups

2002-10-12 Thread Bub Slug
Hi all,

I'm trying to get a samba server which is all by itself, No Windows DCs, or 
even windows shares at all, to play nice with Linux clients.

The server is authenticating Win9x, NT and 2000 clients fine and dandy, and 
now I have need to add linux clients to the scenario, and have dicovered an 
issue I can't seem to work through.  Perhaps someone can help?

On the linux client, I can login as a user that exists only on the samba 
server (TEST+testuser) , except I get the following message:

	id: cannot find name for group id 1

When I do "wbinfo -t" I get back:
	Secret is good.

When I do "wbinfo -u" I get back:
	TEST+testuser

When I do "wbinfo -g" I get back:
	TEST+Domain Admins
	TEST+Domain Users

When I do "getent passwd" I get:

	root:x:0:0:root:/root:/bin/bash
	bin:x:1:1:bin:/bin:/sbin/nologin
		.
		.
	   cut for brevity
		.
		.
	bub:x:500:500:Bub Slug:/home/bub:/bin/bash
	TEST+testuser:x:1:1::/home/testuser:/bin/bash

So far so good, until I do "getent group", which returns:

	root:x:0:root
	bin:x:1:bin
		.
		.
	   cut for brevity again
		.
		.

	bub:x:500:bub

So my net groups "Domain Admins" and "Domain Users" don't show up when I 
getent group, and there is no other network group that winbind can map to 
gid 1 when TEST+testuser logs in to the Linux client, and I suspect this 
is why I get the ID message on login (?)

Once again, I am not using any Windows 9x, NT, 2000 servers, the Linux Samba 
server is the only PDC (and the only DC).

Can anyone offer some help aside from the stuff that's around on the net.  
It all seems to deal with using Samba in a Domain with an actual windows DC, 
not as a standalone server being a DC.

I wonder why my client linux box can't see the domain groups on login, and 
while I'm on the subject, where do "Domain Admins" and "Domain Users" come 
from in the first place, and how do I add, delete or modify domain groups or 
how do I make groups on the Linux Samba server display to linux clients?


Both server and Client use RedHat 7.3 (Stock Kernel)  Samba wasn't installed 
with the redhat setup, instead I downloaded the tarball for 2.2.5

I compiled the server software in the source directory with:

	./configure
	make
	make install

The server is set up as a PDC with an smb.conf file that looks like:

	[global]
   workgroup = TEST
   netbios name = LINUXSRV
   interfaces = 127.0.0.1 192.168.240.20
   encrypt passwords = Yes
   domain logons = Yes
   os level = 64
   preferred master = True
   domain master = True
   wins support = Yes

	[homes]
   path = /home/%U
   read only = No
   browseable = No

	[netlogon]
   path = /usr/local/samba/netlogon
   browseable = No


I've configured the linux client and added it to the domain by:

Setting it's host name to linuxclient,

Compiling the samba software from source (2.2.5) in the source directory 
with:
	./configure --with-winbind
	make
	make install
	make nsswitch

	Copied libnss_winbind.so to /lib
	Created a link:
		ln -s /lib/libnss_winbind.so /lib/libnss_winbind.so.2
	copied pam_winbind.so to /lib/security


	Created an smb.conf file for winbind that looks like
		[global]
		workgroup = TEST
		winbind separator = +
	winbind uid = 1-2
	winbind gid = 1-2
   	winbind enum users = yes
	winbind enum groups = yes
	template homedir = /home/%U
   	template shell = /bin/bash
	winbind use default domain = yes
	wins server = 192.168.240.20


	Created a init script to fire up winbind

	edited /etc/nsswitch.conf to change the lines:
		passwd:	files winbind
		shadow: files
		group:	files windbind

added these lines to /etc/pam.d/login:
	auth sufficient /lib/security/pam_winbind.so
	account sufficient /lib/security/pam_winbind.so
	session required /lib/security/pam_mkhomedir.so skel=/etc/skel umask=022

did a: /sbin/ldconfig -v | grep winbind which returned:
   libnss_winbind.so -> libnss_winbind.so

I started up the winbindd daemon on the client.


Then on the server, I did:
	useradd linuxclient$
	passwd -l linuxclient$
	smbpasswd -a -m linuxclient

	useradd testuser
	passwd -l testuser
	smbpasswd -a testuser

On the linux client I did:
	smbpasswd -j TEST -r 192.168.240.20
Which reported I joined the domain successfully.

Doing all this gets me the behaviour described above.


Any help will be appreciated!

Bub

This tagline is umop ap!5dn




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Strictly Private.

2002-10-12 Thread Michael Matongo
Good Day,

With warm heart I offer my friendship, and my greetings, and I hope this letter meets 
you in good time. It will be surprising  to you to receive this proposal from me since 
you do not know me personally. However, I am sincerely seeking your confidence in this 
transaction, which I propose with my free mind and as a person of integrity.

My name is Michael Ndlovu Matongo, the son of Phiri Matongo, a farmer from Zimbabwe, 
murdered in the land dispute in my country. As led by my instict, I decided to contact 
you through email, after searching  for contacts via the internet, as it is the only 
means I can contact anybody since I am cutting off ties with Zimbabwe for now. I 
apologize if this is not acceptable to you. 

The purpose of this letter is to seek your most needed assistance in a business 
venture. Due to the the land and political problems in Zimbabwe, as a result of 
President Robert Mugabe's introduction of new Land Act Reform wholly affecting the 
rich white farmers and the few rich black farmers, and his desire to hold on to power 
for life, my father forsaw the danger that came in Zimbabwe. Before he was murdered, 
he withdrew all of our business foreign accounts in dollars and sold up our shares in 
major companies. We then went to Johannesburg, South Africa to deposit the sum of 
US$8.5 million (Eight million, Five Hundred thousand US dollars), in a private 
security company. This money was deposited with this Private Security company for 
safety and security reasons, and  was to be used for the purchase of land, new 
machines and chemicals establishment of new farms in Botswana.  

President Mugabe's support for the violent  Zimbabwean war veterans and some lunatics 
in the society, led to the murder of my beloved father and other innocent lives. I was 
continually threatened to abandon my inheritance from my father after he was murdered. 
I resisted for a while, but when the danger became unbearable, and I survived two 
murder attempts, I fled Zimbabwe. 

I am currently staying in the Netherlands where I am seeking political asylum. In fact 
my decision to come here to seek asylum, is because the security company from South 
Africa, has a branch here, I have contacted to move the safe deposit from their office 
in Johannesburg here, which they have since done. 

I need to transfer this money to  an account and invest part of the money. Since the 
law of Netherlands prohibits a refugee (asylum seeker) to open any bank account or to 
be involved in any financial transaction, this is why  I am seeking a genuine and 
reliable partner, whose account this money can be transferred, hence this proposal to 
you.

You have to understand that this decision taken by me is a very big one, and it 
entrusts my future and in your hands, as a result of the safe keeping of this money. 

If you accept to assist me, all I want you to do for me, is to assist with 
arrangements to claim the deposit from the security company from their office here in 
The Netherlands, as it has now been transfered from Johannesburg, South Africa to 
their branch here. The company will be legally informed of you representing me.

For your assistance, I have two options for you. Firstly you can choose to have 10% of 
the money for your assistance, and helping me open an account for the money to be 
deposited here, or you can go into partnership with me for the proper profitable 
investment of the money in your country. Whichever the option you want, please to 
notify me in your reply. 

I have also set aside 1%($85,000) of this money for all kinds of expenses that come 
our way in the process of this transaction, and 4% ($340,000) for Charity donation. If 
you prefer to accept the 10% for assisting with opening an account, then 
85%($7,225,000) will be left in the account here for me. 

Please, I want to you maintain the absolute secrecy for the purpose of this 
transaction. 

I look forward to your reply and co-operation, and I thank you in advance as I 
anticipate your co-operation.

Sincerely,
M.N. Matongo.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: FW: [Samba] 2.2.5 LDAP/smbpasswd -L problem help.

2002-10-12 Thread Andrew Bartlett
Yura Pismerov wrote:
> 
> My understanding is that "domain admin group" is deprecated option.
> Have you tried using "admin users = @ADMIN" instead ?

'domain admin group' is the correct option for this, so I don't know why
it isn't working.  But it was really only indended for use inside smbd,
from a remote client :-(.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Cant find uid=0

2002-10-12 Thread Andrew Bartlett
Philip Burrow wrote:
> 
> > > Must there be an instance of 'root' in Samba LDAP backends? I've
> ploughed
> > > through the idealx HOWTO for this, but Messrs Lemaire don't explicitly
> > > create a root user. Can someone help?
> >
> > Don't make the user you use to join the domain an 'admin user', either
> > use root, or a member of the 'domain admins group'.  Yes, this is
> > confusing, and is fixed in 3.0
> 
> Thanks for the response Andrew. Are you saying that if the user I am using
> is in both admin users and domain admin group, it wont work, and that if the
> user is in domain admin group only, it will work and wont search for a root
> user?

Yes.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Cheap Tobacco

2002-10-12 Thread Thierry Vanhoudt

Dear Sir or Madam

In the past you have requested information on discounted products. If you are not a 
smoker, and find this email offensive, then we sincerely apologise.  We will be only 
too happy to take you off our database.

If you are a smoker, however, you are probably fed up with paying high prices for your 
cigarettes and tobacco.  Take a look at what we can do for you at
http://www.smokersassociation.co.uk/?S=13&ID=2

We can send you, legally, by registered air mail, direct to your door, 4 cartons of 
cigarettes or 40 pouches of rolling tobacco (all brands are available) from only 170 
Euros - about 105 pounds - fully inclusive of postage and packing.  Why pay more?

If you would rather not hear from us any more, this link will ensure that you are not 
bothered again.
mailto:unsubscribe@;smokersassociation.co.uk

Yours faithfully.
Smokers Association

http://www.smokersassociation.co.uk/?S=13&ID=2

xay10478561y
-- 
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 ...

2002-10-12 Thread Schoep, Grant @ STORM



>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



Re: [Samba] Cant find uid=0

2002-10-12 Thread Philip Burrow
> > Must there be an instance of 'root' in Samba LDAP backends? I've
ploughed
> > through the idealx HOWTO for this, but Messrs Lemaire don't explicitly
> > create a root user. Can someone help?
>
> Don't make the user you use to join the domain an 'admin user', either
> use root, or a member of the 'domain admins group'.  Yes, this is
> confusing, and is fixed in 3.0

Thanks for the response Andrew. Are you saying that if the user I am using
is in both admin users and domain admin group, it wont work, and that if the
user is in domain admin group only, it will work and wont search for a root
user?

Phil.


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: FW: [Samba] 2.2.5 LDAP/smbpasswd -L problem help.

2002-10-12 Thread Yura Pismerov

My understanding is that "domain admin group" is deprecated option.
Have you tried using "admin users = @ADMIN" instead ?

Michael Nenishkis - List ID wrote:
> 
> Sorry, still stuck with this problem.
> It is a repost, please kindly shed me light.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:samba-admin@;lists.samba.org]
> On Behalf Of Michael Joseph Nenishkis
> Sent: Saturday, September 28, 2002 1:03 AM
> To: [EMAIL PROTECTED]
> Subject: [Samba] 2.2.5 LDAP/smbpasswd -L problem help.
> 
> Guru's, I humbly ask you for help.
> I ran into a problem in which I cannot find the reason/fix.
> 
> System:
> redhat 7.3
> samba 2.2.5 --withldapsam
> nss_ldap configured to route the Unix UID/GID from same LDAP server.
> 
> It is running well and am able to authenticate off the LDAP servers. One
> problem I am having right now is that I would like non-root
> administrators to be able to use smbpasswd -L option to reset user
> passwords.
> 
> the /etc/samba/secrets.tdb is
> -rw-rw-r--1 root ADMIN  8192 Sep 27 18:19
> /etc/samba/secrets.tdb
> *changed group rights so that user in ADMIN group of unix has write
> access -- as pointed out on the samba readme files.
> 
> username, for example, on unix is joedoe.
> telnet to unix host as joedoe, type "id -G" shows 5 groups, for example.
> uid=510(joedoe) gid=100(users)
> groups=100(users),300(Group1),200(ADMIN),201(Group2),302(Group3)
> 
> So joedoe is a member of the ADMIN group.
> 
> SMB.conf is configured as follows:
> domain admin group = @ADMIN
> 
> I am able to join NTworkstation into the domain as user joedoe, so samba
> understands domain admin = @admin = joedoe is a member.
> 
> But, when I login to unix host as joedoe, and type
> smbpasswd -L maryjoe -D256 (enter)
> New SMB password: xx
> Retype SMB password: xx
> --cut cut---
> ldap_open_connection: starting...
> user_in_list: checking user joedoe in list @ADMIN
> user_in_list: checking user |joedoe| against |@ADMIN|
> Unable to get default yp domain
> user_in_unix_group_list: checking user joedoe in group ADMIN
> user_in_unix_group_list: no such group ADMIN
> ldap_open_connection: cannot access LDAP when not root or a member of
> domain admin group.. Failed to find entry for user maryjoe. Failed to
> modify password entry for user maryjoe
> ---
> Seems Samba is not able to get the full group list for user joedoe. (?)
> 
> I have looked into "user_in_unix_group_list" in the source and found
> there is a handle in lib/username.c but I have not clue what to do.
> 
> Please kindly give me a pointer on this problem..
> 
> --
> 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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Share home dirs?

2002-10-12 Thread Andrew Volkov
Hi,

Does anyone know which legal path from WinBox (if it exist)
of winbind users home dirs? I wish give read account 
to my homedir like \\server\user to another user.

Regards
Andrey Volkov
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Problems with Roaming Profiles under Win2k SP3

2002-10-12 Thread David F. Severski
I'm having a problem wtih 2.2.6pre2 that I seem unable to resolve.  When 
logging out of my Win2K SP3 machine, I receive the error "Windows cannot 
update the roaming profile.  The system cannot find the file specified."

Checking the archives and google brings up several references to errors 
around the copying of ntuser.dat from the local machine, to a temporary 
file on the server, and then using that temp file to replace the old 
ntuser.dat, with this error typically occuring in the last step.  None of 
these seem to suggest a resolution though.

Tweaking the log level and UserEnvDebug haven't turned up any usefull 
information.  Changing oplocks, nt acl support, and permissions on the 
profile directory has also been unsuccesfull.

The Samba server is running on FreeBSD 4.7 and has the following config 
file:

[global]

log level = 3
oplocks = no
workgroup = DEADHEAVEN
server string = Geoff Server
hosts allow = 192.168.0.


load printers = yes
printcap name = cups
printing = cups
log file = /var/log/log.%m
max log size = 500
security = user

encrypt passwords = yes

socket options = TCP_NODELAY

interfaces = 192.168.0.1/24

domain master = yes
preferred master = yes
domain logons = yes

logon path = \\%N\profiles\%U
wins support = yes
dns proxy = no

[homes]
   comment = Home Directories
   browseable = no
   writeable = yes

[netlogon]
   comment = Network Logon Service
   path = /usr/local/samba/lib/netlogon
   guest ok = yes
   writeable = no
   ;share modes = no


[profiles]
path = /usr/local/samba/profiles
browseable = no
guest ok = yes
create mask = 0700
directory mask = 0700

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   use client driver = yes
   public = yes
   guest ok = yes
   writeable = no
   printable = yes
   printer admin = root

[print$]
comment = Printer Drivers
path = /usr/local/samba/printers
guest ok = no
browseable = yes
read only = yes
write list = root

Any assistance or pointers would be greatly appreciated.

David
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Moving from NT PDC to Samba PDC - SID problem with MS Exchange (?)

2002-10-12 Thread Pascal Schuppli
Hi

I'm trying to move a small network from an NT 4.0 PDC to Samba 2.2-3a
PDC. I've come as far as letting people log on successfully and use the
appropriate network shares, but there's one problem still:

I've tried to move an MS Exchange Server (5.5) formerly located on the
PDC to a standalone NT Server. The moving procedure basically consisted
of moving the information store, which according to MS is supposed to
work.

However, once I try to start the information store services, I get
errors telling me that I don't have sufficient access to it, and the
service fails to start.

Here's what I suspect went wrong:

Exchange needs a "service account". I've been using an admin user from
the original NT PDC for this purpose. I believe that Exchange stores the
SID of this service account in the information store and checks this
when someone tries to start the server (I believe this because I
reinstalled NT and Exchange from scratch, using the Samba PDC to choose
a service account this time, and only copied over the files that
contained the information store - same result) But the Samba PDC uses an
entirely different SID for my service account, right? So it doesn't
agree with the SID that's (probably) logged in the information store.

To either confirm this suspicion or rule it out, I need to force a
specific SID on a Samba 2.2-3a PDC user account. Is this possible?

This would allow me to just "clone" the user accounts I had on my NT PDC
by hand. I guess it would also resolve any problems still in the future
with ACL'd directories.

Or is there an easy way to switch from NT to Samba PDC, a kind of
migration tool that would migrate my NT accounts to Samba?

Help would be greatly appreciated, as "Internal error xyz" NT error
messages are driving me up the wall. There's not much left before I hit
the roof. :-)

Pascal

-- 
If you can't dazzle them with brilliance, baffle them with bullshit.
 
Contact information at www.phar.ch/contact



signature.asc
Description: This is a digitally signed message part


Re: [Samba] Files are showing up as hidden when view from windows ...

2002-10-12 Thread Malte Starostik
On Saturday 12 October 2002 19:51, [EMAIL PROTECTED] wrote:
> 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.
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 :-(

> 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
map hidden = no

-Malte
-- 
#!/usr/bin/perl
$t='char|short|int|long|void';%m=qw(U "unsigned\040$3" W "w$3_t");while(<>)
{/#define UNICODE/and$m{T}=$m{W};s/\b(LP)?([UWT])?($t)\b/lc(eval$m{$2}||$3)
.($1?'*':'')/gei;print;}print"/* Cleaned by Malte's WinAPI sanitizer */\n";

--
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 ...

2002-10-12 Thread Schoep, Grant @ STORM
>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 ...

2002-10-12 Thread Malte Starostik
On Saturday 12 October 2002 20:04, [EMAIL PROTECTED] wrote:
> >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.
Good.

> 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.
There are three options for X-bits:
"map archive" maps the owner x-bit to the DOS "archive" attribute
"map hidden" maps the world x-bit to the DOS "hidden" attribute
"map system" maps the group x-bit to the DOS "system" attribute

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?

Regards,
-Malte
-- 
#!/usr/bin/perl
$t='char|short|int|long|void';%m=qw(U "unsigned\040$3" W "w$3_t");while(<>)
{/#define UNICODE/and$m{T}=$m{W};s/\b(LP)?([UWT])?($t)\b/lc(eval$m{$2}||$3)
.($1?'*':'')/gei;print;}print"/* Cleaned by Malte's WinAPI sanitizer */\n";

--
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...

2002-10-12 Thread Schoep, Grant @ STORM



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



[Samba] rpcclient error

2002-10-12 Thread Robert M Shepard

I am setting up a linux box (redhat 7.3) to server as a printer server on 
a windows NT network.  This is the second server I have set up.  The first 
server is working correctly with no problems.


I am using cups.  ON the first server, I can add cups printers to samba 
just fine.  I can upload and download drivers without any problems.

On the second server I keep getting an error on cupsaddsmb.  I upgraded to 
2.2.6rc2 and get the same error.

this is the output from cupsaddsmb.  at the end, I ran the rpcclient 
command manually with -d3 error log.  Note that this isn't an 
authentication problem, because the upload of the drivers with smbclient succeeds.

also, this is using cups 1.1.16 which corrected the erroneous rpcclient 
command in earlier versions.

thanks, any help would be appreciated.
bob shepard


dded interface ip=172.25.0.19 bcast=172.25.255.255 nmask=255.255.0.0
Domain=[SPH_DOMAIN] OS=[Unix] Server=[Samba 2.2.6rc2]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /var/spool/cups/tmp/3da6de0706fa3 as \W32X86/hislsr1.PPD (7181.1 kb/s) 
(average 7181.3 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS5.DLL as \W32X86/ADOBEPS5.DLL (10639.9 
kb/s) (average 10409.3 kb/s)
putting file /usr/share/cups/drivers/ADOBEPSU.DLL as \W32X86/ADOBEPSU.DLL (11041.6 
kb/s) (average 10542.4 kb/s)
putting file /usr/share/cups/drivers/ADOBEPSU.HLP as \W32X86/ADOBEPSU.HLP (9008.8 
kb/s) (average 10490.5 kb/s)
cmd = adddriver "Windows NT x86" 
"hislsr1:ADOBEPS5.DLL:hislsr1.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"
result was NT_STATUS_UNSUCCESSFUL
added interface ip=172.25.0.19 bcast=172.25.255.255 nmask=255.255.0.0
Domain=[SPH_DOMAIN] OS=[Unix] Server=[Samba 2.2.6rc2]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40
putting file /var/spool/cups/tmp/3da6de0706fa3 as \WIN40/hislsr1.PPD (4308.7 kb/s) 
(average 4308.8 kb/s)
putting file /usr/share/cups/drivers/ADFONTS.MFM as \WIN40/ADFONTS.MFM (13786.7 kb/s) 
(average 12709.7 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV (3711.8 kb/s) 
(average 5246.3 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP (1033.7 kb/s) 
(average 3561.3 kb/s)
putting file /usr/share/cups/drivers/DEFPRTR2.PPD as \WIN40/DEFPRTR2.PPD (6588.1 kb/s) 
(average 3575.3 kb/s)
putting file /usr/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL (14419.7 kb/s) 
(average 3772.5 kb/s)
putting file /usr/share/cups/drivers/PSMON.DLL as \WIN40/PSMON.DLL (11199.8 kb/s) 
(average 3855.9 kb/s)
cmd = adddriver "Windows 4.0" 
"hislsr1:ADOBEPS4.DRV:hislsr1.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV:hislsr1.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"
result was NT_STATUS_UNSUCCESSFUL
cmd = setdriver hislsr1 hislsr1
result was NT_STATUS_UNSUCCESSFUL
Running command: smbclient //localhost/print\$ -N -U'xx%xx' -c 'mkdir 
W32X86;put /var/spool/cups/tmp/3da6de0706fa3 W32X86/hislsr1.PPD;put 
/usr/share/cups/drivers/ADOBEPS5.DLL W32X86/ADOBEPS5.DLL;put 
/usr/share/cups/drivers/ADOBEPSU.DLL W32X86/ADOBEPSU.DLL;put 
/usr/share/cups/drivers/ADOBEPSU.HLP W32X86/ADOBEPSU.HLP'

Running command: rpcclient localhost -N -U'xx%xx' -c 'adddriver "Windows NT 
x86" "hislsr1:ADOBEPS5.DLL:hislsr1.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"'

Running command: smbclient //localhost/print\$ -N -U'xx%xx' -c 'mkdir 
WIN40;put /var/spool/cups/tmp/3da6de0706fa3 WIN40/hislsr1.PPD;put 
/usr/share/cups/drivers/ADFONTS.MFM WIN40/ADFONTS.MFM;put 
/usr/share/cups/drivers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV;put 
/usr/share/cups/drivers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP;put 
/usr/share/cups/drivers/DEFPRTR2.PPD WIN40/DEFPRTR2.PPD;put 
/usr/share/cups/drivers/ICONLIB.DLL WIN40/ICONLIB.DLL;put 
/usr/share/cups/drivers/PSMON.DLL WIN40/PSMON.DLL;'

Running command: rpcclient localhost -N -U'xx%xx' -c 'adddriver "Windows 4.0" 
"hislsr1:ADOBEPS4.DRV:hislsr1.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV:hislsr1.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"'

Running command: rpcclient localhost -N -U'xx%xx' -c 'setdriver hislsr1 
hislsr1'

Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
added interface ip=172.25.0.19 bcast=172.25.255.255 nmask=255.255.0.0
resolve_lmhosts: Attempting lmhosts lookup for name localhost<0x20>

Connecting to host=localhost share=IPC$
Connecting to 127.0.0.1 at port 445
error connecting to 127.0.0.1:445 (Connection refused)
Connecting to 127.0.0.1 at port 139
lsa_io_sec_qos: length c does not match size 8
cmd = adddriver "Windows NT x86" 
"hislsr1:ADOBEPS5.DLL:hislsr1.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"
result was NT_STATUS_UNSUCCESSFUL

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Memory Leak in 2.2.6rc2??

2002-10-12 Thread Gerald (Jerry) Carter

On Sat, 12 Oct 2002, Gerald (Jerry) Carter wrote:

> Hmmm... can you run "getent group" and see if it keeps looping
> over the same domain groups?  Make sure that "winbind enum [user|group]"
> are both enable (are by default).
> 
> Also, are you in a Windows 2000 native mode domain?

Also still need

  * smb.conf
  * build options
  * server platform & kernel (seem to have forgotten if you 
mentioned it before)
  * debug level 10


I think i might have recreated it here so any information you can
provide to confirm will be a big help.




cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 "SAMS Teach Yourself Samba in 24 Hours" 2ed.   ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Memory Leak in 2.2.6rc2??

2002-10-12 Thread Gerald (Jerry) Carter

On Fri, 11 Oct 2002 [EMAIL PROTECTED] wrote:

> Its at it again.  Does rc3 address this?  The only thing being done on this
> server right now is printing by one user.
> 
> Screen capture of top:
> 
> 
>   PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
>  3826 root  25   0  3096 2832  1540 R88.0  0.8   9:05 winbindd
>  3134 root  15   0  3272 2816  2000 S 3.1  0.8   0:01 smbd
>  3905 root  15   0  2732 2312  1456 S 2.9  0.7   0:01 smbd
>  3841 root  15   0 24440  23M  1456 S 2.7  7.4   0:43 smbd
>  3868 root  15   0 14628  13M  1456 S 2.5  4.4   0:24 smbd
>  3908 root  15   0  1036 1036   848 R 0.3  0.3   0:00 top

Hmmm... can you run "getent group" and see if it keeps looping
over the same domain groups?  Make sure that "winbind enum [user|group]"
are both enable (are by default).

Also, are you in a Windows 2000 native mode domain?



cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 "SAMS Teach Yourself Samba in 24 Hours" 2ed.   ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Problem accessing some hosts with space in netbios name

2002-10-12 Thread Gerald (Jerry) Carter
On Thu, 10 Oct 2002, guillaume GROS wrote:

> I have upgrade from 2.2.6.pre2 to the latest CVS version and it's even worse I 
> have the same problem even with host without space in the name.
> 
> Here are the commands :
> --
> [gui@r52h153 gui]$ nmblookup -A 128.61.41.83
> Looking up status of 128.61.41.83
> KATIE   <00> - M  
> CALDWELL<00> -  M  
> KATIE   <03> - M 

This is not a server.  There is no KATIE<20> name registered.


> smbclient -L KATIE -I 128.61.41.83 -p 139
> added interface ip=128.61.52.153 bcast=128.61.52.255 nmask=255.255.255.0
> session request to KATIE failed (Called name not present)
> session request to *SMBSERVER failed (Called name not present)





cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 "SAMS Teach Yourself Samba in 24 Hours" 2ed.   ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] smbclient -M

2002-10-12 Thread Martin Sarajervi
* Andrew Bartlett ([EMAIL PROTECTED]) wrote:
> Martin Sarajervi wrote:
> > 
> > Im trying to send Winpopup messages to my XP computer from my linux
> > server (running samba),
> > 
> > smbclient -M void
> > 
> > added interface ip=212.33.141.45 bcast=212.33.141.63 nmask=255.255.255.192
> > added interface ip=212.33.147.58 bcast=212.33.147.63 nmask=255.255.255.248
> > added interface ip=212.33.147.59 bcast=212.33.147.63 nmask=255.255.255.248
> > Got a positive name query response from 212.33.147.58 ( 212.33.147.59 )
> > message start: ERRSRV - ERRmsgoff (Not receiving messages.)
> > 
> > Why am I getting this error message?
> > 
> > Tried searching google and looking in faq, but no answers :-)
> 
> One might assume that messaging is turned off on the WinXP machine?
> 
> Andrew,  
> 

No, it says in services that Messenger is "started".


--
Martin Sarajervi
Bengali: Oh Allah! Amar mathar upor bash poreche.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] winbind /etc/pam.d/system-auth

2002-10-12 Thread Andrew Bartlett
Norman Zhang wrote:
> 
> : > I have setup /etc/pam.d/system-auth as below. But when I login to the
> Linux
> : > Box from KDE3, I get a prompt saying I don't have write access to the
> HOME.
> :
> : pam_mkhomedir doesn't make deep directories, so you need to make the
> : parent directory of your user's homes. So if you use 'template homedir =
> : /home/%D/%u', then you need to make /home/%D where %D is each domain you
> : are supporting.
> 
> /home/%D is created (i.e., /home/My_DOMAIN) and "obey pam restriction = yes"
> is set. But still cannot login from both KDE3 and Network Neighborhood. I
> took out winbind.so from /etc/pam.d/KDE3. But system-auth is the same as
> before. Users are no longer listed as My_DOMAIN\%u.
> 
> When I tried,
> 
> wbinfo -u only %u are listed
> wbinfo -g gives the groups from My_DOMAIN
> wbinfo -t says Secret is bad 0x0c5

If 'secret is bad' then authentication won't work.  Rejoin the domain.

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Quota problem (soft=hardlimit?)

2002-10-12 Thread Andrew Bartlett
Peter Griessl wrote:
> 
> > > When logging out from Windows 2000 and writing the user profiles back to the
> > > server the user gets a "disk full" warning - below soft and hardlimit.
> > >
> > > Tests showed that the warning comes up when
> > >
> > > Userfiles + (2 * Profiles) > soft limit.
> > >
> > > In all our tests, the grace period and the hardlimit were never reached and
> > > are not the limiting factors.
> > >
> > > I read about Windows 2000 duplicating the profiles before writing back
> > > to the server, therefore (2 * Profiles). Ok, we can live with that.
> > > But treating the soft limit like hard limit is not fair, I think.
> > >
> 
> >
> > Samba does not enforce quotas, only reports back what the OS tell us.
> > Try and do a similar operation on the server only, and see what
> > happens.  It might be that the 'space free' that Samba reports is
> > causing problems, as that is set to the soft quota.
> >
> > Andrew Bartlett
> >
> 
> Thanks for your message,
> meanwhile I did some testing:
> 
> - copying files on the server only (as you suggested) works fine: softlimit,
>   grace period, hard limit work as expected
> - copying files via the Windows 2000 Explorer on network disks works also:
>   softlimit, grace period, hard limit work as expected
> - the problem shows up *only* during logout when the user's profiles are
>   written back to the server
> 
> strange

Now what we need to know is how Win2k deals with this.  They have quotas
too, and I think they have soft/hard limits as well.  It would be
interesting to see if they have the same problem.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Quota problem (soft=hardlimit?)

2002-10-12 Thread Peter Griessl

> > When logging out from Windows 2000 and writing the user profiles back to the
> > server the user gets a "disk full" warning - below soft and hardlimit.
> > 
> > Tests showed that the warning comes up when
> > 
> > Userfiles + (2 * Profiles) > soft limit.
> > 
> > In all our tests, the grace period and the hardlimit were never reached and
> > are not the limiting factors.
> > 
> > I read about Windows 2000 duplicating the profiles before writing back
> > to the server, therefore (2 * Profiles). Ok, we can live with that.
> > But treating the soft limit like hard limit is not fair, I think.
> > 

> 
> Samba does not enforce quotas, only reports back what the OS tell us. 
> Try and do a similar operation on the server only, and see what
> happens.  It might be that the 'space free' that Samba reports is
> causing problems, as that is set to the soft quota.
> 
> Andrew Bartlett
> 


Thanks for your message,
meanwhile I did some testing:

- copying files on the server only (as you suggested) works fine: softlimit, 
  grace period, hard limit work as expected
- copying files via the Windows 2000 Explorer on network disks works also:
  softlimit, grace period, hard limit work as expected
- the problem shows up *only* during logout when the user's profiles are
  written back to the server

strange

Peter Griessl ([EMAIL PROTECTED])


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: Fwd: [Samba] XP-Problem - suddenly XP canot connect to samba

2002-10-12 Thread Noel Kelly
That might of been me.  I have been playing around with XP and Samba.  The
problem I had was that I changed the signorseal reg key and then
successfully joined the domain.  However on rebooting, the XP client simply
did not want to even entertain the idea of logging onto the domain it just
joined!

Eventually, I changed the Local Security Policy under the Control Panel.  In
there are three policies which seem to control talking to domain controllers
etc (Sorry I don't have  an XP machine in front of me so exact terminology
M$ use might be wrong).  Basically these policies say that when talking to
DCs etc to use Kerberos.  As soon as I changed these to simply 'Permit'
eveything cam good and I have had no further problems.  This is NOT the XP
firewall - that is changed elsewhere.  This is Security Policies.

I would be interested to know if this fixes this scenario.

I have not had the inclination to investigate it in more depth, but 2000Pro
seems to have similar policies but they do not interfere...

HTH 

Noel




-Original Message-
From: linux power [mailto:linuxpower2002@;yahoo.no]
Sent: 11 October 2002 19:23
To: [EMAIL PROTECTED]
Subject: Re: Fwd: [Samba] XP-Problem - suddenly XP canot connect to
samba


I still claim to the firewall theory. Another reader
had the same problem a week ago. And he find out it
was not enough to change the firewall policy.
M$ had made it difficult to connect to other systems.
You must quit the XP firewall completely.
Unfortunely I cant remember how he did it, but he said
it was not enogh to change the policity.


 --- "Dr. Bernd Zimmermann"
<[EMAIL PROTECTED]> skrev: > No I dont
think so.
> 
> I looked at the box and could not see something like
> that,
> but I also did not know who to activate bridging
> under XP.
> Never saw that.
> 
> Regards,
> Bernd
> 
> Chris Berry wrote:
> 
> > Did he activate the network bridging feature?
> >
> >
> >> From: "Dr. Bernd Zimmermann"
> <[EMAIL PROTECTED]>
> >> To: [EMAIL PROTECTED]
> >> Subject: Re: Fwd: [Samba] XP-Problem - suddenly
> XP canot connect to 
> >> samba
> >> Date: Fri, 11 Oct 2002 19:18:13 +0200
> >>
> >> Hi,
> >>
> >>> Message: 5
> >>> Date: Fri, 11 Oct 2002 16:46:35 +0200 (CEST)
> >>> From: =?iso-8859-1?q?linux=20power?=
> <[EMAIL PROTECTED]>
> >>> Subject: Fwd: [Samba] XP-Problem - suddenly XP
> canot connect to samba
> >>> To: [EMAIL PROTECTED]
> >>>
> >>> He could have changed the firewall setting in
> XP.
> >>>
> >>>
> >>>
> >> No thats not the problem. I checked it, and the
> security settings are 
> >> not activated.
> >> All ports and all protocols are open. All other
> NT and Win98 Bixes 
> >> can connect.
> >>
> >> As I written below, I started a tcpdump on the
> linux box an I saw 
> >> that when
> >> bowsing the network on the XP box, I can see
> packets going from the
> >> XP box to 224.0.1.22 (srvloc.mcast.net), but no
> packets to the
> >> usual port 137-139.
> >> In the XP network neighborhood I also can see
> other Workgroups and
> >> other Windows-PC but not the samba server.
> >>
> >> I also remeber a case, where somebody told me,
> that he was playing with
> >> a new XP installation - at the beginning
> everything worked fine an he 
> >> also
> >> could connect to his samba server, but then he
> klicked the option to
> >> install the xp home network in the network
> assistant. From that point on
> >> he also had the problem that the samba server
> disappeared and he wasnt
> >> able to get it back to work. So he decided to
> swaitch back to Win98 ...
> >>
> >> Isnt there anybody out there having the same
> problems ?
> >> If its so easy to destroy the working samba
> connection with XP pressing
> >> the worng button, the must be hundreds of people
> havin the sam problem.
> >>
> >> As I told below, I alreday tried all registry
> hacks, disabling 
> >> certificates, signing
> >> and so on, but nothing worked.
> >>
> >> Please help.
> >>
> >> Regards,
> >> Bernd
> >>
> >>> --- "Dr. Bernd Zimmermann"
> >>> <[EMAIL PROTECTED]> skrev: > Fra:
> "Dr.
> >>> Bernd Zimmermann"
> >>>
> >>>
>  <[EMAIL PROTECTED]>
>  Til: [EMAIL PROTECTED]
>  Tema: [Samba] XP-Problem - suddenly XP canot
> connect
>  to samba
>  Dato: Fri, 11 Oct 2002 14:48:11 +0200
> 
>  Hi,
> 
>  we had an XP computer running and connection to
> our
>  Samba -Server (Debian Version, 2.2.3 ) was
> working
>  very fine.
> 
>  Suddenly - the person who is working on that
>  computer
>  changed something, but could not remember what
> -
>  the XP computer cannot see the samba server
> anymore.
> 
>  In the windows network there is no samba server
>  visible
>  Also "searching for the computer" does not work
>  either
>  via netbios name and ip adress
>  The samba computer is still invisible
> 
>  Tcpdumping on the samba computer shows no port
>  137,138,139
>  connections. Only connection from the xp
> computer to
>  224.0.1.22
> 

[Samba] ×𾴵Ŀͻ§£º

2002-10-12 Thread my8dns

×𾴵Ŀͻ§£º
ÄúºÃ£¬ÎÒ˾ÊÇרҵÓòÃûÖ÷»úÌṩÉÌ¡£ÓŻݵļ۸ñ¼°¸ßËÙÎȶ¨µÄÖ÷»úÓ®µÃÁ˹ã´ó¿Í»§µÄ¿Ï¶¨¡£
¹ú¼ÊÓòÃû 80Ôª
¹úÄÚÓòÃû 300Ôª
ÍøÂçʵÃû  500Ôª
200M(´¿HTML)Ë͹ú¼ÊÓòÃûÖ»Ðè150Ôª
60M(asp,access)ËÍÓòÃûÓÊÏäÖ»Ðè236Ôª
100M(asp,access)ËÍÓòÃûÓÊÏäÖ»Ðè286Ôª
200M(asp,access)ËÍÓòÃûÓÊÏäÖ»Ðè336Ôª
¸ü¶à..Ïê¼ûhttp://www.8dns.net
³ÏÕ÷È«¹ú´úÀí£¬ÓŻݶà¶à¡£
ÇëÏòQQ£º45433403  MAIL£º[EMAIL PROTECTED]Ë÷È¡´úÀí¼Û¸ñ±í

˳ף
ÉÌÑw£¡

°ÙæÖдòÈÅÁËÄú£¬Éî¸Ð±§Ç¸¡£Èç²»ÏëÊÕµ½´ËÀàÓʼþ¡£ÇëÀ´ÐÅ£º[EMAIL PROTECTED]
===













































































































---
·ÐµãȺ·¢Óʼþ,À´×ÔÈí¼þ¹¤³Ìר¼ÒÍø(http://www.21cmm.com)

½øCMMÍøУ(http://www.21cmm.com)£¬³ÉÏîÄ¿¹ÜÀíר¼Ò
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] who's on

2002-10-12 Thread Andrew Bartlett
Dylan Jones wrote:
> 
> Hi everyone,
> 
> Probably a dumb one too, but simply I cannot put my finger on what command
> to use in order to see who's locally logged on; let me be more accurate in
> my description:
> we run win98 PC all accessing shares on the linux boxes via samba. Several
> users & shares. When I use finger or who to see who's logged on I only get
> to see who's logged on directly through ssh or telnet, but can't see who's
> on through samba.
> 
> If anyone could help then I'd be glad... of course.

While smbstatus is the 'quick' answer, the --with-utmp code (also needs
'utmp =yes' in smb.conf makes the actual 'finger' and 'w' programs work,
rather than scripted replacements.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba