Re: [Samba] Samba WINS query

2004-05-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stuart Halliday wrote:

| But when I use WIN Manager from NT it doesn't
| think the WINS on the Linux box is there.
Samba cannot currently do this.

| and if I run 'NBTstat -a linux' on a Windows machine.
|
| I get a odd table as no MAC address is given.
Samba always reports the MAC address as 0.





cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAo5LRIR7qMdg1EfYRAnbiAJ0XnfMG4tJLcagUxrkvDA9CRsvMHQCgrPc+
8b/z+DfSHCQYQgUsDFU1+Ws=
=w0FM
-END PGP SIGNATURE-
--
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 disable changing of modification times on file access?

2004-05-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hannu Koivisto wrote:
| Greetings,
|
| I just upgraded from 2.2.3 (or whatever Debian
| stable has) to 3.0.4 (using the Debian packages
| available via the Samba mirrors).  I'm running it
| on Debian GNU/Linux stable x86, kernel 2.4.25.  I
| noticed that whenever I open a file using a Windows
| (I'm using Windows 2000) application, Samba changes
| its modification time to the current time.  The old
| modification time is restored when the windows application
| quits / closes the file.
|
| This causes all kinds of trouble, especially with Emacs'
| auto-revert-mode.  Is there a way to disable this behaviour?
Samba is only doing what the client applciation asks for.



cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAo5N4IR7qMdg1EfYRAttUAJ0R52J7ZQj+hZvGRbe5DA/rbwX23QCfY2lP
+mukytCtu1i8IxovHAz7bMs=
=pYr1
-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] FYI - Why RPMs are important

2004-05-13 Thread Josh Skains
Someone emailed me directly when I was asking about the 8.0 RPMs, and why I didn't 
just compile it. Due to the production nature of our servers which run practially 
24/7, I can do an rpm -Uhv samba.rpm and then do an smb restart with very little 
impact. If I move to non-rpm versions, I am forced to compile first, remove the RPM, 
which is a longer downtime, then install Samba and then turn Samba back on.

Just FYI. *shrug*

JMS

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


[Samba] samba fault

2004-05-13 Thread GaMbiT
Hello, samba.

--
fault virtual address = 0x8
fault code = supervisor read, page not present
instrution pointer = 0x8:0xc02081fa
stack pointer = 0x10:0xcd369c6c
frame pointer = 0x10:0xcd369cc0
--
then my system is reboot

My Server -FreeBSD 5.1
Samba - 3.0.3

client - XP

What's my problem solve ?
-- 
Have a nice day,
 Ivan

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


Re: [Samba] Samba - Oplocks = no

2004-05-13 Thread Jeremy Allison
On Thu, May 13, 2004 at 05:44:47AM -0700, Malcolm Baldridge wrote:
 
 What I always wonder though is whether or not these oplock problems plague
 Windows NT/2000 file servers as well, or if it's just an achilles heel
 within Samba.

Yes they plague Windows fileservers as well. Search in MSDN for
knowledge base articles relating to turning off oplocks in
data-critical situations (ie. when you care about files not
being corrupted :-).

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


RE: [Samba] Samba - Oplocks = no

2004-05-13 Thread David Brodbeck


 -Original Message-
 From: Jeremy Allison [mailto:[EMAIL PROTECTED]

 Yes they plague Windows fileservers as well. Search in MSDN for
 knowledge base articles relating to turning off oplocks in
 data-critical situations (ie. when you care about files not
 being corrupted :-).

I ended up doing this on one of our NT 4.0 servers to keep Peachtree
Accounting happy.  The real bummer is that you can't veto oplocks for
specific files or shares under NT like you can with Samba -- they're either
all on, or all off.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] winbind problems with linux domain member

2004-05-13 Thread Sak
Hey everyone,

I'm having some strange responses, and a bit of trouble with getting
access to a member server on my domain.  I've got Samba running on
another Linux box as a PDC, and my Win2k clients can login just fine,
and share between one another.  The problem comes in with another
Linux workstation that's setup as a member server.

Here's the relevant smb.conf section from the member server:

[global]
workgroup = 102010
server string = Samba Server %v
log file = /var/log/samba3/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no

netbios name = miru
security = domain
printcap name = cups
disable spoolss = yes
show add printer wizard = no
printing = cups

idmap uid = 15000-2
idmap gid = 15000-2
winbind separator = +
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
winbind enable local accounts = no
use sendfile = yes

testparm comes out okay, with the caveat that using '+' as a separator
might cause problems with group membership.  I also get success
response from wbinfo -t

What's strange is this:

miru root # wbinfo -u
root
sak
michael

Shouldn't it show the domain+user output?  

When I do:
miru root # getent passwd
...
guest:x:405:100:guest:/dev/null:/dev/null
nobody:x:65534:65534:nobody:/:/bin/false
sak:x:1000:100::/home/sak:/bin/bash
ntp:x:123:123:added by portage for ntp:/dev/null:/bin/false
root:x:15007:15001:root:/home/102010/root:/bin/false
sak:x:15006:15001::/home/102010/sak:/bin/false
michael:x:15008:15001::/home/102010/michael:/bin/false

If I understand correctly, this is okay; listing the local users and
then the domain users.

When I do:

miru root # getent passwd sak
sak:x:1000:100::/home/sak:/bin/bash

which is probably correct, but when I do:

miru root # getent passwd 102010+sak

I get no response whatsoever.  

All of this results in the shares on the member server showing up on
the domain, but unable to access them.  From a Win2k client, logged
into the domain, I can't get it to accept any type of login to access
a share on the member server.  When I try to access a share it asks
for a username and password.  If I try sak, it doesn't work, if I try
102010+sak it gives me an hourglass for about thirty seconds, and then
gives me \\Miru\sak is not accessible. The specified username is
invalid.

Anyway, I'm stuck.  I don't know what else to try.  Anyone have any
thoughts or suggestions?

-- 
Thanks,
Sak.
-

i've got this epic problem
this epic problem's not a problem for me
and inside i know i'm broken
but i'm working as far as you can see
and outside it's all production
it's all illusion set scenery
i've got this epic problem
this epic problem's not a problem for me
 -fugazi
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Understanding Samba Shares

2004-05-13 Thread Steven Sheeley
Thanks to everyone that responded, it's been solved and I can read/write to
that directory. This just made my life SO much betetr!

Thanks everyone!


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


[Samba] i donno why i cnat login into the domain.

2004-05-13 Thread rani ahmed
hi. i am rani ahmed, a palestinian (superlinux if u recall). i use 
redhat 9.0 and samba-2.2.7a-7.9.0. i know that i should update my samba 
but i dont think my problem has to do with updating.
the file given is my samba config file.
btw: i think ur software is better than microsoft's file sharing. i mean 
that scientifically.
i am using DNS server (named). my unix domain is superlinux.com (fake 
domain)
i have 3 WinXP pc's :
jeansfly.superlinux.com
chickgun.superlinux.com
jetcow.superlinux.com

i used the key WinXP_SignOrSeal.reg.
when the 3 pc's are configured as a workgroup  and want it to login as 
Domain it finds the domain and i can logon. when i reboot to login as 
domain it tells me that the PDC is not there. WHY?
and how can i use the unix domain superlinux.com as my domain and not as 
just a name for 'workgroup' option?
i tell WinXP in the Computer Name tab in properties(My Copmuter) that 
the full name is e.g. 'jeansfly.superlinux.com' and not only 'jeansfly' 
by using the button(More) by adding the domain superlinux.com.
thank u.

# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command testparm
# to check that you have not made any basic syntactic errors.
#
#=== Global Settings =
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
 workgroup = WORKGROUP
; netbios name = Linux
# server string is the equivalent of the NT Description field
server string = Samba Server

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the loopback interface. For more examples of the syntax see
# the smb.conf man page
;   hosts allow = 192.168.1. 192.168.2. 127.

# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = /etc/printcap
load printers = yes

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx, cups
printing = cups

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user nobody is used
;  guest account = pcguest

# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/%m.log

# Put a capping on the size of the log files (in Kb).
max log size = 0

# Security mode. Most people will want user level security. See
# security_level.txt for details.

# Use password server option only with security = server
# The argument list may include:
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
#   password server = *
;   password server = NT-Server-Name

# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
;  password level = 8
;  username level = 8

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

# The following is needed to keep smbclient from spouting spurious errors
# when Samba is built with support for SSL.
;   ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt

# The following are needed to allow password changing from Windows to
# update the Linux system password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
#the encrypted SMB passwords. They allow the Unix password
#to be kept in sync with the SMB password.
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*

# You can use PAM's password change control flag for Samba. If
# enabled, then PAM will be used for password changes when requested
# by an SMB client instead of the program listed in passwd program.
# It should be possible to enable this without changing your passwd
# chat parameter for most setups.

pam password change = yes

# Unix users can map to different SMB User names
;  username map = /etc/samba/smbusers

# Using the 

[Samba] Re: Patch for unix extensions

2004-05-13 Thread Rohit Kumar Mehta
Thanks Jeremy, I grabbed the newest 3.0 code from subversion last night
for testing and it works for exactly what we need it to. (We can create
a symlink from an smbfs mounted home directory to a some filesystem on
the client machine.
I guess we should wait until 3.0.5 is pronounced stable before using it
in production.  Any idea when we should expect it?
Thanks again for all the good work!

Rohit

Jeremy Allison wrote:

Funny how these things go :-). I'm currently working on this exact
issue in the Samba 3.0.x codebase - UNIX symlinks will be much
better supported in the 3.0.5 release.
Jeremy.
 

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


[Samba] Charset conversion

2004-05-13 Thread Laurent Caron
Hi,
I recently migrated a samba server but forgot to use the charset option
to ISO-8859-1.

Is there a shell script (I have seen one months ago) to translate those
characters to ISO-8859-1 ?

Thanks


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


[Samba] samba and NT browsing again

2004-05-13 Thread Wojciech Kromer
i heve a lot of problems with browsing NT worksattions over subnetworks

here is my smb.conf, and i set wins in all computers,
enetering \\NAME works fine , but on all workstations i see WORKGROUPS 
only from local network


[global]
workgroup = LAB
server string = Samba Server
encrypt passwords = Yes
syslog = 5
log file = /var/log/samba/%m.log
max log size = 50
unix charset=iso8859-2
domain master = Yes
domain logons = Yes
local master = Yes
preferred master = Yes
dns proxy = Yes
os level = 64
guest account = guest
map to guest = Bad User
interfaces=192.168.6.0/24 192.168.3.0/24 192.168.2.0/24
remote announce=192.168.3.255 192.168.6.255 192.168.2.255
remote browse sync=192.168.3.255 192.168.6.255 192.168.2.255
wins support=yes
dns proxy=yes
wins proxy=yes


why wins do not get proper work-groups 

please answer o my priv too



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


[Samba] Error messages in log files with Samba 3.04

2004-05-13 Thread andreas oster
Hello list,

I have recently upgraded to samba version 3.04 . Everything works well 
and a problem I had with one of my printers (which was the reason for 
upgrading) seems to be fixed. But now there is another issue. In the log 
directory there is a file called log.0.0.0.0 which in my opinion should 
not be there because obviosly there is no station with a 0.0.0.0 IP 
address. The error-messages:

 - getpeername failed. Error was Transport endpoint is not connected
 - Denied connection from  (0.0.0.0)
