Re: [Samba] Login Script Doesn't

2003-10-03 Thread Bob Crandell
Frederico,

If you open a DOS window and run the login.bat file, are there any errors or some
kind of feedback that would help determine what is going on?



Frederico Madeira ([EMAIL PROTECTED]) wrote:
>
>Bob,
>
>My problem like your.
>
>I have a login script  called by login.bat. In win 2k and xp, he works
>fine (map drivers and sync time) but in win 9x machine he don't work. He
>start the dos windows show running the commands, tell me that map ans
>syc was ok but noting is shared and time isn't sync.
>
>I don't know what occour.
>
>Frederico Madeira
>Coordenador de Suporte
>N. Landim Comércio Ltda
>PABX: 81. 3497.3029
>e-mail: [EMAIL PROTECTED]
>
>Em Dom, 2003-03-16 Ã s 18:26, Bob Crandell escreveu:
>
>> Hi,
>>
>> I've been trying to get the logon script to with in XP.  This same logon script
>> works in Win98.  I finally discovered that it will work if I change
>> logon drive =
>> to
>> logon drive = z:
>> Now I'm really confused.  The Netlogon is path is /home/samba and shared as
>> \\server\netlogon.  Z: is mapped as \\server\home\.  This means the path to the
>> logon script is Z:\samba\logon.bat Not Z:\logon.bat.  Why? And is this correct?
>>
>> XP will not run \\server\netlogon\logon.bat from the command prompt.
>>
>> Samba is 2.2.7a
>>
>> Thanks
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>
>

--
Bob Crandell
Assured Computing
When you need to be sure.
[EMAIL PROTECTED]
www.assuredcomp.com
Voice - 541-689-9159
FAX - 541-463-1627
Eugene, Oregon


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


RE: [Samba] Failure to Change Machine Account Password

2003-10-03 Thread Sean Elble
Mark,

Thanks for the reply; it would make more sense for it to be a Microsoft
problem, one of those "oops, I can't believe we broke part of the Samba
connectivity with another service pack with our new features!". Good old
Microsoft, and that's said with as much sarcasm as could possible be
implied. :-)

-Sean Elble

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Mark
Sent: Friday, October 03, 2003 9:33 PM
To: [EMAIL PROTECTED]
Subject: RE: [Samba] Failure to Change Machine Account Password




On Fri, Oct 03, 2003 at 09:07:55PM -0400, Sean Elble wrote:
> Hi all,
>
> I've searched on this on marc.theaimsgroup.com, and was unable to find

> anything conclusive. I am getting the following error message on the
> Windows 2000 workstations here (the only kind I have, hehe), and am
> wondering why.
>
> Changing machine account password for account DHCP-12$ failed with the

> following error: The stub received bad data.
>
> One, why is Windows 2000 trying to change the machine account
> password, and why is it failing? I have setup Samba so that users can
> change their passwords from Windows (and yes, it works, syncing
> passwords with both UNIX and the smbpasswd databases). If anyone has
> any ideas, I'd love to hear them. BTW, Samba 3.0 on Red Hat 7.3,
> Windows 2000 SP4 client.

Can you send in a debug level 10 log and ethereal capture trace of this
happening please ?

Jeremy.
--

Just my 2 cents worth...I do believe this is a Win2000 SP4 issue and may
not be specific to samba 3.0.

I seen this same error message a few weeks ago on Google when I was
researching another topic.
Here is an url (tinyurl) to it. http://tinyurl.com/pnyl

Regards,
Mark
Samba Setup Guide
www.samba.netfirms.com

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

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


RE: [Samba] Failure to Change Machine Account Password

2003-10-03 Thread Mark


On Fri, Oct 03, 2003 at 09:07:55PM -0400, Sean Elble wrote:
> Hi all,
> 
> I've searched on this on marc.theaimsgroup.com, and was unable to find

> anything conclusive. I am getting the following error message on the 
> Windows 2000 workstations here (the only kind I have, hehe), and am 
> wondering why.
> 
> Changing machine account password for account DHCP-12$ failed with the

> following error: The stub received bad data.
> 
> One, why is Windows 2000 trying to change the machine account 
> password, and why is it failing? I have setup Samba so that users can 
> change their passwords from Windows (and yes, it works, syncing 
> passwords with both UNIX and the smbpasswd databases). If anyone has 
> any ideas, I'd love to hear them. BTW, Samba 3.0 on Red Hat 7.3, 
> Windows 2000 SP4 client.

Can you send in a debug level 10 log and ethereal capture trace of this
happening please ?

Jeremy.
-- 

Just my 2 cents worth...I do believe this is a Win2000 SP4 issue and may
not be specific to samba 3.0.

I seen this same error message a few weeks ago on Google when I was
researching another topic. 
Here is an url (tinyurl) to it. http://tinyurl.com/pnyl

Regards,
Mark
Samba Setup Guide
www.samba.netfirms.com

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


RE: [Samba] Failure to Change Machine Account Password

2003-10-03 Thread Sean Elble
I will try, I'll have to configure the server for a level 10 log, and wait
for the computer to try to change its machine account password. Any idea why
it would be doing this (the Windows machine, I mean)?

Oh, and a stupid question for you . . . any idea where I can get the Active
Directory Users and Computers MMC for Win2k? I know you can use it with
Samba to a limited degree, I just can't find it for the life of me, hehe.
:-)

-Sean Elble

