[Samba] You must supply a password to make this connection - IPC$

2004-08-22 Thread W. D.
Hi Folks,

Just installed Samba 2.2.10 on my FreeBSD 4.9 computer.

I can see the FreeBSD box on all of my Win 9x boxes, 
but when I double click on its icon, I get a rude box 
message that says something like:


You must supply a password to make this connection
Resource: \\SAMMY\IPC$


I've checked the archives and Google, and I still 
don't understand where the problem lies:
http://marc.theaimsgroup.com/?l=sambaw=2r=1s=ipc%24q=b 
http://tinyurl.com/6etgn

Here is my 'smb.conf' file:
http://www.US-Webmasters.com/Samba/smb.conf.txt

Here is the output I get from 'testparm':
http://www.US-Webmasters.com/Samba/Samba-testparm-output.txt


Can anyone see some glaring error I've made?


Thank you so kindly if you can help!!







Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

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


[Samba] trouble configuring samba 3 as a pdc

2004-08-22 Thread Phillip K
Hi, 

I recently configured smb.conf file using tdbsam as a passdb backend
and tried to add computers to the domain TMSwater with little success.
 The workstation I'm trying to add to the domain is a windows xp
professional laptop.  When I attempt to add the laptop by going thru
'My Computer - Properties - Computer Name tab, it says network path
not found.

I can ping the server from the winxp prof laptop by both ip and
netBIOS name however I can't see the shares.  I found a tutorial for
an older version of samba which says you have to add the machine as a
'user' on the server hosing samba with the following commands.

#useradd -s /bin/false -d /nonexistent -c Trust Account workstationname\$ 
#smbpasswd -a -m workstsationname 

I tried this, then went back to the winxp prof workstation and
attempted to join the box to the domain whereas it said it failed. 
Every so often, it will ask for me to enter a username and password. 
I don't know if this is asking for a local account username/pass or a
samba username/pass?  If it is a samba username/pass, how do I go
about resetting the username/pass samba accounts if I need to?

thanks in advance 

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


[Samba] Wrong charset when mounting WindowsXP shares

2004-08-22 Thread Spam

  Hello,

  I don't seem to be able to mount a WindowsXP share with smbmount and
  get the correct charset. From what I understand Win2000/XP use UTF-8
  for  SMB  shares,  so I tried to mount with -o iocharset=utf8 but it
  did  not  make any difference. All extended characters are messed up
  or truncated.

  Here is what I found out using filenames with a 'å':

  When I mount a Windows share with Samba the 'å' becomes \206 when I
  do ls -b.

  If I create the file on the Samba share from Windows it becomes
  \303\245 when I list it with ls -b.

  when I simply create a file on the local filesystem in Linux it
  becomes \345.

  When I browse a samba share that has two filenames, \303\245 and
  \345 they both show up correct in Windows. Only \303\245 show up
  correct if I list that file in Apache (which is set to UTF-8).

  Is not \303\ the UTF-8 prefix?

  Can someone help me shed the light on this?


  
  




  http://se.samba.org/samba/docs/man/Samba-HOWTO-Collection/unicode.html
  

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


[Samba] Looking for samba user statistics

2004-08-22 Thread Ralf Wiegand
This system is running for a while, using Redhat 7.2 and Samba 2.2.3.
Question:  Before I completely reinstall this system, I would like to 
get some samba statistics from this system.
Can anybody point me in the right direction on how to do this.

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


RE: [Samba] You must supply a password to make this connection - IPC$

2004-08-22 Thread Kristyan Osborne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hiya,

Does the user you are logging on the Win95 box exist on the FreeBSD box??

Ta

- -
Kristyan Osborne - IT Technician
Longhill High School
01273 391672 / 304086

- --
Computers are like airconditioners: They stop working properly if you open windows.
Win95:   A 32-bit patch for a 16-bit GUI shell running on top of an
 8-bit operating system written for a 4-bit processor by a
 2-bit company who cannot stand 1 bit of competition.



- -Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
]On Behalf Of W. D.
Sent: 22 August 2004 08:13
To: [EMAIL PROTECTED]
Subject: [Samba] You must supply a password to make this connection -
IPC$


Hi Folks,

Just installed Samba 2.2.10 on my FreeBSD 4.9 computer.