also appear in logs of existing users/stations.

Does anyone know what is the cause of the errors and how to fix it ?

Datei: log.0.0.0.0

[2004/05/12 07:10:26, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected
[2004/05/12 07:10:26, 0] lib/access.c:check_access(328)
[2004/05/12 07:10:26, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected
  Denied connection from  (0.0.0.0)
[2004/05/12 07:10:26, 1] smbd/process.c:process_smb(883)
[2004/05/12 07:10:26, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected
  Connection denied from 0.0.0.0
[2004/05/12 07:10:26, 0] lib/util_sock.c:write_socket_data(413)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/05/12 07:10:26, 0] lib/util_sock.c:write_socket(438)
  write_socket: Error writing 5 bytes to socket 22: ERRNO = Connection 
reset by peer
[2004/05/12 07:10:26, 0] lib/util_sock.c:send_smb(630)
  Error writing 5 bytes to client. -1. (Connection reset by peer)
[2004/05/12 14:37:13, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected
[2004/05/12 14:37:13, 0] lib/access.c:check_access(328)
[2004/05/12 14:37:13, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected
  Denied connection from  (0.0.0.0)
[2004/05/12 14:37:13, 1] smbd/process.c:process_smb(883)
[2004/05/12 14:37:13, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected
  Connection denied from 0.0.0.0
[2004/05/12 14:37:13, 0] lib/util_sock.c:write_socket_data(413)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/05/12 14:37:13, 0] lib/util_sock.c:write_socket(438)
  write_socket: Error writing 5 bytes to socket 5: ERRNO = Connection 
reset by peer
[2004/05/12 14:37:13, 0] lib/util_sock.c:send_smb(630)
  Error writing 5 bytes to client. -1. (Connection reset by peer)
[2004/05/13 07:20:05, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected
[2004/05/13 07:20:05, 0] lib/access.c:check_access(328)
[2004/05/13 07:20:05, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected
  Denied connection from  (0.0.0.0)
[2004/05/13 07:20:05, 1] smbd/process.c:process_smb(883)
[2004/05/13 07:20:05, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected
  Connection denied from 0.0.0.0
[2004/05/13 07:20:05, 0] lib/util_sock.c:write_socket_data(413)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/05/13 07:20:05, 0] lib/util_sock.c:write_socket(438)
  write_socket: Error writing 5 bytes to socket 22: ERRNO = Connection 
reset by peer
[2004/05/13 07:20:05, 0] lib/util_sock.c:send_smb(630)
  Error writing 5 bytes to client. -1. (Connection reset by peer)



best regards

Andreas

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


[Samba] Samba 3.0 timeout problems within multi-level ADS environments

2004-05-13 Thread Michael Schoen
Hey guys,

I'm trying to use samba 3.0 within an ADS-environment, but run into big
problems. Each time I start winbind, it tries to connect to EACH DC within
the ADS-structure (which contains at least 25 DCs worldwide) and this takes
a VERY long time. It also occurs that one of these is currently not
available (VPN-breakdown/policy settings) and at this point the whole system
is running in big timeouts, e.g. some users are unkown, file-name completion
within the bash is not working anymore, ...

Is there any way to advise winbind to use only ONE DC as proxy and not
trying to connect to each DC separately? Or solve this issue in any more
convenient way?

Right now I using a local script which parses the debugging locks and adds
automatically local REJECT rules to the firewall kernel.. But this seems a
very crazy solution g

Sincerely

.\\ichael

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


[Samba] Failed to issue the StartTLS instruction: Connect error

2004-05-13 Thread foo
I'm try-ing on samba-2.2.x and samba-3.x, with tls or ssl support but didn't
work
and my machine says Failed to issue the StartTLS instruction: Connect
error

and this my conf :

  ldap admin dn = cn=root,dc=langitan
  ldap server = 127.0.0.1
  ldap suffix = dc=langitan
  ldap port = 389
  ldap ssl = start tls

with compile options :
./configure \
--prefix=/usr/local/samba-2 \
--libdir=/usr/local/samba-2/etc/samba \
--with-lockdir=/var/lock/samba \
--with-privatedir=/usr/local/samba-2/etc/samba \
--with-ldapsam \
--with-quotas \
--with-smbmount \
--with-automount \
--with-libsmbclient \
--with-acl-support \
--with-included-popt \
--with-msdfs \
--disable-cups \
--with-utmp \
--with-spinlocks \
--with-smbwrapper

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


[Samba] Failed to issue the StartTLS instruction: Connect

2004-05-13 Thread Budhi Setiawan
I'm try-ing on samba-2.2.x and samba-3.x, with tls or ssl support but didn't
work
and my machine says Failed to issue the StartTLS instruction: Connect
error

and this my conf :

  ldap admin dn = cn=root,dc=langitan
  ldap server = 127.0.0.1
  ldap suffix = dc=langitan
  ldap port = 389
  ldap ssl = start tls

with compile options :
./configure \
--prefix=/usr/local/samba-2 \
--libdir=/usr/local/samba-2/etc/samba \
--with-lockdir=/var/lock/samba \
--with-privatedir=/usr/local/samba-2/etc/samba \
--with-ldapsam \
--with-quotas \
--with-smbmount \
--with-automount \
--with-libsmbclient \
--with-acl-support \
--with-included-popt \
--with-msdfs \
--disable-cups \
--with-utmp \
--with-spinlocks \
--with-smbwrapper

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


[Samba] Samba WINS query

2004-05-13 Thread Stuart Halliday
I've had Samba 2 running just fine on my REDHAT 8 server and I've just upgraded to 
V3.04.

It seems to all work but.

I tried to make it behave as a BDC WINS server as I've got Windows NT4 PDC and BDC 
servers and I need my Redhat box to act as a backup WINS server.

This I've now done I think.


But when I use WIN Manager from NT it doesn't think the WINS on the Linux box is there.

and if I run 'NBTstat -a linux' on a Windows machine. 

I get a odd table as no MAC address is given.


   NetBIOS Remote Machine Name Table

   Name   Type Status
-
LINUX  00  UNIQUE  Registered
LINUX  03  UNIQUE  Registered
LINUX  20  UNIQUE  Registered
ECSTECH00  GROUP   Registered
ECSTECH1E  GROUP   Registered

MAC Address = 00-00-00-00-00-00

Is this something to worry about? :-)



-- 
Stuart Halliday
ECS Technology ltd
Registered in Scotland - #212513 

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


[Samba] can't remove disable flag in 3.0.4

2004-05-13 Thread Farkas Levente
hi,
I read the archive and recognize that
pdbedit -c '[]' -u Administrator whould be the solution, however I can't 
delete the diable flag (other flagsa can be set but not the disable 
flag). what else can I do?
--
# pdbedit -c '[X]' -u Administrator
Unix username:Administrator
NT username:  Administrator
Account Flags:[DUX]
User SID: S-1-5-21-4141391458-1637158193-1930669500-2996
Primary Group SID:S-1-5-21-4141391458-1637158193-1930669500-512
Full Name:Administrator
Home Directory:   \\KEK\
HomeDir Drive:Y:
Logon Script: scripts\logon.bat
Profile Path: \\KEK\profiles\\Administrator
Domain:   KONYVKLUB
Account desc:
Workstations:
Munged dial:
Logon time:   0
Logoff time:  Fri, 13 Dec 1901 21:45:51 GMT
Kickoff time: Fri, 13 Dec 1901 21:45:51 GMT
Password last set:0
Password can change:  0
Password must change: Fri, 13 Dec 1901 21:45:51 GMT
Last bad password   : 0
Bad password count  : 0
--
--
#pdbedit -c '[]' -u Administrator
Unix username:Administrator
NT username:  Administrator
Account Flags:[DU ]
User SID: S-1-5-21-4141391458-1637158193-1930669500-2996
Primary Group SID:S-1-5-21-4141391458-1637158193-1930669500-512
Full Name:Administrator
Home Directory:   \\KEK\
HomeDir Drive:Y:
Logon Script: scripts\logon.bat
Profile Path: \\KEK\profiles\\Administrator
Domain:   KONYVKLUB
Account desc:
Workstations:
Munged dial:
Logon time:   0
Logoff time:  Fri, 13 Dec 1901 21:45:51 GMT
Kickoff time: Fri, 13 Dec 1901 21:45:51 GMT
Password last set:0
Password can change:  0
Password must change: Fri, 13 Dec 1901 21:45:51 GMT
Last bad password   : 0
Bad password count  : 0
--

--
  Levente   Si vis pacem para bellum!
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Profileconnection

2004-05-13 Thread Matthias Spork
Hello,

when a client load his profile, I get the following lines in my logfile:

[2004/05/13 12:53:51, 0] smbd/service.c:make_connection(771)
 machine01 (192.168.1.22) couldn't find service profil
[2004/05/13 12:55:05, 0] smbd/service.c:make_connection(771)
 machine01 (192.168.1.22) couldn't find service profil
[2004/05/13 12:55:06, 1] smbd/service.c:make_connection_snum(619)
 machine01 (192.168.1.22) connect to service profile initially as user 
jdoe (uid=10008, gid=100) (pid 7311)

It seems, that my client did not find the profile-path at first and 
second try. I have to wait 30 seconds till
the path is found.

Do you know a solution for this problem?

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


[Samba] Problem with net rpc vampire

2004-05-13 Thread tk5ep
Hi All,

I configured samba to be a domain member in NT4 environment.
I use FEDORA 1B
SAMBA 3.0.2

i am at the point where :
- i successfully joined NT domain
- i succesfully can see users and group with wbinfo -u or -g command
- i can access from Windoz stations to shared folders Linux when public = yes

but i can't fetch the PDC SAM to create my samba and linux accounts :

with the NET RPC VAMPIRE -U administrator%password
i get error message : NT_STATUS_ACCESS_DENIED

with the NET RPC VAMPIRE -S PDC administrator%password
i get error Error connecting to NETLOGON pipe

just in case :

the nscd daemon is stopped
testparm says all ok

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


[Samba] How to disable changing of modification times on file access?

2004-05-13 Thread Hannu Koivisto
Greetings,

I just upgraded from 2.2.3 (or whatever Debian stable has) to 3.0.4
(using the Debian packages available via the Samba mirrors).  I'm
running it on Debian GNU/Linux stable x86, kernel 2.4.25.  I
noticed that whenever I open a file using a Windows (I'm using
Windows 2000) application, Samba changes its modification time to
the current time.  The old modification time is restored when the
windows application quits / closes the file.

This causes all kinds of trouble, especially with Emacs'
auto-revert-mode.  Is there a way to disable this behaviour?

-- 
Hannu

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


Re: [Samba] can't remove disable flag in 3.0.4

2004-05-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Farkas Levente wrote:
| hi,
| I read the archive and recognize that
| pdbedit -c '[]' -u Administrator whould be
| the solution, however I can't  delete the diable
| flag (other flagsa can be set but not the disable
| flag). what else can I do?
Set the password.  The password last set time
cannot be 0.
| Password last set:0







cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAo2XHIR7qMdg1EfYRAgskAKCDS2AtDY4N6vsOGN369gQjNowstgCdFDHW
yz8UM6jnMSbaVZ92GAhgBjw=
=ZFFj
-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 - Oplocks = no

2004-05-13 Thread alaslavic




In order to deal with bizarre MS Office junk, it looks like I may have to
disable oplocks on my samba server.  What kinds of problems, if any could
arise from my having disabled the oplocks?

Alex Laslavic
Havertys Tech Services

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


Re: [Samba] Samba - Oplocks = no

2004-05-13 Thread Malcolm Baldridge

 In order to deal with bizarre MS Office junk, it looks like I may have
 to disable oplocks on my samba server. 

I feel your pain.  You *CAN* just oplock veto all M$ Office files instead.

 What kinds of problems, if any could arise from my having disabled 
 the oplocks?

Just lower performance.

Oplocks are OPportunistic LOCKS, which provide for client-side caching to
be performed safely.

No oplocks, no caching.

What I always wonder though is whether or not these oplock problems plague
Windows NT/2000 file servers as well, or if it's just an achilles heel
within Samba.

=MB=

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


[Samba] Excel opens files as read-only

2004-05-13 Thread Edvard Fagerholm
Hello!

A few users on my network has complained about Excel opening files as
read-only. What is weird is that the files aren't. I can open such a file using
notepad and write to it, but when the same file is opened in Excel, Excel says
it's read-only.

Anyone know what the problem is? Workstations run WinXP and office is 2k3.
These files are shared between many users, but I don't think it's a locking
problem, because I checked that no one else was accessing the files at the same
time.

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


[Samba] samba3 --with-ssl and tunneling

2004-05-13 Thread Lapin(c)

Hi,

the --with-ssl option was removed in samba-3.0. For secure access is there any
other solutions than deploying a VPN or a SSH Tunnel ?

Fred


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


[Samba] Re: Understanding Samba Shares

2004-05-13 Thread A.J.Dawson
Steve,

Here's how I got it all working:

Create the directory you want to share (you've already done this bit),
change the group ownership to be www-data and then chmod the folder
2775.  You should end up with a folder whose group ownership is www-data
and whose permissions are rwxrwsr-x, ie the setgid bit is set to cause
files to be owned by the group www-data.

Here's my share options in the smb.conf file:

[WWW-Data]
   comment = WWW-Data on %L
   volume = WWW-Data on %L
   writable = yes
   path = /var/www
   valid users = @www-data
   force group = www-data
   force create mode = 770
   force directory mode = 770
   create mask = 770
   directory mask = 770
   browseable = no

Map a drive to it and you should have a folder that is readable and
writable by anyone who is a member of the group www-data.

Note that you might want to modify the force create mode and force
directory mode settings depending on how many people access the share and
whether its on a live server (in which case the files need to be at least
world-readable as well).  You may also need to check whether group-write
permissions are enabled on folders already contained within your webroot.

I hope that helps!

Andy

Dr. Andy Dawson
[EMAIL PROTECTED]
http://www.mossie.org
http://www.museum-explorer.org.uk

 Never attribute to malice that which is adequately explained by stupidity.



 Message: 18
 Date: Wed, 12 May 2004 09:57:16 -0700
 From: Steven Sheeley [EMAIL PROTECTED]
 Subject: [Samba] Understanding Samba Shares
 To: [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]

 I've searched every archive and read the documentation and I still can not figure 
 out how to do this.

 I've recently installed Debian 3.0 (woody) on a box and have setup Samba on it.  I 
 can see it from my WinXP box just
 fine and I have a user on the Debian box that's the same as my user name and PW on 
 the WinXP box. I can read/write and
 do everything from my 'Home' share automatically setup by samba and that's working 
 just fine.

 Where I am dropping the ball is in creating another share that I as normal user can 
 write to.  I do my web page work
 on my WinXP system and want to share the /var/www directory so that I can directly 
 open my php and html files with my
 editor on the WinXP system and not have to maintain two copies or more, elsewhere 
 and FTP them back and forth.

 I've setup the share using the examples I've found on the net and I can see the 
 share and even read the files there,
 but I can not write to them.

 The /var/www directory is owned by group www-data, of which my normal user on the 
 Debian machine is a member of.

 I'm completely stuck here, can anyone point me in the write [get it?  ;-)] direction 
 so that I can read and write to
 that shared
 dir with my WinXP box?

 Thanks in advance
 Steve





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


[Samba] Cannot set a Domain group membership with ldapSAM

2004-05-13 Thread Angel Galindo Muñoz
	Hello everybody!

	I should have an error on the LDAP entries of my ldapSAM, but I've read 
several times chapters 11  12 of the Samba HOWTO Collection and I 
cannot fix it. Let's explain:



	I've got a StandAlone fileserver (not PDC) samba-3.0.4 with ldapSAM 
working on a RedHat Enterprise 3.0 (linux kernel 2.4.25). The directory 
server version shouldn't be important, but it's a iPlanet Directory 
Server 5.1 .

	The home shares works fine , the users (Windows 2000 professional 
clients) authenticate agains the ldapSAM account database. But the 
problem appears when I try to add ACLs to the files: Right click - 
Security . It's not a filesystem error, the ACLs work with XFS and the 
smb.conf enables it. That dialog-box shows errors:

	If I click on that dialog-box to add extra permissions it complains 
with my credentials , tells that my account hasn't access to the server 
and asks me for other login/password .



	The logs are clear : primary gid of user [samba4] is not a Domain 
group. It's clear that I haven't set correctly the group membership for 
this account (later there's an ldapsearch result). Surely it's a bad 
group mapping. Let's see the logs:

...
[2004/05/13 14:48:04, 2] lib/access.c:check_access(324)
  Allowed connection from  (161.116.x.y)
[2004/05/13 14:48:04, 2] passdb/pdb_ldap.c:init_sam_from_ldap(483)
  init_sam_from_ldap: Entry found for user: samba4
[2004/05/13 14:48:04, 2] passdb/pdb_ldap.c:init_group_from_ldap(1792)
  init_group_from_ldap: Entry found for group: 1001
[2004/05/13 14:48:04, 2] auth/auth.c:check_ntlm_password(305)
  check_ntlm_password:  authentication for user [samba4] - [samba4] - 
[samba4] succeeded
...
[2004/05/13 14:48:04, 1] smbd/service.c:make_connection_snum(619)
  vmww2k (161.116.x.y) connect to service samba4 initially as user 
samba4 (uid=1001, gid=1001) (pid 21363)
...
[2004/05/13 14:48:30, 2] passdb/pdb_ldap.c:init_sam_from_ldap(483)
  init_sam_from_ldap: Entry found for user: samba4
[2004/05/13 14:48:30, 2] passdb/pdb_ldap.c:init_group_from_ldap(1792)
  init_group_from_ldap: Entry found for group: 1001
[2004/05/13 14:48:31, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2477)
  Returning domain sid for domain SAMBAP - 
S-1-5-21-349043978-4100265039-1442050830
...
[2004/05/13 14:48:31, 2] passdb/pdb_ldap.c:ldapsam_setsamgrent(2248)
  ldapsam_setsampwent: 3 entries in the base!
[2004/05/13 14:48:31, 2] passdb/pdb_ldap.c:init_group_from_ldap(1792)
  init_group_from_ldap: Entry found for group: 1001
[2004/05/13 14:48:31, 2] passdb/pdb_ldap.c:init_group_from_ldap(1792)
  init_group_from_ldap: Entry found for group: 10
[2004/05/13 14:48:31, 2] passdb/pdb_ldap.c:init_group_from_ldap(1792)
  init_group_from_ldap: Entry found for group: 99
[2004/05/13 14:48:31, 0] rpc_server/srv_util.c:get_domain_user_groups(376)
  get_domain_user_groups: primary gid of user [samba4] is not a Domain 
group !
  get_domain_user_groups: You should fix it, NT doesn't like that
...



	Let's show the ldapsearch of this LDAP tree:


## CONTAINERS ##

version: 1
dn: ou=file, o=ub,c=es
objectClass: top
objectClass: organizationalUnit
ou: file
dn: ou=People, ou=file, o=ub,c=es
objectClass: top
objectClass: organizationalUnit
ou: People
dn: ou=Groups, ou=file, o=ub,c=es
ou: Groups
objectClass: top
objectClass: organizationalUnit
dn: ou=Computers, ou=file, o=ub,c=es
ou: Computers
objectClass: top
objectClass: organizationalUnit
##
## The Server entry ##
##
dn: sambaDomainName=SAMBAP,ou=file, o=ub, c=es
sambaDomainName: SAMBAP
sambaSID: S-1-5-21-349043978-4100265039-1442050830
sambaAlgorithmicRidBase: 1000
objectClass: sambaDomain

## The GROUPS ##

dn: cn=Domain Users, ou=Groups, ou=file, o=ub,c=es
objectClass: top
objectClass: posixgroup
objectClass: sambaGroupMapping
sambaSID: S-1-5-21-349043978-4100265039-1442050830-513
gidNumber: 1001
sambaGroupType: 5
cn: Domain Users
displayName: Domain Users
description: El grup UNIX d usuaris Samba
memberUid: samba4
dn: cn=Domain Admins, ou=Groups, ou=file, o=ub,c=es
objectClass: top
objectClass: posixgroup
objectClass: sambaGroupMapping
sambaSID: S-1-5-21-349043978-4100265039-1442050830-512
gidNumber: 10
sambaGroupType: 5
cn: Domain Admins
displayName: Domain Admins
description: Grup UNIX d administradors de Samba amb gid de wheel
dn: cn=Domain Guests, ou=Groups, ou=file, o=ub,c=es
objectClass: top
objectClass: posixgroup
objectClass: sambaGroupMapping
sambaSID: S-1-5-21-349043978-4100265039-1442050830-514
gidNumber: 99
sambaGroupType: 5
cn: Domain Guests
displayName: Domain Guests
description: El grup UNIX de samba nobody amb gid de nobody
##
## The USER ##
##
dn: uid=samba4, ou=People, ou=file, o=ub, c=es
objectClass: posixAccount
objectClass: sambaSamAccount
objectClass: top
sambaAcctFlags: [UX ]
uid: samba4
cn: Usuari samba4
loginShell: /bin/bash
gidNumber: 1001
displayName: Usuari samba4
homeDirectory: 

[Samba] Re: getent passwd cannot list win2k ADS users

2004-05-13 Thread Jason
read up on configuring winbindd to W2k ADS.

ORNELLAS Jose Mario Dutra [EMAIL PROTECTED] wrote in
message
news:[EMAIL PROTECTED]
Hi,

I have the same problem, can you help me?

Thanks


José Mário Dutra de Ornellas
Global Value Soluções S.A.
An IBM and Fiat Company
Service Delivery
Tel: +55-31-2123-4720

Cel: +55-31-9952-4201


-- 
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] how to upgrade Samba version.

2004-05-13 Thread Jason
can someone show the steps ... cause I am using Webmin to control samba ..
but since latest version is out and Webmin doesn't have it yet ... btw i am
using Fedora Core 2.



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


[Samba] 10 X Linux boxes - join win2k AD (mixed mode)

2004-05-13 Thread VR-Bug Support

Hi All,

I'd like to know your views on the following:

I have around 10 Linux servers, any that run samba or on version 2.2.* they have there 
own smbpasswd files, but are within the same win2k browse domain.

I'd like to upgrade to samba 3.0.* and currently use openldap to authenticate Unix 
users to any of the Linux boxes.

I'd like to get rid of using multiple smbpasswd files, and start to authenticate 
against the win2k AD controllers or openldap.

I've been looking at the various discussions on this list for some time now to see if 
there was a preferred way of doing this but haven't come to a conclusion, does anyone 
have one?

Thanks

Luke.

BTW - Great work, samba 2.2.* has been so stable and quick for us, if it were my 
choice I'd ditch windoze altogether :)



_
A winner every minute of the day - The 24 Hour Drop www.24hourgames.tv

Any views or opinions expressed in this e-mail are solely those of the author and do 
not necessarily represent those of ENDEMOL UK plc unless specifically stated.
This email and the information it contains are confidential and intended solely for 
the use of the individual or entity to which it is addressed. If you have received 
this email in error please notify us immediately and delete the copy you have received 
from your system.
You should not copy it for any purpose, re-transmit it, use it or disclose its 
contents to any other person. If you suspect the message may have been intercepted or 
amended please call the sender.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] winbind problems with linux domain member

2004-05-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sak wrote:

| miru root # wbinfo -u
| root
| sak
| michael
|
| Shouldn't it show the domain+user output?
Not since you have 'winbind use default domain = yes'

| When I do:
| miru root # getent passwd
| ...
| guest:x:405:100:guest:/dev/null:/dev/null
| nobody:x:65534:65534:nobody:/:/bin/false
| sak:x:1000:100::/home/sak:/bin/bash
| ntp:x:123:123:added by portage for ntp:/dev/null:/bin/false
| root:x:15007:15001:root:/home/102010/root:/bin/false
| sak:x:15006:15001::/home/102010/sak:/bin/false
| michael:x:15008:15001::/home/102010/michael:/bin/false
|
| If I understand correctly, this is okay; listing the local users and
| then the domain users.
|
| When I do:
|
| miru root # getent passwd sak
| sak:x:1000:100::/home/sak:/bin/bash
|
| which is probably correct, but when I do:
|
| miru root # getent passwd 102010+sak
|
| I get no response whatsoever.
What version is this ?  There were some bugs that addressed
'winbind use default domain' issues post 3.0.1 and post 3.0.2a IIRC.
See the WHATSNEW for details.




cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAo6+bIR7qMdg1EfYRAm48AKCV34NHUy78UTDa2NeWr/WuhqD6XgCgonnb
KudnVLvXrNAZSkxqzmpAnZA=
=EwPj
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] winbind problems with linux domain member

2004-05-13 Thread Sak
On Thu, May 13, 2004 at 12:25:47PM -0500, Gerald (Jerry) Carter wrote:

 What version is this ?  There were some bugs that addressed
 'winbind use default domain' issues post 3.0.1 and post 3.0.2a IIRC.
 See the WHATSNEW for details.

I'm running 3.0.2a-r2.

-- 
Thanks,
Sak.
-

We're as calm as the weather.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] winbind problems with linux domain member

2004-05-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sak wrote:
| I'm running 3.0.2a-r2.
I would recommend testing 3.0.4 in that case.  But check
the WHATSNEW in 3.0.4 for bugs fixed relating to 'winbind
use default domain'


cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAo7Y4IR7qMdg1EfYRAjl+AKDdnG7P47Lowjqo/UUd3txcwFUsPACfVgOr
Jwm1ly9yoArNG+REHkJkqyo=
=Rqer
-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] Re: Patch for unix extensions

2004-05-13 Thread Jeremy Allison
On Thu, May 13, 2004 at 01:01:41PM -0400, Rohit Kumar Mehta wrote:
 Thanks Jeremy, I grabbed the newest 3.0 code from subversion last night
 for testing and it works for exactly what we need it to. (We can create
 a symlink from an smbfs mounted home directory to a some filesystem on
 the client machine.
 
 I guess we should wait until 3.0.5 is pronounced stable before using it
 in production.  Any idea when we should expect it?

When it's ready :-). I need to fix the smbclient symlink creation
support first.

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


[Samba] rejected our name registration of WORKGROUP1d with error code 6

2004-05-13 Thread azornoz
Hi to all, I have a samba server that was working with security share 
in one subnet and now is listening on another interface, configured as a
PDC logon server with wins support and w98 clients, I followed the
howto: 
http://www.linuxfocus.org/English/March2002/article177.shtml

The clients added to the domain execute the logon scripts fine, but they
do not see the samba server in nethood, though they can access it in
nethood with \\ip_samba_server or \\netbios_name_samba_server, all the
clients w98  see each others.

I have this in log.nmbd

 [2004/05/13 11:52:29, 0]
nmbd/nmbd_nameregister.c:register_name_response(109)
 register_name_response: server at IP 172.26.0.2 rejected our name
registration of ADMINISTRACION1d with error code 6.
 [2004/05/13 11:52:29, 0]
nmbd/nmbd_become_lmb.c:become_local_master_fail2(425)
 become_local_master_fail2: failed to register name ADMINISTRACION1d
on subnet 172.26.0.101. Failed to become a local master browser.
 [2004/05/13 11:52:29, 0]
nmbd/nmbd_namelistdb.c:standard_fail_register(290)
 standard_fail_register: Failed to register/refresh name
ADMINISTRACION1d on subnet 172.26.0.101

I have to say that box in 172.26.0.2 is not networking very well,
because it doesn't response to ping's though it can access internet, see
other boxes share's in nethood and ping other boxes.

workgroup = ADMINISTRACION

and samba server ip is 172.26.0.101

Could anybody give me a tip on what is going bad, if log.nmbd doesn't
show who is local master browser, is something wrong?  what is the error
code 6?

thanks in advance
best regards
 


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


AW: [Samba] SID History Mechanism / Trust Accounts

2004-05-13 Thread Laurenz, Dirk
Hello,



  

|
-|Hello everybody,
-|
-|1. Question
-|When migration from an nt4 style domain to a new samba 3 
-|style domain with ldapsam ,
-|it is necessary to preserve the old SIDs of the user to keep the users
-|in touch with the old servers. M$ calles this SID history, which means
-|that the old SID is added to new accounts in an AD. 
-|Does samba have any equal mechanism?

so far i found out, that there's an LDAP Attribute sambaSIDList
on the subversion server http://tinyurl.com/3edtz.
Is this the attribute, which cares about the SID history?
It's important to know thanks.


-|
-|2. Question
-|Does net rpc vampire preserve domain trust accounts?

The second question is still interesting

Regards,



Dirk Laurenz
Systems Engineer
PSO - Professional Service Organisation
Fujitsu Siemens Computers
Hildesheimer Strasse 25
30880 Laatzen
Germany

Telephone:  +49 (511) 84 89 - 18 08
Telefax:+49 (511) 84 89 - 25 18 08
Mobile: +49 (170) 22 10 781
Email:  mailto:[EMAIL PROTECTED]
Internet:   http://www.fujitsu-siemens.com
 
http://www.fujitsu-siemens.de/rl/servicesupport/itdienstleistungen/compe
tencecenter.html

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


[Samba] Abi99-FreeAtLast

2004-05-13 Thread Abi99-FreeAtLast
Vielen Dank, dass Du Dich an den Webmaster von Abi99-FreeAtLast.de 
gewendet hast. Die e-Mail wird in Kürze bearbeitet.

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


[Samba] Virus Alert

2004-05-13 Thread isvw
The mail message (file: your_document.pif) you sent to [EMAIL PROTECTED] contains a 
virus. (on mail.dmoch.de)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Maximum Length Of Printer Name

2004-05-13 Thread Jeramy Eling
Hi All,

Just a quick question, what is the max length of a printer name in samba? I am 
currently running samba 3.0.4 and keep receiving the following message:-
May 13 07:28:09 gandalf1 smbd[2316]: [2004/05/13 07:28:09, 0] 
lib/util_str.c:safe_strcpy_fn(602) 
May 13 07:28:09 gandalf1 smbd[2316]: ERROR: string overflow by 1 (32 - 31) in 
safe_strcpy [\\gandalf1\MirrorsA4PicklistPrinter]
The message only appears to affect printers which have name of 32 characters or more.
It doesn't cause any issues but it would be good if I could sort it and tidy the log 
file up. Any help would be much appreciated.
Thanks In Advance
Jez

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


[Samba] CSAV for Exchange - Virus Alert

2004-05-13 Thread gillespiem
The message samba Digest, Vol 16, Issue 19  had a file attachment ATT471557.txt  
which was sent by [EMAIL PROTECTED]  was infected with the yours.pif  Infection: 
W32/[EMAIL PROTECTED] (exact) virus.  The file attachment was quarantined at  
C:\Program Files\Command Software\CSAV for Exchange\Quarantine.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] CSAV for Exchange - Virus Alert

2004-05-13 Thread gillespiem
The message samba Digest, Vol 16, Issue 42  had a file attachment ATT157949.txt  
which was sent by [EMAIL PROTECTED]  was infected with the Details.com  Infection: 
W32/[EMAIL PROTECTED] (exact) virus.  The file attachment was quarantined at  
C:\Program Files\Command Software\CSAV for Exchange\Quarantine.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Trust Relationship Prob

2004-05-13 Thread Saad Ahmed
Hi guys,
I have setup Samba as the PDC for the network. The network is Win 2000 based with the 
PDC as the only Linux machine.
My machine is part of the domain. I wanted to make another user (who is also part of 
the domain) as a user on my computer but I got the error:
THE USER COULD NOT BE ADDED BECAUSE THE FOLLOWING ERROR HAS OCCURRED:
THE TRUST RELATIONSHIP BETWEEN THIS WORKSTATION AND THE PRIMARY DOMAIN FAILED.
What the reason?
Kindly suggest a solution before I pull my hair out.
Saad.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba - Oplocks = no

2004-05-13 Thread L. Mark Stone
On Thursday 13 May 2004 12:26 pm, David Brodbeck wrote:
|  -Original Message-
|  From: Jeremy Allison [mailto:[EMAIL PROTECTED]
| 
|  Yes they plague Windows fileservers as well. Search in MSDN for
|  knowledge base articles relating to turning off oplocks in
|  data-critical situations (ie. when you care about files not
|  being corrupted :-).
|
| I ended up doing this on one of our NT 4.0 servers to keep Peachtree
| Accounting happy.  The real bummer is that you can't veto oplocks for
| specific files or shares under NT like you can with Samba -- they're
| either all on, or all off.

And if the Windows clients are running ACT! software don't forget there 
are some registry entries to deal with on the Windows clients as well.

The actdiag.exe program from will do this for you.

-- 
_
A Message From...  L. Mark Stone

Reliable Networks of Maine, LLC
477 Congress Street, 5th Floor
Portland, ME 04101
Tel: (207) 772-5678
Web: http://www.RNoME.com

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


[Samba] winbindd lookup failure

2004-05-13 Thread Kevin Kobb
Hello all,

I am Samba to authenticate users in Windows 2000 AD to a Squid proxy 
server. I have Red Hat 9, Samba 3.04, and Squid 2.5 Stable3.

I have followed the FAQs and docs as closely as possible, and everything 
went pretty much without a problem. The only hangup I am having is 
trying to restrict access to the proxy to members of a single AD group.

In my squid.conf I have,

auth_param ntlm program /usr/bin/ntlm_auth \ 
--helper-protocol=squid-2.5-ntlmssp

that works fine.

In the Samba docs they indicate you can do this,
auth_param ntlm program /usr/bin/ntlm_auth \ 
--helper-protocol=squid-2.5-ntlmssp \
--require-membership-of='DOMAIN/Group'

When I try that though, I get these errors in cache.log

utils/ntlm_auth.c:get_require_membership_sid(237)
  Winbindd lookupname failed to resolve 'DOMAIN/Group' into a SID!
If I do wbinfo -n Group, I get a sid and wbinfo -s sid gives me the group.

I have gone through mailing list and seen some people that indicate you 
can use an external helper like wbinfo_group.pl, but I just wondered if 
second squid.conf setting I got from the Samba docs is known to work, or 
if there is something else I need to look at?

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


Re: [Samba] winbind problems with linux domain member

2004-05-13 Thread Sak
On Thu, May 13, 2004 at 12:54:00PM -0500, Gerald (Jerry) Carter wrote:

 I would recommend testing 3.0.4 in that case.  But check
 the WHATSNEW in 3.0.4 for bugs fixed relating to 'winbind
 use default domain'

Thanks for all your help so far.  I've upgraded both systems, the PDC
and the domain member to 3.0.4.  I also went ahead and removed
'winbind use default domain' from my smb.conf on the member server.
All said and done, I'm still getting the same response.

Any other thoughts or suggestions that I can try?

-- 
Thanks,
Sak.
-

may all your borders be porous
free transmission
smear genetics c'est la vie
 -fugazi
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] utmp = yes

2004-05-13 Thread Stefan Froehlich
Hello,

I have Samba 3.0.2a running (within a Sarge Debian installation) and
must use utmp logging for some reasons. The following things have been
checked:

| # testparm | grep utmp
[...]
|utmp directory = /var/log/samba/
|utmp = Yes

| # ls -ld /var/log/samba/
| drwxr-x---2 root adm  4096 May  9 06:25 /var/log/samba/

| # smbd -b|grep -i utmp
|  UTMP Options:
|HAVE_GETUTMPX
|HAVE_UTMPX_H
|HAVE_UTMP_H
|PUTUTLINE_RETURNS_UTMP
|WITH_UTMP
|WITH_UTMP

As far as I can tell, this is everything I'd need. However, no logging
ist done, not even the file is created.

Do you have any suggestions how to proceed? Could there be something
missing?

Bye,
  Stefan

--
http://kontaktinser.at/
Kontaktanzeigen für Österreich - kostenlos und unkommerziell
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] My win98 clients can't change their autentication passwords

2004-05-13 Thread Flávio Henrique
Hi all

Hi use Samba as pdc with 50 win98 clients...
when the user tryies to change the password for domain autentication (in Control 
Painel, Passwords, Change the Windows Passoword), a message says the PDC Server was 
not found...

my settings, in smb.conf is :

encrypted passwords = yes
update encryped = no
unix password sync = yes
smb passwd file = /etc/samba/smbpasswd
passwd program = /usr/bin/passwd
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
passwd chat debug = no


I'm using Samba 2.2.8a on Mandrake 9.2

Someone can help me ?

Thanx in advance...

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


Re: [Samba] Excel opens files as read-only

2004-05-13 Thread Thomas Munck Steenholdt
Edvard Fagerholm wrote:

Hello!

A few users on my network has complained about Excel opening files as
read-only. What is weird is that the files aren't. I can open such a file using
notepad and write to it, but when the same file is opened in Excel, Excel says
it's read-only.
Anyone know what the problem is? Workstations run WinXP and office is 2k3.
These files are shared between many users, but I don't think it's a locking
problem, because I checked that no one else was accessing the files at the same
time.
Saw something like this (it may not be entirely the same) and was able 
to reproduce it pretty easily...

user_a : create excel file and put something in it, then save, close!
user_b : open file, make changes, save, close!
user_a : open file ... file will be read only!
This seemed to happen because of some semantics that MS office uses when 
updating a file...

Worked around it with force security mode = 0200 and dos filemode = yes

Try it out, like I said, it may not be entirely same issue!

Thomas

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


[Samba] 2 terabyte filesystem limitation on linux client

2004-05-13 Thread David Smithson
Hi all.

I have recently introduced two 5.5TB XFS filesystems to our storage
backend.  I export the filesystem via samba 3.0.3 on Fedora core 2. 
Linux clients that mount the share show only 2TB available.  Windows
clients show the full capacity.  Before I put these filesystems into
production I'd like to find out if the reported filesystem size is going
to cause a problem.  Is SMB actually limited to 2TB?  If so, why do
Windows clients see the full capacity?  Is this a limitation of the
samba client software on the linux side?

Thanks for your input.

-- 
David Smithson [EMAIL PROTECTED]
Custom Film Effects www.customfilmeffects.com
818-840-6833 x126


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


[Samba] Winbind ADS Issues w/ *TONS* of Pre-Research

2004-05-13 Thread William R. Lorenz
Samba Team,

I've been trying to get my Samba server to authenticate users against a
Windows 2000 Active Directory domain controller, and it just doesn't work.  
I've encountered a TREMENDOUS amount of postings from people who have run
into the same issue, and there's never any responses with a resolution.  
I must have viewed more than 500 postings over the course of the day.

I have a seemingly valid Samba configuration file.  All of the `wbinfo
-u`, `wbinfo -g`, `getent passwd`, and `getent group` commands work just
fine.  Howver, `wbinfo -t` and `wbinfo -a` don't work, and I can't
authenticate users against the domain controller.  As an example:

  [EMAIL PROTECTED] samba]# net ads join -U Administrator
  Administrator's password:
  [2004/05/13 17:49:30, 0] libads/ldap.c:ads_add_machine_acct(1006)
Host account for nasone already exists - modifying old account
  Using short domain name -- ECHUDSON
  Joined 'NASONE' to realm 'HUDSON-OFFICE.ECEDIINC.COM'
  [EMAIL PROTECTED] samba]# net rpc join -U Administrator
  Password:
  Joined domain ECHUDSON.
  [EMAIL PROTECTED] samba]# wbinfo -t
  checking the trust secret via RPC calls failed
  error code was NT_STATUS_UNSUCCESSFUL (0xc001)
  Could not check secret
  [EMAIL PROTECTED] samba]#