-Original Message-
From: Jeremy Allison [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 9:15 PM
To: Sean Elble
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Failure to Change Machine Account Password


On Fri, Oct 03, 2003 at 09:07:55PM -0400, Sean Elble wrote:
> Hi all,
>
> I've searched on this on marc.theaimsgroup.com, and was unable to find
> anything conclusive. I am getting the following error message on the
Windows
> 2000 workstations here (the only kind I have, hehe), and am wondering why.
>
> Changing machine account password for account DHCP-12$ failed with the
> following error:
> The stub received bad data.
>
> One, why is Windows 2000 trying to change the machine account password,
and
> why is it failing? I have setup Samba so that users can change their
> passwords from Windows (and yes, it works, syncing passwords with both
UNIX
> and the smbpasswd databases). If anyone has any ideas, I'd love to hear
> them. BTW, Samba 3.0 on Red Hat 7.3, Windows 2000 SP4 client.

Can you send in a debug level 10 log and ethereal capture trace of
this happening please ?

Jeremy.

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


Re: [Samba] Failure to Change Machine Account Password

2003-10-03 Thread Jeremy Allison
On Fri, Oct 03, 2003 at 09:07:55PM -0400, Sean Elble wrote:
> Hi all,
> 
> I've searched on this on marc.theaimsgroup.com, and was unable to find
> anything conclusive. I am getting the following error message on the Windows
> 2000 workstations here (the only kind I have, hehe), and am wondering why.
> 
> Changing machine account password for account DHCP-12$ failed with the
> following error:
> The stub received bad data.
> 
> One, why is Windows 2000 trying to change the machine account password, and
> why is it failing? I have setup Samba so that users can change their
> passwords from Windows (and yes, it works, syncing passwords with both UNIX
> and the smbpasswd databases). If anyone has any ideas, I'd love to hear
> them. BTW, Samba 3.0 on Red Hat 7.3, Windows 2000 SP4 client.

Can you send in a debug level 10 log and ethereal capture trace of
this happening please ?

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


[Samba] Failure to Change Machine Account Password

2003-10-03 Thread Sean Elble
Hi all,

I've searched on this on marc.theaimsgroup.com, and was unable to find
anything conclusive. I am getting the following error message on the Windows
2000 workstations here (the only kind I have, hehe), and am wondering why.

Changing machine account password for account DHCP-12$ failed with the
following error:
The stub received bad data.

One, why is Windows 2000 trying to change the machine account password, and
why is it failing? I have setup Samba so that users can change their
passwords from Windows (and yes, it works, syncing passwords with both UNIX
and the smbpasswd databases). If anyone has any ideas, I'd love to hear
them. BTW, Samba 3.0 on Red Hat 7.3, Windows 2000 SP4 client.

-Sean Elble



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


[Samba] smbumount will not let me unmount

2003-10-03 Thread Nir Soffer
The smbumount manual says:
	"With  this  program, normal users can unmount smb-filesystems, provided
   that it is suid root. smbumount has been written to give  normal 
 Linux
   users  more  control  over  their resources."

I installed it as setuid root:
-rwsr-xr-x1 root root   618675 Apr  7 23:11 /usr/bin/smbumount
Then I use smbmount to mount a share:
smbmount //server/share ~/mntpoint rw
And it works fine. But when I want to unmount it as a user:
smbumount ~/mntpoint
I get this error:
You are not allowed to umount /home/nir/mntpoint
So what is the (mount) point in this? what am I doing wrong?

btw - I also installed smbmnt as setuid root - otherwise it will not let 
me mount at all as a regular user.

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


[Samba] Re: Samba entries in the LDAP tree, help!

2003-10-03 Thread Alex
I'm curious, the samba.schema is for Samba 2.0.  Is there a new Schema 
for Samba 3.0 that includes ACLs?

Ed Asbury wrote:

I can NOT find any information on how to get the following into the LDAP tree (and where they should be located) from the documentation. I am definitely an LDAP beginner and assembling the tree from reading schema's is still over my head. I am able to connect to samba using only LDAP authentication and can add users, but that is all I can successfully do, "net groupmap add", "net group" returns nothing, "pdbedit -L" etc. fail miserably because I don't have everything I need in the tree (which I can see from setting the debugging to 2)it isn't finding these entries because I don't know where to put them and how this thing structurally should be laid out. Specifically where do the following fit into the LDAP tree; sambaGroupMapping, sambaUnixIdPool, sambaIdmapEntry (automatically created?), and sambaSidEntry.  
I used the IdealX smbldap-populate.pl tool to get the basic structure there and have at least gotten the User authentication portion working.  But if someone could give me a clue of where to look (if I somehow missed it in the documents, but I don't see how because I read it from cover to cover) and/or how to get started on the rest of this, I would be eternally grateful.  
So far the tree looks approximately as so;

dc=vogeleusa, dc=com
|_cn=root 
|_ou=Computers (as created by smbldap-populate.pl, no entries here yet)
|_ou=Groups (as created by smbldap-populate.pl)
|_cn=Domain Admins
  ...
|_ou=Users (as created by smbldap-populate.pl)
|_uid=Administrator
|_uid=root
|_uid=testuser
  
|_sambaDomainName(sambaDomain)=VOGELEUSA (created automatically by pdbedit or a net command, I have forgotten which)

I would greatly appreciate any help as I have been working on TRYING to get LDAP and Samba to work together for over a week now and have had only minor luck in getting the two to cooperate.  Samba 3 does work fine with smbpasswd, I would just like to use LDAP exclusively for single sign.

Ed Asbury
Systems Admin/Programmer
Vogele America, Inc.


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


[Samba] Help: How to save a domain policy on Samba 3.0.0

2003-10-03 Thread Larry Liu
I use 'User Manger for Domain' on a NT4 member server to access the 
SAMof the Samba 3.0.0 PDC. It retrieves all the user and group accounts 
perfectly. Then I click 'Policies' > 'User Right', allow the group 
'Account Operator' to 'add workstations to domain', it allows me to 
click through 'OK', but it doesn't save the policy.

I can use 'User Manger for Domain' to disable/enable user accounts,change their passwords. However don't undstand why the domain policy won't get saved.

Anyone knows the workaround?  Maybe something to be done on Unix command line to apply domain policies?

Thanks.



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


RE: [Samba] 2 (Suse), one NT 4 server machine and 5 user databases???

2003-10-03 Thread Scott Simmons
> I currently have a setup of 1 NT 4.0 PDC server and to SUSE boxes
> sharing via a samba share.  I seem to have to make 5 different
> usename/password databases.  1 for NT,  2 for each SuSe box (One Linux
> and one Samba).   Is there a way to have 1 or maybe two databases to
> update?  I've read about LDAP on other connections but I'm a little
> confused as to what is the best approach.  

>Yes, LDAP is the "best" approach.

>See Section 5 (current pg. 46) of
>http://us3.samba.org/samba/docs/Samba-HOWTO-Collection.pdf

>- and -

>http://hr.uoregon.edu/davidrl/samba.html#SAMBA-PDC
>http://bh.udev.org/filez/doc/ldap/samba-ldap-howto.pdf
>http://www.mandrakesecure.net/en/docs/samba-pdc.php
>ftp://ftp.kalamazoolinux.org/pub/pdf/ldapv3.pdf

Thanks for the info,  I'm a little confused on the PDC issues?  Will I
have a Windows BDC and Linux/samba PDC or a Windows PDC and a
Linux/samba PDC?  The article seem to through these terms around a
little to much without addressing what machine they are running on.  

Is there any gui from end to configure LDAP and Samba together.  Webmin
doesn't seem to have OpenLDAP support.  Sorry I seem stuck in a windows
state of mind.  Please help me out of this nightmare. :)

-Scott

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


Re: [Samba] log on to domain error after joining

2003-10-03 Thread [EMAIL PROTECTED]
I have done those functions but still get the same problem. Does the w2k 
machine require a certain service pack? Here are some log file entries:
**
 waiting for a connection
[2003/10/03 17:33:42, 2] smbd/server.c:exit_server(558)
 Closing connections
[2003/10/03 17:33:47, 2] lib/interface.c:add_interface(79)
 added interface ip=10.0.1.106 bcast=10.0.1.255 nmask=255.255.255.0
[2003/10/03 17:33:47, 2] lib/tallocmsg.c:register_msg_pool_usage(57)
 Registered MSG_REQ_POOL_USAGE
[2003/10/03 17:33:47, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
 Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2003/10/03 17:33:47, 2] smbd/server.c:open_sockets_smbd(318)
 waiting for a connection
[2003/10/03 17:34:06, 2] smbd/reply.c:reply_special(93)
 netbios connect: name1=ONE name2=USVAP010
[2003/10/03 17:34:06, 2] smbd/reply.c:reply_special(100)
 netbios connect: local=one remote=usvap010, name type = 0
[2003/10/03 17:34:06, 2] smbd/sesssetup.c:setup_new_vc_session(535)
 setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
[2003/10/03 17:34:06, 2] smbd/sesssetup.c:setup_new_vc_session(535)
 setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
[2003/10/03 17:34:06, 2] auth/auth.c:check_ntlm_password(302)
 check_ntlm_password:  authentication for user [root] -> [root] -> 
[root] succeeded
[2003/10/03 17:34:07, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2540)
 Returning domain sid for domain FUNK.COM -> 
S-1-5-21-2394411889-1036987506-3959984788
[2003/10/03 17:35:04, 1] auth/auth_util.c:make_server_info_sam(818)
 User smbguest in passdb, but getpwnam() fails!
[2003/10/03 17:35:04, 2] auth/auth.c:check_ntlm_password(309)
 check_ntlm_password:  Authentication for user [] -> [] FAILED with 
error NT_STATUS_NO_SUCH_USER
[2003/10/03 17:35:04, 1] auth/auth_util.c:make_server_info_sam(818)
 User smbguest in passdb, but getpwnam() fails!
[2003/10/03 17:35:04, 2] auth/auth.c:check_ntlm_password(309)
 check_ntlm_password:  Authentication for user [] -> [] FAILED with 
error NT_STATUS_NO_SUCH_USER
[2003/10/03 17:35:07, 1] auth/auth_util.c:make_server_info_sam(818)
 User smbguest in passdb, but getpwnam() fails!
[2003/10/03 17:35:07, 2] auth/auth.c:check_ntlm_password(309)
 check_ntlm_password:  Authentication for user [] -> [] FAILED with 
error NT_STATUS_NO_SUCH_USER
[2003/10/03 17:36:09, 2] smbd/server.c:exit_server(558)
 Closing connections


Thans

Frederico Madeira wrote:

Jon,

For win2k and Winxp machines you must create a machine account. You 
must put the machine name followd by $ as username.

adduser -d /dev/null -s /bin/false machine$
passwd -l machine
smbpasswd -m machine
Frederico Madeira
Coordenador de Suporte
N. Landim Comércio Ltda
PABX: 81. 3497.3029
e-mail: [EMAIL PROTECTED]


Em Sex, 2003-10-03 às 15:31, [EMAIL PROTECTED] escreveu:

/I am having trouble joining a w2k box to a samba machine (latest 
release).  I am able to put in the root username/passwd when joining. 
Then I get the "welcome to the funk.com domain" message...you must 
restart

However, after restart, I try logging into the domain but get this error 
message "this computer's account is not in the primary domain server..."

I have added the computer into the computer passwd file and the samba 
passwd file.
I have added root  into samba's passwd file.

Thanks in advace

Here is the conf file:

[global]
   domain logons = yes
   encrypt passwords = yes
   guest account = smbguest
   log level = 2
   log file = /var/log/samba.log
   logon drive = p:
   logon home = \\example-server\%U
   netbios name = example-server
   os level = 99
   preferred master = yes
   security = user
   socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   wins support = yes
   workgroup = example-wrkgrp
[homes]
   read only = no
   create mode = 0600
   directory mode = 0700
[netlogon]
   path = /home/netlogon/
 



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


Re: [Samba] log on to domain error after joining

2003-10-03 Thread Frederico Madeira
Jon,

For win2k and Winxp machines you must create a machine account. You must
put the machine name followd by $ as username.

adduser -d /dev/null -s /bin/false machine$
passwd -l machine
smbpasswd -m machine

Frederico Madeira
Coordenador de Suporte
N. Landim Comércio Ltda
PABX: 81. 3497.3029
e-mail: [EMAIL PROTECTED]


Em Sex, 2003-10-03 às 15:31, [EMAIL PROTECTED] escreveu:

> I am having trouble joining a w2k box to a samba machine (latest 
> release).  I am able to put in the root username/passwd when joining. 
> Then I get the "welcome to the funk.com domain" message...you must 
> restart
> 
> However, after restart, I try logging into the domain but get this error 
> message "this computer's account is not in the primary domain server..."
> 
> I have added the computer into the computer passwd file and the samba 
> passwd file.
> I have added root  into samba's passwd file.
> 
> Thanks in advace
> 
> Here is the conf file:
> 
> [global]
> domain logons = yes
> encrypt passwords = yes
> guest account = smbguest
> log level = 2
> log file = /var/log/samba.log
> logon drive = p:
> logon home = \\example-server\%U
> netbios name = example-server
> os level = 99
> preferred master = yes
> security = user
> socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> wins support = yes
> workgroup = example-wrkgrp
> 
> [homes]
> read only = no
> create mode = 0600
> directory mode = 0700
> 
> [netlogon]
> path = /home/netlogon


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


[Samba] Samba entries in the LDAP tree, help!

2003-10-03 Thread Ed Asbury
I can NOT find any information on how to get the following into the LDAP tree (and 
where they should be located) from the documentation. I am definitely an LDAP beginner 
and assembling the tree from reading schema's is still over my head. I am able to 
connect to samba using only LDAP authentication and can add users, but that is all I 
can successfully do, "net groupmap add", "net group" returns nothing, "pdbedit -L" 
etc. fail miserably because I don't have everything I need in the tree (which I can 
see from setting the debugging to 2)it isn't finding these entries because I don't 
know where to put them and how this thing structurally should be laid out. 
Specifically where do the following fit into the LDAP tree; sambaGroupMapping, 
sambaUnixIdPool, sambaIdmapEntry (automatically created?), and sambaSidEntry.  
I used the IdealX smbldap-populate.pl tool to get the basic structure there and have 
at least gotten the User authentication portion working.  But if someone could give me 
a clue of where to look (if I somehow missed it in the documents, but I don't see how 
because I read it from cover to cover) and/or how to get started on the rest of this, 
I would be eternally grateful.  
So far the tree looks approximately as so;

dc=vogeleusa, dc=com
|_cn=root 
|_ou=Computers (as created by smbldap-populate.pl, no entries here yet)
|_ou=Groups (as created by smbldap-populate.pl)
|_cn=Domain Admins
  ...
|_ou=Users (as created by smbldap-populate.pl)
|_uid=Administrator
|_uid=root
|_uid=testuser
  
|_sambaDomainName(sambaDomain)=VOGELEUSA (created automatically by pdbedit or a net 
command, I have forgotten which)

I would greatly appreciate any help as I have been working on TRYING to get LDAP and 
Samba to work together for over a week now and have had only minor luck in getting the 
two to cooperate.  Samba 3 does work fine with smbpasswd, I would just like to use 
LDAP exclusively for single sign.

Ed Asbury
Systems Admin/Programmer
Vogele America, Inc.

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


[Samba] Forwarding ports on SG20 with Redhat Linux

2003-10-03 Thread Steve Smith
I have a Toshiba Magnia SG20 network appliance server. It runs Redhat Linux 7.3 and 
Samba and has a built-in router. See 
http://www.linuxdevices.com/articles/AT7915816249.html . The web interface does not 
provide for forwarding ports. Does anyone know how I can forward ports on this device? 
 Btw- I can Telnet and SU to root.

Thank you,
Steve Smith

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


[Samba] Receiving error: NT_STATUS_ACCESS_DENIED

2003-10-03 Thread Jonathan Villa
I'm set this up before, but now I'm having some problems setting Samba
up in W2k domain.

System: Red Hat Linux 8

In smb.conf I have the following

[global]
netbios name = THEMACHINESNAME
workgroup = OURDOMAINNAME
password server = OURPASSWORDSERVER
security = domain

I shutdown smb via 'service smb stop'... then I 

#smbpasswd -j OURDOMAINNAME -r OURPASSWORDSERVER

but I get 

cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
cli_nt_setup_creds: auth2 challenge failed
modify_trust_password: unable to setup the PDC credentials to machine
OURPASSWORDSERVER. Error was : NT_STATUS_ACCESS_DENIED.
2003/10/03 14:43:19 : change_trust_account_password: Failed to change
password for domain OURDOMAINNAME.
Unable to join domain OURDOMAINNAME.

I'm pretty sure I was able to get to work before


Oh yeah, I also added the netbios name of the computer to the network. 
I can see it and open the machine from Network Neighborhood, but before
I was able to set up where you would login into your own dir.


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

2003-10-03 Thread K. Hawkes
Hey all,

I installed Samba 3.0 RPM onto our RH 9.0 system (a test system), it took me
a long time to configure this one up as I wanted to learn how it does what
it does and why, so when we deploy it as our main PDC (once S3 becomes
final), we can be aware of any issues or bugs ahead of time.

Anyhow, I have come across a few problems with it, whether these are known
issues already or not I am not sure, but I'm letting you on the list know
about them in any event.

1 - I cannot seem to copy ANY files of ANY size from ANY Samba share to any
other location, be that, share to share, share to hard disk etc... it says
the network name is no longer available. If I try to copy again, it does
complete the copy the second time around.
I have not looked at oplocks or anything and have left those settings at
their defaults, the permissions on the share are that ANYONE can write to
it, it doesn't discriminate.
This was confirmed on Win2K-SP3, Win2K-Adv. Server and Win2K3 Server. It has
not been tried from any Windows 98/NT machines.