I can see the FreeBSD box on all of my Win 9x boxes, 
but when I double click on its icon, I get a rude box 
message that says something like:


You must supply a password to make this connection
Resource: \\SAMMY\IPC$


I've checked the archives and Google, and I still 
don't understand where the problem lies:
http://marc.theaimsgroup.com/?l=sambaw=2r=1s=ipc%24q=b 
http://tinyurl.com/6etgn

Here is my 'smb.conf' file:
http://www.US-Webmasters.com/Samba/smb.conf.txt

Here is the output I get from 'testparm':
http://www.US-Webmasters.com/Samba/Samba-testparm-output.txt


Can anyone see some glaring error I've made?


Thank you so kindly if you can help!!







Start Here to Find It Fast!(tm) - http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

- -- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFBKIAiqrr+KdRYU5gRAqyIAJ9s7zpN4yVEVDnws4KxXNURMFIFDACdEryh
j+HL1mN9hoMVkEHlS0/RL2s=
=ec9b
-END PGP SIGNATURE-

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


[Samba] changing a windowsxp machine name

2004-08-22 Thread Greg Andrews
Howdy All,

I need to change the machine names on about 10 machines ( winxp ) on a
samba 3.05/redhat9 network ( NO LDAP )

Am I correct in the order I have listed below to accomplish this

1. remove the machines from the domain ( change to a workgroup )
2. remove the machines from the smbpasswd file ( I can use webmin for this )
3. stop samba
4. remove the machines from /etc/passwd
5. add new machines names to /etc/passwd
6. start samba
7. add new machines to smbpasswd
8. add machines to the domain

Greg Andrews
-- 
System Manager
RGTechnologies Pty Ltd
606 Skipton Street
Ballarat 3350
613 53363603
0417 511 731
[EMAIL PROTECTED]

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


Re: [Samba] Looking for samba user statistics

2004-08-22 Thread Stephen Kühn
On Sun, 2004-08-22 at 21:09, Ralf Wiegand wrote:
 This system is running for a while, using Redhat 7.2 and Samba 2.2.3.
 Question:  Before I completely reinstall this system, I would like to 
 get some samba statistics from this system.
 Can anybody point me in the right direction on how to do this.
 
 Thanks
 Ralf Wiegand

After blowing out 16mb of logfiles, yeah, that would be a nice thing to
have, wouldn't it? I just googled my brains out and didn't come up with
anything - then again, it could be because I'm rather tired...would like
to know what your findings are on this, though...

--
stephen kuhn - proprietor
__
illawarra computer services :: a kuhn media australia venture
http://kma.0catch.com  :: mobile 0410.728.389
Serving Sydney, The Illawarra, South Coast and Rural NSW
__
  * This message was composed on a 100% Microsoft free computer *
  We expressly refuse to utilise Microsoft DRM encoded documents
__
  Mandrake GNU/Linux 10.0 OE/Kernel 2.6.3-7/ No Viruses here. 

I have a switch in my apartment that doesn't do anything. Every once in
a while I turn it on and off. On and off. On and off. One day I got a
call from a woman in France who said Cut it out! -- Steven Wright

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


RE: [Samba] changing a windowsxp machine name

2004-08-22 Thread Kristyan Osborne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hiya,

You could probably get away with this:

1. remove the machines from the domain / change the name whilst you're at it ( change 
to a workgroup )
2. Reboot XP machine
3. change the machines names in the smbpasswd / /etc/passwd files
4. add machines to the domain

You should need to start/stop samba for this.

Cheers

- -
Kristyan Osborne - IT Technician
Longhill High School
01273 391672 / 304086

- --
Computers are like airconditioners: They stop working properly if you open windows.
Win95:   A 32-bit patch for a 16-bit GUI shell running on top of an
 8-bit operating system written for a 4-bit processor by a
 2-bit company who cannot stand 1 bit of competition.



- -Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
]On Behalf Of Greg Andrews
Sent: 22 August 2004 12:46
To: [EMAIL PROTECTED]
Subject: [Samba] changing a windowsxp machine name


Howdy All,

I need to change the machine names on about 10 machines ( winxp ) on a
samba 3.05/redhat9 network ( NO LDAP )