After trying to do the `wbinfo -t`, I see the following in 'winbindd.log':

  [2004/05/13 17:49:41, 2] 
libsmb/cliconnect.c:cli_session_setup_kerberos(535)
Doing kerberos session setup
  [2004/05/13 17:49:41, 0] rpc_client/cli_pipe.c:rpc_auth_pipe(336)
rpc_auth_pipe: wrong schannel auth len 24
  [2004/05/13 17:49:41, 0] 
rpc_client/cli_netlogon.c:cli_nt_setup_creds(249)
cli_nt_setup_creds: request challenge failed
  [2004/05/13 17:49:41, 2] 
nsswitch/winbindd_misc.c:winbindd_check_machine_acct(98)
Checking the trust account password returned NT_STATUS_UNSUCCESSFUL

I am using Samba 3.0.4, as distributed in Fedora Core 1 RPM format on the 
main Samba website @ http://www.samba.org/.  Here's the details:

  [EMAIL PROTECTED] samba]# rpm -qa | grep ^samba
  samba-common-3.0.4-2
  samba-client-3.0.4-2
  samba-3.0.4-2
  [EMAIL PROTECTED] samba]# rpm -qa | grep ^krb5
  krb5-libs-1.3.1-6
  krb5-workstation-1.3.1-6
  [EMAIL PROTECTED] samba]#