2 - I have configured poledit so that users in the 'Domain Admins' group are
allowed to access command prompt/regedit etc... the group mapping has been
confirmed as correct as the Admin Desktop has a link that just says 'Admin',
staff has just 'Staff' and users have just 'Users'. This problem spawned
several others, which may or may not be related below.
If I login as staff/user, all restrictions appear to be in place that should
be, if I login as an admin (a user who is member of UNIX group 'domadm'
which is mapped to NT group 'Domain Admins' and 'Administrators') it says it
has the admin start menu and desktop, yet it's restricted down. I have
double and triple checked my policies to make sure that nothing got in there
untoward, but it all looks clean.
The purpose of the 'Domain Admins' policy object (same with Staff and Domain
Users) is so we do not need seperate policy objects and that ALL admins have
the same policies set. (This is primarily to test that group mappings and
such, work how we'd like them to)

3 - Sometimes, when you login, it complains about not being able to create
directory '\\server\username.pds' on the server, now I've done some reading
on this and did fixes that seem to work. But every now and again it seems to
sneak back in, particularly with users who do NOT have their own policy
object and thus, must use a group-mapped policy (such as 'Staff' etc...).

4 - There appears to be a problem when you try to login as root or ANYONE
who is a member of the 'root' group, it says 'a device attached to the
system is not functioning'. I'm not sure whether this is by design or what,
but it's not documented. The NT Admin user 'ntadmin' who is NOT a member of
the 'root' group can login, yet users like 'administrator' who are in 'root'
group (among others) cannot login and get this message.

I regret I can't give you copies of my smb.conf etc... as these are at work
and I'm currently at home. But if this helps, I'm using the 'smbpasswd'
backend, using the Samba 3.0 RPM downloaded from the UK mirrors' service for
RedHat 9.0.

I apologise if this has already been brought up before and I apologise that
I can't give you much more information than is outlined above. If anyone has
any ideas or suggestions, we'd be only too grateful to try anything and get
back to you. (Anything you'd like tried etc... will have to wait until
Monday now I'm afraid)

Apart from my problems though, I'd like to say I'm impressed with the way
Samba 3.0 gets around many of our 'poledit' problems and that we can
possibly actually use an LDAP backend to have a single password server for
the entire site and have distributed PDCs who all have access to a master
list of passwords/usernames/security setups etc... (any thoughts on this?)

Thanking you all in advance,

Mr. K. Hawkes

"May darkness be your only ally, for in the shadows you can hide" - Kris
1998-2002
"In darkness, there is strength." - Kris 2002
"What we do in life echoes in eternity." - Anon
"Remember folks, get your victims to scream, they live longer, you laugh
stronger" - Anon
"If people never notice you when you're around, they're not going to miss
you when you're not" - Kris 2003

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use 

iQEVAwUBPHjfdSBHjRAjzresAQHZpgf/ZKpt2Nl+8EmIJwT/rLFtx8yhFFKdqVk6
pQGsgeOGN1ZI5kSOU6FBeWkyVS3YKLV6UHhvHVm1MQuBwPyfnjhQGj+OuI9jQPoc
qTFb0TRQivOQoOeJq1PfIFcl53RrvRUOFAl8+jdKqZo/IFARdllknkCMTZirvp5l
M+7/4a/ua2rx8d46zab1RF5YYNHRjyJRXD913FHty5VXCX31DJ55nAho30lOKOPC
TNT+zzO1UC/J+keWSjxSSV3wPeOiOgtUtI5FiuXJmv1IXzsxjogGCTd0HUJ/04mR
H623bEhl8M8yF/x6seCNKpHDkDQjoL+ddlQGVezdgbg3z7Jd7Y6VKA==
=/whC
-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] 2 (Suse), one NT 4 server machine and 5 user databases???

2003-10-03 Thread Adam Williams
> I currently have a setup of 1 NT 4.0 PDC server and to SUSE boxes
> sharing via a samba share.  I seem to have to make 5 different
> usename/password databases.  1 for NT,  2 for each SuSe box (One Linux
> and one Samba).   Is there a way to have 1 or maybe two databases to
> update?  I've read about LDAP on other connections but I'm a little
> confused as to what is the best approach.  

Yes, LDAP is the "best" approach.

See Section 5 (current pg. 46) of
http://us3.samba.org/samba/docs/Samba-HOWTO-Collection.pdf

- and -

http://hr.uoregon.edu/davidrl/samba.html#SAMBA-PDC
http://bh.udev.org/filez/doc/ldap/samba-ldap-howto.pdf
http://www.mandrakesecure.net/en/docs/samba-pdc.php
ftp://ftp.kalamazoolinux.org/pub/pdf/ldapv3.pdf

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


[Samba] log on to domain error after joining

2003-10-03 Thread [EMAIL PROTECTED]
I am having trouble joining a w2k box to a samba machine (latest 
release).  I am able to put in the root username/passwd when joining. 
Then I get the "welcome to the funk.com domain" message...you must 
restart

However, after restart, I try logging into the domain but get this error 
message "this computer's account is not in the primary domain server..."

I have added the computer into the computer passwd file and the samba 
passwd file.
I have added root  into samba's passwd file.

Thanks in advace

Here is the conf file:

[global]
   domain logons = yes
   encrypt passwords = yes
   guest account = smbguest
   log level = 2
   log file = /var/log/samba.log
   logon drive = p:
   logon home = \\example-server\%U
   netbios name = example-server
   os level = 99
   preferred master = yes
   security = user
   socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   wins support = yes
   workgroup = example-wrkgrp
[homes]
   read only = no
   create mode = 0600
   directory mode = 0700
[netlogon]
   path = /home/netlogon


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


[Samba] Oplock problems

2003-10-03 Thread Charlie Leach
Dear all,
 
I am new to this, I apologise if I am using this list improperly...
 
I'm experiencing an oplock problem since installing windows 2000 service
pack 4. 
The problem was not solved by upgrading from Samba 2.2.3a to 3.0.0 rc4
 
When I open an excel file from the windows environment no oplock is
activated. This causes the problem that when I save the file I get a
standard "do you want to overwrite" dialogue. Once the file's been saved
once, the oplock kicks in "EXCLUSIVE+BATCH" and all is fine. (MS Word
doesn't have the problem).
 
I don't understand how oplock works, and why it's not locking the file
to me as a user when I open it, but only when I save it. 
Can someone let me know where I might learn about oplocks or explain
what the problem is so I might solve it?
 
I've got 500 points (maybe more if it's complicated) running on this on
experts exchange if anyone wants to answer it there:
http://www.experts-exchange.com/Networking/Linux_Networking/Q_20749863.h
tml
 
Do I need to subscribe to the list to get an answer? 
Many thanks in advance,

Charlie Leach 


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


RE: [Samba] 2 (Suse), one NT 4 server machine and 5 user database s???

2003-10-03 Thread Roy, Kirk
Scott Simmons wrote:
> I currently have a setup of 1 NT 4.0 PDC server and to SUSE 
> boxes sharing via a samba share.  I seem to have to make 5 
> different usename/password databases.  1 for NT,  2 for each 
> SuSe box (One Linux
> and one Samba).   Is there a way to have 1 or maybe two databases to
> update?  I've read about LDAP on other connections but I'm a 
> little confused as to what is the best approach.  
>  
> Oh I'm using Webmin to update the systems, if that helps.   
>  
> Thanks in advance for any suggestions.

I'm sure you'll get better answers for more knowledgable folks than me :)
but check out domain level security. The O'Reilly book
(http://us4.samba.org/samba/docs/using_samba/toc.html) has good info on it
in chapter 4 under "Samba as a Domain Member Server".

Kirk

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


[Samba] 2 (Suse), one NT 4 server machine and 5 user databases???

2003-10-03 Thread Scott Simmons
I currently have a setup of 1 NT 4.0 PDC server and to SUSE boxes
sharing via a samba share.  I seem to have to make 5 different
usename/password databases.  1 for NT,  2 for each SuSe box (One Linux
and one Samba).   Is there a way to have 1 or maybe two databases to
update?  I've read about LDAP on other connections but I'm a little
confused as to what is the best approach.  
 
Oh I'm using Webmin to update the systems, if that helps.   
 
Thanks in advance for any suggestions.
 
-Scott
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] WINS client question

2003-10-03 Thread Brett Funderburg
It's unclear to me in the case where I'm only interested in using samba as
a client to mount remote volumes *and* I need to use a WINS server for
name resolution, if I just have to set values for

wins server
name resolve order

in the smb.conf file or if nmbd is also required to be running.

My understanding is that nmbd provides browsing support; but assume I
already know the servers and volume names ahead of time and don't need to
"browse"

My expectation is that any client (such as smbmount) that knows where to
look for the smb.conf file would find the value for wins server and use
that for the lookup. I'm not sure what role if any nmbd would play unless
I wanted to browse.

Thanks in advance for any insight.

brett


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


Re: [Samba] Multiple Group permissions with Samba

2003-10-03 Thread Adam Williams
> > We have 4 directories. Call them directory "a, b, c, and d".
> > We also have 4 groups. Lets call them "admin, user, exec, db."
> > We would want "amdin" group full control over all directories.
> > Next we want group "user" to have read only rights to a & b. No rights to c & d.
> > Group "exec" needs read only rights to c & d but read & write/modify priviledges 
> > to a & b.
> > And the "db" group needs write/modify priviledges to all directories but not full 
> > control. 
> All of this can be accomplished using Samba-3 with POSIX ACL support 
> and both a Linux kernel/filesystem that support POSIX ACLS (right now 
> that appears to be only ext3 and XFS). If you set up Samba that way, 

We use the XFS kernels and libraries from SGI's XFS project on RH9 with
great success (and performance, BTW).
http://oss.sgi.com/projects/xfs/

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


[Samba] Samba 3 reports 'directory does not exist' when trying creating an already existing directory

2003-10-03 Thread Arnold Hendriks
> This would be a bug in the error code we are returning. I'll try 
> to reproduce it. Can you open an issue in https://bugzilla.samba.org/ 
> so it doesn't get lost. Thanks. 
I have reported it as bug #559.  If you need any more help or info, let me 
know. It seems that even when commenting out the offending options, 
wincvs still complains, although mkdir returns the proper error codes.

I had to downgrade to a 2.2.x version to get stuff working again (there 
were also some problems overwriting existing files on a network share, 
haven't looked into that yet), but I can do a bit more testing in the weekend 
if you have any pointer where to look for these issues.

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


Re: [Samba] Multiple Group permissions with Samba

2003-10-03 Thread Kevin P. Fleming
anth jaz wrote:

We have 4 directories. Call them directory "a, b, c, and d".
We also have 4 groups. Lets call them "admin, user, exec, db."
We would want "amdin" group full control over all directories.
Next we want group "user" to have read only rights to a & b. No rights to c & d.
Group "exec" needs read only rights to c & d but read & write/modify priviledges to a & b.
And the "db" group needs write/modify priviledges to all directories but not full control. 

All of this can be accomplished using Samba-3 with POSIX ACL support 
and both a Linux kernel/filesystem that support POSIX ACLS (right now 
that appears to be only ext3 and XFS). If you set up Samba that way, 
the security permissions can be managed from a Windows client just as 
if it was a Windows server and the user really can't tell much difference.

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


[Samba] "deep" tree mounting?

2003-10-03 Thread Anthony Clark
Hi,

I'm attempting to use a version 3 smbmount to mount my windows home
directory within my linux homedir.

The command I'm using is "smbmount //servername/a/aclrk
/home/aclrk/smb-home" which fails with:

tree connect failed: ERRDOS - ERRnosuchshare
SMB Connection failed.

Now I know that the share exists - it's mapped to the 'My Documents'
icon on my winxp desktop by our central IT dept.  So I attempted to use
smbclient:  "smbclient //servername/a/aclrk" which fails with:

tree connect failed: NT_STATUS_BAD_NETWORK_NAME

I can do a "smbclient //servername/a" and it works fine;  I can cd into
my windows homedir and manipulate files to my heart's content.

I guess I want to know if I *should* be able to mount a directory deeper
than the 'first level' tree.  I'm trying to do this as a test for a
linux based desktop and having windows directories appear for our
(future) linux users is very important.

Additional information:  The shares are also available from DFS -
accessible via //domainname/ - is there a way to access a domainname DFS
share with samba 3?  smbclient simply says 'connection to domainname failed'

Thanks very much in advance,

Anthony Clark


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


Re: [Samba] Job Logs errors

2003-10-03 Thread Jeremy Allison
On Fri, Oct 03, 2003 at 11:49:44AM +, [EMAIL PROTECTED] wrote:
> we're actually running CIFS/9000 server A.01.08, based on samba version
> 2.2.3a

Ok, then I suggest you upgrade, either to the latest CIFS/9000
or to the latest Samba. 2.2.3a is a pretty old release.

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


Re: [Samba] Confusion over case sensitivity

2003-10-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andy Arbon wrote:
| Hello,
|
| I have a little confusion over one of Samba's configuration options and
| I'd like a little clarification over what it does and also what it's
| intended to do, if those two are different!
...
|
| Is this what I should be seeing? If it is, can someone give me a better
| illustration of what 'case sensitive = yes' actually does?
Best option is to never set 'case sensitive = yes'





cheers, jerry
~ --
~ Hewlett-Packard- http://www.hp.com
~ SAMBA Team -- http://www.samba.org
~ GnuPG Key   http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~--John Cusack - "Grosse Point Blank" (1997)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/facQIR7qMdg1EfYRAgo2AKDDC/tYQIX5UkUu8jd4wG8zc+XcLgCeLGxU
P4GDXzQeoETAUODuMkALL6c=
=GHTO
-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] Create machine account samba 3 - can I delete machine in /etc/passwd ( I use ldap backend ) ?