Am I correct in the order I have listed below to accomplish this

1. remove the machines from the domain ( change to a workgroup )
2. remove the machines from the smbpasswd file ( I can use webmin for this )
3. stop samba
4. remove the machines from /etc/passwd
5. add new machines names to /etc/passwd
6. start samba
7. add new machines to smbpasswd
8. add machines to the domain

Greg Andrews
- -- 
System Manager
RGTechnologies Pty Ltd
606 Skipton Street
Ballarat 3350
613 53363603
0417 511 731
[EMAIL PROTECTED]

- -- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFBKImCqrr+KdRYU5gRAg+iAJ9w3jAFW5aoGHoCEHqFDG9gkFg4dQCgmV4n
FxZTNcXbxyRl6vxeDaR6Ixg=
=Kfa+
-END PGP SIGNATURE-

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


[Samba] samba Digest, Vol 20, Issue 29

2004-08-22 Thread rmoroney
I am out of the office on vacation from Tuesday August 10th until Monday August 23rd.

Regards,

Ray Moroney


This e-mail message may contain proprietary and/or confidential information, 
and is intended only for the use of the individual or entity named above. 
RF Integration Inc. retains all legal rights to the dispersement of company related 
material,
and does not imply any transfer of rights by this e-mail. If you received this 
communication 
in error, please notify us immediately by e-mail [EMAIL PROTECTED] 
and delete or discard this message. 

Thank you. 
***


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


[Samba] Someone with Access Denied from Windows pls try this test to compare notes with me

2004-08-22 Thread Michael Lueck
Long day yesterday for us here, first production implementation of Samba has to be rolled out and the client's old network reinstalled... cause: this access deneied issue which seems to be randomly 
affecting Samba implementations and from what I can see folks say Samba 3.0.2 was the last good build. If that describes you, please test this as I have come up with a way to turn the problem on/off 
like a light switch. (Samba team... have I got your attention)