The output of `wbinfo -a` produces the following:

  [EMAIL PROTECTED] samba]# wbinfo -a Administrator
  plaintext password authentication failed
  error code was NT_STATUS_NO_SUCH_USER (0xc064)
  error messsage was: No such user
  Could not authenticate user Administrator with plaintext password
  challenge/response password authentication failed
  error code was NT_STATUS_NO_LOGON_SERVERS (0xc05e)
  error messsage was: No logon servers
  Could not authenticate user Administrator with challenge/response
  [EMAIL PROTECTED] samba]#

And this results in the following in 'winbindd.log':

  [2004/05/13 17:53:04, 2] 
  libsmb/cliconnect.c:cli_session_setup_kerberos(535)
Doing kerberos session setup
  [2004/05/13 17:53:04, 0] rpc_client/cli_pipe.c:rpc_auth_pipe(336)
rpc_auth_pipe: wrong schannel auth len 24
  [2004/05/13 17:53:04, 0] 
rpc_client/cli_netlogon.c:cli_nt_setup_creds(249)
cli_nt_setup_creds: request challenge failed
  [2004/05/13 17:53:04, 2] 
nsswitch/winbindd_pam.c:winbindd_pam_auth_crap(612)
NTLM CRAP authentication for user [ECHUDSON]\[Administrator] returned 
NT_STATUS_NO_LOGON_SERVERS (PAM: 4)