2003-10-03 Thread jean-marc pouchoulon
Hi,
The idea is to avoid to have machines accounts in /etc/passwd
and store all on the ldap.  

I must have a machine account in /etc/passwd ( normal way ) to
create the account with pdbedit -a -m machine_account.
In fact once it is created , I can delete the account in the
localmachine and machine can connect without any problems. ( the account
stay only in the ldap ). I 've done it.

What kind of probleme can I have if I delete account machines in
the /etc/passwd ? 
There is no attribute of posix account object store in the ldap
for the machine . Must I create them ?


Jean-Marc 

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


Re: [Samba] Winbind ldap samba 3 BDC getent passwd answer don''t....

2003-10-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
jean-marc pouchoulon wrote:

|   I've just upgraded to the last samba rpm on a redhat
| 9 and I have a new problem on winbind
| wbinfo -u and wbinfo -g this time don't return user or group.
| getent passwd don't return the users but I think this time

| If I use idmap backend = ldapsam:ldap://ip_address
This is a typo in the docs.

|  cli_pipe: return critical error. Error was Call
|  timed out: server did not respond after 1 milliseconds
|  created /tmp/reply_\PIPE\samr_1.5.prs
|  store_cache_seqnum: success [DOMAIN][4294967295 @ 1065074850]
|  refresh_sequence_number: DOMAIN seq number is now -1
I need to know more about your setup.

~ --
~ Hewlett-Packard- http://www.hp.com
~ SAMBA Team -- http://www.samba.org
~ GnuPG Key   http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~--John Cusack - "Grosse Point Blank" (1997)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/faIEIR7qMdg1EfYRArxeAKDvN6J+e30pcVG3rTpee/2NJnBmSQCg7Sy+
C6hr5ntoYg4/5DcwHxSBEoc=
=xVZh
-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] unable to save share permissions changes with 3.0

2003-10-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eamonn Hamilton wrote:
| I've tried using the MMC on a W2K system to edit the permissions. I was
| logged in as a domain admin account, which is mapped to a local user on
| the samba box and is entered in as an admin user on the share.
|
| The system itself is a member server in a resource domain, while the
| accounts I'm trying to add come from a trusted domain, if that makes a
| difference.
I looked at the code and the current behavior is by design.
Hpwever, try this patch.


cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/fZ+UIR7qMdg1EfYRAu/tAKDrMifTl82B0+0FjB+pUwwxndUmFACfbu46
RjHENqnU3ctwfOwGeAiUnsQ=
=fTbv
-END PGP SIGNATURE-
? build-me
? pchdir
? update-samba
? intl/libgettext.h
Index: rpc_server/srv_srvsvc_nt.c
===
RCS file: /data/cvs/samba/source/rpc_server/srv_srvsvc_nt.c,v
retrieving revision 1.70.2.15
diff -u -r1.70.2.15 srv_srvsvc_nt.c
--- rpc_server/srv_srvsvc_nt.c  19 Sep 2003 21:57:43 -  1.70.2.15
+++ rpc_server/srv_srvsvc_nt.c  3 Oct 2003 16:09:28 -
@@ -1457,6 +1457,7 @@
int ret;
char *ptr;
SEC_DESC *psd = NULL;
+   struct passwd *pw = NULL;
 
DEBUG(5,("_srv_net_share_set_info: %d\n", __LINE__));
 
@@ -1479,8 +1480,15 @@
 
get_current_user(&user,p);
 
-   if (user.uid != sec_initial_uid())
+   /* check the uid and then see if the user is in an 
+  member of 'admin users'.  Fail if all these checks fail */
+  
+   pw = sys_getpwuid( user.uid);
+   if (! ( (user.uid == sec_initial_uid())
+   || ( pw && user_in_list(pw->pw_name, lp_admin_users(snum), 
user.groups, user.ngroups))) ) 
+   {
return WERR_ACCESS_DENIED;
+   }
 
switch (q_u->info_level) {
case 1:
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba 3.0 openldap PDC

2003-10-03 Thread Gémes Géza
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
SteelRat írta:

~ Gémes Géza wrote:

|>
|> Are you sure you have ou=Computers,dc=mydomain,dc=ru in your LDAP tree?
|> Verify it!
|> Also verify, if you have an acl in your slapd.conf saying, that 
uid=Administrator,ou=Users,dc=mydomain,dc=ru have write right to 
ou=Computers ,and ou=People, ou=Groups, and so on!
|>
|> Good Luck!
|>
Yes it there.

access to *
by dn="uid=Administrator,ou=Users,dc=mydomain,dc=ru" write
by * read


If you have both of them, what is the log entry, when you try to join a 
workstation? Have you deleted all of your mapped drives : NET USE * /DEL ?

Good Luck!

Geza Gemes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/fZMM/PxuIn+i1pIRAhG8AJ9KKYPeawwXC5QTel4YsNpVszvnZgCgl7ew
N7ZNpsX2U28a6CmMQsRAyCM=
=D6Gz
-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] Unable to enable Add/Remove Printer Drivers (3.0.0)

2003-10-03 Thread Adam Williams
> I used to be able to load printer drivers via "server properties".  Now
> when I go in the printer drivers are listed and I can use the properties
> button but the Add/Remove buttons are greyed out.  This is a Samba
> 3.0.0/2.4.2-SGI_XFS_1.0 box and I've tried both NT4sp6 and Win2003beta
> clients (both exhibit the same behaviour).
> I see the following in the log when I connect to "\\barbel\Printers and
> Faxes"
> [2003/10/02 09:06:04, 0] smbd/connection.c:register_message_flags(220)
>   register_message_flags: tdb_fetch failed
> [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573)
>   ERROR: NULL dest in safe_strcpy
> [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573)
>   ERROR: NULL dest in safe_strcpy
> [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573)
>   ERROR: NULL dest in safe_strcpy
> [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573)
>   ERROR: NULL dest in safe_strcpy
> [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573)
>   ERROR: NULL dest in safe_strcpy
> [2003/10/02 09:06:06, 0] lib/util_str.c:safe_strcpy_fn(573)
>   ERROR: NULL dest in safe_strcpy
> [2003/10/02 09:06:06, 0] lib/util_str.c:safe_strcpy_fn(573)
>   ERROR: NULL dest in safe_strcpy
> ...
>  This message repeats alot
> ...
> [2003/10/02 09:06:52, 0] smbd/service.c:make_connection(847)
>   win2003 (192.168.1.180) couldn't find service
> ::{2227a280-3aea-1069-a2de-08002b30309d}
> [2003/10/02 09:06:56, 1] smbd/service.c:close_cnum(876)
>   win2003 (192.168.1.180) closed connection to service print$

I fixed this.  I rebuilt 3.0.0 and made sure every bit of previous
releases except the TDB files and smb.conf where gone.  Then re-ran
"make install".  Start up samba and was able to connect and manipulate
the print drivers via APW/"Server Properties".  Some bit of one of the
rc releases must have been lying around is my only guess (we used rc1 -
rc4 in production).

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


Re: [Samba] Windows 2000 workstations can't open Excel files on Samba-2.2.7(a?) after "ServicePack-ing 4" on them.

2003-10-03 Thread Vince Scimeca
On Fri, 2003-10-03 at 10:47, Vince Scimeca wrote:
> On Fri, 2003-10-03 at 10:06, Kurt Pfeifle wrote:
> > Hi, Samba-friends
> > 
> > I am not very deep in Samba *file* services, so please bear with me.
> > 
> > The network admins of my employer alarmed me (being the local "Linux
> > Guy") with this problem:
> > 
> > * they run a 2-node fileserver cluster, based on RedHat (version?)
> >with a Samba version announcing itself "2.2.7-security-rollout"
> >or similar.
> > 
> > * Samba runs in a chrooted environment. It was set up and configured
> >by some external contractor. Everything run smoothly and stable
> >until recently.
> > 
> > * The now have upgraded 100 Windows 2000 workstations to ServicePack
> >4 (after some testing, they say).
> > 
> > * Now these workstations' users can't open any Excel files on the Samba
> >shares any more. The error message speaks about "missing memory".
> > 
> > * If they copy the files to the local box, they are able to open
> >them. The files also do open after being copied over to the previous
> >WinNT 4.0 file server, which was resurrected now for the purpose.
> > 
> > I was able to have a look at it last night. I took notes about versions,
> > config settings etc, but   - rats! -  left the paper in the server room,
> > so I can't be much more specific at the momeent. (My notes are locked
> > in there now since it is a bank holiday in Germany.)
> > 
> > One strange thing is this:
> > 
> > --> After increasing the debuglevel to 5 (using smbcontrol), one
> >  workstation could open the files. *That* connection was made as
> >  "root". Decreasing debuglevel to 1, 2, 3 and 4 re-produced the
> >  problem. Increasing to 5 and 10 made it go away again.
> > 
> > --> Trying to repeat the same from a different workstation (where
> >  the connection was made as a normal user) recreated the problem,
> >  but in all debuglevels, including 5 and 10.
> > 
> > 
> > My questions:
> > 
> > * Is this an already known problem ?
> > * What could possibly cause it? What could I do for a remedy ?
> > * What exact tests could I run and what info could I give
> >(apart from the obvious smb.conf, version no. etc.) to help
> >trace it ?  [I have the log files for levels 1, 2, 3, 4 and
> >5 reflecting attempts to open the Excel files from the workstation
> >that connected as "root"].
> > 
> > 
> > Any help and hint is much appreciated.
> > Thanks for your efforts.
> > Cheers, Kurt
> 
> sounds like they are using office 2000 and it needs the latest service
> pack.
> http://www.microsoft.com/downloads/details.aspx?FamilyID=5C011C70-47D0-4306-9FA4-8E92D36332FE&displaylang=EN
> 
> hope this helps.
> 
> -- 
> Vince Scimeca - Senior Technology Manager
> Jupitermedia Corp.
[EMAIL PROTECTED]

my bad on this...I don't believe it is an office service pack you need,
but after installing W2K SP4 it looks for the office install.  We have
this on our network for most people but ran into this issue with people
who did not have office installed off the network.  Sorry for the
confusion.

-- 
Vince Scimeca - Senior Technology Manager
Jupitermedia Corp.
[EMAIL PROTECTED]


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


Re: [Samba] Secondary groups