Again, you may review how I have configured Samba PDC from my KLUG presentation.
ftp://ftp.lueckdatasystems.com/pub/presentations/klugsamba3pdc-bookreview.pdf
Specifically jump to pages 7 through 9, that is the critical part. I have configured 
the security environment to allow for independant assignment of permissions to three 
different areas of security:
1) The user in the Linux workd (SSH to the server, X logon, etc...)
2) The Samba domain user / PDC
3) The local permissions on the Win2K (WinXP) desktop.
This error ONLY happens... (ah, the error affects either command prompt use or Windows explorer use of NET USE'ed network drives, but does NOT affect UNC access to the same) when the configuration 
being tested includes the user having Administrator permissions to the workstation. If I make the user a member of the Linux group ntadmins, bang Access Denied. If I move the user to ntpwrusr and 
relogin, the mapped drives work fine.

Further, I have logged in workstation only to the local Administrator account and then used ANY ID known to smbpasswd to NET USE to the server, 100% Access Denied so the account allowing local 
access to the Windows computer need not be a domain account. I have not tested (yet) from a workstation which has not joined the Samba PDC to see if those are affected as well.

This has only happened for us with the Samba 3.0.5 Debian package. We banged the Samba 3.0.4 Debian package hard in the process of coming up with our standard configuration and the demo to KLUG, 
access denied was never an issue. Unfortunately 3.0.2 and 3.0.4 Debian packages seem to have been purged from both debian.org and samba.org, so not at all sure how we would be able to roll back that 
far... I will be testing the Debian package of 3.0.6 soon.

Could someone with the Access Denied errors happening consistently test the 
configuration of local administrator permissions turning the problem on/off please?
TIA!
--
Michael Lueck
Lueck Data Systems
Remove the upper case letters NOSPAM to contact me directly.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Looking for samba user statistics

2004-08-22 Thread Thomas Bork
Stephen Kühn wrote:
This system is running for a while, using Redhat 7.2 and Samba
2.2.3. Question:  Before I completely reinstall this system, I
would like to get some samba statistics from this system. Can
anybody point me in the right direction on how to do this.
[...]
After blowing out 16mb of logfiles, yeah, that would be a nice thing
to have, wouldn't it? I just googled my brains out and didn't come up
with anything - then again, it could be because I'm rather
tired...would like to know what your findings are on this, though...
take a look in the samba tarball under
/examples/misc/extra_smbstatus
I modified the script a little bit:
#! /bin/sh
# set -x
int_samba_version=`smbd -V | cut -d  -f2`
share=$2
do_c_status ()
{
status=`smbstatus -p \
| grep -vi Samba version $int_samba_version \
| grep -vi Service  uid  gid  pid machine \
| grep -vi - \
| sort -u \
| grep -n -v : \
| grep -v 1: \
| grep -c :`
}
do_cs_status ()
{
status=`smbstatus -S \
| grep -vi Samba version $int_samba_version \
| grep -vi Service  uid  gid  pid machine \
| grep -vi - \
| grep -n $share \
| grep -c :`
}
if [ $1 = -c ]
then
do_c_status
echo There are $status unique smbd processes running.
elif [ $1 = -p ]
then
status=`smbstatus -b \
| grep -vi Samba version $int_samba_version`
echo $status
elif [ $1 = -l ]
then
do_c_status
timestamp=`date '+%d.%m.%Y %H:%M:%S'`
echo $timestamp $status $2
elif [ $1 = -cs ]
then
do_cs_status
echo There are $status concurrent connections to share $share.
elif [ $1 = -csl ]
then
do_cs_status
timestamp=`date '+%d.%m.%Y %H:%M:%S'`
echo $timestamp $status $2
else
echo 'smbstat -c' == Count unique smbd processes.
echo 'smbstat -p' == List unique smbd processes.
echo 'smbstat -l logfile' == Append a log entry for the
echo  number of concurrent and
echo  unique processes to logfile.
echo 'smbstat -cs sharename'  == Count processes connected to
echo  sharename (assumed unique).
echo 'smbstat -csl sharename logfile' == Append a log entry for the
echo  number of concurrent
echo  processes connected to
echo  sharename (assumed unique).
fi
Run this script from cron.
--
der tom
[fli4l-/eis-team]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Problem with XP Pro clients that are inactive for some time

2004-08-22 Thread Michal Kurowski
Hi,

My config: samba 2.2.11 on linux 2.4.26, nss_ldap 215, glibc 2.2.3.
Clients: XP Pro SP1.
It's a domain style setup with a Ldap server over ssl. The server is 
Sun DS 5.2.

Users complain that sometimes (and not on all computers) they are
unable to log in after some time (several hours) has passed since they
were last accessed. They have to reboot them and the problem
disappears.

I enabled level 3 logging and noticed those clients do not do
\PIPE\NETLOGON in the 3-rd transaction (what normally happens) but
instead they do lsarpc (nt_open_pipe: Known pipe lsarpc opening).
No connection to ldap server occurs. The passdb/pdb_ldap.c code is
not at all executed. It seems that exactly at that time users get
no user in database error message.

I wonder if anyone has seen it and what a workaround is.

Thanks,

-- 
Michal Kurowski
[EMAIL PROTECTED]


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


[Samba] get_specific_param, what is the equivalent in latest Samba 3.0.x

2004-08-22 Thread karthik.logasundaram

Hi,

I am upgrading my samba spooler to samba 3.0.1, I was using the
following functions to update my devmode data in the printer server.

get_specific_param
convert_specific_param
unlink_specific_param_if_exist
add_a_specific_param

Could you please help me with the alternative / equivalent functions of
the above.

Thanks,
Karthik






Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] adding users and permissions to designated shared folders and home directories?

2004-08-22 Thread Phillip K
After successfully installing and configuring samba 3 on a test server
and adding the root and the machine to the /etc/passwd file, how do I
go about adding users such that when they login, they have access to
certain shared home directories on the linux box?  For instance, if I
have the users bill and earl, how do I add those users such that bill
has access to both /home/WATER and /home/Accounting shares and earl
only has access to the shared folder /home/Accounting?  I would also
like each user to have their own home directories as detailed in the
smb.conf file below.  By just using 'smbpasswd  newuser' doesn't
work because I'm using tdbsam.  Any suggestions?

thanks in advance 



[global]
workgroup = MYWATER
netbios name = MYserver01
passdb backend = tdbsam
os level = 33
preferred master = yes
domain master = yes
local master = yes
security = user
domain logons = yes
logon drive = H:
logon script = logon.cmd
logon path = \\%N\profiles\%u
add machine script = /usr/sbin/useradd -d /dev/null -g 100  -s
/bin/false -M %u