NTLM CRAP authentication is right -- this just doesn't want to work! ;)

Here's the contents of my '/etc/samba/smb.conf' configuration file:

  [EMAIL PROTECTED] samba]# grep -v ^\; /etc/samba/smb.conf
  [global]
workgroup = ECHUDSON
realm = HUDSON-OFFICE.LOCAL
server string = NASONE
hosts allow = 10.0.0.0/24
load printers = no

security = ads
auth methods = winbind
password server = ARIEL
name resolve order = bcast wins host
wins server = 10.0.0.150 10.0.0.151

log level = 2
log file = /var/log/samba/samba-global.log
log file = /var/log/samba/%m.log
max log size = 0

winbind separator = +
encrypt passwords = yes
idmap uid = 1-2
idmap gid = 1-2
winbind enum users = yes
winbind enum groups = yes
winbind cache time = 15
template shell = /sbin/nologin
template homedir = /dev/null/%D/%U

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = 10.0.0.180/24 10.0.1.180/24

os level = 33
local master = no
domain master = no
preferred master = no
domain logons = no

wins support = no
dns proxy = no

  [volume01]
comment = volume01
path = /mnt/volumes/lv01
public = no
writable = no
printable = no
valid users = @ECHUDSON+Domain Admins
write list = @ECHUDSON+Domain Admins
create mask = 0664
directory mask = 0775
nt acl support = yes
  [EMAIL PROTECTED] samba]#

Here's a one example of other people having the same issue (I searched
long and hard for any resolutions many of these had 

[Samba] What libraries libsmbclient needs to be linked to?

2004-05-13 Thread Timur I. Bakeyev
Hi all!