2003-10-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ron Garcia-Vidal wrote:
| I have backups of user home directories that I've shared out via samba
| so that my non-linux level 1 guy can restore files using the
| drag-n-drop.  Problem is, all directories are owned by their respective
| user and are set 700.  In order for the admin users to access these
| directories, I've set admin [EMAIL PROTECTED] for the share in smb.conf.
|
| The problem is, al the admin users have domain users as their primary
| group, and superadmins as a secondary.  Access to the homes folder fails
| for all but user Administrator.  If I switch my primary group to
| SuperAdmins, I am allowed access.  I would rather not run with
| SuperAdmins as my primary group.  How can I get Samba to see my list of
| secondaries when determining access permission?
|
| I am running Debian testing with the stable samba 3.0 packages from
| samba.org.  Authentication is through winbind feeding off an NT4 pdc.
There are a couple of bug reports of this in bugzilla.

~  https://bugzilla.samba.org/show_bug.cgi?id=395

However, as yet I have been unable to reproduce these
(i spent some time on this before the release to
determine if it was a generic problem in our code).
It would help if you would grab a level 10 debug log
of the failure and send it to me off list.  Thanks.


cheers, jerry
~ --
~ Hewlett-Packard- http://www.hp.com
~ SAMBA Team -- http://www.samba.org
~ GnuPG Key   http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~--John Cusack - "Grosse Point Blank" (1997)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/fY/dIR7qMdg1EfYRAjkjAKDfSkicJSLPkALYCv7j75llqtSgggCgtqr6
gN3wD4alCHyLmjR3/1kofoo=
=i7DC
-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] ERROR

2003-10-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Predator SEF wrote:
| samba 3.0.0
|
| his have bug :
| if i wrote in smb.conf that string - include=/etc/samba/%U.conf his
not work
| in log this value "file /etc/samba/%U ->  filr /etc/samba"
| in operator "include" work only one macros %L
| other macros - %U %u %G %g not work!
I think this is the same bug as

~  https://bugzilla.samba.org/show_bug.cgi?id=417

We'll get it fixed for 3.0.1.





cheers, jerry
~ --
~ Hewlett-Packard- http://www.hp.com
~ SAMBA Team -- http://www.samba.org
~ GnuPG Key   http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~--John Cusack - "Grosse Point Blank" (1997)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/fY8lIR7qMdg1EfYRArUAAKDYblLdO3IPaNcdYGfxWE303HgAfgCeMo1h
md5It0bLY5IujoGryDBlRv4=
=dp3k
-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] Samba 3 reports 'directory does not exist' when trying to creating an already existing directory

2003-10-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Arnold Hendriks wrote:
| Hi,
|
| since an upgrade to Samba 3 (the binary rpms samba-3.0.0-1from a
| samba download site, redhat 7.3) this morning, we've been
| experiencing problems with WinCVS on mounted network drives.
|
| apparently, (one of) the following options is causing the problems (I
| can't do more detailed testings right now because too many people
| are working on the server) - we use these options to ensure proper
| permissions on all drives:
|
| ; create mode = 0664
| ; directory mode = 0774
| ; force create mode = 0664
| ; force directory mode = 0775
| ; force security mode = 0644
| ; force directory security mode = 0775
|
| when these options are not commented out, the following occurs
| when trying to "mkdir" an already existing directory:
|
| Z:\>dir
| 02-10-2003  13:43 palm
|
| Z:\>mkdir palm
| The system cannot find the file specified.
|
| when these options are commented out, we get the 'normal' error:
|
| Z:\>mkdir palm
| A subdirectory or file palm already exists.
|
| are the options we use deprecated, or is this just a problem in the
| new samba release?
This would be a bug in the error code we are returning.
I'll try to reproduce it.  Can you open an issue in
https://bugzilla.samba.org/ so it doesn't get lost.
Thanks.


cheers, jerry
~ --
~ Hewlett-Packard- http://www.hp.com
~ SAMBA Team -- http://www.samba.org
~ GnuPG Key   http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~--John Cusack - "Grosse Point Blank" (1997)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/fY1ZIR7qMdg1EfYRAqZHAJ9Ix3yXEE3TP+dtiUDliqAlBNEivQCfXYGs
SMp+A+S3ZuCoiwzGTuz6X84=
=mVBU
-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] Windows 2000 workstations can't open Excel files on Samba-2.2.7(a?) after "ServicePack-ing 4" on them.

2003-10-03 Thread Vince Scimeca
On Fri, 2003-10-03 at 10:06, Kurt Pfeifle wrote:
> Hi, Samba-friends
> 
> I am not very deep in Samba *file* services, so please bear with me.
> 
> The network admins of my employer alarmed me (being the local "Linux
> Guy") with this problem:
> 
> * they run a 2-node fileserver cluster, based on RedHat (version?)
>with a Samba version announcing itself "2.2.7-security-rollout"
>or similar.
> 
> * Samba runs in a chrooted environment. It was set up and configured
>by some external contractor. Everything run smoothly and stable
>until recently.
> 
> * The now have upgraded 100 Windows 2000 workstations to ServicePack
>4 (after some testing, they say).
> 
> * Now these workstations' users can't open any Excel files on the Samba
>shares any more. The error message speaks about "missing memory".
> 
> * If they copy the files to the local box, they are able to open
>them. The files also do open after being copied over to the previous
>WinNT 4.0 file server, which was resurrected now for the purpose.
> 
> I was able to have a look at it last night. I took notes about versions,
> config settings etc, but   - rats! -  left the paper in the server room,
> so I can't be much more specific at the momeent. (My notes are locked
> in there now since it is a bank holiday in Germany.)
> 
> One strange thing is this:
> 
> --> After increasing the debuglevel to 5 (using smbcontrol), one
>  workstation could open the files. *That* connection was made as
>  "root". Decreasing debuglevel to 1, 2, 3 and 4 re-produced the
>  problem. Increasing to 5 and 10 made it go away again.
> 
> --> Trying to repeat the same from a different workstation (where
>  the connection was made as a normal user) recreated the problem,
>  but in all debuglevels, including 5 and 10.
> 
> 
> My questions:
> 
> * Is this an already known problem ?
> * What could possibly cause it? What could I do for a remedy ?
> * What exact tests could I run and what info could I give
>(apart from the obvious smb.conf, version no. etc.) to help
>trace it ?  [I have the log files for levels 1, 2, 3, 4 and
>5 reflecting attempts to open the Excel files from the workstation
>that connected as "root"].
> 
> 
> Any help and hint is much appreciated.
> Thanks for your efforts.
> Cheers, Kurt

sounds like they are using office 2000 and it needs the latest service
pack.
http://www.microsoft.com/downloads/details.aspx?FamilyID=5C011C70-47D0-4306-9FA4-8E92D36332FE&displaylang=EN

hope this helps.

-- 
Vince Scimeca - Senior Technology Manager
Jupitermedia Corp.
[EMAIL PROTECTED]


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


Re: [Samba] Strong Password Enforcement (Windows-side)

2003-10-03 Thread Adam Williams
> I currently use unix passwd sync = yes to accomplish this in 2.2.8.  The
> option still appears to be available in 3.0.0.  You can specify a custom
> script with passwd program and passwd chat in smb.conf which will check
> the password's strength.  This program must return successful before
> samba will change the samba password, effectively checking password
> strength.

True, this works.  But it doesn't provide the user with a very helpful
error message when the password can't change because the chat script
refused it.  Samba 3.x.x's password change error messages are really
helpful and reduce alot of support calls for us - like it says you can't
reuse one of your past 24 passwords if you enter one, etc... (based upon
your site policies of course).

Maybe we can have a fund raiser or send pizza for cracklib support?!

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


Re: [Samba] Login Script Doesn't

2003-10-03 Thread Frederico Madeira
I've create file in windows 2K.


If i run login.bat manualy from win9x machine he appear the same result,
so in this case, the operations was made .


Frederico Madeira
Coordenador de Suporte
N. Landim Comércio Ltda
PABX: 81. 3497.3029
e-mail: [EMAIL PROTECTED]

Em Sex, 2003-10-03 às 10:08, Adam Williams escreveu:

> > I have a login script  called by login.bat. In win 2k and xp, he works
> > fine (map drivers and sync time) but in win 9x machine he don't work. He
> > start the dos windows show running the commands, tell me that map ans
> > syc was ok but noting is shared and time isn't sync.
> > I don't know what occour.
> 
> Are you sure you have CR/LF umulats in the login script (i.e. you
> created it and saved if from an M$-DOS editor like edit or notepad)?
> 
> Also, the "net" commands are slightly different between 9x and NT.
> 
> We do something like -
> 
> @echo on
> net time \\barbel /set /yes
> if %OS%.==Windows_NT. goto WinNT
> :Win95
> net use e: \\sardine\pubapps
> net use h: \\sardine\pubdata
> net use g: \\sardine\kal_data
> net use f: \\sardine\homedir
> net use l: \\sardine\br_data
> goto end
> :WinNT
> net use e: \\sardine\pubapps /persistent:no
> net use h: \\sardine\pubdata /persistent:no
> net use g: \\sardine\kal_data /persistent:no
> net use f: \\sardine\homedir /persistent:no
> net use l: \\sardine\br_data /persistent:no
> rundll32 printui.dll,PrintUIEntry /y /n "\\barbel\kalps"
> :end
> 


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


[Samba] Windows 2000 workstations can't open Excel files on Samba-2.2.7(a?) after "ServicePack-ing 4" on them.

2003-10-03 Thread Kurt Pfeifle
Hi, Samba-friends

I am not very deep in Samba *file* services, so please bear with me.

The network admins of my employer alarmed me (being the local "Linux
Guy") with this problem:
* they run a 2-node fileserver cluster, based on RedHat (version?)
  with a Samba version announcing itself "2.2.7-security-rollout"
  or similar.
* Samba runs in a chrooted environment. It was set up and configured
  by some external contractor. Everything run smoothly and stable
  until recently.
* The now have upgraded 100 Windows 2000 workstations to ServicePack
  4 (after some testing, they say).
* Now these workstations' users can't open any Excel files on the Samba
  shares any more. The error message speaks about "missing memory".
* If they copy the files to the local box, they are able to open
  them. The files also do open after being copied over to the previous
  WinNT 4.0 file server, which was resurrected now for the purpose.
I was able to have a look at it last night. I took notes about versions,
config settings etc, but   - rats! -  left the paper in the server room,
so I can't be much more specific at the momeent. (My notes are locked
in there now since it is a bank holiday in Germany.)
One strange thing is this:

--> After increasing the debuglevel to 5 (using smbcontrol), one
workstation could open the files. *That* connection was made as
"root". Decreasing debuglevel to 1, 2, 3 and 4 re-produced the
problem. Increasing to 5 and 10 made it go away again.
--> Trying to repeat the same from a different workstation (where
the connection was made as a normal user) recreated the problem,
but in all debuglevels, including 5 and 10.
My questions:

* Is this an already known problem ?
* What could possibly cause it? What could I do for a remedy ?
* What exact tests could I run and what info could I give
  (apart from the obvious smb.conf, version no. etc.) to help
  trace it ?  [I have the log files for levels 1, 2, 3, 4 and
  5 reflecting attempts to open the Excel files from the workstation
  that connected as "root"].
Any help and hint is much appreciated.
Thanks for your efforts.
Cheers, Kurt
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] s3.0.0: problem getting usernames for a DOMAIN from win2000 and winXP's user configurator

2003-10-03 Thread Ernest Beinrohr
Hi, we use a samba3.0.0b3 as PDC here. It's running smoothly, but one 
problem persists. When I'm trying to add new users to a (local) windows 
group "administrators" and select the DOMAIN instead of the computer 
name, it waits a few second and then reports in gray: "No objects are 
available in this location. Select another location."