[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No

[netlogon]
path = /var/lib/samba/netlogon
read only = yes
admin users = root
write list = ntadmin
[profiles]
comment = Roaming Profile Share
path = /var/lib/samba/profiles
read only = no

[Misc]
path = /home/Misc
read only = No
create mask = 0774
directory mask = 0775

[WATER]
path = /home/WATER
valid users = @water
read only = No
create mask = 0774
directory mask = 0775

[Accounting]
path = /home/Accounting
valid users = @accounting
read only = No
create mask = 0774
directory mask = 0775
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Wrong charset when mounting WindowsXP shares

2004-08-22 Thread Spam

  I solved the problem. Still, the solution is rather puzzling.

  The solution is to mount with -o iocharset=utf8,codepage=cp850.

  The  puzzling part is the code page. The whole idea with Unicode and
  its  UTF-8  implementation  is to remove the need for local codepage
  conversions.  As long as a application/system is using Unicode there
  should  nerve  be a need for codepages other than using Unicode.

  Or have I misunderstood something?

  ~S
  
   Hello,

   I don't seem to be able to mount a WindowsXP share with smbmount and
   get the correct charset. From what I understand Win2000/XP use UTF-8
   for  SMB  shares,  so I tried to mount with -o iocharset=utf8 but it
   did  not  make any difference. All extended characters are messed up
   or truncated.

   Here is what I found out using filenames with a 'å':

   When I mount a Windows share with Samba the 'å' becomes \206 when I
   do ls -b.

   If I create the file on the Samba share from Windows it becomes
   \303\245 when I list it with ls -b.

   when I simply create a file on the local filesystem in Linux it
   becomes \345.

   When I browse a samba share that has two filenames, \303\245 and
   \345 they both show up correct in Windows. Only \303\245 show up
   correct if I list that file in Apache (which is set to UTF-8).

   Is not \303\ the UTF-8 prefix?

   Can someone help me shed the light on this?


 http://se.samba.org/samba/docs/man/Samba-HOWTO-Collection/unicode.html
  





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


[Samba] Problem updating roaming profile

2004-08-22 Thread Ruth Ivimey-Cook
Hi,

I have been trying for the last couple of days to sort out a roaming profile
configuration of Samba. The network is a Linux Samba PDC server (Samba
3.0.6, Kernel 2.0.7 plain) with several Windows XP Pro clients. The
filesystem is ext3 with extended attributes enabled ( acls compiled in, but
I'm not sure if samba is using it).

I am getting an error when logging out of a client that it can't update the
profile because it Cannot create a file when that file already exists.

How do I sort it out?

Secondly, I've just discovered that some (but not all) of the server's file
shares are responding with the contents of one of the other shares; e.g. if
I look at my home share (rivimey) I see the contents of the tmp share;
however, if I navigate via the Users share to my home share things are
where they should be.


Thanks,

Ruth

P.S. smb.conf config file available on request.


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


[Samba] Slow Domain or Member Browsing

2004-08-22 Thread Raymond
Successfully installed Samba3 utilizing OpenLDAP, nsswitch and pam-ldap. 
Additionally, the smbldap-tools and phpLDAPadmin are excellent.

However, member browsing either in workgroup or domain mode  is extremely 
slow. Once a member resource are accessed (say, a server share), performance 
is good.

Local and perferred master are set to yes with an OS value of 65.
-- 
Raymond
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] You must supply a password to make this connection - IPC$

2004-08-22 Thread W. D.
At 06:14 8/22/2004, Kristyan Osborne wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hiya,

Does the user you are logging on the Win95 box exist on the FreeBSD box??

Ta

Yes.  I am using 'empty' passwords for all 4 users.


- -
Kristyan Osborne - IT Technician
Longhill High School
01273 391672 / 304086

- --
Computers are like airconditioners: They stop working properly if you open 
windows.
Win95:   A 32-bit patch for a 16-bit GUI shell running on top of an
 8-bit operating system written for a 4-bit processor by a
 2-bit company who cannot stand 1 bit of competition.



- -Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
]On Behalf Of W. D.
Sent: 22 August 2004 08:13
To: [EMAIL PROTECTED]
Subject: [Samba] You must supply a password to make this connection -
IPC$