Quite silly question:

I'm trying to (re)make a separate package for 
libsmbclient, so it can be installed in the system without 
server part of the samba. The thing is, that if you have 
Kerberos and LDAP libraries in the system, they'll be 
linked against libsmbclient.

My question is - is it really necessary? Does libsmbclient 
part actuall use LDAP and Kerberos for it's client 
functions or it's just relict of linking them against the 
server part? I.e. would the functionality of libsmbclient 
be truncated, if  not to link against this libraries :)? 
The same question applies to samba-python :)

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


Re: [Samba] utmp = yes

2004-05-13 Thread Ryan Novosielski
I don't think you can actually do this -- I believe you have to use the
system's utmp file, which is most definitely not in that directory -- I
don't know that Samba will create its own... maybe if you start one there,
it will then use it... but I'm not sure.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Thu, 13 May 2004, Stefan Froehlich wrote:

 Hello,

 I have Samba 3.0.2a running (within a Sarge Debian installation) and
 must use utmp logging for some reasons. The following things have been
 checked:

 | # testparm | grep utmp
 [...]
 |utmp directory = /var/log/samba/
 |utmp = Yes

 | # ls -ld /var/log/samba/
 | drwxr-x---2 root adm  4096 May  9 06:25 /var/log/samba/

 | # smbd -b|grep -i utmp
 |  UTMP Options:
 |HAVE_GETUTMPX
 |HAVE_UTMPX_H
 |HAVE_UTMP_H
 |PUTUTLINE_RETURNS_UTMP
 |WITH_UTMP
 |WITH_UTMP

 As far as I can tell, this is everything I'd need. However, no logging
 ist done, not even the file is created.

 Do you have any suggestions how to proceed? Could there be something
 missing?

 Bye,
   Stefan

 --
 http://kontaktinser.at/
 Kontaktanzeigen für Österreich - kostenlos und unkommerziell
 --
 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] Problem setting up a Domain with Smb-ldap

2004-05-13 Thread Miguel Casas-Sánchez
Hi everybody:

I´m using Samba 3.0.2 (Suse 9.1) with LDAP, and everything works 
fine...for workgroups, but when I try to build up a Domain, I do set up 
the controller, etc but the Windows machine gives me the log that appear 
down under, everything seems ok but I think the problem lies in these 
two lines (apprxoimately in the middle)

   Returning domain sid for domain FMDV - 
S-1-5-21-78767638-71612024-1917398797
   _samr_open_domain: ACCESS DENIED  (requested: 0x0211)  
   Returning domain sid for domain FMDV - 
S-1-5-21-78767638-71612024-1917398797  
   _samr_create_user: ACCESS DENIED (granted: 0x0201;  
required: 0x0010)

But I haven´t find anything in google, so , would anyone be so kind to 
help me? thanks in advance

--
Miguel Casas-Sánchez
FDMV Lübeck
m.casas_at_falk-meddv.de
--








added interface ip=192.168.1.70 bcast=192.168.1.255 nmask=255.255.255.0
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
waiting for a connection
Searching for:[((objectClass=sambaDomain)(sambaDomainName=FMDV))]
smbldap_open_connection: connection opened
netbios connect: name1=LINUXTEST   name2=MCS   
netbios connect: local=linuxtest remote=mcs, name type = 0
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
init_sam_from_ldap: Entry found for user: mcasas
init_group_from_ldap: Entry found for group: 100
check_ntlm_password:  authentication for user [mcasas] - [mcasas] - 
[mcasas] succeeded
Returning domain sid for domain FMDV - 
S-1-5-21-78767638-71612024-1917398797
_samr_open_domain: ACCESS DENIED  (requested: 0x0211)
Returning domain sid for domain FMDV - 
S-1-5-21-78767638-71612024-1917398797
_samr_create_user: ACCESS DENIED (granted: 0x0201;  required: 
0x0010)
Closing connections

Searching for:[((objectClass=sambaDomain)(sambaDomainName=FMDV))]
smbldap_open_connection: connection opened
netbios connect: name1=LINUXTEST   name2=MCS   
netbios connect: local=linuxtest remote=mcs, name type = 0
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
init_sam_from_ldap: Entry found for user: mcasas
init_group_from_ldap: Entry found for group: 100
check_ntlm_password:  authentication for user [mcasas] - [mcasas] - 
[mcasas] succeeded
Closing connections

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


[Samba] Re: samba and NT browsing again

2004-05-13 Thread Jason
have you try the testparm ?


Wojciech Kromer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 i heve a lot of problems with browsing NT worksattions over subnetworks

 here is my smb.conf, and i set wins in all computers,
 enetering \\NAME works fine , but on all workstations i see WORKGROUPS
 only from local network


  [global]
  workgroup = LAB
  server string = Samba Server
  encrypt passwords = Yes
  syslog = 5
  log file = /var/log/samba/%m.log
  max log size = 50
  unix charset=iso8859-2
  domain master = Yes
  domain logons = Yes
  local master = Yes
  preferred master = Yes
  dns proxy = Yes
  os level = 64
  guest account = guest
  map to guest = Bad User
  interfaces=192.168.6.0/24 192.168.3.0/24 192.168.2.0/24
  remote announce=192.168.3.255 192.168.6.255 192.168.2.255
  remote browse sync=192.168.3.255 192.168.6.255 192.168.2.255
  wins support=yes
  dns proxy=yes
  wins proxy=yes


 why wins do not get proper work-groups 

 please answer o my priv too




 -- 
 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] Wan shares

2004-05-13 Thread tms3
Here's a puzzler.

I know that in winblowz you can map network drive \\ip addy\share, 
however you cannot do this with smbfs.

OK so I create a local DNS record such that server resolves to this ip 
addy.  Winblowz will mount that way, but smbfs won't.  Oh yeah, this 
share is located at an IP addy at a sattelite office over the internet.  
Is this simply not doable?

TMS III



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


[Samba] Linux network with access to NT4 domain

2004-05-13 Thread Jason Romo
I have a problem I am trying to resolve.  I have Linux firewalls protecting
the users on many networks.  Everything works but Domain logons to the NT4
Domain.  This is due to NETBIOS  and NAT problem.  So I have users that have
a private address and a PDC that has a pubilc address due to the network
design that can¹t be changed.  I have install Samba 3.x and thought I could
join it to the domain to allow the samba server to handle the connection for
the NATed users.

Is there a way to do this?  I need the local users to be able to
authenticate to an NT4 domain  or I have to remove the firewalls.  I am
working on trying to convince them to migrate from the NT4 domain to samba,
but it is a battle.  If I can show them that Linux can work with the current
network for now it could by me more time to convince them to migrate.

Thanks in a advance,
Jason

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


Re: [Samba] Wan shares

2004-05-13 Thread Andrew Gaffney
tms3 wrote:
Here's a puzzler.

I know that in winblowz you can map network drive \\ip addy\share, 
however you cannot do this with smbfs.
Yes you can. Try smbmount '\\netbios name\share' /mnt/point -o ip=IPADDR. 
This will contact the server via IP and then verify that that machine is 
'netbios name'.

OK so I create a local DNS record such that server resolves to this ip 
addy.  Winblowz will mount that way, but smbfs won't.  Oh yeah, this 
share is located at an IP addy at a sattelite office over the internet.  
Is this simply not doable?


--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] vfs recycle troubles 3.0.2

2004-05-13 Thread Carles Bou
hello, samba ;)

I have setup a gentoo with samba 3.0.2 as a PDC everything works fine

i've set VFS recycle in some shares i can access/write/read on those shares
but if a del a file or a directory it's put into
.recycle (in the root of the share) but perms are changed and the user who
have deleted this file is this owner and no one can do any thing perms are
set to 0700.

any ideas?

PS: sorry for me bad english



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


Re: [Samba] FYI - Why RPMs are important

2004-05-13 Thread Jonathan Johnson
Of course, you can download the source RPM, then issue rpmbuild
--rebuild samba-3.0.4-1.src.rpm then you'd have your very own RPM
sitting in /usr/src/redhat/RPMS/i386/ which you could then install as
you say below.

This is, of course, assuming you have all the appropriate compilers
and utilities installed.

However, you'll be pleased to have this link:

http://us1.samba.org/samba/ftp/bin-pkgs/RedHat/RPMS/i386/8.0/

which is one of the many mirrors where binaries for RedHat 8.0 are
found. I just check and as of 9:28 PM PDT the 3.0.4 binary was present.

--Jon Johnson
Sutinen Consulting, Inc.
[EMAIL PROTECTED]

On Thu, 13 May 2004, Josh Skains wrote:

 Someone emailed me directly when I was asking about the 8.0 RPMs, and
 why I didn't just compile it. Due to the production nature of our
 servers which run practially 24/7, I can do an rpm -Uhv samba.rpm
 and then do an smb restart with very little impact. If I move to
 non-rpm versions, I am forced to compile first, remove the RPM, which
 is a longer downtime, then install Samba and then turn Samba back on.
 
 Just FYI. *shrug*
 
 JMS
 
 --
 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] full space, this user is limit quota

2004-05-13 Thread sso

full space, that user [EMAIL PROTECTED] can not receive more letter
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] winbind problems with linux domain member

2004-05-13 Thread Sak
I've been noodling around with this some more in an attempt to get
more information.  Here's some output that seems confusing to me...

miru root # wbinfo -m
MIRU
BUILTIN

..and in /var/log/samba3/log.winbind

[2004/05/13 22:25:15, 1] nsswitch/winbindd_util.c:add_trusted_domain(180)
  Added domain 102010  S-0-0
[2004/05/13 22:25:15, 1] nsswitch/winbindd_util.c:add_trusted_domain(180)
  Added domain BUILTIN  S-1-5-32
[2004/05/13 22:25:15, 1] nsswitch/winbindd_util.c:add_trusted_domain(180)
  Added domain MIRU  S-1-5-21-2538855255-56902595-314496023

I'm confused by this because it shows that the 102010 domain was
added, but yet it doesn't show up with wbinfo -m

Another bit of output that raises an eyebrow is...

miru root # wbinfo --authenticate=sak%password
plaintext password authentication failed
error code was NT_STATUS_NO_SUCH_USER (0xc064)
error messsage was: No such user
Could not authenticate user sak%password with plaintext password
challenge/response password authentication succeeded

Anyway, hope this extra bit of output might offer some clues as to
what might be going wrong.

-- 
Thanks,
Sak.
-

And he still gives his love, he just gives it away
The love he receives is the love that is saved
And sometimes is seen a strange spot in the sky
A human being that was given to fly
 -Pearl Jam
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


svn commit: samba r684 - branches/SAMBA_4_0/source/torture/rpc

2004-05-13 Thread abartlet
Author: abartlet
Date: 2004-05-13 15:31:21 + (Thu, 13 May 2004)
New Revision: 684

Modified:
   branches/SAMBA_4_0/source/torture/rpc/netlogon.c
Log:
Note the fact that NTLMv2 provides a weath of futher testcases...

Andrew Bartlett


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=684nolog=1


svn commit: samba r686 - in branches/SAMBA_4_0/source: . build/smb_build lib/registry