this is in the logs:

 PANIC: internal error
 BACKTRACE: 26 stack frames:
  #0 smbd3(smb_panic+0xfc) [0x817d9bc]
  #1 smbd3 [0x816f0af]
  #2 /lib/i686/libc.so.6 [0x40162598]
  #3 smbd3(string_to_sid+0x1f) [0x8178f1f]
  #4 /usr/local/samba3/lib/pdb/mysql.so [0x406352b6]
  #5 /usr/local/samba3/lib/pdb/mysql.so [0x40635be8]
  #6 smbd3 [0x815d508]
  #7 smbd3(pdb_getsampwent+0x24) [0x815e7a4]
  #8 smbd3 [0x810ce0a]
  #9 smbd3(_samr_query_dom_info+0x1dd) [0x8111521]
  #10 smbd3 [0x810a368]
  #11 smbd3(api_rpcTNP+0x136) [0x811f876]
  #12 smbd3(api_pipe_request+0x203) [0x811f6c3]
  #13 smbd3 [0x8119e55]
  #14 smbd3 [0x811a13c]
  #15 smbd3 [0x811a4dd]
  #16 smbd3(write_to_pipe+0xc4) [0x811a458]
  #17 smbd3 [0x8085e08]
  #18 smbd3(reply_trans+0x41a) [0x808657a]
  #19 smbd3 [0x80b7339]
  #20 smbd3 [0x80b7499]
  #21 smbd3(process_smb+0x76) [0x80b765e]
  #22 smbd3(smbd_process+0x198) [0x80b8128]
  #23 smbd3(main+0x40a) [0x81cea2a]
  #24 /lib/i686/libc.so.6(__libc_start_main+0xc7) [0x4014f8c7]
  #25 smbd3(chroot+0x31) [0x807572d]
--
Ernest Beinrohr, OERNii
eAdmin @ axonpro.sk, http://www.axonpro.sk/
+421-2--6241-0360, +421-903--482-603
HomePage: http://www.OERNii.sk/ ICQ: 28153343
-
  Opportunity is missed by most people because it is 
  dressed in overalls and looks like work.
   - Thomas Edison

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


Re: [Samba] Strong Password Enforcement (Windows-side)

2003-10-03 Thread Liz Muth
I currently use unix passwd sync = yes to accomplish this in 2.2.8.  The
option still appears to be available in 3.0.0.  You can specify a custom
script with passwd program and passwd chat in smb.conf which will check
the password's strength.  This program must return successful before
samba will change the samba password, effectively checking password
strength.

On Thu, 2003-10-02 at 16:25, Cybr0t McWhulf wrote:
> But alas I have another issue, I need to enforce strong passwords on
> windows side (i.e. ctrl+alt+delete change password), minimum password
> length, can't be dictionary words, etc. etc.


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


Re: [Samba] Samba-3.0.0 packages for Mandrake 8.2-9.1

2003-10-03 Thread Gémes Géza
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Buchan Milne írta:

| Gémes Géza wrote:
|
| Therebly sorry for this question, but I couldn't found what Sambaldap is
| for?
|
|
| Sambaldap is the name of a urpmi medium at
| http://plf.zarb.org/~nanardon/?minor=1, which is for the Mandrake samba
| packages on the samba FTP server which have ldap support (ie
| samba-server-ldap-2.2.8a-2mdk.i586.rpm and
| samba3-server-3.0.0-1.1mdk.i586.rpm).
|
| , is it a configuration patch to samba3, or what? Since I always
| instaled from SRPM , downloading, from various mirrors, I haven't meet
| it. Sorry for my stupidity ;-) .
|
|
| Well, if the packages provided are sufficient for you, you could do it
| all with urpmi instead. Set up a source of your choice at
| http://plf.zarb.org/~nanardon/?minor=1, and use 'urpmi samba3-server' or
| similar to install the packages you want.
|
| Regards,
| Buchan
|
| --
| |--Another happy Mandrake Club member--|
| Buchan MilneMechanical Engineer, Network Manager
| Cellphone * Work+27 82 472 2231 * +27 21 8828820x202
| Stellenbosch Automotive Engineering http://www.cae.co.za
| GPG Key   http://ranger.dnsalias.com/bgmilne.asc
| 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
*
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
*
Thanks a lot!

Best Regards

Geza
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/fXm4/PxuIn+i1pIRAio/AJ0YUmLcwGYTBV4bYoNhQuOB+ZRHSwCgn0EB
QIoOw2VhmFYvKZjd1BSz9PQ=
=a/lD
-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 apply a patch to samba?

2003-10-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jaques Strap wrote:
| I am unable to log into my Samba Domain from an XP client. I get the
| error "the procedure number is out of range".
| I believe the fix is this patch -->
| https://bugzilla.samba.org/show_bug.cgi?id=167
This should do it:

~ cd samba/source
~ make distclean
~ patch -p0 -l < 'patch file name'
or you can just grab the latest SAMBA_3_0 cvs tree.





cheers, jerry
~ --
~ Hewlett-Packard- http://www.hp.com
~ SAMBA Team -- http://www.samba.org
~ GnuPG Key   http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~--John Cusack - "Grosse Point Blank" (1997)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/fXmMIR7qMdg1EfYRAo9KAJ9e6Jp/7H8nHqxSMQqaOmmdzIlbcACdG0eK
TFoV1Hwb2z2arLCVrv4zlGY=
=73/6
-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] Login Script Doesn't

2003-10-03 Thread Adam Williams
> I have a login script  called by login.bat. In win 2k and xp, he works
> fine (map drivers and sync time) but in win 9x machine he don't work. He
> start the dos windows show running the commands, tell me that map ans
> syc was ok but noting is shared and time isn't sync.
> I don't know what occour.

Are you sure you have CR/LF umulats in the login script (i.e. you
created it and saved if from an M$-DOS editor like edit or notepad)?

Also, the "net" commands are slightly different between 9x and NT.

We do something like -

@echo on
net time \\barbel /set /yes
if %OS%.==Windows_NT. goto WinNT
:Win95
net use e: \\sardine\pubapps
net use h: \\sardine\pubdata
net use g: \\sardine\kal_data
net use f: \\sardine\homedir
net use l: \\sardine\br_data
goto end
:WinNT
net use e: \\sardine\pubapps /persistent:no
net use h: \\sardine\pubdata /persistent:no
net use g: \\sardine\kal_data /persistent:no
net use f: \\sardine\homedir /persistent:no
net use l: \\sardine\br_data /persistent:no
rundll32 printui.dll,PrintUIEntry /y /n "\\barbel\kalps"
:end


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


[Samba] SOLVED: smbmount as user

2003-10-03 Thread Ruediger Noack
Ruediger Noack wrote:
[EMAIL PROTECTED]:~$ mount /notebook/D:
Password:
cannot mount on /notebook/D:: Operation not permitted
smbmnt failed: 1
From "man smbmnt":
--  snip  --
A setuid smbmnt will  only  allow  mounts  on
directories owned  by the user, and that
^^
the user has write permission on.
--  snip  --
Regards
Ruediger
--
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Automatic printer driver installation - PLEASE urgently RESPONS

2003-10-03 Thread Kurt Pfeifle

Adam Williams adam at morrison-ind.com wrote on Samba-Digest:

Thu Oct 2 14:31:50 GMT 2003

Sorry to interrupt you guys, and I understand you are getting a lot of 
mail
every day, but we having a big problems about to let Windows XP client
automatic add printer driver from the Samba Server (2.2.8a), we can not
More info would be useful.

find any documentations on the internet, 
Google turns up a lot of links:

  http://us2.samba.org/samba/ftp/cvs_current/docs/htmldocs/
  http://us2.samba.org/samba/ftp/cvs_current/docs/htmldocs/printing.html
  http://us2.samba.org/samba/ftp/cvs_current/docs/htmldocs/CUPS-printing.html
  http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/
  
http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/Samba-HOWTO-Collection-3.0-PrintingChapter-11th-draft.html
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] SAMBA and the Archive Bit

2003-10-03 Thread Andrew Butler
Hello All,

Touching up a file is supposed to switch on the Archive bit. However, I can
only get this to happen if the client doing the editing is also the owner.
This is fine for owner access in the HOME directories, but is useless when a
file is modified by any member of a group. The impact is that my incremental
backup only backs up a group rwx file when it is modified by the owner. This
is a major drawback. BTW, the archive bit does get switched on if I force
user to be root, but for security reasons I don't want to do this.

I have spent a long time trying multiple combinations of permission
settings. Am I missing something, or is this a bug?

Thanks, Andrew Butler.

[global]
workgroup = XYX
netbios name = XYZ001
server string = Samba 2.2.7a on Red Hat Linux 8.0
security = DOMAIN
encrypt passwords = Yes
password server = *
wins server = 192.0.2.11
winbind uid = 5000-6000
winbind gid = 5000-6000
template homedir = /home/%U
winbind separator = +
winbind use default domain = Yes
guest account =
create mask = 0770
force create mode = 0770
directory mask = 0770
force directory mode = 0770

[homes]
comment = Your Home Directory
force group = 5003
read only = No
inherit permissions = Yes
profile acls = Yes
browseable = No
dos filemode = Yes
dos filetimes = Yes
dos filetime resolution = Yes

[IT]
path = /usr/shares/IT
force group = 5003
read only = No
inherit permissions = Yes
dos filemode = Yes
dos filetimes = Yes
dos filetime resolution = Yes


Legal Disclaimer: Any views expressed by the sender of this message are
not necessarily those of Connaught Electronics Ltd. Information in this 
e-mail may be confidential and is for the use of the intended recipient
only, no mistake in transmission is intended to waive or compromise such 
privilege. Please advise the sender if you receive this e-mail by mistake.



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


Re: [Samba] enable netgroup support

2003-10-03 Thread Ben Bays
is there no one out here who can help me ?

--- Ben Bays <[EMAIL PROTECTED]> wrote:
> Hi all 
> I installed samba 2.2.8a with pkgadd for solaris
> is there anyway to turn on "after the fact" netgroup
> support? or is there a way to modify the pkgadd
> package
> thanks
> 
> __
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product
> search
> http://shopping.yahoo.com
> -- 
> To unsubscribe from this list go to the following
> URL and read the
> instructions: 
http://lists.samba.org/mailman/listinfo/samba


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Cloning a NT4 fileserver to Samba

2003-10-03 Thread Raphaël Berghmans
Hi,

I've to migrate a whole NT4 fileserver to a Samba server. At least I
would like that owner and group of each file being preserved !

Is this a way to do that ?

Thank you,

Raphaël

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


Re: [Samba] Login Script Doesn't

2003-10-03 Thread Frederico Madeira
Bob,

My problem like your.

I have a login script  called by login.bat. In win 2k and xp, he works
fine (map drivers and sync time) but in win 9x machine he don't work. He
start the dos windows show running the commands, tell me that map ans
syc was ok but noting is shared and time isn't sync.

I don't know what occour.

Frederico Madeira
Coordenador de Suporte
N. Landim Comércio Ltda
PABX: 81. 3497.3029
e-mail: [EMAIL PROTECTED]

Em Dom, 2003-03-16 às 18:26, Bob Crandell escreveu:

> Hi,
> 
> I've been trying to get the logon script to with in XP.  This same logon script
> works in Win98.  I finally discovered that it will work if I change
> logon drive =
> to
> logon drive = z:
> Now I'm really confused.  The Netlogon is path is /home/samba and shared as
> \\server\netlogon.  Z: is mapped as \\server\home\.  This means the path to the
> logon script is Z:\samba\logon.bat Not Z:\logon.bat.  Why? And is this correct?
> 
> XP will not run \\server\netlogon\logon.bat from the command prompt.
> 
> Samba is 2.2.7a
> 
> Thanks
> 
> -- 
> 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] RE: WINS problems, samba 2.2.8a

2003-10-03 Thread Joakim Tjernlund
> I have a network with several WORKGROUPS(lets call them X,Y and Z) in it and a samba 
> server which is in one of the WORKGROUPS(X).
> I have enabled WINS support in samba and all client machines has WINS server IP
> configured that points to the samba server.
> 
> Problem:
> When a browsning the network from a client I can only see a some nodes(or none at 
> all)
> in WORKGROUPS Y and Z. Usally it takes 10-20 seconds to update the screen when I 
> refresh.
> When I look in the wins.dat database I see lots nodes there that don't belong to 
> WORKGROUP X.
>  
> Is this normal behaviour? If not, how can I fix it?
> 
> Jocke 