Hi Folks,

Just installed Samba 2.2.10 on my FreeBSD 4.9 computer.

I can see the FreeBSD box on all of my Win 9x boxes, 
but when I double click on its icon, I get a rude box 
message that says something like:


You must supply a password to make this connection
Resource: \\SAMMY\IPC$


I've checked the archives and Google, and I still 
don't understand where the problem lies:
http://marc.theaimsgroup.com/?l=sambaw=2r=1s=ipc%24q=b 
http://tinyurl.com/6etgn

Here is my 'smb.conf' file:
http://www.US-Webmasters.com/Samba/smb.conf.txt

Here is the output I get from 'testparm':
http://www.US-Webmasters.com/Samba/Samba-testparm-output.txt


Can anyone see some glaring error I've made?


Thank you so kindly if you can help!!







Start Here to Find It Fast!(tm) - 
http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

- -- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFBKIAiqrr+KdRYU5gRAqyIAJ9s7zpN4yVEVDnws4KxXNURMFIFDACdEryh
j+HL1mN9hoMVkEHlS0/RL2s=
=ec9b
-END PGP SIGNATURE-

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

Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

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


[Samba] samba 3.06rc2, suse 64amd and os2

2004-08-22 Thread Guenter Kukkukk
Hi,

when I tried to connect our SuSE 9.1 linux server running
samba-3.0.5.1 to our anchient - but still pretty well running -
OS/2 Warpserver, I ran into a lot of troubles.

So I had a closer look into the samba-sources and with the
help of ethereal I found some bugs, which made it impossible
to talk to the OS/2 Warpserver, which is running the
LANMAN2.1-protocol:

On 30.07.2004 I posted a bug in the LANMAN2.1 session setup code:
Summary: LANMAN2 protocol (and lower)  broken in samba-3.x
https://bugzilla.samba.org/show_bug.cgi?id=1571

This bug has already been fixed in 3.0.5.x by Andrew Bartlett.

From now on the two machines were able to setup a session,
but the linux machine was still not able to send any data to the
Warpserver.

Further investigation lead to another bug-report on 7.08.2004:
Summary: Any writing and spooling to LANMAN2 server broken (OS/2
Warpserver)
https://bugzilla.samba.org/show_bug.cgi?id=1590

This really strange looking bug *is still unresolved* - may be I should
raise it to critical

I did all the changes to the 3.0.5.1 source locally on my linux
machine - recompiled and installed it.
Now all is working as expected!

Best wishes.
Guenter Kukkukk

-- 
Günter Kukkukk
Entwicklungsbüro f. Informationstechnologien
Damaschkestraße 24
D-10711 Berlin

Tel.   +49 30 327 024 50

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


[Samba] 'net rcp shudown' with mashine account (-n -P) possible???

2004-08-22 Thread Malte Woelky
Hello samba-list,


I'm able to shutdown remote mashines using:

supzli02pdc:~ # net rpc shutdown -S target-pc -U Administrator%passwd -r -t 1 
--comment=Abmelden



I wounder if this is also possible with an mashine account auth (from the
PDC)? I couldn't get it to work:


supzli02pdc:~ # net -n supzli02pdc -P rpc shutdown -r -t 1 -S target-pc 
--comment=Abmelden

[2004/08/23 05:12:39, 0] utils/net_rpc.c:rpc_shutdown_internals(2766)
  Shutdown of remote machine failed!


adding -I target_ip  doesn't help


Any sugestions ??

Question:  Is this generally possible



On the other hand quering user list works with -P :
--

supzli02pdc:/ # net rpc user -P

 works !!

supzli02pdc:/ # net rpc user
Password:
Could not connect to server 127.0.0.1
The username or password was not correct.

 so auth is required !!!

-- 
Best regards,
 Malte  mailto:[EMAIL PROTECTED]

_
Malte Woelky -=[SkyNet]=- 
Unix/DBs/Networks/LDAP/Active Directory 
Cert  : MCSA 2000+2003, MCSA:msg, MCSE 2000+2003
voice : 0209/977 37 03 : 0173/90 32 167 
eMail : [EMAIL PROTECTED] 
WWW : http://www.woelky.net/ 
_ ICQ# 12 767 43 99 _


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