2004-05-13 Thread jelmer
Author: jelmer
Date: 2004-05-13 15:37:57 + (Thu, 13 May 2004)
New Revision: 686

Modified:
   branches/SAMBA_4_0/source/aclocal.m4
   branches/SAMBA_4_0/source/build/smb_build/public.m4
   branches/SAMBA_4_0/source/lib/registry/config.m4
Log:
- Add SMB_EXT_LIB_FROM_PKGCONFIG()
- Build gregedit and registry_gconf again if the required libs are found (gconf and 
gtk)


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=686nolog=1


svn commit: samba r688 - in branches/SAMBA_4_0/source: . build/smb_build

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 16:09:34 + (Thu, 13 May 2004)
New Revision: 688

Added:
   branches/SAMBA_4_0/source/build/smb_build/dump.pl
Modified:
   branches/SAMBA_4_0/source/build/smb_build/core.m4
   branches/SAMBA_4_0/source/configure.in
Log:
add --enable-experimental

use Data::Dumper for config.smb_build.dump
when --enable-debug

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=688nolog=1


svn commit: samba r689 - branches/SAMBA_3_0/source/printing

2004-05-13 Thread jerry
Author: jerry
Date: 2004-05-13 16:11:24 + (Thu, 13 May 2004)
New Revision: 689

Modified:
   branches/SAMBA_3_0/source/printing/nt_printing.c
Log:
removed unneeded forward declarations

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=689nolog=1


svn commit: samba r691 - branches/SAMBA_4_0/source/build/smb_build

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 16:39:29 + (Thu, 13 May 2004)
New Revision: 691

Modified:
   branches/SAMBA_4_0/source/build/smb_build/makefile.pl
Log:
add
--
make binary_smbd
make library_libldb
make module_ntvfs_simple
--
style make rules which depend on make basics, so make idl proto is called by them


metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=691nolog=1


svn commit: samba r693 - branches/SAMBA_4_0/source/lib/registry/tools

2004-05-13 Thread jelmer
Author: jelmer
Date: 2004-05-13 16:47:32 + (Thu, 13 May 2004)
New Revision: 693

Modified:
   branches/SAMBA_4_0/source/lib/registry/tools/gregedit.c
Log:
Make static

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=693nolog=1


svn commit: samba r660 - in branches/tmp/metze-4_0-BUILD/source: build/pidl lib/registry/tools librpc/idl rpc_server

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 09:10:24 + (Thu, 13 May 2004)
New Revision: 660

Modified:
   branches/tmp/metze-4_0-BUILD/source/build/pidl/eparser.pm
   branches/tmp/metze-4_0-BUILD/source/lib/registry/tools/regdiff.c
   branches/tmp/metze-4_0-BUILD/source/librpc/idl/dcerpc.idl
   branches/tmp/metze-4_0-BUILD/source/rpc_server/dcerpc_server.c
Log:
merge SAMBA_4_0 changes -r 635:659 into my tmp branch

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/tmp/metze-4_0-BUILD/sourcerev=660nolog=1


svn commit: samba r661 - branches/tmp/metze-4_0-BUILD/source/build/smb_build

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 09:14:02 + (Thu, 13 May 2004)
New Revision: 661

Modified:
   branches/tmp/metze-4_0-BUILD/source/build/smb_build/makefile.pl
Log:
run make proto by make pch

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=661nolog=1


svn commit: samba r662 - in branches/tmp/metze-4_0-BUILD/source/lib/registry: reg_backend_dir reg_backend_gconf reg_backend_ldb reg_backend_nt4 reg_backend_rpc reg_backend_w95 reg_backend_wine

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 09:15:16 + (Thu, 13 May 2004)
New Revision: 662

Modified:
   branches/tmp/metze-4_0-BUILD/source/lib/registry/reg_backend_dir/reg_backend_dir.c
   
branches/tmp/metze-4_0-BUILD/source/lib/registry/reg_backend_gconf/reg_backend_gconf.c
   branches/tmp/metze-4_0-BUILD/source/lib/registry/reg_backend_ldb/reg_backend_ldb.c
   branches/tmp/metze-4_0-BUILD/source/lib/registry/reg_backend_nt4/reg_backend_nt4.c
   branches/tmp/metze-4_0-BUILD/source/lib/registry/reg_backend_rpc/reg_backend_rpc.c
   branches/tmp/metze-4_0-BUILD/source/lib/registry/reg_backend_w95/reg_backend_w95.c
   branches/tmp/metze-4_0-BUILD/source/lib/registry/reg_backend_wine/reg_backend_wine.c
Log:
fix the module init function names

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/tmp/metze-4_0-BUILD/source/lib/registryrev=662nolog=1


svn commit: samba r663 - branches/tmp/metze-4_0-BUILD/source/build/smb_build

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 09:16:22 + (Thu, 13 May 2004)
New Revision: 663

Modified:
   branches/tmp/metze-4_0-BUILD/source/build/smb_build/output.pl
Log:
fix comments

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=663nolog=1


svn commit: samba r664 - in branches/tmp/metze-4_0-BUILD/source: build/smb_build include

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 09:28:32 + (Thu, 13 May 2004)
New Revision: 664

Added:
   branches/tmp/metze-4_0-BUILD/source/build/smb_build/smb_build_h.pl
Modified:
   branches/tmp/metze-4_0-BUILD/source/build/smb_build/core.m4
   branches/tmp/metze-4_0-BUILD/source/build/smb_build/depend.pl
   branches/tmp/metze-4_0-BUILD/source/build/smb_build/main.pl
   branches/tmp/metze-4_0-BUILD/source/build/smb_build/public.m4
   branches/tmp/metze-4_0-BUILD/source/include/
   branches/tmp/metze-4_0-BUILD/source/include/includes.h
Log:
we now create a smb_build.h
there we put in the static_init_subsystem defines

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/tmp/metze-4_0-BUILD/sourcerev=664nolog=1


svn commit: samba r665 - in branches/SAMBA_4_0/source: . auth build build/smb_build include lib lib/cmdline lib/ldb lib/popt lib/registry lib/registry/common lib/registry/reg_backend_dir lib/registry/reg_backend_gconf lib/registry/reg_backend_ldb lib/registry/reg_backend_nt4 lib/registry/reg_backend_rpc lib/registry/reg_backend_w95 lib/registry/reg_backend_wine lib/registry/tools libads libcli librpc ntvfs passdb rpc_server smb_server smbd torture utils

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 10:20:53 + (Thu, 13 May 2004)
New Revision: 665

Added:
   branches/SAMBA_4_0/source/build/smb_build/
   branches/SAMBA_4_0/source/build/smb_build/smb_build_h.pl
   branches/SAMBA_4_0/source/lib/ldb/config.mk
Removed:
   branches/SAMBA_4_0/source/Makefile.in
Modified:
   branches/SAMBA_4_0/source/
   branches/SAMBA_4_0/source/aclocal.m4
   branches/SAMBA_4_0/source/auth/config.m4
   branches/SAMBA_4_0/source/build/smb_build/core.m4
   branches/SAMBA_4_0/source/build/smb_build/depend.pl
   branches/SAMBA_4_0/source/build/smb_build/main.pl
   branches/SAMBA_4_0/source/build/smb_build/makefile.pl
   branches/SAMBA_4_0/source/build/smb_build/output.pl
   branches/SAMBA_4_0/source/build/smb_build/public.m4
   branches/SAMBA_4_0/source/configure.in
   branches/SAMBA_4_0/source/dynconfig.c
   branches/SAMBA_4_0/source/include/
   branches/SAMBA_4_0/source/include/includes.h
   branches/SAMBA_4_0/source/lib/basic.m4
   branches/SAMBA_4_0/source/lib/cmdline/config.m4
   branches/SAMBA_4_0/source/lib/iconv.m4
   branches/SAMBA_4_0/source/lib/ldb/config.m4
   branches/SAMBA_4_0/source/lib/popt/config.m4
   branches/SAMBA_4_0/source/lib/registry/common/reg_interface.c
   branches/SAMBA_4_0/source/lib/registry/config.m4
   branches/SAMBA_4_0/source/lib/registry/reg_backend_dir/reg_backend_dir.c
   branches/SAMBA_4_0/source/lib/registry/reg_backend_gconf/reg_backend_gconf.c
   branches/SAMBA_4_0/source/lib/registry/reg_backend_ldb/reg_backend_ldb.c
   branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4/reg_backend_nt4.c
   branches/SAMBA_4_0/source/lib/registry/reg_backend_rpc/reg_backend_rpc.c
   branches/SAMBA_4_0/source/lib/registry/reg_backend_w95/reg_backend_w95.c
   branches/SAMBA_4_0/source/lib/registry/reg_backend_wine/reg_backend_wine.c
   branches/SAMBA_4_0/source/lib/registry/tools/gregedit.c
   branches/SAMBA_4_0/source/lib/registry/tools/regdiff.c
   branches/SAMBA_4_0/source/lib/registry/tools/regpatch.c
   branches/SAMBA_4_0/source/lib/registry/tools/regshell.c
   branches/SAMBA_4_0/source/lib/registry/tools/regtree.c
   branches/SAMBA_4_0/source/libads/config.m4
   branches/SAMBA_4_0/source/libcli/config.m4
   branches/SAMBA_4_0/source/libcli/libsmb.m4
   branches/SAMBA_4_0/source/librpc/config.m4
   branches/SAMBA_4_0/source/ntvfs/config.m4
   branches/SAMBA_4_0/source/passdb/config.m4
   branches/SAMBA_4_0/source/rpc_server/config.m4
   branches/SAMBA_4_0/source/smb_server/config.m4
   branches/SAMBA_4_0/source/smbd/process_model.m4
   branches/SAMBA_4_0/source/torture/config.m4
   branches/SAMBA_4_0/source/utils/ndrdump.c
   branches/SAMBA_4_0/source/utils/rewrite.c
Log:
merge over the new build system from my tmp branch
to the main SAMBA_4_0 tree.

NOTE: that it's not completely ready, but it's functional:-)

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=665nolog=1


svn commit: samba r666 - branches/SAMBA_4_0/source/build/smb_build

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 10:26:22 + (Thu, 13 May 2004)
New Revision: 666

Modified:
   branches/SAMBA_4_0/source/build/smb_build/makefile.pl
Log:
readd 'make etags' and 'make ctags'

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=666nolog=1


svn commit: samba r667 - branches/SAMBA_4_0/source/build/smb_build

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 10:35:08 + (Thu, 13 May 2004)
New Revision: 667

Modified:
   branches/SAMBA_4_0/source/build/smb_build/main.pl
Log:
remove Data::Dumper dependecy

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=667nolog=1


svn commit: samba r668 - branches/SAMBA_4_0/source/lib/registry

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 10:38:11 + (Thu, 13 May 2004)
New Revision: 668

Modified:
   branches/SAMBA_4_0/source/lib/registry/config.m4
Log:
fix the build

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=668nolog=1


svn commit: samba r669 - branches/SAMBA_4_0/source

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 10:40:01 + (Thu, 13 May 2004)
New Revision: 669

Modified:
   branches/SAMBA_4_0/source/configure.in
Log:
display the version on top of configure

this will help in the build farm

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=669nolog=1


svn commit: samba r670 - branches/SAMBA_4_0/source/build/smb_build

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 10:42:53 + (Thu, 13 May 2004)
New Revision: 670

Modified:
   branches/SAMBA_4_0/source/build/smb_build/makefile.pl
Log:
add make everything

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=670nolog=1


svn commit: samba r671 - branches/SAMBA_4_0/source/build/smb_build

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 10:45:55 + (Thu, 13 May 2004)
New Revision: 671

Modified:
   branches/SAMBA_4_0/source/build/smb_build/makefile.pl
Log:
fix make ./include/proto.h

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=671nolog=1


svn commit: samba r672 - branches/SAMBA_4_0/source/lib/registry

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 10:53:52 + (Thu, 13 May 2004)
New Revision: 672

Modified:
   branches/SAMBA_4_0/source/lib/registry/config.m4
Log:
disable gregedit for now

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=672nolog=1


Re: svn commit: samba r672 - branches/SAMBA_4_0/source/lib/registry

2004-05-13 Thread Jelmer Vernooij
On Thu, May 13, 2004 at 10:53:52AM +, [EMAIL PROTECTED] wrote about 'svn commit: 
samba r672 - branches/SAMBA_4_0/source/lib/registry':
 Author: metze
 Date: 2004-05-13 10:53:52 + (Thu, 13 May 2004)
 New Revision: 672

 Modified:
branches/SAMBA_4_0/source/lib/registry/config.m4
 Log:
 disable gregedit for now

Why?

Jelmer
-- 
Jelmer Vernooij [EMAIL PROTECTED] - http://jelmer.vernstok.nl/
Latest patch: ctrlproxy-1317.diff


svn commit: samba r673 - branches/SAMBA_4_0/source/lib/registry

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 11:32:39 + (Thu, 13 May 2004)
New Revision: 673

Modified:
   branches/SAMBA_4_0/source/lib/registry/config.m4
Log:
disable registry_gconf for now

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=673nolog=1


svn commit: samba r675 - branches/SAMBA_3_0/source

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 12:00:15 + (Thu, 13 May 2004)
New Revision: 675

Modified:
   branches/SAMBA_3_0/source/configure.in
Log:
merge from SAMBA_4_0:
display the version on top of configure

this will help in the build farm

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=675nolog=1


svn commit: samba r677 - branches/SAMBA_4_0/source/build/smb_build

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 12:16:35 + (Thu, 13 May 2004)
New Revision: 677

Modified:
   branches/SAMBA_4_0/source/build/smb_build/makefile.pl
Log:
fix: '$' - '\$'

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=677nolog=1


svn commit: samba r678 - branches/SAMBA_4_0/source/build/smb_build

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 12:40:52 + (Thu, 13 May 2004)
New Revision: 678

Modified:
   branches/SAMBA_4_0/source/build/smb_build/core.m4
Log:
use ./config.smb_build.pl instead of config.smb_build.pl

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=678nolog=1


svn commit: samba r679 - branches/SAMBA_4_0/source/build/smb_build

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 12:42:28 + (Thu, 13 May 2004)
New Revision: 679

Modified:
   branches/SAMBA_4_0/source/build/smb_build/makefile.pl
Log:
fix make install

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=679nolog=1


svn commit: samba r680 - branches/SAMBA_4_0/source/build/m4

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 13:16:55 + (Thu, 13 May 2004)
New Revision: 680

Modified:
   branches/SAMBA_4_0/source/build/m4/rewrite.m4
Log:
fail directly when we notice that perl is not there
(we fail anyway)

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=680nolog=1


svn commit: samba r681 - branches/SAMBA_4_0/source/lib/registry/reg_backend_rpc

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 13:36:14 + (Thu, 13 May 2004)
New Revision: 681

Modified:
   branches/SAMBA_4_0/source/lib/registry/reg_backend_rpc/reg_backend_rpc.c
Log:
don't init r.out.result.v

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=681nolog=1


svn commit: samba r698 - in branches/SAMBA_3_0/source: nsswitch smbd

2004-05-13 Thread jra
Author: jra
Date: 2004-05-13 18:37:54 + (Thu, 13 May 2004)
New Revision: 698

Modified:
   branches/SAMBA_3_0/source/nsswitch/wb_common.c
   branches/SAMBA_3_0/source/smbd/trans2.c
Log:
Now wb pipe is non-blocking remember to read in non-blocking mode...
Jeremy.


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_3_0/sourcerev=698nolog=1


Re: svn commit: samba r685 - in branches/SAMBA_4_0/source: . auth include lib nsswitch passdb smb_server smbd

2004-05-13 Thread Stefan (metze) Metzmacher
[EMAIL PROTECTED] schrieb:

Author: abartlet
Date: 2004-05-13 15:34:56 + (Thu, 13 May 2004)
New Revision: 685
Removed:
   branches/SAMBA_4_0/source/passdb/config.m4
   branches/SAMBA_4_0/source/passdb/machine_sid.c
   branches/SAMBA_4_0/source/passdb/passdb.c
   branches/SAMBA_4_0/source/passdb/passdb.h
   branches/SAMBA_4_0/source/passdb/pdb_compat.c
   branches/SAMBA_4_0/source/passdb/pdb_get_set.c
   branches/SAMBA_4_0/source/passdb/pdb_guest.c
   branches/SAMBA_4_0/source/passdb/pdb_interface.c
   branches/SAMBA_4_0/source/passdb/pdb_ldap.c
   branches/SAMBA_4_0/source/passdb/pdb_smbpasswd.c
   branches/SAMBA_4_0/source/passdb/pdb_tdb.c
   branches/SAMBA_4_0/source/passdb/pdb_unix.c
   branches/SAMBA_4_0/source/passdb/util_sam_sid.c
Modified:
   branches/SAMBA_4_0/source/auth/auth.h
   branches/SAMBA_4_0/source/auth/auth_sam.c
   branches/SAMBA_4_0/source/auth/auth_util.c
   branches/SAMBA_4_0/source/auth/config.m4
   branches/SAMBA_4_0/source/configure.in
   branches/SAMBA_4_0/source/include/includes.h
   branches/SAMBA_4_0/source/include/smb.h
   branches/SAMBA_4_0/source/lib/username.c
   branches/SAMBA_4_0/source/lib/util_getent.c
   branches/SAMBA_4_0/source/lib/util_sid.c
   branches/SAMBA_4_0/source/nsswitch/wb_client.c
   branches/SAMBA_4_0/source/smb_server/password.c
   branches/SAMBA_4_0/source/smbd/process.c
Log:
The SAM is dead!  Long live the new SAM!  ;-)
Yes! :-)

This commit kills passdb, which was only hosting the auth subsystem.

With the work tridge has done on Samba4's SAM backend, this can (and
now is) all hosted on ldb.  The auth_sam.c file now references this
backend.
You will need to assign your users passwords in ldb - adding a new line:

unicodePwd: myPass

to a record, using ldbedit, should be sufficient.  Naturally, this
assumes you have had your personal SAMR provisioning tutorial from
tridge.  Everybody else can still use the anonymous logins.
Sounds great!
Many thanks:-)
--
metze
Stefan Metzmacher metze at samba.org www.samba.org


signature.asc
Description: OpenPGP digital signature


svn commit: samba r700 - in branches/SAMBA_4_0/source: build/smb_build lib/registry

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 20:12:26 + (Thu, 13 May 2004)
New Revision: 700

Modified:
   branches/SAMBA_4_0/source/build/smb_build/public.m4
   branches/SAMBA_4_0/source/lib/registry/config.m4
Log:
fix SMB_LIBRARY() to disable the lib by default

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=700nolog=1


svn commit: samba r702 - in branches/SAMBA_4_0/source: libads libcli

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 20:14:05 + (Thu, 13 May 2004)
New Revision: 702

Modified:
   branches/SAMBA_4_0/source/libads/config.m4
   branches/SAMBA_4_0/source/libcli/config.m4
Log:
fix krb5 linking

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=702nolog=1


svn commit: samba r703 - in branches/SAMBA_4_0/source/build: m4 smb_build

2004-05-13 Thread metze
Author: metze
Date: 2004-05-13 20:26:23 + (Thu, 13 May 2004)
New Revision: 703

Modified:
   branches/SAMBA_4_0/source/build/m4/rewrite.m4
   branches/SAMBA_4_0/source/build/smb_build/core.m4
Log:
only use $PERL -W when --enable-debug

metz


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/source/buildrev=703nolog=1


svn commit: samba r710 - in branches/SAMBA_3_0/source: client smbd

2004-05-13 Thread jra
Author: jra
Date: 2004-05-13 23:34:00 + (Thu, 13 May 2004)
New Revision: 710

Modified:
   branches/SAMBA_3_0/source/client/client.c
   branches/SAMBA_3_0/source/smbd/trans2.c
Log:
Fix smbclient symlink command when widelinks = no.
Jeremy.


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_3_0/sourcerev=710nolog=1


svn commit: samba r711 - branches/SAMBA_4_0/source/lib/ldb/ldb_tdb

2004-05-13 Thread tridge
Author: tridge
Date: 2004-05-14 00:22:26 + (Fri, 14 May 2004)
New Revision: 711

Modified:
   branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_search.c
Log:
don't hide attributes inside the special ldb_tdb records (so the fact
that a attribute is hidden is not itself hidden!)



WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=711nolog=1


svn commit: samba r712 - branches/SAMBA_4_0/source/librpc/idl

2004-05-13 Thread tridge
Author: tridge
Date: 2004-05-14 00:23:07 + (Fri, 14 May 2004)
New Revision: 712

Modified:
   branches/SAMBA_4_0/source/librpc/idl/srvsvc.idl
Log:
fixed a bug in the NetShareGetInfo idl, and added another info level



WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=712nolog=1


svn commit: samba r713 - branches/SAMBA_4_0/source/torture/rpc

2004-05-13 Thread tridge
Author: tridge
Date: 2004-05-14 00:24:00 + (Fri, 14 May 2004)
New Revision: 713

Modified:
   branches/SAMBA_4_0/source/torture/rpc/srvsvc.c
Log:
added a NetShareGetInfo torture test (thanks to abartlet for pointing
out that this was missing)



WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=713nolog=1


svn commit: samba r714 - branches/SAMBA_4_0/source/lib/ldb/ldb_tdb

2004-05-13 Thread tridge
Author: tridge
Date: 2004-05-14 00:26:37 + (Fri, 14 May 2004)
New Revision: 714

Modified:
   branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_pack.c
   branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.h
Log:
make sure ldb formats are portable between big/little endian machines



WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=714nolog=1


svn commit: samba r715 - in branches/SAMBA_4_0/source: auth lib

2004-05-13 Thread abartlet
Author: abartlet
Date: 2004-05-14 01:15:16 + (Fri, 14 May 2004)
New Revision: 715

Modified:
   branches/SAMBA_4_0/source/auth/auth_sam.c
   branches/SAMBA_4_0/source/lib/util_sid.c
Log:
Finish the ldb conversion for the auth_sam module.

Andrew Bartlett


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=715nolog=1


  1   2   >