Hi again

I found this text in the Samba-HOWTO-Collection:

"WINS also serves the purpose of forcing browse list synchronization by all LMBs. LMBs 
must synchronize their
browse list with the DMB (Domain Master Browser) and WINS helps the LMB to identify 
its DMB. By definition this
will work only within a single workgroup. Note that the Domain Master Browser has 
nothing to do with what is
referred to as an MS Windows NT Domain. The later is a reference to a security 
environment while the DMB refers
to the master controller for browse list information only."

I think that this explains my problem, right?
So, the only thing to do fix this is to put all machines into the same WORKGROUP?

  Jocke
-- 
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 list members of a workgroup

2003-10-03 Thread Adam Williams
> I look for a way to generate a text file, holding the workgroup/user
> relation - which users belongs to a workgroup. Can I use a samba tool to
> list all members of any known group? Or maybe run a domain ctlr, and
> lookup the information in files on the server?
> I must get this info from a M$ lan with arround 20.000 workstations and
> some hudreds servers.

You can list the groups a user is a member of -

$ net user info adam -U adam
adam password:
CIS/IT Staff
HiLow Low Down
Web Developers
Intranet Calendar
Used Equipment
Classroom
Morrison Industrial Equipment
Greenville Branch
...

See ftp://ftp.kalamazoolinux.org/pub/pdf/AbusingWin32.pdf and "man net"

However, listing the member of a group (going in the other direction)
doesn't appear to work yet.  Either in rpclient or using net.

rpcclient $> enumdomgroups
group:[Mail Managers] rid:[0x5e3]
group:[Traverse City Branch] rid:[0x58f]
...
group:[Accounting] rid:[0x57b]
group:[Mor-Value Parts] rid:[0x5c1]
rpcclient $> querygroup
Usage: querygroup rid [info level] [access mask]
rpcclient $> querygroup 5c1
result was NT_STATUS_NO_SUCH_GROUP
rpcclient $> querygroup 0x5c1
result was NT_STATUS_NO_SUCH_GROUP
rpcclient $> queryaliasmem domain 0x5c1
cli_pipe: return critical error. Error was Call timed out: server did
not respond after 1 milliseconds
result was NT_STATUS_UNSUCCESSFUL
rpcclient $> queryaliasmem domain 5c1
cli_nt_session_open: cli_nt_create failed on pipe \samr to machine
littleboy.  Error was Call timed out: server did not respond after 1
milliseconds
Could not initialise \PIPE\samr
rpcclient $>

and "net" simply doesn't appear to offer this facility.

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


[Samba] Re: Printing: unable to connect from Windows

2003-10-03 Thread Wudu
Hi,

i know how to remove access denied !

edit you smb.conf and add the line

use client driver = yes

to you printers section..

it works fine .. no access denied any more .. but i can´t send a print 
request -(.

On Fri, 03 Oct 2003 12:17:41 +0200, Wudu <[EMAIL PROTECTED]> wrote:

Hi!

I do have the same problem. I am trying to install my RH9 as server with 
all tasks i need (apache,ftp, php, mysql, smb, ipmasquerading,..) but i 
do have the same problem now with my printer.

i do have a HP DeskJet 930C, and it works fine from RH9 .. i can print 
whatever i want -)
my Samba-server also works well except printer. i can read / write to 
smb shares without problem.

BUT !!

i can´t print from Windows CL (what did you do to get this work @ tom ?)
i can´t print through windows printer. i can add it but there is "access 
denied, no connection available" state.

plz Help ! -)

On Tue, 30 Sep 2003 12:15:37 -0700, Tom N. Eastgard <[EMAIL PROTECTED]> 
wrote:

OK..this is driving me nuts.

I cannot print from Windoze, consistenly getting a "Access denied; 
Unable to connect" error message" from my samba print server.

Config ---
Server: RH9.0 uptodate with patches, errata.
 Samba 2.2.7
HP OfficeJet K60 - hpoj 0.90-14
Client: Win2K w/sp4
HP OfficeJet K60 driver
What I *can* do ---

Print just fine on RH9/Samba server to the directly connected HP Office 
jet via USB connection.

 From Windoze client, access all appropriate shares on Server -- 
read/write, etc.

 From client, I can print from Windoze CL, e.g. C:\echo Blah, blah > 
\\Samba_server\device_name.

What I can*not* do ---

 From the client Win2K config printer window do a test print.

When I pull up "properties" on the shared printer, I get the "Access 
denied..." error.

All suggestions, recommendations and jeers cheerfully accepted...

TIA, te








--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] slow access to share with force user from XP client

2003-10-03 Thread Christoph Witzig

Dear all,

we are happy users of samba but with the introduction of XP clients we
are having the following problem:

Overall performance is very good but there is one share which we
defined as follows:

[cad]
comment = CAD
path = /data/cad
browsable = yes
writeable = yes

force user = cad
write list = @cad
read list = @users

create mask = 0664
directory mask = 0775


Saving files from XP clients to this share is painfully slow (1-2 minutes for
files of a few megabytes). From W2k clients there is no problem. Performance
from XP clients to other shares is also no problem.

Have other samba users experienced similar problems?
Is the "force user=..." the reason?
(BTW:  We had to choose this mode to let a CAD program set the write lock
bit on the files.)


Many thanks in advance

Christoph


***

   Christoph Witzig
   [EMAIL PROTECTED]

   OPIT Solutions AG
   Täfernstr. 11
   CH-5405 Baden-Dättwil

   Tel: +41 56 484-8000 / Fax: +41 56 484-8001 / Web: www.opit.ch

***

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


Re: [Samba] Automatically mounting home dir

2003-10-03 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> Message: 2
> Date: Thu, 02 Oct 2003 15:28:51 +0300
> From: Budai Laszlo <[EMAIL PROTECTED]>
> Subject: Re: [Samba] Automatically mounting home dir
> To: Ow Mun Heng <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello,
>
> I think I wasn't that clear as I should.
> We have dual boot PCs in laboratories where students have access. We
> have active directory for windows, and we would like to be able to
> authenticate to linux as vell using the same username/password.
> If I join a computer running linux to the domain using the tools
> provided by samba 3, it will rewrite the computer's entry in the
> directory, so the next time I boot windows on the same computer  I
> cannot login using domain accounts.
> Is there a possibility to join a computer to the AD without changing the
> computer account information in the AD?

Not really, since the machines also change their own passwords, so even
if you can sync them once, you would have problems sync'ing the later.

> Or how can I use both windows and linux on the same computer and
> authenticate in the AD?

Join the linux installations seperately.

To answer the question in your title, you can automatically mout the
shares from the server at login time, using pam_mount. However, you
cannot use a Windows share as the home directory if you want to use KDE
or GNOME. You can't even (at present) use a samba server for this, even
using the cifs driver on the client. You still would need NFS, and that
would require that your winbind mappings are shared (ie in AD or some
other LDAP server, but I haven't done this myself ..).

It's easier to server heterogenous clients using
Linux/Samba/OpenLDAP/NFS IMHO ...

Regards,
Buchan

- --
|--Another happy Mandrake Club member--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/fVcprJK6UGDSBKcRAu55AJ9zjRaucMLx0TmlBF5pHUHq1k7jyACfdnWy
07Z7Iq2m86ubxpcHpUv9d8E=
=QqNl
-END PGP SIGNATURE-

*
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
*
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Job Logs errors

2003-10-03 Thread Mark_X_Aston
we're actually running CIFS/9000 server A.01.08, based on samba version
2.2.3a


On Thu, Oct 02, 2003 at 04:24:20PM +, Mark_X_Aston at unipart.co.uk wrote:
> We are running SAP on a HPUX 11 DB server, with 6 x NT Apps servers
>
> Occassionally we get a number of failures on batch jobs - across any number
> of servers, sometimes with the job terminating immediately on start up, or
> other times after several hours of processing. The jobs terminate but we
> are unable to view the job logs, and the error messages we are getting from
> samba logs are in the format:

What version of Samba ?

Jeremy.

This e-mail has been sent in confidence to the named
 addressee(s).  If you are not the intended recipient you
 must not disclose or distribute it in any form, and you are
 asked to contact the sender immediately


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


[Samba] How to list members of a workgroup

2003-10-03 Thread Jorgen Greve
Hi
I look for a way to generate a text file, holding the workgroup/user
relation - which users belongs to a workgroup. Can I use a samba tool to
list all members of any known group? Or maybe run a domain ctlr, and
lookup the information in files on the server?
I must get this info from a M$ lan with arround 20.000 workstations and
some hudreds servers.

Brgds Jorgen

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


[Samba] Re: Printing: unable to connect from Windows

2003-10-03 Thread Wudu
Hi!

I do have the same problem. I am trying to install my RH9 as server with 
all tasks i need (apache,ftp, php, mysql, smb, ipmasquerading,..) but i do 
have the same problem now with my printer.

i do have a HP DeskJet 930C, and it works fine from RH9 .. i can print 
whatever i want -)
my Samba-server also works well except printer. i can read / write to smb 
shares without problem.

BUT !!

i can´t print from Windows CL (what did you do to get this work @ tom ?)
i can´t print through windows printer. i can add it but there is "access 
denied, no connection available" state.

plz Help ! -)

On Tue, 30 Sep 2003 12:15:37 -0700, Tom N. Eastgard <[EMAIL PROTECTED]> 
wrote:

OK..this is driving me nuts.

I cannot print from Windoze, consistenly getting a "Access denied; 
Unable to connect" error message" from my samba print server.

Config ---
Server: RH9.0 uptodate with patches, errata.
 Samba 2.2.7
HP OfficeJet K60 - hpoj 0.90-14
Client: Win2K w/sp4
HP OfficeJet K60 driver
What I *can* do ---

Print just fine on RH9/Samba server to the directly connected HP Office 
jet via USB connection.

 From Windoze client, access all appropriate shares on Server -- 
read/write, etc.

 From client, I can print from Windoze CL, e.g. C:\echo Blah, blah > 
\\Samba_server\device_name.

What I can*not* do ---

 From the client Win2K config printer window do a test print.

When I pull up "properties" on the shared printer, I get the "Access 
denied..." error.

All suggestions, recommendations and jeers cheerfully accepted...

TIA, te





--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba-3.0.0 packages for Mandrake 8.2-9.1

2003-10-03 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gémes Géza wrote:

> Therebly sorry for this question, but I couldn't found what Sambaldap is
> for?

Sambaldap is the name of a urpmi medium at
http://plf.zarb.org/~nanardon/?minor=1, which is for the Mandrake samba
packages on the samba FTP server which have ldap support (ie
samba-server-ldap-2.2.8a-2mdk.i586.rpm and
samba3-server-3.0.0-1.1mdk.i586.rpm).

>, is it a configuration patch to samba3, or what? Since I always
> instaled from SRPM , downloading, from various mirrors, I haven't meet
> it. Sorry for my stupidity ;-) .

Well, if the packages provided are sufficient for you, you could do it
all with urpmi instead. Set up a source of your choice at
http://plf.zarb.org/~nanardon/?minor=1, and use 'urpmi samba3-server' or
similar to install the packages you want.

Regards,
Buchan

- --
|--Another happy Mandrake Club member--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/fU5drJK6UGDSBKcRAvyYAJ0UItDybemVVXjfORxIQBKwbERTEwCguxFF
IyLJeIWPYpnFRyq59Navm/w=
=42Jp
-END PGP SIGNATURE-

*
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
*
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] join domain failure "system account not in primary...."

2003-10-03 Thread Marco Rebsamen
Am Don, 2003-10-02 um 20.01 schrieb Mark:
> You need to use this syntax:
> useradd -s /bin/false -d /dev/null mycomputername\$
> 
> Once this is done you will need to add the windows pc to the samba
> domain using root as the name and root's samba password, 
> which means root needs a samba user and password beforehand.
> 
> Regards,
> Mark
> 
I did exactly did this. But still got the same error. Perhaps i miss
configured the mysql backend ?? simply connection to a share works!




> Samba Setup Guide
> www.samba.netfirms.com
> 
> 
> 
> I am trying join a w2k bo to a samba DC on RH9.  I have read that I need
> 
> to add the computer as a user first then join so I did it via these 
> commands:
> 
> adduser myComputer$
> smbpasswd -a -m myComputer
> 
> Is that all i need to do?
> 
> When I join I get the "welcome to the domain message" and then I 
> restart.  However when trying to login I get "This systems computer 
> account is not in the primary." and cant log on.
> 
> Furthermore there is a long pause before I get the "welcome to the 
> domain message" message when I join the domain.  As a result I used 
> ethareal to look at the packets a found many protocol errors.  Such as:
> 
> DNS: no such name : _ldap._tcp.dc._msdcs.funk.com
> NETLOGON: SAM Response - user unknown
> 
> thanks in advance
> 

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


[Samba] Re: Virtual servers for 2 workgroup

2003-10-03 Thread Alex
I'm having the exact same problem with Samba3. (Just posted it in fact).

I don't think Samba supports virtual domains, only virtual servers under 
1 domain.  What a BUMMER!  How is that "virtual"??? :-)

Alex

Grand Titus wrote:

Hi

My config: Samba 2.2.3 & Linux Debian Testing kernel 2.4.20

There are two network cards on my pc :
-one links to the network R1 (138.231.121.12)
-one links to the network R2 (192.168.0.1)
I would like to open two shares:
-the first one on R1 in the workgroup wkgrp1
-the second one on R2 in the workgroup wkgrp2
I read that, thanks to the directives "netbios aliases" and "include", it is
possible to run 2 servers on 1 machine.
Here is what I have done:
Extract from smb.conf:
[global]
#Configuration for the 'reel' server on R2 (a local network)
workgroup = wkgrp2
interfaces = 192.168.0.1/255.255.255.0
bind interfaces only = yes
hosts allow = localhost 192.168.0.
local master = yes
os level = 33
domain master = yes
preferred master = yes
# Run the virtual server
netbios aliases = titus
include = /etc/samba/smb.conf.%L
...
Extract from smb.conf.titus:
workgroup = wkgrp1
interfaces = 138.231.121.12/255.255.255.0
bind interfaces only = yes
hosts allow = localhost 138.231.121.
#On this network there is already a master
local master = no
os level = 16
domain master = no
preferred master = no
[images]
path = /home/rezo/images
comment = Qq images
browseable = yes
writable = no
guest ok = yes
Unfortunately it doesn't work. The two servers appear in the same workgroup:
wkgrp1. It seems that all the global directives in the smb.conf.titus are
ignored.
What is the pbm?
Thanks







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


[Samba] Cannot add Win2k client to domain after removing it once

2003-10-03 Thread spammaa
I have this kind of problem with Win2k clients:
While testing I added one win2k client manually to the domain. Everything worked fine 
then. I wanted add machines on-fly and I removed manually created machine account to 
test that feature. After removal I haven't been able to add that machine to domain 
anymore. I can add another win2k clients to domain on-fly or manually but this one 
machine which I used on testing is giving me headache. PDC is working fine with other 
machines but this one machine has been locked somehow. I don't even know if it is 
Samba or win2k which needs some work.

I'm trying to join machine to domain and win2k asks password normally. Instead of 
"Welcome to domain x" I get this "Couldn't join computer to the domain because: Given 
privileges conflicts with present privileges." (I have Finnish win2k so this error 
message is freely translated).

Haven't I maybe removed computer account properly? I used "smbpasswd -x" and edited 
/etc/passwd -file. How to do this correctly?

I'm using:
Debian 3.0r1
Samba 2.2.3a


Maksuton sähköposti aina käytössä http://luukku.com
Kuukausimaksuton MTV3 Internet-liittymä www.mtv3.fi/liittyma

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


[Samba] Samba3 + Virtual Servers, domain screwins....

2003-10-03 Thread Alex
Hey all,

   Been trying to setup something like the follow:

1 domain (Op-Print) with virtual server Op-Print
1 Workgroup (Workgroup) with virtual server Printing
Under the domain Op-Print Samba is setup as a domain master, share 
security.  Under Workgroup, user level security, and just browsing.

When I setup the config (below), what I get is, both server names are 
under the Op-Print domain and nothing goes in the Workgroup.

smb.conf:

[global]

netbios name = OP-PRINT
netbios aliases = PRINTING
   log file = /var/log/samba/log.%m
   max log size = 50
include = /etc/samba/smb.conf.%L

Then I have smb.conf.PRINTING and smb.conf.OP-PRINT, here are excerpts 
(since they are big):

smb.conf.PRINTING:
[global]
workgroup = Workgroup
netbios name = Printing
server string = Print Server
obey pam restrictions = no
;etc
smb.conf.OP-PRINT:
[global]
workgroup = Op-Print
netbios name = Op-Print
server string = Print Server Admin
obey pam restrictions = yes
;...etc.

Any ideas??

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


[Samba] Cannot compile 3.0.0 release

2003-10-03 Thread McGrath, Robert
Does anyone know why I cannot compile the 3.0.0 release of Samba on Compaq
Tru64 4.0f (aka DEC OSF1 version 4.0f)

I have read the mailing list quite a lot and have done the chmod adjustment
to the "install-sh" file, and then ran "./configure"
I am not using gcc nor am I using GNU make, I am using the default compiler
and make supplied with the OS.

the "./configure" step seemed to complete OK and ended with the following;
checking how to build vfs_default_quota... shared
checking how to build vfs_readonly... shared
checking how to build vfs_cap... shared
Using libraries:
LIBS = -lsecurity -lresolv 
AUTH_LIBS = 
checking configure summary... yes
configure: creating ./config.status
config.status: creating include/stamp-h
config.status: creating Makefile
config.status: creating script/findsmb
config.status: creating smbadduser
config.status: creating script/gen-8bit-gap.sh
config.status: creating include/config.h


Just before the "make" step I edited the "./Makefile" to remove the "-g"
from the CFLAGS
and then ran make which ended with the output below;
Compiling smbd/server.c
Compiling popt/findme.c
Compiling popt/popt.c
Compiling popt/poptconfig.c
Compiling popt/popthelp.c
Compiling popt/poptparse.c
Linking bin/smbd
ld:
Unresolved:
__unsafe_string_function_usage_here__
*** Exit 1
Stop.

My C program skills are almost non-existent, so I had to ask round a few
friends (who are also not strong C programmers, but are better than me)
and found that after the "configure" step the resulting "Makefile" does not
contain any reference to "safe_string.h", which is I believe where the
character pointer "__unsafe_string_function_usage_here__" is defined.

Does anyone know a workaround? Preferably one that does not involve using
GNU make or GCC.

Regards
Bobby


**
This email and any files transmitted with it are confidential, and may be subject to 
legal privilege, and are intended solely for the use of the individual or entity to 
whom they are addressed.  
If you have received this email in error or think you may have done so, you may not 
peruse, use, disseminate, distribute or copy this message. Please notify the sender 
immediately and delete the original e-mail from your system.

Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for 
the presence of viruses. The Capita Group and its subsidiaries accept no liability for 
any damage caused by any virus transmitted by this e-mail.
***

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


Re: [Samba] Samba 3.0 openldap PDC

2003-10-03 Thread Gémes Géza
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
blacksmith írta:

| Help me?
|
| I'm configure samba 3.0
| ./configure --prefix=/usr --localstatedir=/var \
| --with-configdir=/etc/samba --with-privatedir=/etc/samba --with-fhs \
| --with-quotas --with-smbmount --with-pam --with-pam_smbpass \
| --with-syslog --with-utmp --with-sambabook=/usr/share/swat/using_samba \
| --with-swatdir=/usr/share/swat --with-libsmbclient --with-ldap 
--with-ldapsam
|
| There are some ... from smb.conf:
| 
| workgroup = mydomain
| server string = New PDC
| security = user
| add machine script = /usr/local/sbin/smbldap-useradd.pl -w %U
| ldap admin dn = uid=Administrator,ou=Users,dc=mydomain,dc=ru
| ldap server = 127.0.0.1
| ldap ssl = off
| ldap suffix = dc=mydomain,dc=ru
| ldap user suffix = ou=Users
| ldap group suffix = ou=Groups
| ldap machine suffix = ou=Computers
| ldap passwd sync = yes
| ldap delete dn = no
| idmap uid = 1-2
| idmap gid = 1-2
| domain logons = yes
| domain master = yes
| preferred master = yes
| ###
|
| And I initialize my ldap directory (i'm use smbldap-populate.pl script 
and schema from samba distribution), pam&nss.
|
| Ok. I can logon from console and browse my samba shares from M$ 
workstation using ldap account.
|
| But I can't join M$ workstation to samba DC. When i try to join 
workstation i get the message: "user or password incorrect" (or 
something like this, i have a russian version W2K)
| What I do wrong?
|
| PS: Sorry about bad english.
|
Are you sure you have ou=Computers,dc=mydomain,dc=ru in your LDAP tree?
Verify it!
Also verify, if you have an acl in your slapd.conf saying, that 
uid=Administrator,ou=Users,dc=mydomain,dc=ru have write right to 
ou=Computers ,and ou=People, ou=Groups, and so on!

Good Luck!

Geza Gemes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/fS0O/PxuIn+i1pIRAp++AJ4yA/8XxOK2Wpamk05g3nTrj8d7swCfeG0c
4VdG8hxUaj2Qu5qOhOPZNmE=
=7B1o
-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 3.0 openldap PDC

2003-10-03 Thread blacksmith
Help me?

I'm configure samba 3.0
./configure --prefix=/usr --localstatedir=/var \
--with-configdir=/etc/samba --with-privatedir=/etc/samba --with-fhs \
--with-quotas --with-smbmount --with-pam --with-pam_smbpass \
--with-syslog --with-utmp --with-sambabook=/usr/share/swat/using_samba \
--with-swatdir=/usr/share/swat --with-libsmbclient --with-ldap 
--with-ldapsam

There are some ... from smb.conf:

workgroup = mydomain
server string = New PDC
security = user
add machine script = /usr/local/sbin/smbldap-useradd.pl -w %U
ldap admin dn = uid=Administrator,ou=Users,dc=mydomain,dc=ru
ldap server = 127.0.0.1
ldap ssl = off
ldap suffix = dc=mydomain,dc=ru
ldap user suffix = ou=Users
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
ldap passwd sync = yes
ldap delete dn = no
idmap uid = 1-2
idmap gid = 1-2
domain logons = yes
domain master = yes
preferred master = yes
###
And I initialize my ldap directory (i'm use smbldap-populate.pl script 
and schema from samba distribution), pam&nss.

Ok. I can logon from console and browse my samba shares from M$ 
workstation using ldap account.

But I can't join M$ workstation to samba DC. When i try to join 
workstation i get the message: "user or password incorrect" (or 
something like this, i have a russian version W2K)
What I do wrong?

PS: Sorry about bad english.

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


[Samba] ERROR

2003-10-03 Thread Predator SEF

samba 3.0.0

his have bug :
if i wrote in smb.conf that string - include=/etc/samba/%U.conf his not work
in log this value "file /etc/samba/%U ->  filr /etc/samba"
in operator "include" work only one macros %L
other macros - %U %u %G %g not work!

-- 
Best RegardsPredator SEF

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


[Samba] Puzzling - File transfer speed variances

2003-10-03 Thread waynes
Sorry but I dont see any replies??

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