[Samba] Samba 2.2.8a and XP Domain logon

2004-08-22 Thread Victor Mendez
Hi, I am using Samba 2.2.8a on SuSE Linux 9.0 and I have the following problem
when trying to connect my windows XP machines to samba server I wgt the
following error:

[2004/08/22 23:14:37, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2055)
  Returning domain sid for domain NETSYS -
S-1-5-21-3912169839-94017089-1425657053
[2004/08/22 23:14:37, 2] rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285)
  samr_io_userinfo_ctr: unknown switch level 0x1a
[2004/08/22 23:14:37, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2004/08/22 23:14:37, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error
was Permission denied
[2004/08/22 23:14:37, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418)
  unable to open passdb database.
[2004/08/22 23:14:37, 2] smbd/server.c:exit_server(511)
  Closing connections
[2004/08/22 23:14:38, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=CUZCOname2=VMBLPTP
[2004/08/22 23:14:38, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=cuzco remote=vmblptp
[2004/08/22 23:14:38, 2] smbd/server.c:exit_server(511)
  Closing connections

And the connection fails.

Also I noticed  that the passwd file has the following rights:
-rw---1 root root  753 Aug 22 22:42 smbpasswd

I tried to change the permission to 640 by issuing the : 
chmod 640 /etc/samba/smbpasswd 

-rw-r-1 root root  753 Aug 22 22:42 smbpasswd

(like the documentation states but after I try to logon the file permission are
reset to 400!!!???)
-rw---1 root root  753 Aug 22 22:42 smbpasswd

Any Ideas on what the problem is.

I also include my smb.conf file configuration  see below:
##
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2004/08/19 22:56:38

# Global parameters
[global]
workgroup = NETSYS
server string = NetSystems Samba Server
encrypt passwords = Yes
map to guest = Bad User
log level = 2
time server = Yes
unix extensions = Yes
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
printcap name = CUPS
add user script = /usr/sbin/useradd -c Machine -d /dev/null -s /bin/false  %m$
domain logons = Yes
os level = 65
domain master = Yes
security = user
wins support = Yes
printing = cups
veto files = /*.eml/*.nws/riched20.dll/*.{*}/

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0640
directory mask = 0750
browseable = No

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

#

Any help will be appreciated

thank you

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


Re: [Samba] Samba and Active Directory

2004-08-22 Thread Jason Simons
I am having the same exact issue.  I have not tried assigning
permissions using DOMAINPREFIX\\username, but like you I can get
Kerberos tickets, use smbclient to connect to windows shares, but from
a windows client, I cannot connect to the Samba server.  I'm using
Suse 9.1, and the latest version of SAMBA that I've tried was 3.05.

Jason

On Thu, 19 Aug 2004 15:48:55 -0400, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 I have setup my linux machine (Fedora Core2) to kinit to my windows 2003
 server.
 It has added itself to the active directory with no errors
 I can use smbclient //server/c$ -k and view all the files on the server.
 I installed and configured winbind.  I can do a wbinfo -u and wbinfo -g and
 return the list of users and groups from the active directory.
 I have done a getent passwd and getgroups and winbind has assigned the
 active directory users and groups the proper unix uid's and gid's.
 I can even assign ownership to files but I must use DOMAINPREFIX\\username
 in order to do so. IS THIS THE CORRECT WAY TO DO THAT?
 
 I can add the user to the smbpasswd file using smbpasswd -a
 DOMAINPREFIX\\username and it gets added.
 This tells me that unix knows the user exits.
 Whether I add the username to the smbpasswd file or not I still cannot
 access any of the samba shares.  It continuously prompts me for a username
 and password when I access it from a windows machine.
 
 I guessing that the password isn't getting pulled from the active directory
 for the user accounts.  But I'm not sure.
 --
 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] how to use /etc/passwd and /etc/shadow for samba passwords?

2004-08-22 Thread Sigmund Straumsnes
How can i configure samba to use /etc/passwd and /etc/shadow for the samba
passwords?
I dont want to use smbpasswd for samba and would like it to just get its
passwords from unix OS.

Im running solaris8 and samba 3.

thanks!

Add
encrypt passwords = no
to smb.conf.

If you have Windows clients, you may have to add a registry key
(EnablePlainTextPasswords=1 under
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP or
something similar). This ensures that the Windows clients don't encrypt
the passwords before transfering them.

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


Re: [Samba] how to use /etc/passwd and /etc/shadow for samba passwords?

2004-08-22 Thread Andrew Bartlett
On Mon, 2004-08-23 at 14:26, Sigmund Straumsnes wrote:
 How can i configure samba to use /etc/passwd and /etc/shadow for the samba
 passwords?
 I dont want to use smbpasswd for samba and would like it to just get its
 passwords from unix OS.
 
 Im running solaris8 and samba 3.
 
 thanks!
 
 Add
   encrypt passwords = no
 to smb.conf.
 
 If you have Windows clients, you may have to add a registry key
 (EnablePlainTextPasswords=1 under
 HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP or
 something similar). This ensures that the Windows clients don't encrypt
 the passwords before transfering them.

Of course, this is not enabled by default for good reason, and MS
doesn't test in this mode.  For this reason, there are a number of bugs
that have been described - starting with the mandatory authentication
popup, and also the nasty 'reconnection' effects.

It is better to setup an smbpasswd file.

Andrew Bartlett



signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] cannot join domain unless its root user

2004-08-22 Thread Phillip K
I'm atttempting to setup samba 3 as a primary domain controller which
authenticates users from a windows 2k/xp prof workstation and maps
their respective home folders as well as their respective shared
folders on the gentoo server. For example, I have the following groups
with their designated shares:

Group Shared Dir 
  -- 
water  /home/water 
tms/home/tms 
accounting  /home/accounting 

and I have the users and groups 

UserGroup 
   --- 
bill   tms , water, accounting 
jillwater 

I am unable to get a client to join a domain unless I login and join
as root. The workstation display errors with username or password as
incorrect. However, when I go to network neighborhood, I can still see
the domain and see the shares on the server.

please advise? thanks in advance 

I do however add the machines to the tdbsam database by issuing the command: 
Code: 
# smbpasswd -a -m machine name  


and add the following line to the /etc/passwd file 

Code: 
machine name$:x:410:400:workstation:/dev/null:/bin/false  


Here is some other relavant information 

 net groupmap list 

# net groupmap list 
System Operators (S-1-5-32-549) - -1 
Replicators (S-1-5-32-552) - -1 
Guests (S-1-5-32-546) - -1 
TMS (S-1-5-21-2557073695-1402744893-439265927-1821) - tms 
Power Users (S-1-5-32-547) - -1 
Accounting (S-1-5-21-2557073695-1402744893-439265927-1817) - accounting 
Print Operators (S-1-5-32-550) - -1 
Administrators (S-1-5-32-544) - -1 
Waterlogic (S-1-5-21-2557073695-1402744893-439265927-1819) - water 
Domain Users (S-1-5-21-2557073695-1402744893-439265927-513) - users 

 cat smb.conf 


[global] 
workgroup = TMSWATER 
netbios name = TMSserver01 
passdb backend = tdbsam 
os level = 33 
preferred master = yes 
domain master = yes 
local master = yes 
security = user 
domain logons = yes 
logon drive = H: 
logon script = logon.cmd 
logon path = \\%N\profiles\%u 
add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u 

[homes] 
comment = Home Directories 
valid users = %S 
read only = No 
browseable = No 

[netlogon] 
path = /var/lib/samba/netlogon 
read only = yes 
admin users = root 
write list = ntadmin 
[profiles] 
comment = Roaming Profile Share 
path = /var/lib/samba/profiles 
read only = no 

[Misc] 
path = /home/Misc 
read only = No 
create mask = 0774 
directory mask = 0775 

[TMS] 
path = /home/TMS 
valid users = @tms 
read only = no 
create mask = 0774 
directory mask = 0775 

[Accounting] 
path = /home/Accounting 
valid users = @accounting 
read only = No 
create mask = 0774 
directory mask = 0775 

[Water] 
path = /home/Water 
valid users = @water 
read only = No 
create mask = 0774 
directory mask = 0775
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba